Index: content/common/gpu/gpu_command_buffer_stub.h |
=================================================================== |
--- content/common/gpu/gpu_command_buffer_stub.h (revision 108480) |
+++ content/common/gpu/gpu_command_buffer_stub.h (working copy) |
@@ -66,6 +66,9 @@ |
// Whether this command buffer can currently handle IPC messages. |
bool IsScheduled(); |
+ // Set the swap interval according to the command line. |
+ void SetSwapInterval(); |
+ |
gpu::gles2::GLES2Decoder* decoder() const { return decoder_.get(); } |
gpu::GpuScheduler* scheduler() const { return scheduler_.get(); } |
@@ -79,8 +82,6 @@ |
// to the same renderer process. |
int32 route_id() const { return route_id_; } |
- void ViewResized(); |
- |
gfx::GpuPreference gpu_preference() { return gpu_preference_; } |
private: |
@@ -118,22 +119,11 @@ |
void OnSetSurfaceVisible(bool visible); |
-#if defined(OS_MACOSX) |
- void OnSwapBuffers(); |
- |
- // Returns the id of the current surface that is being rendered to |
- // (or 0 if no such surface has been created). |
- uint64 GetSurfaceId(); |
-#endif |
- |
void OnCommandProcessed(); |
void OnParseError(); |
- void OnResize(gfx::Size size); |
void ReportState(); |
- void SetSwapInterval(); |
- |
// The lifetime of objects of this class is managed by a GpuChannel. The |
// GpuChannels destroy all the GpuCommandBufferStubs that they own when they |
// are destroyed. So a raw pointer is safe. |