diff options
author | Serban Constantinescu <serban.constantinescu@arm.com> | 2014-02-21 11:19:49 +0000 |
---|---|---|
committer | Amit Pundir <amit.pundir@linaro.org> | 2014-04-16 10:54:45 +0530 |
commit | a98e290b9e9853364c3f28344453a558801b7d77 (patch) | |
tree | e47a314601af5899569e0a6b07f0855934639eb3 | |
parent | 27f8840f228abfe5e2458a261ce5403871495a54 (diff) | |
download | native-a98e290b9e9853364c3f28344453a558801b7d77.tar.gz |
Fix resolution issues for Juno.
Change-Id: I1eb483c127bcfb72212ff7ea86b14e30bfe222e2
Signed-off-by: Serban Constantinescu <serban.constantinescu@arm.com>
-rw-r--r-- | opengl/libagl/egl.cpp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/opengl/libagl/egl.cpp b/opengl/libagl/egl.cpp index 1feac8b261..c6b58970a3 100644 --- a/opengl/libagl/egl.cpp +++ b/opengl/libagl/egl.cpp @@ -1010,6 +1010,18 @@ static config_pair_t const config_7_attribute_list[] = { { EGL_SURFACE_TYPE, EGL_WINDOW_BIT|EGL_PBUFFER_BIT|EGL_PIXMAP_BIT }, }; +static config_pair_t const config_8_attribute_list[] = { + { EGL_BUFFER_SIZE, 32 }, + { EGL_ALPHA_SIZE, 8 }, + { EGL_BLUE_SIZE, 8 }, + { EGL_GREEN_SIZE, 8 }, + { EGL_RED_SIZE, 8 }, + { EGL_DEPTH_SIZE, 0 }, + { EGL_CONFIG_ID, 2 }, + { EGL_NATIVE_VISUAL_ID, GGL_PIXEL_FORMAT_BGRA_8888 }, + { EGL_SURFACE_TYPE, EGL_WINDOW_BIT|EGL_PBUFFER_BIT|EGL_PIXMAP_BIT }, +}; + static configs_t const gConfigs[] = { { config_0_attribute_list, NELEM(config_0_attribute_list) }, { config_1_attribute_list, NELEM(config_1_attribute_list) }, @@ -1019,6 +1031,7 @@ static configs_t const gConfigs[] = { { config_5_attribute_list, NELEM(config_5_attribute_list) }, { config_6_attribute_list, NELEM(config_6_attribute_list) }, { config_7_attribute_list, NELEM(config_7_attribute_list) }, + { config_8_attribute_list, NELEM(config_8_attribute_list) }, }; static config_management_t const gConfigManagement[] = { |