diff options
author | vangelis@chromium.org <vangelis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-05-07 17:10:46 +0000 |
---|---|---|
committer | vangelis@chromium.org <vangelis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-05-07 17:10:46 +0000 |
commit | edbcde93e4b267c19e38fdc584509a044481f602 (patch) | |
tree | b65d41609d1a2b8ee253a3a880d999ab76ef889f /chrome/renderer/render_widget.h | |
parent | 7f9323de177f6d58732ae49fd707249ffa197b3b (diff) | |
download | chromium_src-edbcde93e4b267c19e38fdc584509a044481f602.zip chromium_src-edbcde93e4b267c19e38fdc584509a044481f602.tar.gz chromium_src-edbcde93e4b267c19e38fdc584509a044481f602.tar.bz2 |
Adding a new IPC message to notify the browser process when a render widget is using the gpu process for painting its contents so that the browser will stop rendering from its own backing surface. This will currently only trigger if a page
uses the accelerated compositing path.
This patch can only land _after_ https://bugs.webkit.org/show_bug.cgi?id=38220
BUG=42677
TEST=NONE
Review URL: http://codereview.chromium.org/1696014
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46697 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/renderer/render_widget.h')
-rw-r--r-- | chrome/renderer/render_widget.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome/renderer/render_widget.h b/chrome/renderer/render_widget.h index 9577630..4232d28 100644 --- a/chrome/renderer/render_widget.h +++ b/chrome/renderer/render_widget.h @@ -325,6 +325,9 @@ class RenderWidget : public IPC::Channel::Listener, // Indicates if the next sequence of Char events should be suppressed or not. bool suppress_next_char_events_; + // Set to true if painting to the window is handled by the GPU process. + bool is_gpu_rendering_active_; + DISALLOW_COPY_AND_ASSIGN(RenderWidget); }; |