Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(244)

Issue 11031075: Merge 130322 - [Sub-pixel layout] incorrect rendering when painting sub-layers as their own root (Closed)

Created:
8 years, 2 months ago by karen
Modified:
8 years, 2 months ago
CC:
chromium-reviews
Base URL:
http://svn.webkit.org/repository/webkit/branches/chromium/1271/
Visibility:
Public.

Description

Merge 130322 - [Sub-pixel layout] incorrect rendering when painting sub-layers as their own root https://bugs.webkit.org/show_bug.cgi?id=97484 Reviewed by Eric Seidel. When in compositing mode, layer painting can be triggered through the backing store. When this happens, a non-top-level RenderLayer is called to paint as its own root. Normally, we attempt to preserve the proper sub-pixel accumulation through layers to their children, but since we're not starting with the top-level layer, we haven't properly accumulated one, and convertToLayerCoords, another source of correctly getting the sub-pixel offset for a layer, also avoids crawling past the listed root layer. When painting a root layer, we're aligned to the surface we're painting to, so we round our offset to avoid moving objects around. * rendering/RenderLayer.cpp: (WebCore::RenderLayer::paintLayerContents): TBR=leviw@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=130526

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -0 lines) Patch
M Source/WebCore/rendering/RenderLayer.cpp View 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 1 (0 generated)
karen
8 years, 2 months ago (2012-10-05 17:55:07 UTC) #1

          

Powered by Google App Engine
This is Rietveld 408576698