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)
committerRob Herring <rob.herring@linaro.org>
Wed, 13 Dec 2017 14:30:21 +0000 (14:30 +0000)
commit4ee4d209089a4b46c9ef7c4c8b51ad352ffea68a
tree5cd58d15a45bbe9433103903aeb21e0a9babd777
parent125d736bbe356383656223e79e23df383bd63d1d
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