OSDN Git Service

renderthread: relax error handling for wide gamut EGL configs
authorRob Herring <robh@kernel.org>
Wed, 29 Nov 2017 15:26:31 +0000 (09:26 -0600)
committerDmitry Shmidt <dimitrysh@google.com>
Wed, 13 Dec 2017 00:41:27 +0000 (16:41 -0800)
commit74883abde36d24425949d5c01504734ce3238cb4
tree3fafe66020cb74ade9887a500f38cf4819449bfc
parentd87c6b51f55985e343cf96f57b06e4adebf53d25
renderthread: relax error handling for wide gamut EGL configs

It is valid to advertise EGL_EXT_pixel_format_float, but not have a
the requested EGL config. Instead of aborting, fallback to the default
behavior.

Change-Id: I6c602233b627dc2070364434fece57d3d0aab435
Cc: Romain Guy <romainguy@google.com>
Signed-off-by: Rob Herring <robh@kernel.org>
libs/hwui/renderthread/EglManager.cpp