OSDN Git Service
(root)
/
android-x86
/
frameworks-base.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c4646e6
)
fix [2147737] Pixel Flinger needs to set EGL_RENDERABLE_TYPE to EGL_OPENGL_ES_BIT
author
Mathias Agopian
<mathias@google.com>
Mon, 28 Sep 2009 03:18:16 +0000
(20:18 -0700)
committer
Mathias Agopian
<mathias@google.com>
Mon, 28 Sep 2009 03:18:16 +0000
(20:18 -0700)
Also set max swap interval to 1, which is the only supported value currently.
opengl/libagl/egl.cpp
patch
|
blob
|
history
diff --git
a/opengl/libagl/egl.cpp
b/opengl/libagl/egl.cpp
index
9c0f7fd
..
37628b7
100644
(file)
--- a/
opengl/libagl/egl.cpp
+++ b/
opengl/libagl/egl.cpp
@@
-952,7
+952,8
@@
static config_pair_t const config_base_attribute_list[] = {
{ EGL_BIND_TO_TEXTURE_RGBA, EGL_FALSE },
{ EGL_BIND_TO_TEXTURE_RGB, EGL_FALSE },
{ EGL_MIN_SWAP_INTERVAL, 1 },
- { EGL_MAX_SWAP_INTERVAL, 4 },
+ { EGL_MAX_SWAP_INTERVAL, 1 },
+ { EGL_RENDERABLE_TYPE, EGL_OPENGL_ES_BIT },
};
// These configs can override the base attribute list