mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 01:35:08 +02:00
LibWeb/WebGL: Implement readPixels()
This commit is contained in:
committed by
Alexander Kalenik
parent
c199be061a
commit
4e8ec1e793
Notes:
github-actions[bot]
2024-12-13 08:21:02 +00:00
Author: https://github.com/kalenikaliaksandr Commit: https://github.com/LadybirdBrowser/ladybird/commit/4e8ec1e793c Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/2878 Reviewed-by: https://github.com/ADKaster Reviewed-by: https://github.com/gmta
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user