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

Unified Diff: third_party/WebKit/PerformanceTests/Canvas/draw-static-webgl-to-hw-accelerated-canvas-2d.html

Issue 2400233002: Tweaks to canvas perf tests to make them stay on the GPU (Closed)
Patch Set: Created 4 years, 2 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 | « third_party/WebKit/PerformanceTests/Canvas/draw-static-canvas-2d-to-hw-accelerated-canvas-2d.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/PerformanceTests/Canvas/draw-static-webgl-to-hw-accelerated-canvas-2d.html
diff --git a/third_party/WebKit/PerformanceTests/Canvas/draw-static-webgl-to-hw-accelerated-canvas-2d.html b/third_party/WebKit/PerformanceTests/Canvas/draw-static-webgl-to-hw-accelerated-canvas-2d.html
index d3d7bcc20bc323310e491672de021d6521f1e678..ab4849ac93d4e8111e1e696efe16cd8f39328053 100644
--- a/third_party/WebKit/PerformanceTests/Canvas/draw-static-webgl-to-hw-accelerated-canvas-2d.html
+++ b/third_party/WebKit/PerformanceTests/Canvas/draw-static-webgl-to-hw-accelerated-canvas-2d.html
@@ -14,12 +14,11 @@ if (!gl)
var dummyCanvas2D = document.createElement("canvas");
var dummyCtx2D = dummyCanvas2D.getContext("2d");
-dummyCanvas2D.width = 1;
-dummyCanvas2D.height = 1;
-
function setSize(canvas2DWidth, canvas2DHeight, webglWidth, webglHeight) {
canvas2D.width = canvas2DWidth;
canvas2D.height = canvas2DHeight;
+ dummyCanvas2D.width = canvas2DWidth;
+ dummyCanvas2D.height = canvas2DHeight;
canvas3D.width = webglWidth;
canvas3D.height = webglHeight;
}
« no previous file with comments | « third_party/WebKit/PerformanceTests/Canvas/draw-static-canvas-2d-to-hw-accelerated-canvas-2d.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698