Branch: refs/heads/main Home: https://github.com/WebKit/WebKit Commit: 922f8f09f0ca28f6ace19c16c2b7a9a7989d5d2f https://github.com/WebKit/WebKit/commit/922f8f09f0ca28f6ace19c16c2b7a9a7989d5d2f Author: Fujii Hironori <hironori.fu...@sony.com> Date: 2022-09-26 (Mon, 26 Sep 2022)
Changed paths: M Source/WebCore/platform/graphics/texmap/TextureMapper.h M Source/WebCore/platform/graphics/texmap/TextureMapperGL.cpp M Source/WebCore/platform/graphics/texmap/TextureMapperGL.h M Source/WebCore/platform/graphics/texmap/TextureMapperLayer.cpp M Source/WebCore/platform/graphics/texmap/TextureMapperLayer.h Log Message: ----------- TextureMapper: Calculate zFar and zNear for the projection matrix https://bugs.webkit.org/show_bug.cgi?id=244564 Reviewed by Darin Adler. TextureMapper was using fixed zFar and zNear values, (-99999, 9999999). These were too big for 16 bits depth buffer on Linux. <https://bugs.webkit.org/show_bug.cgi?id=244526#c2> Changed TextureMapperLayer::computeTransformsRecursive to calculate zFar and zNear. * LayoutTests/platform/glib/TestExpectations: Unmarked imported/w3c/web-platform-tests/css/css-transforms/perspective-split-by-zero-w.html * Source/WebCore/platform/graphics/texmap/TextureMapper.h: (WebCore::TextureMapper::setDepthRange): * Source/WebCore/platform/graphics/texmap/TextureMapperGL.cpp: (WebCore::createProjectionMatrix): (WebCore::TextureMapperGL::bindDefaultSurface): (WebCore::TextureMapperGL::bindSurface): (WebCore::TextureMapperGL::setDepthRange): * Source/WebCore/platform/graphics/texmap/TextureMapperGL.h: * Source/WebCore/platform/graphics/texmap/TextureMapperLayer.cpp: (WebCore::TextureMapperComputeTransformData::updateDepthRange): (WebCore::TextureMapperLayer::computeTransformsRecursive): (WebCore::TextureMapperLayer::paint): * Source/WebCore/platform/graphics/texmap/TextureMapperLayer.h: Canonical link: https://commits.webkit.org/254897@main _______________________________________________ webkit-changes mailing list webkit-changes@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-changes