@@ -1318,7 +1318,6 @@ def test_webgl_parallel_shader_compile(self):
13181318 self .btest_exit ('webgl_parallel_shader_compile.cpp' )
13191319
13201320 @requires_graphics_hardware
1321- @no_4gb ('readPixels fails: https://crbug.com/324992397' )
13221321 def test_webgl_explicit_uniform_location (self ):
13231322 self .btest_exit ('webgl_explicit_uniform_location.c' , args = ['-sGL_EXPLICIT_UNIFORM_LOCATION' , '-sMIN_WEBGL_VERSION=2' ])
13241323
@@ -1327,7 +1326,6 @@ def test_webgl_sampler_layout_binding(self):
13271326 self .btest_exit ('webgl_sampler_layout_binding.c' , args = ['-sGL_EXPLICIT_UNIFORM_BINDING' ])
13281327
13291328 @requires_graphics_hardware
1330- @no_4gb ('readPixels fails: https://crbug.com/324992397' )
13311329 def test_webgl2_ubo_layout_binding (self ):
13321330 self .btest_exit ('webgl2_ubo_layout_binding.c' , args = ['-sGL_EXPLICIT_UNIFORM_BINDING' , '-sMIN_WEBGL_VERSION=2' ])
13331331
@@ -1529,7 +1527,6 @@ def test_sdl_gl_read(self):
15291527 self .btest_exit ('test_sdl_gl_read.c' , args = ['-lSDL' , '-lGL' ])
15301528
15311529 @requires_graphics_hardware
1532- @no_4gb ('readPixels fails: https://crbug.com/324992397' )
15331530 def test_sdl_gl_mapbuffers (self ):
15341531 self .btest_exit ('test_sdl_gl_mapbuffers.c' , args = ['-sFULL_ES3' , '-lSDL' , '-lGL' ])
15351532
@@ -2032,12 +2029,10 @@ def test_gl_stride(self):
20322029 self .reftest ('gl_stride.c' , 'gl_stride.png' , args = ['-sGL_UNSAFE_OPTS=0' , '-sLEGACY_GL_EMULATION' , '-lGL' , '-lSDL' ])
20332030
20342031 @requires_graphics_hardware
2035- @no_4gb ('assertion failure' )
20362032 def test_gl_vertex_buffer_pre (self ):
20372033 self .reftest ('gl_vertex_buffer_pre.c' , 'gl_vertex_buffer_pre.png' , args = ['-sGL_UNSAFE_OPTS=0' , '-sLEGACY_GL_EMULATION' , '-lGL' , '-lSDL' ])
20382034
20392035 @requires_graphics_hardware
2040- @no_4gb ('assertion failure' )
20412036 def test_gl_vertex_buffer (self ):
20422037 self .reftest ('gl_vertex_buffer.c' , 'gl_vertex_buffer.png' , args = ['-sGL_UNSAFE_OPTS=0' , '-sLEGACY_GL_EMULATION' , '-lGL' , '-lSDL' ], reference_slack = 1 )
20432038
@@ -2779,7 +2774,6 @@ def test_webgl2_pbo(self):
27792774
27802775 @no_firefox ('fails on CI likely due to GPU drivers there' )
27812776 @requires_graphics_hardware
2782- @no_4gb ('fails to render' )
27832777 def test_webgl2_sokol_mipmap (self ):
27842778 self .reftest ('third_party/sokol/mipmap-emsc.c' , 'third_party/sokol/mipmap-emsc.png' ,
27852779 args = ['-sMAX_WEBGL_VERSION=2' , '-lGL' , '-O1' ], reference_slack = 2 )
@@ -4487,12 +4481,13 @@ def test_small_js_flags(self):
44874481 self .assertLess (abs (size - 4800 ), 100 )
44884482
44894483 # Tests that it is possible to initialize and render WebGL content in a
4490- # pthread by using OffscreenCanvas. -DTEST_CHAINED_WEBGL_CONTEXT_PASSING:
4491- # Tests that it is possible to transfer WebGL canvas in a chain from main
4492- # thread -> thread 1 -> thread 2 and then init and render WebGL content there.
4493- @no_chrome ('see https://crbug.com/961765' )
4484+ # pthread by using OffscreenCanvas.
4485+ @no_chrome ('https://crbug.com/961765' )
44944486 @parameterized ({
44954487 '' : ([],),
4488+ # -DTEST_CHAINED_WEBGL_CONTEXT_PASSING:
4489+ # Tests that it is possible to transfer WebGL canvas in a chain from main
4490+ # thread -> thread 1 -> thread 2 and then init and render WebGL content there.
44964491 'chained' : (['-DTEST_CHAINED_WEBGL_CONTEXT_PASSING' ],),
44974492 })
44984493 @requires_threads
@@ -4563,7 +4558,6 @@ def test_webgl_draw_base_vertex_base_instance(self):
45634558 '-DWEBGL_CONTEXT_VERSION=2' ])
45644559
45654560 @requires_graphics_hardware
4566- @no_4gb ('fails to render' )
45674561 def test_webgl_sample_query (self ):
45684562 self .btest_exit ('webgl_sample_query.cpp' , args = ['-sMAX_WEBGL_VERSION=2' , '-lGL' ])
45694563
@@ -4621,7 +4615,6 @@ def test_webgl_offscreen_framebuffer_state_restoration(self):
46214615
46224616 # Tests that using an array of structs in GL uniforms works.
46234617 @requires_graphics_hardware
4624- @no_4gb ('fails to render' )
46254618 def test_webgl_array_of_structs_uniform (self ):
46264619 self .reftest ('webgl_array_of_structs_uniform.c' , 'webgl_array_of_structs_uniform.png' , args = ['-lGL' , '-sMAX_WEBGL_VERSION=2' ])
46274620
@@ -4688,7 +4681,7 @@ def test_webgl_simple_extensions(self, simple_enable_extensions, webgl_version):
46884681 self .btest_exit ('webgl2_simple_enable_extensions.c' , args = cmd )
46894682
46904683 @parameterized ({
4691- 'default ' : ([],),
4684+ '' : ([],),
46924685 'closure' : (['-sASSERTIONS' , '--closure=1' ],),
46934686 'main_module' : (['-sMAIN_MODULE=1' ],),
46944687 })
0 commit comments