Index: gpu/command_buffer/service/in_process_command_buffer.h |
diff --git a/gpu/command_buffer/service/in_process_command_buffer.h b/gpu/command_buffer/service/in_process_command_buffer.h |
index 4859760d363864166c274c357dfadb71fab28c27..be861fe29e82fec065c354e9de132f1ffe2d7068 100644 |
--- a/gpu/command_buffer/service/in_process_command_buffer.h |
+++ b/gpu/command_buffer/service/in_process_command_buffer.h |
@@ -47,6 +47,7 @@ class StreamTextureManagerInProcess; |
#endif |
namespace gpu { |
+class SyncPointClient; |
class SyncPointManager; |
class ValueStateMap; |
@@ -201,7 +202,7 @@ class GPU_EXPORT InProcessCommandBuffer : public CommandBuffer, |
bool InitializeOnGpuThread(const InitializeOnGpuThreadParams& params); |
bool DestroyOnGpuThread(); |
- void FlushOnGpuThread(int32 put_offset); |
+ void FlushOnGpuThread(int32 put_offset, uint32_t order_num); |
void ScheduleDelayedWorkOnGpuThread(); |
uint32 CreateStreamTextureOnGpuThread(uint32 client_texture_id); |
bool MakeCurrent(); |
@@ -240,6 +241,7 @@ class GPU_EXPORT InProcessCommandBuffer : public CommandBuffer, |
scoped_ptr<gles2::GLES2Decoder> decoder_; |
scoped_refptr<gfx::GLContext> context_; |
scoped_refptr<gfx::GLSurface> surface_; |
+ scoped_ptr<SyncPointClient> sync_point_client_; |
base::Closure context_lost_callback_; |
bool delayed_work_pending_; // Used to throttle PerformDelayedWork. |
ImageFactory* image_factory_; |