mirror of
https://github.com/servo/servo.git
synced 2025-07-23 07:13:52 +01:00
Use byte channels to send textures to the WebGL thread
This commit is contained in:
parent
408e540c55
commit
4bd8efa49e
3 changed files with 38 additions and 17 deletions
|
@ -252,8 +252,8 @@ pub enum WebGLCommand {
|
|||
VertexAttribPointer(u32, i32, u32, bool, i32, u32),
|
||||
VertexAttribPointer2f(u32, i32, bool, i32, u32),
|
||||
SetViewport(i32, i32, i32, i32),
|
||||
TexImage2D(u32, i32, i32, i32, i32, u32, u32, ByteBuf),
|
||||
TexSubImage2D(u32, i32, i32, i32, i32, i32, u32, u32, ByteBuf),
|
||||
TexImage2D(u32, i32, i32, i32, i32, u32, u32, IpcBytesReceiver),
|
||||
TexSubImage2D(u32, i32, i32, i32, i32, i32, u32, u32, IpcBytesReceiver),
|
||||
DrawingBufferWidth(WebGLSender<i32>),
|
||||
DrawingBufferHeight(WebGLSender<i32>),
|
||||
Finish(WebGLSender<()>),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue