Android-x86
Fork
Donation

  • R/O
  • HTTP
  • SSH
  • HTTPS

frameworks-base: 提交

frameworks/base


Commit MetaInfo

修订版dcbd4d2ea89a3df2ffb79f13fc5ecddee7e0e74f (tree)
时间2010-04-18 21:35:47
作者Chih-Wei Huang <cwhuang@linu...>
CommiterChih-Wei Huang

Log Message

libRS: initEGL according to GL version

Do not use GL2 for libagl since it doesn't implement EGL_OPENGL_ES2_BIT.

See http://code.google.com/p/0xdroid/issues/detail?id=76

更改概述

差异

--- a/libs/rs/rsContext.cpp
+++ b/libs/rs/rsContext.cpp
@@ -477,7 +477,7 @@ void Context::setSurface(uint32_t w, uint32_t h, Surface *sur)
477477 if (!mEGL.mContext) {
478478 first = true;
479479 pthread_mutex_lock(&gInitMutex);
480- initEGL(true);
480+ initEGL(checkVersion2_0());
481481 pthread_mutex_unlock(&gInitMutex);
482482 }
483483
Show on old repository browser