OSDN Git Service

Use EGL_NATIVE_VISUAL_ID to select EGLConfig
authorMathias Agopian <mathias@google.com>
Mon, 17 Jan 2011 01:57:20 +0000 (17:57 -0800)
committerMathias Agopian <mathias@google.com>
Mon, 17 Jan 2011 01:57:20 +0000 (17:57 -0800)
commit22a666a80b67b199188805b63ffc01a3e044b3ef
treeb6421a5ca9660993f7f07c5d4119484f6bf3b0e0
parent4a2e478a5bf6b4650181d1dfa643eadcc387fcec
Use EGL_NATIVE_VISUAL_ID to select EGLConfig

EGLUtils::selectConfigForPixelFormat() now uses EGL_NATIVE_VISUAL_ID
to select a config with the proper format. this is more robust and
future proof.

Change-Id: Ib85e0974160945d838956b50a3cac4de78618957
libs/ui/EGLUtils.cpp