Changeset 123921 in webkit


Ignore:
Timestamp:
Jul 27, 2012 3:04:15 PM (12 years ago)
Author:
commit-queue@webkit.org
Message:

[chromium] CCLayerTreeHost placeholder scissor should be deviceViewportSize instead of viewportSize
https://bugs.webkit.org/show_bug.cgi?id=92469

Patch by Shawn Singh <shawnsingh@chromium.org> on 2012-07-27
Reviewed by Adrienne Walker.

We were accidentally using viewportSize instead of
deviceViewportSize in a particular place in code. Recent
refactoring to use tighter scissor rects exposed this problem.

  • platform/graphics/chromium/cc/CCLayerTreeHost.cpp:

(WebCore::CCLayerTreeHost::updateLayers):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r123919 r123921  
     12012-07-27  Shawn Singh  <shawnsingh@chromium.org>
     2
     3        [chromium] CCLayerTreeHost placeholder scissor should be deviceViewportSize instead of viewportSize
     4        https://bugs.webkit.org/show_bug.cgi?id=92469
     5
     6        Reviewed by Adrienne Walker.
     7
     8        We were accidentally using viewportSize instead of
     9        deviceViewportSize in a particular place in code. Recent
     10        refactoring to use tighter scissor rects exposed this problem.
     11
     12        * platform/graphics/chromium/cc/CCLayerTreeHost.cpp:
     13        (WebCore::CCLayerTreeHost::updateLayers):
     14
    1152012-07-27  Kevin Ellis  <kevers@chromium.org>
    216
  • trunk/Source/WebCore/platform/graphics/chromium/cc/CCLayerTreeHost.cpp

    r123844 r123921  
    474474        CCLayerTreeHostCommon::calculateDrawTransforms(rootLayer, deviceViewportSize(), m_deviceScaleFactor, layerRendererCapabilities().maxTextureSize, updateList);
    475475
    476         FloatRect rootScissorRect(FloatPoint(0, 0), viewportSize());
     476        FloatRect rootScissorRect(FloatPoint(0, 0), deviceViewportSize());
    477477        CCLayerTreeHostCommon::calculateVisibleAndScissorRects(updateList, rootScissorRect);
    478478    }
Note: See TracChangeset for help on using the changeset viewer.