commit | 8d5688eab29d4e2865720e3e140c2ff613e4032d | [log] [tgz] |
---|---|---|
author | Peiyong Lin <lpy@google.com> | Sat Apr 18 00:39:41 2020 -0700 |
committer | Peiyong Lin <lpy@google.com> | Mon Apr 20 13:26:01 2020 -0700 |
tree | 2f21e7dd0f576b441b91ff3f38c6f19d5682d39b | |
parent | 8c0eb7fdbefb37f18b504bec3b0b2fc7cafd7872 [diff] |
Pick config based on pixel format. Currently GLESRenderEngine gets a config if EGL_KHR_no_config_context is not supported and uses that config to create dummy surfaces if EGL_KHR_surfaceless_context is not supported. With this patch GLESRenderEngine can pick a config with a different pixel format rather than default to 8 bits per channel. Minor: Remove EGLAttributeVector Bug: b/145968912 Test: atest librenderengine_test Change-Id: If242a72be780ad398643b572ae9fab3840b5084d