Changeset 143373 in webkit
- Timestamp:
- Feb 19, 2013 12:43:48 PM (11 years ago)
- Location:
- trunk/LayoutTests
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r143367 r143373 1 2013-02-19 Kondapally Kalyan <kalyan.kondapally@intel.com> 2 3 [WebGL] Fix oes-element-index-uint.html test. 4 https://bugs.webkit.org/show_bug.cgi?id=110045 5 6 Reviewed by Kenneth Russell. 7 8 This patch fixes the test case to use updated WebGLTestUtils functions 9 and adds shaders used during resized buffer tests. This patch 10 also enables the test for EFL port. 11 12 * fast/canvas/webgl/oes-element-index-uint-expected.txt: 13 * fast/canvas/webgl/oes-element-index-uint.html: 14 * platform/efl/TestExpectations: 15 1 16 2013-02-19 Adrienne Walker <enne@chromium.org> 2 17 -
trunk/LayoutTests/fast/canvas/webgl/oes-element-index-uint-expected.txt
r131780 r143373 61 61 62 62 TEST COMPLETE 63 -
trunk/LayoutTests/fast/canvas/webgl/oes-element-index-uint.html
r131780 r143373 13 13 <canvas id="canvas" style="width: 50px; height: 50px;"> </canvas> 14 14 <div id="console"></div> 15 <script id="vs" type="x-shader/x-vertex"> 16 attribute vec4 vPosition; 17 attribute vec4 vColor; 18 varying vec4 color; 19 void main() { 20 gl_Position = vPosition; 21 color = vColor; 22 } 23 </script> 24 <script id="fs" type="x-shader/x-fragment"> 25 #if defined(GL_ES) 26 precision mediump float; 27 #endif 28 varying vec4 color; 29 void main() { 30 gl_FragColor = color; 31 } 32 </script> 15 33 <script> 16 34 description("This test verifies the functionality of the OES_element_index_uint extension, if it is available."); 17 35 18 36 debug(""); 37 38 if (window.internals) 39 window.internals.settings.setWebGLErrorsToConsoleEnabled(false); 19 40 20 41 var wtu = WebGLTestUtils; … … 76 97 gl.viewport(0, 0, canvas.width, canvas.height); 77 98 78 var program = wtu.setup NoTexCoordTextureProgram(gl);99 var program = wtu.setupSimpleTextureProgram(gl); 79 100 80 101 function setupDraw(s) { … … 262 283 glErrorShouldBe(gl, gl.INVALID_VALUE); 263 284 shouldBeUndefined('gl.drawElements(gl.TRIANGLES, 3, gl.UNSIGNED_INT, 0)'); 285 gl.disableVertexAttribArray(vertexLoc); 264 286 } 265 287 … … 295 317 debug("Test that updating the size of a vertex buffer is properly noticed by the WebGL implementation."); 296 318 297 var program = setupProgram(gl, "vs", "fs", ["vPosition", "vColor"]);319 var program = wtu.setupProgram(gl, ["vs", "fs"], ["vPosition", "vColor"]); 298 320 glErrorShouldBe(gl, gl.NO_ERROR, "after initialization"); 299 321 … … 390 412 testPassed("bufferSubData, when buffer object was initialized with null, did not crash"); 391 413 } 414 415 debug(""); 416 successfullyParsed = true; 417 isSuccessfullyParsed(); 418 392 419 </script> 393 <script src="../../resources/js-test-post.js"></script>394 395 420 </body> 396 421 </html> -
trunk/LayoutTests/platform/efl/TestExpectations
r143352 r143373 345 345 346 346 webkit.org/b/99096 fast/canvas/webgl/arraybuffer-transfer-of-control.html [ Failure Pass ] 347 348 # Expected to fail until OES_element_index_uint extension is implemented349 webkit.org/b/98257 fast/canvas/webgl/oes-element-index-uint.html [ Failure Pass ]350 347 351 348 #////////////////////////////////////////////////////////////////////////////////////////
Note: See TracChangeset
for help on using the changeset viewer.