diff options
Diffstat (limited to 'content/browser/renderer_host/gpu_message_filter.h')
-rw-r--r-- | content/browser/renderer_host/gpu_message_filter.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/content/browser/renderer_host/gpu_message_filter.h b/content/browser/renderer_host/gpu_message_filter.h index d43b62e..5492ad9 100644 --- a/content/browser/renderer_host/gpu_message_filter.h +++ b/content/browser/renderer_host/gpu_message_filter.h @@ -39,6 +39,10 @@ class GpuMessageFilter : public BrowserMessageFilter { virtual bool OnMessageReceived(const IPC::Message& message, bool* message_was_ok) OVERRIDE; + // Signals that the handle for a surface id was updated, and it may be time to + // unblock existing CreateViewCommandBuffer requests using that surface. + void SurfaceUpdated(int32 surface_id); + // This set of API is used to subscribe to frame presentation events. // See RenderWidgetHostViewFrameSubscriber for more details. void BeginFrameSubscription( @@ -80,6 +84,7 @@ class GpuMessageFilter : public BrowserMessageFilter { bool share_contexts_; scoped_refptr<RenderWidgetHelper> render_widget_helper_; + std::vector<linked_ptr<CreateViewCommandBufferRequest> > pending_requests_; base::WeakPtrFactory<GpuMessageFilter> weak_ptr_factory_; |