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

Side by Side 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: Fixing gpu_test Canvas2DAllowed 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 Test that drawImage() does nothing with an incomplete image or video 1 Test the behavior of canvas recovery after a gpu context loss
2 2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4 4
5 5
6 PASS ctx.drawImage(img, 0, 0) is undefined
7 PASS imgdata[0] is 255 6 PASS imgdata[0] is 255
8 PASS imgdata[1] is 0 7 PASS imgdata[1] is 0
9 PASS imgdata[2] is 0 8 PASS imgdata[2] is 0
10 PASS imgdata[3] is 255 9 PASS imgdata[3] is 255
11 PASS ctx.drawImage(video, 0, 0) is undefined 10 PASS imgdata[0] is 0
12 PASS imgdata[0] is 255
13 PASS imgdata[1] is 0 11 PASS imgdata[1] is 0
14 PASS imgdata[2] is 0 12 PASS imgdata[2] is 0
15 PASS imgdata[3] is 255 13 PASS imgdata[3] is 0
16 PASS successfullyParsed is true 14 PASS successfullyParsed is true
17 15
18 TEST COMPLETE 16 TEST COMPLETE
17 PASS Graphics context recovered.
19 18
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698