| Index: Source/platform/graphics/gpu/DrawingBuffer.h
|
| diff --git a/Source/platform/graphics/gpu/DrawingBuffer.h b/Source/platform/graphics/gpu/DrawingBuffer.h
|
| index c28f68f73e4e596bfee445175ab8ab8a0e2f586b..7e0ce034009498746e5594c79e02820bf1c8fe98 100644
|
| --- a/Source/platform/graphics/gpu/DrawingBuffer.h
|
| +++ b/Source/platform/graphics/gpu/DrawingBuffer.h
|
| @@ -155,15 +155,14 @@ public:
|
| virtual bool prepareMailbox(WebExternalTextureMailbox*, WebExternalBitmap*) override;
|
| virtual void mailboxReleased(const WebExternalTextureMailbox&, bool lostResource = false) override;
|
|
|
| - enum SourceBuffer { Front, Back };
|
| // Destroys the TEXTURE_2D binding for the owned context
|
| bool copyToPlatformTexture(WebGraphicsContext3D*, Platform3DObject texture, GLenum internalFormat,
|
| - GLenum destType, GLint level, bool premultiplyAlpha, bool flipY, SourceBuffer);
|
| + GLenum destType, GLint level, bool premultiplyAlpha, bool flipY, SourceDrawingBuffer);
|
|
|
| void setPackAlignment(GLint param);
|
|
|
| void paintRenderingResultsToCanvas(ImageBuffer*);
|
| - PassRefPtr<Uint8ClampedArray> paintRenderingResultsToImageData(int&, int&);
|
| + PassRefPtr<Uint8ClampedArray> paintRenderingResultsToImageData(int&, int&, SourceDrawingBuffer);
|
|
|
| protected: // For unittests
|
| DrawingBuffer(
|
|
|