diff options
author | piman@chromium.org <piman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-03-08 23:46:29 +0000 |
---|---|---|
committer | piman@chromium.org <piman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-03-08 23:46:29 +0000 |
commit | 03dc888f5d0e636fd4e55f8f04bb635bfad29b42 (patch) | |
tree | aecd43e4ceb1ba8f9e3bcd3c19a1fd8584489291 /content/public/browser | |
parent | 10618f2764fb9cfc6fc3cc266d928a9731c0afbc (diff) | |
download | chromium_src-03dc888f5d0e636fd4e55f8f04bb635bfad29b42.zip chromium_src-03dc888f5d0e636fd4e55f8f04bb635bfad29b42.tar.gz chromium_src-03dc888f5d0e636fd4e55f8f04bb635bfad29b42.tar.bz2 |
Aura: recover from lost context / GPU process dying
For recovery from lost contexts, we need to:
- on the UI thread, recreate the compositing surfaces (since they are textures in the UI compositor context that we lost).
- on the IO thread, delay the requests from the renderer process to create view contexts, until the above has happened.
BUG=116394,116839
TEST=chrome --ui-use-gpu-process --force-compositing-mode, kill GPU process, check everything still works
Review URL: http://codereview.chromium.org/9632005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@125727 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/public/browser')
-rw-r--r-- | content/public/browser/render_process_host.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/content/public/browser/render_process_host.h b/content/public/browser/render_process_host.h index 189ede6..fa95d17 100644 --- a/content/public/browser/render_process_host.h +++ b/content/public/browser/render_process_host.h @@ -186,6 +186,11 @@ class CONTENT_EXPORT RenderProcessHost : public IPC::Message::Sender, // 10 milliseconds. virtual base::TimeDelta GetChildProcessIdleTime() const = 0; + // Signals that a compositing surface has been updated after a lost context + // event, so that we can process requests from the renderer to create contexts + // with that surface. + virtual void SurfaceUpdated(int32 surface_id) = 0; + // Static management functions ----------------------------------------------- // Flag to run the renderer in process. This is primarily |