|
Fixing 2D canvas invalidation region tracking.
The partial layer invalidation logic that was added in r176815 was not
properly transforming the invalidation region from the layer's local
frame of reference to the layer's content area. The proper logic
already existed for non-accelerated 2d canvases, but we were short-
circuiting it whith acceleration enabled because we did not
support partial invalidations in the past. This fix makes
accelerated 2D canvases use the same invalidation code path as
non-accelerated canvases.
TEST=fast/canvas/canvas-partial-invalidation-zoomed.html
BUG= 393192
NOTRY=true
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=178392
Total comments: 6
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+85 lines, -18 lines) |
Patch |
 |
M |
LayoutTests/compositing/draws-content/canvas-background-layer-expected.txt
|
View
|
1
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
LayoutTests/compositing/draws-content/webgl-background-layer-expected.txt
|
View
|
1
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
LayoutTests/compositing/layer-creation/should-invoke-deferred-compositing-expected.txt
|
View
|
1
|
1 chunk |
+6 lines, -1 line |
0 comments
|
Download
|
 |
M |
LayoutTests/compositing/layer-creation/spanOverlapsCanvas-expected.txt
|
View
|
1
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
A |
LayoutTests/fast/canvas/canvas-partial-invalidation-zoomed.html
|
View
|
|
1 chunk |
+34 lines, -0 lines |
0 comments
|
Download
|
 |
A |
LayoutTests/fast/canvas/canvas-partial-invalidation-zoomed-expected.html
|
View
|
|
1 chunk |
+12 lines, -0 lines |
0 comments
|
Download
|
 |
M |
LayoutTests/fast/repaint/canvas-putImageData-expected.txt
|
View
|
1
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
Source/core/html/HTMLCanvasElement.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
Source/core/html/HTMLCanvasElement.cpp
|
View
|
|
2 chunks |
+14 lines, -5 lines |
0 comments
|
Download
|
 |
M |
Source/core/html/canvas/CanvasRenderingContext2D.cpp
|
View
|
|
1 chunk |
+0 lines, -8 lines |
0 comments
|
Download
|
 |
M |
Source/core/rendering/compositing/CompositedLayerMapping.cpp
|
View
|
1
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
Source/platform/graphics/Canvas2DLayerBridge.cpp
|
View
|
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
Source/platform/graphics/ImageBuffer.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
Source/platform/graphics/ImageBuffer.cpp
|
View
|
|
1 chunk |
+6 lines, -0 lines |
0 comments
|
Download
|
 |
M |
Source/platform/graphics/ImageBufferClient.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
Total messages: 15 (0 generated)
|