| Index: Source/WebCore/platform/graphics/GraphicsContext3D.h
|
| ===================================================================
|
| --- Source/WebCore/platform/graphics/GraphicsContext3D.h (revision 93076)
|
| +++ Source/WebCore/platform/graphics/GraphicsContext3D.h (working copy)
|
| @@ -95,6 +95,7 @@
|
| #endif
|
| class HostWindow;
|
| class Image;
|
| +class ImageBuffer;
|
| class ImageData;
|
| #if USE(CAIRO)
|
| class PlatformContextCairo;
|
| @@ -779,8 +780,8 @@
|
| void reshape(int width, int height);
|
|
|
| #if USE(CG)
|
| - void paintToCanvas(const unsigned char* imagePixels, int imageWidth, int imageHeight,
|
| - int canvasWidth, int canvasHeight, CGContextRef context);
|
| + static void paintToCanvas(const unsigned char* imagePixels, int imageWidth, int imageHeight,
|
| + int canvasWidth, int canvasHeight, CGContextRef);
|
| #elif PLATFORM(GTK)
|
| void paintToCanvas(const unsigned char* imagePixels, int imageWidth, int imageHeight,
|
| int canvasWidth, int canvasHeight, PlatformContextCairo* context);
|
| @@ -790,8 +791,9 @@
|
| void markLayerComposited();
|
| bool layerComposited() const;
|
|
|
| - void paintRenderingResultsToCanvas(CanvasRenderingContext* context);
|
| + void paintRenderingResultsToCanvas(CanvasRenderingContext*);
|
| PassRefPtr<ImageData> paintRenderingResultsToImageData();
|
| + bool paintCompositedResultsToCanvas(CanvasRenderingContext*);
|
|
|
| #if PLATFORM(QT)
|
| bool paintsIntoCanvasBuffer() const { return true; }
|
|
|