OLD | NEW |
1 <!DOCTYPE HTML> | 1 <!DOCTYPE HTML> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <title>GPU Memory Test: Use N MB of GPU Memory with WebGL</title> | 4 <title>GPU Memory Test: Use N MB of GPU Memory with WebGL</title> |
5 | 5 |
6 <script id="vertex-shader" type="x-shader/x-vertex"> | 6 <script id="vertex-shader" type="x-shader/x-vertex"> |
7 attribute vec2 a_position; | 7 attribute vec2 a_position; |
8 varying vec2 v_position; | 8 varying vec2 v_position; |
9 void main() { | 9 void main() { |
10 v_position = a_position; | 10 v_position = a_position; |
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
127 drawScene(); | 127 drawScene(); |
128 } | 128 } |
129 </script> | 129 </script> |
130 </head> | 130 </head> |
131 | 131 |
132 <body> | 132 <body> |
133 <canvas id="canvas_id" width=256px height=256px style="width:256px; height:256px
;"/> | 133 <canvas id="canvas_id" width=256px height=256px style="width:256px; height:256px
;"/> |
134 </body> | 134 </body> |
135 </html> | 135 </html> |
136 | 136 |
OLD | NEW |