Commit graph

68 commits

Author SHA1 Message Date
Anthony Ramine
02bd2630e4 Add some bug links in WebGL 1.0 expectations 2018-08-31 15:29:31 +02:00
Anthony Ramine
900a19058e Support unions of objects in overloads
Part of #20513, implementing the parts useful for WebGL.
2018-08-30 16:15:40 +02:00
Anthony Ramine
4cf944eab8 Fix gl.isBuffer for buffers that are marked for deletion but still attached 2018-08-30 16:15:39 +02:00
Anthony Ramine
7b673de4d6 Always emit INVALID_OPERATION on null element buffers in drawElements 2018-08-30 16:15:39 +02:00
Anthony Ramine
83e27e4167 Remove WebGLRenderingContext.STENCIL_INDEX 2018-08-30 16:15:38 +02:00
Anthony Ramine
7f9d560f28 Allow binding the null buffer in vertexAttribPointer if offset is 0 2018-08-30 16:15:38 +02:00
Anthony Ramine
0ba66f9f12 Fix the error for invalid arrays passed to gl.vertexAttrib*v() 2018-08-30 16:15:38 +02:00
Anthony Ramine
273aac87e4 Make use of window.onerror in Khronos tests 2018-08-30 16:15:35 +02:00
Anthony Ramine
6089e45b7d Make setZeroTimeout use window.setTimeout 2018-08-29 02:05:49 +02:00
Anthony Ramine
cb2f83cf8e Fix Drop assertion for WebGLBuffer
A buffer that is dropped may not have been marked for deletion but it
must not be attached to any VAO.
2018-08-29 02:05:49 +02:00
Anthony Ramine
59b3f0458e Disable many texture-related tests for things we don't support yet 2018-08-29 02:05:49 +02:00
Anthony Ramine
c48d1fa5b7 Disable rapid-resizing.html
The absence of support for preserveDrawingBuffer makes it timeout.
2018-08-28 19:36:26 +02:00
Anthony Ramine
5a8ed02d5c Disable quickCheckAPI-S_V.html
It generates random input which even trips the invalid surrogate panic.
2018-08-28 19:36:26 +02:00
Anthony Ramine
428b305ea6 Merge unit.patch and unit2.patch 2018-08-28 19:35:50 +02:00
Anthony Ramine
b1ce74caa5 Remove obsolete patch 2018-08-28 19:35:50 +02:00
Anthony Ramine
20dc32d147 Clean up some WebGL expectations 2018-08-28 19:35:49 +02:00
Anthony Ramine
26a311fc62 Use sdk/tests when syncing from upstream Khronos WebGL tests 2018-08-25 13:34:53 +02:00
Anthony Ramine
4852f7d616 Move Khronos WebGL tests to /_webgl/ 2018-08-25 03:43:32 +02:00