Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2587)

Unified Diff: content/renderer/render_view_impl.h

Issue 9225050: Defer render_widget draw until host window is available (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: aura sets host_window_ to NULL, so check for set-ness instead of null-ness Created 8 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | content/renderer/render_view_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/render_view_impl.h
diff --git a/content/renderer/render_view_impl.h b/content/renderer/render_view_impl.h
index 6c60ae33157055cf569cce2545ec1a7d30dbb37d..63a5a374b31d3cb624ef2820dadc1cf8bf3a69a4 100644
--- a/content/renderer/render_view_impl.h
+++ b/content/renderer/render_view_impl.h
@@ -1136,6 +1136,13 @@ class RenderViewImpl : public RenderWidget,
std::set<gfx::PluginWindowHandle> fake_plugin_window_handles_;
#endif
+ // When this view is composited, the context used for compositing may or may
+ // not support the GL_CHROMIUM_swapbuffers_complete_callback extension. Since
+ // querying for the existence of this extension is expensive we cache the
+ // result. These are used to implement SupportsAsynchronousSwapBuffers().
+ bool context_has_swapbuffers_complete_callback_;
+ bool queried_for_swapbuffers_complete_callback_;
+
// Helper objects ------------------------------------------------------------
RendererWebCookieJarImpl cookie_jar_;
« no previous file with comments | « no previous file | content/renderer/render_view_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698