Changeset 90887 in webkit
- Timestamp:
- Jul 12, 2011 10:35:15 PM (13 years ago)
- Location:
- trunk
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r90883 r90887 1 2011-07-12 David Reveman <reveman@chromium.org> 2 3 [Chromium] Use nearest filter method with pixel aligned transforms. 4 https://bugs.webkit.org/show_bug.cgi?id=64338 5 6 Reviewed by James Robinson. 7 8 Update expected results. 9 10 * platform/chromium/test_expectations.txt: 11 1 12 2011-07-12 Filip Pizlo <fpizlo@apple.com> 2 13 -
trunk/LayoutTests/platform/chromium/test_expectations.txt
r90856 r90887 2896 2896 2897 2897 // Chromium GPU draws scrollbars slightly differently in debug vs. release. 2898 // Commented because of BUGWK61388 2899 //BUGWK58587 DEBUG GPU LINUX : compositing/direct-image-compositing.html = IMAGE 2900 //BUGWK58587 DEBUG GPU LINUX : compositing/geometry/horizontal-scroll-composited.html = IMAGE 2901 //BUGWK58587 DEBUG GPU LINUX : compositing/geometry/tall-page-composited.html = IMAGE 2902 //BUGWK58587 DEBUG GPU LINUX : compositing/geometry/video-fixed-scrolling.html = IMAGE 2903 //BUGWK58587 DEBUG GPU LINUX : media/video-zoom.html = IMAGE 2898 BUGWK58587 DEBUG GPU LINUX : compositing/direct-image-compositing.html = IMAGE 2899 BUGWK58587 DEBUG GPU LINUX : compositing/geometry/horizontal-scroll-composited.html = IMAGE 2900 BUGWK58587 DEBUG GPU LINUX : compositing/geometry/tall-page-composited.html = IMAGE 2901 BUGWK58587 DEBUG GPU LINUX : compositing/geometry/video-fixed-scrolling.html = IMAGE 2902 BUGWK58587 DEBUG GPU LINUX : media/video-zoom.html = IMAGE 2904 2903 2905 2904 // WebKit roll 80564:80631: rendering on Leopard is shifted to the top right … … 3225 3224 3226 3225 BUGWK58308 GPU WIN LINUX DEBUG : compositing/z-order/negative-z-index.html = PASS CRASH 3227 // Commented because of BUGWK61388 3228 //BUGWK58328 GPU WIN MAC LINUX DEBUG : compositing/webgl/webgl-reflection.html = IMAGE PASS CRASH 3226 BUGWK58328 GPU WIN MAC LINUX DEBUG : compositing/webgl/webgl-reflection.html = IMAGE PASS CRASH 3229 3227 3230 3228 BUGCR79173 GPU LINUX DEBUG : fast/canvas/access-zero-sized-canvas.html = PASS CRASH … … 3384 3382 BUGWK60097 DEBUG : fast/dom/HTMLLinkElement/link-and-subresource-test.html = TEXT PASS 3385 3383 3386 // Commented because of BUGWK61388 3387 //BUGWK60102 LINUX DEBUG GPU : compositing/geometry/fixed-in-composited.html = IMAGE 3384 BUGWK60102 LINUX DEBUG GPU : compositing/geometry/fixed-in-composited.html = IMAGE 3388 3385 BUGWK60102 LINUX GPU : compositing/masks/masked-ancestor.html = IMAGE 3389 // Commented because of BUGWK61388 3390 //BUGWK60102 LINUX DEBUG GPU : compositing/masks/simple-composited-mask.html = IMAGE 3386 BUGWK60102 LINUX DEBUG GPU : compositing/masks/simple-composited-mask.html = IMAGE 3391 3387 3392 3388 // Looks like some uninitialized memory at the bottom. … … 3850 3846 3851 3847 // Started failing at WebKit r90259-90261. 3852 // Commented because of BUGWK61388 3853 //BUGCR88400 GPU : compositing/geometry/vertical-scroll-composited.html = IMAGE 3848 BUGCR88400 GPU : compositing/geometry/vertical-scroll-composited.html = IMAGE 3854 3849 3855 3850 // Started around WebKit r90233:r90242 … … 3885 3880 3886 3881 BUGWK61388 GPU : compositing/color-matching/image-color-matching.html = IMAGE 3887 BUGWK61388 WIN LINUX GPU : compositing/direct-image-compositing.html = IMAGE3888 BUGWK61388 GPU : compositing/geometry/fixed-in-composited.html = IMAGE3889 3882 BUGWK61388 GPU : compositing/geometry/fixed-position.html = IMAGE 3890 BUGWK61388 GPU : compositing/geometry/horizontal-scroll-composited.html = IMAGE3891 3883 BUGWK61388 GPU : compositing/geometry/layer-due-to-layer-children-deep.html = IMAGE 3892 3884 BUGWK61388 GPU : compositing/geometry/layer-due-to-layer-children.html = IMAGE 3893 BUGWK61388 WIN LINUX GPU : compositing/geometry/tall-page-composited.html = IMAGE3894 BUGWK61388 GPU : compositing/geometry/video-fixed-scrolling.html = IMAGE3895 BUGWK61388 GPU : compositing/geometry/vertical-scroll-composited.html = IMAGE3896 BUGWK61388 GPU : compositing/geometry/video-opacity-overlay.html = IMAGE3897 BUGWK61388 GPU : compositing/iframes/nested-iframe-scrolling.html = IMAGE3898 BUGWK61388 GPU : compositing/masks/direct-image-mask.html = IMAGE3899 BUGWK61388 GPU : compositing/masks/simple-composited-mask.html = IMAGE3900 3885 BUGWK61388 GPU : compositing/overflow/fixed-position-ancestor-clip.html = IMAGE 3901 BUGWK61388 GPU : compositing/reflections/deeply-nested-reflections.html = IMAGE3902 BUGWK61388 GPU : compositing/reflections/nested-reflection-on-overflow.html = IMAGE3903 BUGWK61388 GPU : compositing/reflections/nested-reflection-transformed.html = IMAGE3904 BUGWK61388 GPU : compositing/reflections/nested-reflection-transformed2.html = IMAGE3905 3886 BUGWK61388 GPU : compositing/reflections/nested-reflection-transition.html = IMAGE 3906 BUGWK61388 GPU : compositing/reflections/reflection-in-composited.html = IMAGE3907 BUGWK61388 GPU : compositing/reflections/reflection-on-composited.html = IMAGE3908 BUGWK61388 GPU : compositing/reflections/reflection-ordering.html = IMAGE3909 BUGWK61388 GPU : compositing/reflections/reflection-positioning.html = IMAGE3910 BUGWK61388 GPU : compositing/reflections/reflection-positioning2.html = IMAGE3911 BUGWK61388 GPU : compositing/reflections/simple-composited-reflections.html = IMAGE3912 3887 BUGWK61388 GPU : compositing/reflections/transform-inside-reflection.html = IMAGE 3913 BUGWK61388 GPU : compositing/rtl/rtl-iframe-absolute-overflow.html = IMAGE3914 BUGWK61388 GPU : compositing/rtl/rtl-iframe-fixed-overflow.html = IMAGE3915 3888 BUGWK61388 GPU : compositing/shadows/shadow-drawing.html = IMAGE 3916 BUGWK61388 GPU : compositing/text-on-large-layer.html = IMAGE3917 3889 BUGWK61388 GPU : compositing/transitions/scale-transition-no-start.html = IMAGE 3918 BUGWK61388 GPU : compositing/webgl/webgl-reflection.html = IMAGE3890 BUGWK61388 GPU : platform/chromium/compositing/backface-visibility-transformed.html = IMAGE 3919 3891 BUGWK61388 GPU : platform/chromium/compositing/huge-layer-rotated.html = IMAGE 3920 BUGWK61388 GPU : platform/chromium/compositing/backface-visibility-transformed.html = IMAGE 3921 BUGWK61388 WIN LINUX GPU : media/video-zoom.html = IMAGE 3892 BUGWK61388 GPU : media/video-transformed.html = IMAGE 3922 3893 BUGWK61388 GPU : media/video-zoom-controls.html = IMAGE 3923 BUGWK61388 GPU : media/video-transformed.html = IMAGE3924 BUGWK61388 GPU : media/video-layer-crash.html = IMAGE3925 BUGWK61388 WIN GPU : compositing/iframes/composited-iframe-alignment.html = IMAGE3926 BUGWK61388 WIN MAC GPU : compositing/masks/masked-ancestor.html = IMAGE3927 BUGWK61388 WIN GPU : media/video-controls-rendering.html = IMAGE3928 BUGWK61388 WIN MAC GPU : platform/chromium/compositing/layout-width-change.html = IMAGE3929 3894 BUGWK61388 WIN MAC GPU : platform/chromium/compositing/tiny-layer-rotated.html = IMAGE 3930 BUGWK61388 MAC GPU : compositing/masks/multiple-masks.html = IMAGE3931 BUGWK61388 MAC GPU : platform/chromium/compositing/perpendicular-layer-sorting.html = IMAGE3932 3895 3933 3896 // Getting form value is not implemented yet. -
trunk/Source/WebCore/ChangeLog
r90886 r90887 1 2011-07-12 David Reveman <reveman@chromium.org> 2 3 [Chromium] Use nearest filter method with pixel aligned transforms. 4 https://bugs.webkit.org/show_bug.cgi?id=64338 5 6 Reviewed by James Robinson. 7 8 Check for integer translation and use nearest texture filter when 9 possible to avoid filter precisions problems at the layer edges. 10 11 Test: compositing/iframes/nested-iframe-scrolling.html (existing) 12 13 * platform/graphics/chromium/LayerTilerChromium.cpp: 14 (WebCore::LayerTilerChromium::drawTiles): 15 * platform/graphics/transforms/TransformationMatrix.cpp: 16 (WebCore::TransformationMatrix::isIntegerTranslation): 17 * platform/graphics/transforms/TransformationMatrix.h: 18 1 19 2011-07-12 David Reveman <reveman@chromium.org> 2 20 -
trunk/Source/WebCore/platform/graphics/chromium/LayerTilerChromium.cpp
r90886 r90887 501 501 bottomEdge.move(0, 0, zDistance); 502 502 503 GC3Dint filter = (m_tilingData.borderTexels() && !matrix.isIntegerTranslation()) ? GraphicsContext3D::LINEAR : GraphicsContext3D::NEAREST; 504 503 505 Edge prevEdgeY = topEdge; 504 506 … … 532 534 533 535 tile->texture()->bindTexture(); 536 GLC(context, context->texParameteri(GraphicsContext3D::TEXTURE_2D, GraphicsContext3D::TEXTURE_MIN_FILTER, filter)); 537 GLC(context, context->texParameteri(GraphicsContext3D::TEXTURE_2D, GraphicsContext3D::TEXTURE_MAG_FILTER, filter)); 534 538 535 539 // Don't use tileContentRect here, as that contains the full -
trunk/Source/WebCore/platform/graphics/transforms/TransformationMatrix.cpp
r76537 r90887 1127 1127 } 1128 1128 1129 } 1129 bool TransformationMatrix::isIntegerTranslation() const 1130 { 1131 if (!isIdentityOrTranslation()) 1132 return false; 1133 1134 // Check for translate Z. 1135 if (m_matrix[3][2]) 1136 return false; 1137 1138 // Check for non-integer translate X/Y. 1139 if (static_cast<int>(m_matrix[3][0]) != m_matrix[3][0] || static_cast<int>(m_matrix[3][1]) != m_matrix[3][1]) 1140 return false; 1141 1142 return true; 1143 } 1144 1145 } -
trunk/Source/WebCore/platform/graphics/transforms/TransformationMatrix.h
r84104 r90887 340 340 } 341 341 342 bool isIntegerTranslation() const; 343 342 344 private: 343 345 // multiply passed 2D point by matrix (assume z=0)
Note: See TracChangeset
for help on using the changeset viewer.