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

Unified Diff: remoting/client/jni/chromoting_jni_runtime.cc

Issue 2032963002: WIP - OpenGL Native Renderer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Merge branch 'master' into gl Created 4 years, 5 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 | « remoting/client/jni/chromoting_jni_runtime.h ('k') | remoting/client/jni/display_updater_factory.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/client/jni/chromoting_jni_runtime.cc
diff --git a/remoting/client/jni/chromoting_jni_runtime.cc b/remoting/client/jni/chromoting_jni_runtime.cc
index fe11386029c972380db18dd28102526154312a01..8a9f42b384e6ec741b385eebc189212414625deb 100644
--- a/remoting/client/jni/chromoting_jni_runtime.cc
+++ b/remoting/client/jni/chromoting_jni_runtime.cc
@@ -60,6 +60,11 @@ static void OnAuthTokenFetched(JNIEnv* env,
ConvertJavaStringToUTF8(env, token)));
}
+static void UseOpenGlRenderer(JNIEnv* env, const JavaParamRef<jclass>& jcaller,
+ jboolean useOpenGl) {
+ remoting::ChromotingJniRuntime::GetInstance()->use_opengl_ = useOpenGl;
+}
+
// ChromotingJniRuntime implementation.
// static
« no previous file with comments | « remoting/client/jni/chromoting_jni_runtime.h ('k') | remoting/client/jni/display_updater_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698