mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-30 20:59:16 +00:00
LibWeb/WebGL2: Implement bufferSubData with offset and length
This commit is contained in:
parent
18ea91715b
commit
63b792c205
Notes:
github-actions[bot]
2025-01-08 15:00:53 +00:00
Author: https://github.com/Lubrsi
Commit: 63b792c205
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/2943
Reviewed-by: https://github.com/kalenikaliaksandr
2 changed files with 29 additions and 1 deletions
|
@ -11,7 +11,7 @@ interface mixin WebGL2RenderingContextOverloads {
|
|||
undefined bufferSubData(GLenum target, GLintptr dstByteOffset, BufferSource srcData);
|
||||
// WebGL2:
|
||||
undefined bufferData(GLenum target, [AllowShared] ArrayBufferView srcData, GLenum usage, unsigned long long srcOffset, optional GLuint length = 0);
|
||||
[FIXME] undefined bufferSubData(GLenum target, GLintptr dstByteOffset, [AllowShared] ArrayBufferView srcData, unsigned long long srcOffset, optional GLuint length = 0);
|
||||
undefined bufferSubData(GLenum target, GLintptr dstByteOffset, [AllowShared] ArrayBufferView srcData, unsigned long long srcOffset, optional GLuint length = 0);
|
||||
|
||||
// WebGL1 legacy entrypoints:
|
||||
undefined texImage2D(GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, [AllowShared] ArrayBufferView? pixels);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue