summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/compositing/layer-creation
diff options
context:
space:
mode:
authorjunov@chromium.org <junov@chromium.org@bbb929c8-8fbe-4397-9dbb-9b2b20218538>2014-07-17 19:37:50 +0000
committerjunov@chromium.org <junov@chromium.org@bbb929c8-8fbe-4397-9dbb-9b2b20218538>2014-07-17 19:37:50 +0000
commitd1c86a01020e5c5782dd28cad49c5312177fa10e (patch)
tree6babc19e11d6eb40591f7ddbc872c0867389f6d1 /third_party/WebKit/LayoutTests/compositing/layer-creation
parentb04fde3abe5e8a6c7a883eeaa646f9d73f7f2e22 (diff)
downloadchromium_src-d1c86a01020e5c5782dd28cad49c5312177fa10e.zip
chromium_src-d1c86a01020e5c5782dd28cad49c5312177fa10e.tar.gz
chromium_src-d1c86a01020e5c5782dd28cad49c5312177fa10e.tar.bz2
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 Review URL: https://codereview.chromium.org/402613006 git-svn-id: svn://svn.chromium.org/blink/trunk@178392 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Diffstat (limited to 'third_party/WebKit/LayoutTests/compositing/layer-creation')
-rw-r--r--third_party/WebKit/LayoutTests/compositing/layer-creation/should-invoke-deferred-compositing-expected.txt7
-rw-r--r--third_party/WebKit/LayoutTests/compositing/layer-creation/spanOverlapsCanvas-expected.txt3
2 files changed, 8 insertions, 2 deletions
diff --git a/third_party/WebKit/LayoutTests/compositing/layer-creation/should-invoke-deferred-compositing-expected.txt b/third_party/WebKit/LayoutTests/compositing/layer-creation/should-invoke-deferred-compositing-expected.txt
index 3850dbb..40bde51 100644
--- a/third_party/WebKit/LayoutTests/compositing/layer-creation/should-invoke-deferred-compositing-expected.txt
+++ b/third_party/WebKit/LayoutTests/compositing/layer-creation/should-invoke-deferred-compositing-expected.txt
@@ -10,7 +10,12 @@
"bounds": [300, 300],
"children": [
{
- "bounds": [200, 200]
+ "bounds": [200, 200],
+ "drawsContent": true,
+ "repaintRects": [
+ [0, 0, 200, 200],
+ [0, 0, 200, 200]
+ ]
}
]
}
diff --git a/third_party/WebKit/LayoutTests/compositing/layer-creation/spanOverlapsCanvas-expected.txt b/third_party/WebKit/LayoutTests/compositing/layer-creation/spanOverlapsCanvas-expected.txt
index 1f7887b..922bb48 100644
--- a/third_party/WebKit/LayoutTests/compositing/layer-creation/spanOverlapsCanvas-expected.txt
+++ b/third_party/WebKit/LayoutTests/compositing/layer-creation/spanOverlapsCanvas-expected.txt
@@ -10,7 +10,8 @@
"children": [
{
"position": [8, 8],
- "bounds": [100, 50]
+ "bounds": [100, 50],
+ "drawsContent": true
},
{
"position": [8, 8],