egl: Refactor _eglInitContext.
authorChia-I Wu <olvaffe@gmail.com>
Sun, 31 Jan 2010 04:57:53 +0000 (12:57 +0800)
committerChia-I Wu <olvaffe@gmail.com>
Sun, 31 Jan 2010 06:46:14 +0000 (14:46 +0800)
commitcaa5c8dfe8e5857aa25b2a3fa649d553e651e144
treeab90048a6b5cff52a9fdc84a91dbb83b96ecbdd4
parent6f1529293f218015f47d86dcba774c3d9faa2cda
egl: Refactor _eglInitContext.

Refactor attribute list parsing code to _eglParseContextAttribList.  Add
a check to make sure the config supports the client API.
src/egl/main/eglcontext.c