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

Side by Side Diff: extra/offscreen-issue.html

Issue 8342021: Add webgl conformance tests r15841. (Closed) Base URL: svn://chrome-svn/chrome/trunk/deps/third_party/webgl/sdk/tests/
Patch Set: Created 9 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « extra/lots-of-polys-example.html ('k') | extra/out-of-memory.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Property Changes:
Added: svn:eol-style
+ LF
OLDNEW
(Empty)
1 <!DOCTYPE HTML>
2 <html>
3 <head>
4 <meta charset="utf-8">
5 <script type="text/javascript">
6
7 window.onload = function() {
8 setup("1");
9 setup("2");
10 }
11
12 function setup(id) {
13 var c = document.getElementById(id);
14 var gl = c.getContext("experimental-webgl");
15 gl.clearColor(1,0,0,1);
16 gl.clear(gl.COLOR_BUFFER_BIT);
17 setTimeout(function() {
18 gl.enable(gl.SCISSOR_TEST);
19 gl.scissor(0,0,50,50);
20 gl.clearColor(0,1,0,1);
21 gl.clear(gl.COLOR_BUFFER_BIT);
22 }, 500);
23 }
24 </script>
25 </head>
26 <body>
27 <canvas id="1"></canvas>
28 <div style="height:4000px;">content that is tall like several articles</div>
29 <canvas id="2"></canvas>
30 </body>
31 </html>
32
OLDNEW
« no previous file with comments | « extra/lots-of-polys-example.html ('k') | extra/out-of-memory.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698