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

Unified Diff: LayoutTests/fast/canvas/webgl/canvas-to-data-url-expected.txt

Issue 749653002: WebGL: clarify which Front or Back buffer is used by each API. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Address nits Created 6 years, 1 month 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/fast/canvas/webgl/canvas-to-data-url-expected.txt
diff --git a/LayoutTests/fast/canvas/webgl/canvas-to-data-url-expected.txt b/LayoutTests/fast/canvas/webgl/canvas-to-data-url-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4b0327b9176b3ee565e943b7639ec47964bf72e6
--- /dev/null
+++ b/LayoutTests/fast/canvas/webgl/canvas-to-data-url-expected.txt
@@ -0,0 +1,14 @@
+PASS successfullyParsed is true
+
+TEST COMPLETE
+Check if back buffer (toDataURL) is equal to front buffer (getImageSourceURL)
+1) when drawingBuffer is preserved.
+PASS preserve_canvas3D.toDataURL('image/png') == window.internals.getImageSourceURL(preserve_canvas3D) is true
+2) when drawingBuffer is not preserved.
+PASS nonpreserve_canvas3D.toDataURL('image/png') == window.internals.getImageSourceURL(nonpreserve_canvas3D) is true
+Check if back buffer (toDataURL) is equal to front buffer (getImageSourceURL) one frame after drawing webgl contents.
+1) when drawingBuffer is preserved.
+PASS preserve_canvas3D.toDataURL('image/png') == window.internals.getImageSourceURL(preserve_canvas3D) is true
+2) when drawingBuffer is not preserved. They must be different.
+PASS nonpreserve_canvas3D.toDataURL('image/png') != window.internals.getImageSourceURL(nonpreserve_canvas3D) is true
+

Powered by Google App Engine
This is Rietveld 408576698