mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-29 12:19:54 +00:00
LibWeb/WebGL: Implement readPixels()
This commit is contained in:
parent
c199be061a
commit
4e8ec1e793
Notes:
github-actions[bot]
2024-12-13 08:21:02 +00:00
Author: https://github.com/kalenikaliaksandr
Commit: 4e8ec1e793
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/2878
Reviewed-by: https://github.com/ADKaster
Reviewed-by: https://github.com/gmta
3 changed files with 24 additions and 2 deletions
|
@ -59,7 +59,7 @@ interface mixin WebGL2RenderingContextOverloads {
|
|||
|
||||
// Reading back pixels
|
||||
// WebGL1:
|
||||
[FIXME] undefined readPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, [AllowShared] ArrayBufferView? dstData);
|
||||
undefined readPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, [AllowShared] ArrayBufferView? pixels);
|
||||
// WebGL2:
|
||||
[FIXME] undefined readPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLintptr offset);
|
||||
[FIXME] undefined readPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, [AllowShared] ArrayBufferView dstData, unsigned long long dstOffset);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue