-
jamesr@google.com authored
Reviewed by Kenneth Russell. [chromium] Text is blurry on a large composited layer with an odd center x/y coordinate https://bugs.webkit.org/show_bug.cgi?id=50702 Tests that text rendered on a large layer is crisp even when the layer's center point has an odd x and/or y coordinate. * compositing/text-on-large-layer.html: Added. * platform/chromium-gpu-linux/compositing/text-on-large-layer-expected.checksum: Added. * platform/chromium-gpu-linux/compositing/text-on-large-layer-expected.png: Added. * platform/chromium-gpu-linux/compositing/text-on-large-layer-expected.txt: Added. * platform/chromium-gpu/test_expectations.txt: * platform/mac/compositing/text-on-large-layer-expected.checksum: Added. * platform/mac/compositing/text-on-large-layer-expected.png: Added. * platform/mac/compositing/text-on-large-layer-expected.txt: Added. 2010-12-08 James Robinson <jamesr@chromium.org> Reviewed by Kenneth Russell. [chromium] Text is blurry on a large composited layer with an odd center x/y coordinate https://bugs.webkit.org/show_bug.cgi?id=50702 Compute the center of a large layer using floats instead of ints to avoid roundoff errors. Test: compositing/text-on-large-layer.html * platform/graphics/chromium/ContentLayerChromium.cpp: (WebCore::ContentLayerChromium::draw): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73549 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2564ac00