| Index: third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.h
|
| diff --git a/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.h b/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.h
|
| index f48b667825643520b216c9817da881bdbba64a44..e57fb94df8857b737c1fe4276d2da3ce6d49b27c 100644
|
| --- a/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.h
|
| +++ b/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.h
|
| @@ -1541,6 +1541,16 @@ class MODULES_EXPORT WebGLRenderingContextBase : public CanvasRenderingContext,
|
| IntRect sentinelEmptyRect();
|
| IntRect safeGetImageSize(Image*);
|
|
|
| + // Helper implementing readPixels for WebGL 1.0 and 2.0.
|
| + void readPixelsHelper(GLint x,
|
| + GLint y,
|
| + GLsizei width,
|
| + GLsizei height,
|
| + GLenum format,
|
| + GLenum type,
|
| + DOMArrayBufferView* pixels,
|
| + GLuint offset);
|
| +
|
| private:
|
| WebGLRenderingContextBase(HTMLCanvasElement*,
|
| OffscreenCanvas*,
|
|
|