Share EGLConfig between surfaces. 40/5040/4
authorKondapally Kalyan <kalyan.kondapally@intel.com>
Sun, 30 Jun 2013 19:25:04 +0000 (22:25 +0300)
committerKondapally Kalyan <kalyan.kondapally@intel.com>
Sun, 30 Jun 2013 19:25:04 +0000 (22:25 +0300)
commitc01e5a3cfa851b5730af2502f21932015d4b0e1d
tree2922d4cfe24b48433cbe06104da5af4266f1d90d
parentf1a17e9ff317712d3e7f7820073899d1d836ae5b
Share EGLConfig between surfaces.

We create surfaces with attributes which don't vary much in the
most common cases. It would be good to share EGLConfig between surfaces
using same attributes. This patch refactors EGLConfigSelector to be able to
share configs between different surfaces without having to query for it
all the time.
Change-Id: I10fa6188a1ae4692e47b9be8932eab39e8458373
Source/WebCore/platform/graphics/surfaces/egl/EGLConfigSelector.cpp
Source/WebCore/platform/graphics/surfaces/egl/EGLConfigSelector.h