mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-21 12:05:15 +00:00
LibWeb/WebGL2: Implement WebGL 1 version of bufferSubData
This commit is contained in:
parent
bd1cc239df
commit
71521a7004
Notes:
github-actions[bot]
2024-12-14 08:10:37 +00:00
Author: https://github.com/Lubrsi Commit: https://github.com/LadybirdBrowser/ladybird/commit/71521a70044 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/2905
1 changed files with 2 additions and 1 deletions
|
@ -5,9 +5,10 @@
|
|||
// https://registry.khronos.org/webgl/specs/latest/2.0/#3.7
|
||||
interface mixin WebGL2RenderingContextOverloads {
|
||||
// WebGL1:
|
||||
// FIXME: BufferSource is really a AllowSharedBufferSource
|
||||
undefined bufferData(GLenum target, GLsizeiptr size, GLenum usage);
|
||||
undefined bufferData(GLenum target, BufferSource? srcData, GLenum usage);
|
||||
[FIXME] undefined bufferSubData(GLenum target, GLintptr dstByteOffset, AllowSharedBufferSource srcData);
|
||||
undefined bufferSubData(GLenum target, GLintptr dstByteOffset, BufferSource srcData);
|
||||
// WebGL2:
|
||||
[FIXME] 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);
|
||||
|
|
Loading…
Add table
Reference in a new issue