Changeset 88577 in webkit


Ignore:
Timestamp:
Jun 10, 2011 4:55:31 PM (13 years ago)
Author:
alokp@chromium.org
Message:

2011-06-10 Alok Priyadarshi <alokp@chromium.org>

Reviewed by James Robinson.

[chromium] Top portion of page is rendered messed up with accelerated drawing
https://bugs.webkit.org/show_bug.cgi?id=62484

Fixed the math in flipping the texture from bottom-up to top-down.
Test: compositing/repaint/shrink-layer.html (existing)

  • platform/graphics/chromium/LayerTilerChromium.cpp: (WebCore::LayerTilerChromium::draw):
Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r88576 r88577  
     12011-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
    1142011-06-10  Tony Chang  <tony@chromium.org>
    215
  • trunk/Source/WebCore/platform/graphics/chromium/LayerTilerChromium.cpp

    r88386 r88577  
    379379            // If tile texture is top-down, we need to flip the texture coordinates.
    380380            if (m_textureUpdater->orientation() == LayerTextureUpdater::TopDownOrientation) {
    381                 texTranslateY += 1.0;
     381                texTranslateY = 1.0 - texTranslateY;
    382382                texScaleY *= -1.0;
    383383            }
Note: See TracChangeset for help on using the changeset viewer.