summaryrefslogtreecommitdiffstats
path: root/o3d/core/cross/client.h
diff options
context:
space:
mode:
authortschmelcher@chromium.org <tschmelcher@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-12-15 00:04:18 +0000
committertschmelcher@chromium.org <tschmelcher@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-12-15 00:04:18 +0000
commit316b50f28156e2d6a33f874a83cb07b25850d322 (patch)
tree9ef14cf8538174f3463b3debe4d0d1d883ba51bf /o3d/core/cross/client.h
parent8069898eb2c5511ed83ed6677380f14cfd04d3a0 (diff)
downloadchromium_src-316b50f28156e2d6a33f874a83cb07b25850d322.zip
chromium_src-316b50f28156e2d6a33f874a83cb07b25850d322.tar.gz
chromium_src-316b50f28156e2d6a33f874a83cb07b25850d322.tar.bz2
Fix ON_DEMAND_RENDER mode on Mac OSX.
Submitting on behalf of pthatcher@google.com Review URL: http://codereview.chromium.org/5843001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69197 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'o3d/core/cross/client.h')
-rw-r--r--o3d/core/cross/client.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/o3d/core/cross/client.h b/o3d/core/cross/client.h
index eebc586..19cc45e 100644
--- a/o3d/core/cross/client.h
+++ b/o3d/core/cross/client.h
@@ -264,6 +264,9 @@ class Client {
// the plugin to become reentrant. Detect this at a higher level.
bool IsRendering();
+ // Needs either ONDEMAND or CONTINOUS render.
+ bool NeedsRender();
+
// If Renderer::max_fps has been set in RENDERMODE_CONTINUOUS mode, we don't
// draw on each tick but just let new textures drive the rendering. There is
// only one exception: if we haven't received any new textures for a while, we