d8b65259e4
https://bugs.webkit.org/show_bug.cgi?id=90078 Reviewed by Don Olmstead. Source/WebCore: Test: transforms/3d/general/preserve-3d.html * platform/graphics/egl/GLContextEGL.cpp: (WebCore::GLContextEGL::getEGLConfig): * platform/graphics/texmap/TextureMapper.h: (WebCore::TextureMapper::beginPreserves3D): Added a new virtual method. (WebCore::TextureMapper::endPreserves3D): Ditto. * platform/graphics/texmap/TextureMapperGL.cpp: (WebCore::TextureMapperGL::beginPainting): (WebCore::createProjectionMatrix): Swapped nearValue and farValue so that the depth buffer works as expected. (WebCore::TextureMapperGL::beginPreserves3D): Added. (WebCore::TextureMapperGL::endPreserves3D): Ditto. * platform/graphics/texmap/TextureMapperGL.h: * platform/graphics/texmap/TextureMapperLayer.cpp: (WebCore::TextureMapperLayer::paintSelfAndChildren): Call beginPreserves3D() and endPreserves3D() if m_state.preserves3D. LayoutTests: * transforms/3d/general/preserve-3d-expected.html: Added. * transforms/3d/general/preserve-3d.html: Added. Canonical link: https://commits.webkit.org/229846@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@267711 268f45cc-cd09-0410-ab3c-d52691b4dbfc |
||
---|---|---|
.. | ||
3dtransform-values-expected.txt | ||
3dtransform-values.html | ||
background-visibility-layers-expected.png | ||
background-visibility-layers-expected.txt | ||
background-visibility-layers.html | ||
cssmatrix-3d-zoom-expected.png | ||
cssmatrix-3d-zoom-expected.txt | ||
cssmatrix-3d-zoom.html | ||
matrix-with-zoom-3d-expected.png | ||
matrix-with-zoom-3d-expected.txt | ||
matrix-with-zoom-3d.html | ||
perspective-non-layer.html | ||
perspective-units.html | ||
prefixed-3dtransform-values-expected.txt | ||
prefixed-3dtransform-values.html | ||
preserve-3d-expected.html | ||
preserve-3d.html | ||
rotate-45-degrees-long-inner-text-in-dt-expected.txt | ||
rotate-45-degrees-long-inner-text-in-dt.html | ||
transform-origin-z-change-expected.png | ||
transform-origin-z-change-expected.txt | ||
transform-origin-z-change.html |