diff options
author | Mathias Agopian <mathias@google.com> | 2009-09-27 20:18:16 -0700 |
---|---|---|
committer | Mathias Agopian <mathias@google.com> | 2009-09-27 20:18:16 -0700 |
commit | 56fa27572a2bbdd84a4762968327dba670fedae0 (patch) | |
tree | 2fcfb821a9ad845cc8f3b34131db962b2d97b795 /opengl/libagl | |
parent | 737e786acffe87a086720bf2cf0d8b9f818b12be (diff) | |
download | frameworks_native-56fa27572a2bbdd84a4762968327dba670fedae0.zip frameworks_native-56fa27572a2bbdd84a4762968327dba670fedae0.tar.gz frameworks_native-56fa27572a2bbdd84a4762968327dba670fedae0.tar.bz2 |
fix [2147737] Pixel Flinger needs to set EGL_RENDERABLE_TYPE to EGL_OPENGL_ES_BIT
Also set max swap interval to 1, which is the only supported value currently.
Diffstat (limited to 'opengl/libagl')
-rw-r--r-- | opengl/libagl/egl.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/opengl/libagl/egl.cpp b/opengl/libagl/egl.cpp index 9c0f7fd..37628b7 100644 --- 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 |