gecko-dev/dom/canvas/test/webgl-mochitest
Jeff Gilbert 0dfd1a2a0d Bug 1477756 - Fix all webgl regression tests according to CI. r=handyman
(This is a combination of 31 commits)

* Fix Linux compilation.

* Fix mac compilation.

* CI compile fixes.

* printf's size_t is %zu. %tu would be unsigned ptrdiff_t.

* No non-ref Maybe args.

* MOZ_CRASH for noreturn

* Handle implied texture sizes, rewrite comment stripping.

* Replace e.g. WebGLProgramInner with simpler webgl::ProgramKeepAlive.

* Bounce ValidateProgram call off driver.

* Uniform name length limit, cubemap fb-attach, non-array uniforms, undersized texImage views.

* alignas for uint8_t[sizeof(float)*N] pun buffers.

* CC fixes?

* Fill attrib0Active.

* Repair max-warnings limit.

* This is basically required in order for CI's logging to not explode.

* Don't cache WebGLMemoryTracker.

* Deleted prog/shader error, no texSubImage(null), client-side fingerprint resist for exts.

* Fix GetUniformIndices and MakeRangeFromView.

* CC Traverse base class from within derived class to fix leaking the world. :(

* PauseTransformFeedback
* TexImage video fastpath
* GetFragLocation for arrays
* Forbid BindBufferRange during TF

* Mark tests and fix RBAB query and test.

* Change(!) query deletion behavior to match spec.
* Mark conformance2/query/query.html failing for now.

* Implicitly EndQuery on DeleteQuery while spec is in flux.

* Fix error code for test.

* RAII LruPosition for WebGL context limit.

* Include std::list.

* Mark CompileResult and LinkResult.pending as false when retrieved.

* Hold strong-ref to NotLostData during Run<> to prevent LoseContext=>UAF.

* Don't assume GetUniformLocation(foo+'[0]') means foo is an array.
* Don't assume !mCanvasElement means !!mOffscreenCanvas.

* Handle composition while context-lost.

* All non-value-init members must be const or have inline init.

* Mark passing tests on Linux.

Depends on D54019

Differential Revision: https://phabricator.services.mozilla.com/D55739

--HG--
extra : moz-landing-system : lando
2020-01-08 22:19:23 +00:00
..
ensure-exts
regress
driver-info.js
es3-data.js
mochi-to-testcase.py
mochitest.ini
red-green.mp4
red-green.theora.ogv
red-green.webmvp8.webm
red-green.webmvp9.webm
test_backbuffer_channels.html
test_backends.html
test_canvas_size.html
test_capture.html
test_cubemap_must_be_square.html
test_depth_readpixels.html
test_depth_tex_lazy_clear.html
test_draw.html
test_fb_param.html
test_fb_param_crash.html
test_fuzzing_bugs.html
test_has_rbab.html
test_hidden_alpha.html
test_hidden_depth_stencil.html
test_highp_fs.html
test_implicit_color_buffer_float.html
test_no_arr_points.html
test_noprog_draw.html
test_pixel_pack_buffer.html
test_privileged_exts.html
test_renderer_strings.html
test_sab_with_webgl.html
test_texsubimage_float.html
test_uninit_data.html
test_vertexattrib4f_update.html
test_video_fastpath.js
test_video_fastpath_mp4.html
test_video_fastpath_theora.html
test_video_fastpath_vp8.html
test_video_fastpath_vp9.html
test_webgl2_alpha_luminance.html
test_webgl2_invalidate_framebuffer.html
test_webgl2_not_exposed.html
test_webgl2_uniform_block.html
test_webgl_available.html
test_webgl_color_buffer_float.html
test_webgl_compressed_texture_es3.html
test_webgl_conformance.html
test_webgl_fingerprinting_resistance.html
test_webgl_force_enable.html
test_webgl_request_context.html
test_webgl_request_mismatch.html
test_webglcontextcreationerror.html
test_without_index_validation.html
webgl-util.js