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

Unified Diff: remoting/client/display/gl_renderer.h

Issue 2623413004: [Remoting Android] Fix thread issue with OpenGL drawable (Closed)
Patch Set: Reviewer's Feedback Created 3 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 | remoting/client/jni/jni_gl_display_handler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/client/display/gl_renderer.h
diff --git a/remoting/client/display/gl_renderer.h b/remoting/client/display/gl_renderer.h
index 72f04e4881474bccb7d6f06ee42c278e5d0882ed..46632187635b45bc3107cd8314c0bb52ad8836cd 100644
--- a/remoting/client/display/gl_renderer.h
+++ b/remoting/client/display/gl_renderer.h
@@ -98,6 +98,8 @@ class GlRenderer {
base::WeakPtr<GlRenderer> GetWeakPtr();
// Convenience method to create a Renderer with standard desktop components.
+ // This function must be called on the display thread, or whatever thread that
+ // will be used after the renderer is created.
static std::unique_ptr<GlRenderer> CreateGlRendererWithDesktop();
private:
« no previous file with comments | « no previous file | remoting/client/jni/jni_gl_display_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698