Index: content/common/gpu/texture_image_transport_surface.h |
diff --git a/content/common/gpu/texture_image_transport_surface.h b/content/common/gpu/texture_image_transport_surface.h |
index 913854cb6f6d1fc9a40f0424335c3c1d7513a5e3..394da7515f64440971d8a4d61babae5b5ca5d293 100644 |
--- a/content/common/gpu/texture_image_transport_surface.h |
+++ b/content/common/gpu/texture_image_transport_surface.h |
@@ -35,7 +35,8 @@ class TextureImageTransportSurface : |
virtual unsigned int GetBackingFrameBufferObject() OVERRIDE; |
virtual bool PostSubBuffer(int x, int y, int width, int height) OVERRIDE; |
virtual bool OnMakeCurrent(gfx::GLContext* context) OVERRIDE; |
- virtual void SetBufferAllocation(BufferAllocationState state) OVERRIDE; |
+ virtual void SetBackbufferAllocation(bool allocated) OVERRIDE; |
+ virtual void SetFrontbufferAllocation(bool allocated) OVERRIDE; |
virtual void* GetShareHandle() OVERRIDE; |
virtual void* GetDisplay() OVERRIDE; |
virtual void* GetConfig() OVERRIDE; |
@@ -93,6 +94,9 @@ class TextureImageTransportSurface : |
// Whether or not the command buffer stub has been destroyed. |
bool stub_destroyed_; |
+ bool backbuffer_suggested_allocation_; |
+ bool frontbuffer_suggested_allocation_; |
+ |
scoped_ptr<ImageTransportHelper> helper_; |
GpuCommandBufferStub* parent_stub_; |