Issue #8462: Add support for BufferSubData, CompressedTexImage2D and

CompressedSubTexImage2D and re-enable individual webgl WPT tests.
This commit is contained in:
Simon Martin 2015-11-14 12:21:47 +01:00
parent 3720e4d5ef
commit f79e1521b2
7 changed files with 84 additions and 19 deletions

View file

@ -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) =>