Add safe fall back to use EGLChooseConfig. 85/8285/2
authorKondapally Kalyan <kalyan.kondapally@intel.com>
Wed, 14 Aug 2013 14:40:05 +0000 (17:40 +0300)
committerJoone Hur <joone.hur@intel.com>
Wed, 14 Aug 2013 21:35:59 +0000 (14:35 -0700)
commit834f0d35d38286e723f10e8689407666b3a550bf
tree96ae86f4e78e0a75fb404c93785e84289db4223c
parente27d5f1ce644875be61f67e072faca8aafd92848
Add safe fall back to use EGLChooseConfig.

In EGLConfigSelector, we try to find an exact match for EGL attributes.
This breaks things on drivers which don't match the expected configuration.
This patch changes so that we try to find the exact match first but have
a safe fall back to use EGLChooseConfig.

Change-Id: Ibf28f3661e3d8590720ce80b2def2713b96b1d65
Source/WebCore/platform/graphics/surfaces/egl/EGLConfigSelector.cpp