| Index: content/test/data/gpu/pixel_webgl_aa_alpha.html
|
| diff --git a/content/test/data/gpu/pixel_webgl.html b/content/test/data/gpu/pixel_webgl_aa_alpha.html
|
| similarity index 56%
|
| copy from content/test/data/gpu/pixel_webgl.html
|
| copy to content/test/data/gpu/pixel_webgl_aa_alpha.html
|
| index b1f60f1f6b3594cc582da245a31158fc6fe7db72..097ef1d6885ef99a79bec097bdac4fc49505bdaa 100644
|
| --- a/content/test/data/gpu/pixel_webgl.html
|
| +++ b/content/test/data/gpu/pixel_webgl_aa_alpha.html
|
| @@ -18,35 +18,7 @@ that the baseline images are regenerated on the next run.
|
| <script src="pixel_webgl_util.js"></script>
|
|
|
| <script>
|
| -var g_swapsBeforeAck = 15;
|
| -var gl;
|
| -
|
| -function main()
|
| -{
|
| - var canvas = document.getElementById("c");
|
| - gl = initGL(canvas);
|
| - if (gl && setup(gl)) {
|
| - drawSomeFrames();
|
| - } else {
|
| - domAutomationController.setAutomationId(1);
|
| - domAutomationController.send("FAILURE");
|
| - }
|
| -}
|
| -
|
| -function drawSomeFrames()
|
| -{
|
| - if (g_swapsBeforeAck == 0) {
|
| - domAutomationController.setAutomationId(1);
|
| - domAutomationController.send("SUCCESS");
|
| - } else {
|
| - g_swapsBeforeAck--;
|
| - drawTriangle(gl);
|
| - window.webkitRequestAnimationFrame(drawSomeFrames);
|
| - }
|
| -}
|
| -
|
| -
|
| -
|
| +var main = makeMain(true, true);
|
| </script>
|
| </head>
|
| <body onload="main()">
|
|
|