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

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

Issue 2591363002: Adding drawable to CRD andorid and iOS gl rendering pipeline. (Closed)
Patch Set: More special casing for Android and windows. 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
Index: remoting/client/display/sys_opengl.h
diff --git a/remoting/client/display/sys_opengl.h b/remoting/client/display/sys_opengl.h
index 90abd6be0bccb0ec6aea225e6310b6614ef8e881..3040b65284e31a7675ca6be60a7b0709d0984286 100644
--- a/remoting/client/display/sys_opengl.h
+++ b/remoting/client/display/sys_opengl.h
@@ -17,6 +17,8 @@
#define GL_GLEXT_PROTOTYPES
#include <OpenGL/gl.h>
#include <OpenGL/glext.h>
+#elif defined(OS_ANDROID)
+#include <EGL/egl.h>
Yuwei 2017/01/09 22:41:54 Why is EGL included here? I think it's only used t
nicholss 2017/01/09 22:51:12 I am trying to make the android side compile. GLES
Yuwei 2017/01/09 23:06:37 Yeah but why EGL/egl.h...
#else
#include <GLES3/gl3.h>
#endif // defined(OS_IOS)

Powered by Google App Engine
This is Rietveld 408576698