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

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: Created 8 years, 11 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') | content/renderer/render_view_impl.cc » ('J')
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 e8728f4f292232d4982d2300f6d6c78d36769b3b..f41b8ee8355bbab1d52db554b30e503093818234 100644
--- a/content/renderer/render_view_impl.h
+++ b/content/renderer/render_view_impl.h
@@ -1135,6 +1135,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') | content/renderer/render_view_impl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698