summaryrefslogtreecommitdiffstats
path: root/content/browser/gpu/gpu_process_host.h
diff options
context:
space:
mode:
authorapatrick@chromium.org <apatrick@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-02-16 00:44:34 +0000
committerapatrick@chromium.org <apatrick@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-02-16 00:44:34 +0000
commit6dff3815fda9c86c68b50fcd5d95c6c396d5e209 (patch)
tree7226dcb0a5f481f2fa56a21329d6062694f18f81 /content/browser/gpu/gpu_process_host.h
parent6cd41bde72984f096af5c92c20833322bca8e230 (diff)
downloadchromium_src-6dff3815fda9c86c68b50fcd5d95c6c396d5e209.zip
chromium_src-6dff3815fda9c86c68b50fcd5d95c6c396d5e209.tar.gz
chromium_src-6dff3815fda9c86c68b50fcd5d95c6c396d5e209.tar.bz2
Not ready for review yet.
Allow GPU process to present to the compositing surface without the involvement of the UI thread. This is to prevent a potential deadlock and so I can revert this: https://chromiumcodereview.appspot.com/9295021 BUG=111514 Review URL: http://codereview.chromium.org/9380019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@122205 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/browser/gpu/gpu_process_host.h')
-rw-r--r--content/browser/gpu/gpu_process_host.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/content/browser/gpu/gpu_process_host.h b/content/browser/gpu/gpu_process_host.h
index 30a7dcf..c0c8b73 100644
--- a/content/browser/gpu/gpu_process_host.h
+++ b/content/browser/gpu/gpu_process_host.h
@@ -22,6 +22,8 @@
class GpuMainThread;
struct GPUCreateCommandBufferConfig;
+struct GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params;
+struct GpuHostMsg_AcceleratedSurfacePostSubBuffer_Params;
class BrowserChildProcessHostImpl;
@@ -106,6 +108,13 @@ class GpuProcessHost : public content::BrowserChildProcessHostDelegate,
void OnCommandBufferCreated(const int32 route_id);
void OnDestroyCommandBuffer(int32 surface_id);
+#if defined(OS_WIN) && !defined(USE_AURA)
+ void OnAcceleratedSurfaceBuffersSwapped(
+ const GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params& params);
+ void OnAcceleratedSurfacePostSubBuffer(
+ const GpuHostMsg_AcceleratedSurfacePostSubBuffer_Params& params);
+#endif
+
bool LaunchGpuProcess(const std::string& channel_id);
void SendOutstandingReplies();