mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Auto merge of #8712 - simartin:issue_8462, r=ecoal95
Issue #8462: Add support for BufferSubData, CompressedTexImage2D and CompressedSubTexImage2D and reenable individual webgl WPT tests Fixes https://github.com/servo/servo/issues/8462 <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8712) <!-- Reviewable:end -->
This commit is contained in:
commit
5ee6fe120d
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