diff options
author | apatrick@chromium.org <apatrick@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-02-21 23:48:09 +0000 |
---|---|---|
committer | apatrick@chromium.org <apatrick@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-02-21 23:48:09 +0000 |
commit | e27bafaab26d9235d10f17e1720e328f479e160a (patch) | |
tree | 2d083258b58cbeef757a3b07bbf103fb98a45906 /content/browser/gpu/gpu_process_host.h | |
parent | bcf0eeac7fdeb911b28513d6509b18960861b779 (diff) | |
download | chromium_src-e27bafaab26d9235d10f17e1720e328f479e160a.zip chromium_src-e27bafaab26d9235d10f17e1720e328f479e160a.tar.gz chromium_src-e27bafaab26d9235d10f17e1720e328f479e160a.tar.bz2 |
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
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=122205
Review URL: https://chromiumcodereview.appspot.com/9380019
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@122915 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/browser/gpu/gpu_process_host.h')
-rw-r--r-- | content/browser/gpu/gpu_process_host.h | 9 |
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 dfbb75e..6fc6e94 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(); |