commit | 644bb2a29e5c725a92f8744b6065a5ca7d7dc31f | [log] [tgz] |
---|---|---|
author | Mathias Agopian <mathias@google.com> | Wed Nov 24 15:59:35 2010 -0800 |
committer | Mathias Agopian <mathias@google.com> | Fri Dec 03 14:15:40 2010 -0800 |
tree | 9721ea4be4c7daf316c1adb909ccdbbcb268b8ad | |
parent | 8217671a50c0f6f22e01fa405050cc7079b9665d [diff] |
[3229973, 3247470, ...] set EGLNativeWindowSurface's format in EGL (there are multiple bugs this should fix) we now use the EGL_NATIVE_VISUAL_ID of a config to set the ANativeWindow's format from eglCreateWindowSurface(), this guarantees that the surface's format will match whatever EGLConfig the user chose. this should fix all current and future config/surface format mismatch and allow users to easily select 32-bits surfaces. Change-Id: I3835d0eb70c75eeecded3c3509a0a8207554c98b