mirror of
https://github.com/servo/servo.git
synced 2025-08-05 05:30:08 +01:00
Issue #8462: Add support for BufferSubData, CompressedTexImage2D and
CompressedSubTexImage2D and re-enable individual webgl WPT tests.
This commit is contained in:
parent
3720e4d5ef
commit
f79e1521b2
7 changed files with 84 additions and 19 deletions
|
@ -72,6 +72,8 @@ impl WebGLPaintTask {
|
|||
gl::attach_shader(program_id, shader_id),
|
||||
CanvasWebGLMsg::BufferData(buffer_type, data, usage) =>
|
||||
gl::buffer_data(buffer_type, &data, usage),
|
||||
CanvasWebGLMsg::BufferSubData(buffer_type, offset, data) =>
|
||||
gl::buffer_sub_data(buffer_type, offset, &data),
|
||||
CanvasWebGLMsg::Clear(mask) =>
|
||||
gl::clear(mask),
|
||||
CanvasWebGLMsg::ClearColor(r, g, b, a) =>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue