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

Unified Diff: LayoutTests/virtual/gpu/fast/canvas/canvas-lost-gpu-context-expected.txt

Issue 16032003: Fixing Canvas2DLayerBridge to handle lost graphics contexts (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Resolved merge with rate limiter CL Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: LayoutTests/virtual/gpu/fast/canvas/canvas-lost-gpu-context-expected.txt
diff --git a/LayoutTests/fast/canvas/canvas-drawImage-incomplete-expected.txt b/LayoutTests/virtual/gpu/fast/canvas/canvas-lost-gpu-context-expected.txt
similarity index 56%
copy from LayoutTests/fast/canvas/canvas-drawImage-incomplete-expected.txt
copy to LayoutTests/virtual/gpu/fast/canvas/canvas-lost-gpu-context-expected.txt
index e74bab16998300d710fdcfdd3334a55eefefa83a..34fb462c616aee7b89658ddeda7b53932dcc42a5 100644
--- a/LayoutTests/fast/canvas/canvas-drawImage-incomplete-expected.txt
+++ b/LayoutTests/virtual/gpu/fast/canvas/canvas-lost-gpu-context-expected.txt
@@ -1,19 +1,18 @@
-Test that drawImage() does nothing with an incomplete image or video
+Test the behavior of canvas recovery after a gpu context loss
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-PASS ctx.drawImage(img, 0, 0) is undefined
PASS imgdata[0] is 255
PASS imgdata[1] is 0
PASS imgdata[2] is 0
PASS imgdata[3] is 255
-PASS ctx.drawImage(video, 0, 0) is undefined
-PASS imgdata[0] is 255
+PASS imgdata[0] is 0
PASS imgdata[1] is 0
PASS imgdata[2] is 0
-PASS imgdata[3] is 255
+PASS imgdata[3] is 0
PASS successfullyParsed is true
TEST COMPLETE
+PASS Graphics context recovered.
« no previous file with comments | « LayoutTests/fast/canvas/script-tests/canvas-lost-gpu-context.js ('k') | Source/core/platform/graphics/Extensions3D.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698