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

Unified Diff: content/test/data/gpu/pixel_canvas2d_webgl.html

Issue 1855373004: Rework Pixel.2DCanvasWebGL to be less than 400px wide. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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
« no previous file with comments | « no previous file | content/test/gpu/page_sets/pixel_tests.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/test/data/gpu/pixel_canvas2d_webgl.html
diff --git a/content/test/data/gpu/pixel_canvas2d_webgl.html b/content/test/data/gpu/pixel_canvas2d_webgl.html
index dcd1f9a2bc6f96d5056dc8a3f6f8a658b805c7f8..4f42527503557ffb8c810b89e0a6d6040fd653d9 100644
--- a/content/test/data/gpu/pixel_canvas2d_webgl.html
+++ b/content/test/data/gpu/pixel_canvas2d_webgl.html
@@ -46,6 +46,8 @@ function main()
return;
}
+ gl.viewport(0, 0, 50, 50);
+
waitForFinish();
}
@@ -64,14 +66,14 @@ function waitForFinish()
</script>
</head>
<body onload="main()">
-<div style="position:relative; width:400px; height:400px; background-color:black">
+<div style="position:relative; width:300px; height:300px; background-color:black">
</div>
<div id="container" style="position:absolute; top:0px; left:0px">
+<canvas id="c2" width="50" height="50" class="nomargin"></canvas>
<!--
Canvas acceleration requires that the canvas be at least 256x257.
-->
<canvas id="c" width="300" height="300" class="nomargin"></canvas>
-<canvas id="c2" width="300" height="300" class="nomargin"></canvas>
</div>
</body>
</html>
« no previous file with comments | « no previous file | content/test/gpu/page_sets/pixel_tests.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698