| 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 70ac54b82eee16e0e1c91b1110a61cee72bf1b33..ba8e471aab88383ec77a8955d99036c248abf69c 100644
|
| --- a/third_party/WebKit/Source/platform/graphics/ImageBuffer.h
|
| +++ b/third_party/WebKit/Source/platform/graphics/ImageBuffer.h
|
| @@ -141,7 +141,7 @@ class PLATFORM_EXPORT ImageBuffer {
|
| WebLayer* platformLayer() const;
|
|
|
| // Destroys the TEXTURE_2D binding for the active texture unit of the passed
|
| - // context.
|
| + // context. Assumes the destination texture has already been allocated.
|
| // FIXME: Current implementations of this method only work with textures that
|
| // are RGB or RGBA format, UNSIGNED_BYTE type and level 0, as specified in
|
| // Extensions3D::canUseCopyTextureCHROMIUM().
|
| @@ -151,7 +151,9 @@ class PLATFORM_EXPORT ImageBuffer {
|
| GLenum destType,
|
| GLint level,
|
| bool premultiplyAlpha,
|
| - bool flipY);
|
| + bool flipY,
|
| + const IntPoint& destPoint,
|
| + const IntRect& sourceSubRectangle);
|
|
|
| bool copyRenderingResultsFromDrawingBuffer(DrawingBuffer*,
|
| SourceDrawingBuffer);
|
|
|