Changeset 88577 in webkit
- Timestamp:
- Jun 10, 2011 4:55:31 PM (13 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r88576 r88577 1 2011-06-10 Alok Priyadarshi <alokp@chromium.org> 2 3 Reviewed by James Robinson. 4 5 [chromium] Top portion of page is rendered messed up with accelerated drawing 6 https://bugs.webkit.org/show_bug.cgi?id=62484 7 8 Fixed the math in flipping the texture from bottom-up to top-down. 9 Test: compositing/repaint/shrink-layer.html (existing) 10 11 * platform/graphics/chromium/LayerTilerChromium.cpp: 12 (WebCore::LayerTilerChromium::draw): 13 1 14 2011-06-10 Tony Chang <tony@chromium.org> 2 15 -
trunk/Source/WebCore/platform/graphics/chromium/LayerTilerChromium.cpp
r88386 r88577 379 379 // If tile texture is top-down, we need to flip the texture coordinates. 380 380 if (m_textureUpdater->orientation() == LayerTextureUpdater::TopDownOrientation) { 381 texTranslateY += 1.0;381 texTranslateY = 1.0 - texTranslateY; 382 382 texScaleY *= -1.0; 383 383 }
Note: See TracChangeset
for help on using the changeset viewer.