Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(537)

Unified Diff: content/browser/gpu/browser_gpu_channel_host_factory.h

Issue 11195011: Send vsync timebase updates to the browser compositor (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased again. Created 8 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | content/browser/gpu/browser_gpu_channel_host_factory.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/gpu/browser_gpu_channel_host_factory.h
diff --git a/content/browser/gpu/browser_gpu_channel_host_factory.h b/content/browser/gpu/browser_gpu_channel_host_factory.h
index 83140b376a1355cc7f31b07e1577e411fce2fc1b..c30dad31adb8e0a0094810c12f88a6612a987775 100644
--- a/content/browser/gpu/browser_gpu_channel_host_factory.h
+++ b/content/browser/gpu/browser_gpu_channel_host_factory.h
@@ -39,6 +39,13 @@ class BrowserGpuChannelHostFactory : public GpuChannelHostFactory {
virtual GpuChannelHost* EstablishGpuChannelSync(
CauseForGpuLaunch cause_for_gpu_launch) OVERRIDE;
+ // Specify a task runner and callback to be used for a set of messages.
+ virtual void SetHandlerForControlMessages(
+ const uint32* message_ids,
+ size_t num_messages,
+ const base::Callback<void(const IPC::Message&)>& handler,
+ base::TaskRunner* target_task_runner);
+
private:
struct CreateRequest {
CreateRequest();
@@ -81,6 +88,9 @@ class BrowserGpuChannelHostFactory : public GpuChannelHostFactory {
EstablishRequest* request,
const IPC::ChannelHandle& channel_handle,
const GPUInfo& gpu_info);
+ static void AddFilterOnIO(
+ int gpu_host_id,
+ scoped_refptr<IPC::ChannelProxy::MessageFilter> filter);
int gpu_client_id_;
scoped_ptr<base::WaitableEvent> shutdown_event_;
« no previous file with comments | « no previous file | content/browser/gpu/browser_gpu_channel_host_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698