| Index: third_party/WebKit/Source/platform/graphics/ImageBuffer.h
|
| diff --git a/third_party/WebKit/Source/platform/graphics/ImageBuffer.h b/third_party/WebKit/Source/platform/graphics/ImageBuffer.h
|
| index cb6e8b0770a0f77704c9b1df3b493e04749c63b2..b57f6ab40b855c2bac733b118dd1427f5f37497c 100644
|
| --- a/third_party/WebKit/Source/platform/graphics/ImageBuffer.h
|
| +++ b/third_party/WebKit/Source/platform/graphics/ImageBuffer.h
|
| @@ -122,7 +122,9 @@ public:
|
| // with textures that are RGB or RGBA format, UNSIGNED_BYTE type and level 0, as specified in
|
| // Extensions3D::canUseCopyTextureCHROMIUM().
|
| // Destroys the TEXTURE_2D binding for the active texture unit of the passed context
|
| - bool copyToPlatformTexture(WebGraphicsContext3D*, Platform3DObject, GLenum, GLenum, GLint, bool, bool);
|
| + bool copyToPlatformTexture(WebGraphicsContext3D*, GLenum, Platform3DObject, GLenum, GLenum, GLint, bool, bool);
|
| + bool copySubToPlatformTexture(WebGraphicsContext3D*, GLenum, Platform3DObject, GLint, GLint xoffset,
|
| + GLint yoffset, GLsizei width, GLsizei height, bool, bool);
|
|
|
| bool copyRenderingResultsFromDrawingBuffer(DrawingBuffer*, SourceDrawingBuffer);
|
|
|
| @@ -148,6 +150,10 @@ private:
|
| DrawnToAfterSnapshot,
|
| };
|
| mutable SnapshotState m_snapshotState;
|
| +
|
| + bool copyToPlatformTextureInternal(bool isFullCopy, WebGraphicsContext3D*, GLenum, Platform3DObject, GLenum, GLenum,
|
| + GLint, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, bool, bool);
|
| +
|
| OwnPtr<ImageBufferSurface> m_surface;
|
| ImageBufferClient* m_client;
|
| };
|
|
|