summaryrefslogtreecommitdiffstats
path: root/Source/WebKit/chromium/src/GraphicsContext3DInternal.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebKit/chromium/src/GraphicsContext3DInternal.h')
-rw-r--r--Source/WebKit/chromium/src/GraphicsContext3DInternal.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/WebKit/chromium/src/GraphicsContext3DInternal.h b/Source/WebKit/chromium/src/GraphicsContext3DInternal.h
index c8f7c7a..0af291e 100644
--- a/Source/WebKit/chromium/src/GraphicsContext3DInternal.h
+++ b/Source/WebKit/chromium/src/GraphicsContext3DInternal.h
@@ -66,7 +66,12 @@ public:
void reshape(int width, int height);
IntSize getInternalFramebufferSize();
+ void markContextChanged();
+ bool layerComposited() const;
+ void markLayerComposited();
+
void paintRenderingResultsToCanvas(CanvasRenderingContext*);
+ PassRefPtr<ImageData> paintRenderingResultsToImageData();
bool paintsIntoCanvasBuffer() const;
void prepareTexture();
@@ -273,6 +278,7 @@ private:
bool m_initializedAvailableExtensions;
HashSet<String> m_enabledExtensions;
HashSet<String> m_requestableExtensions;
+ bool m_layerComposited;
#if USE(ACCELERATED_COMPOSITING)
RefPtr<WebGLLayerChromium> m_compositingLayer;
#endif