OSDN Git Service

libRS: enable OpenGL ES2 if hardware acceleration is enabled
authorChih-Wei Huang <cwhuang@linux.org.tw>
Fri, 8 Apr 2011 03:30:20 +0000 (11:30 +0800)
committerChih-Wei Huang <cwhuang@linux.org.tw>
Fri, 8 Apr 2011 03:35:16 +0000 (11:35 +0800)
commit4a9247afd75bee37208241d903b7c25232b2dc10
treec49c92c9bd562a09551765e9e35ea26fa0b317f9
parent9ae084ac812160bbfad0df861205065d9dc6507c
libRS: enable OpenGL ES2 if hardware acceleration is enabled

We can't determine the GL version by checkVersion2_0() at runtime
since mGL.mMajorVersion is not initialized before calling initEGL().
libs/rs/Android.mk
libs/rs/rsContext.cpp