mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Add support for WebGL2 TexImage2D
Adds initial support for one of the WebGL2 `TexImage2D` call.
This commit is contained in:
parent
ba5568a0a6
commit
6591fa54f9
8 changed files with 254 additions and 49 deletions
|
@ -398,6 +398,16 @@ pub enum WebGLCommand {
|
|||
pixel_format: Option<PixelFormat>,
|
||||
data: TruncatedDebug<IpcSharedMemory>,
|
||||
},
|
||||
TexImage2DPBO {
|
||||
target: u32,
|
||||
level: u32,
|
||||
internal_format: TexFormat,
|
||||
size: Size2D<u32>,
|
||||
format: TexFormat,
|
||||
effective_data_type: u32,
|
||||
unpacking_alignment: u32,
|
||||
offset: i64,
|
||||
},
|
||||
TexSubImage2D {
|
||||
target: u32,
|
||||
level: u32,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue