summaryrefslogtreecommitdiffstats
path: root/doxygen
diff options
context:
space:
mode:
authorEmil Velikov <emil.velikov@collabora.com>2016-08-25 14:28:48 +0100
committerEmil Velikov <emil.l.velikov@gmail.com>2016-10-14 12:53:39 +0100
commitacd35c8758dc732409035cb0488c9d1c896f636d (patch)
treee07ca6d5f5b81873a1301520db7bfac7a83af7ba /doxygen
parent36fe5900a4c3f098699acd09221ab31b74229580 (diff)
downloadexternal_mesa3d-acd35c8758dc732409035cb0488c9d1c896f636d.zip
external_mesa3d-acd35c8758dc732409035cb0488c9d1c896f636d.tar.gz
external_mesa3d-acd35c8758dc732409035cb0488c9d1c896f636d.tar.bz2
egl/android: tweak droid_add_configs_for_visuals()
Iterate over the driver_configs first in order to cut down the number of getConfigAttrib() calls by a factor of 5. While we're here, also drop the sentinel of the visuals array. We already know its size so we can use that and save a few bytes. v2: Use correct comparison in loop conditional (Eric) Use valid C initializer (Gurchetan) Signed-off-by: Emil Velikov <emil.velikov@collabora.com> Reviewed-by: Eric Engestrom <eric@engestrom.ch>
Diffstat (limited to 'doxygen')
0 files changed, 0 insertions, 0 deletions