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 b06a442555d465b947b6f32072495c9804830772..7c881f19ecf5a8ad0d588fdf29d4ff2dc4f4f205 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; |
@@ -199,7 +200,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 ScheduleIdleWorkOnGpuThread(); |
uint32 CreateStreamTextureOnGpuThread(uint32 client_texture_id); |
bool MakeCurrent(); |
@@ -236,6 +237,7 @@ class GPU_EXPORT InProcessCommandBuffer : public CommandBuffer, |
scoped_ptr<gles2::GLES2Decoder> decoder_; |
scoped_refptr<gfx::GLContext> context_; |
scoped_refptr<gfx::GLSurface> surface_; |
+ scoped_refptr<SyncPointClient> sync_point_client_; |
base::Closure context_lost_callback_; |
bool idle_work_pending_; // Used to throttle PerformIdleWork. |
ImageFactory* image_factory_; |