Index: Source/WebCore/platform/graphics/chromium/LayerRendererChromium.h |
=================================================================== |
--- Source/WebCore/platform/graphics/chromium/LayerRendererChromium.h (revision 122257) |
+++ Source/WebCore/platform/graphics/chromium/LayerRendererChromium.h (working copy) |
@@ -34,6 +34,7 @@ |
#if USE(ACCELERATED_COMPOSITING) |
+#include "Extensions3DChromium.h" |
#include "TextureCopier.h" |
#include "ThrottledTextureUploader.h" |
#include "TrackingTextureAllocator.h" |
@@ -54,7 +55,6 @@ |
class CCYUVVideoDrawQuad; |
class GeometryBinding; |
class GraphicsContext3D; |
-class LayerRendererGpuMemoryAllocationChangedCallbackAdapter; |
class LayerRendererSwapBuffersCompleteCallbackAdapter; |
class ScopedEnsureFramebufferAllocation; |
@@ -112,9 +112,9 @@ |
float width, float height, float opacity, const FloatQuad&, |
int matrixLocation, int alphaLocation, int quadLocation); |
void copyTextureToFramebuffer(int textureId, const IntSize& bounds, const WebKit::WebTransformationMatrix& drawMatrix); |
+ void setGpuMemoryAllocation(Extensions3DChromium::GpuMemoryAllocationCHROMIUM); |
protected: |
- friend class LayerRendererGpuMemoryAllocationChangedCallbackAdapter; |
void discardFramebuffer(); |
void ensureFramebuffer(); |
bool isFramebufferDiscarded() const { return m_isFramebufferDiscarded; } |
@@ -259,6 +259,7 @@ |
bool m_isViewportChanged; |
bool m_isFramebufferDiscarded; |
+ bool m_visible; |
TextureUploaderOption m_textureUploaderSetting; |
}; |