Configs with 0 alpha bits were not being stored in the set because the sorting functor did not compare alpha and thus did not achieve strict ordering. Having separate functors for strict comparison and sorting by EGL rules fixes it, and also allows to control config ID assignment. Android expects a config with alpha bits even though not explicitly requested. Bug 21538709 Change-Id: I76472e0eb2a8ad9ca39c6e8ce08225d0ce5cef45 Reviewed-on: https://swiftshader-review.googlesource.com/3310Reviewed-by:Alexis Hétu <sugoi@google.com> Reviewed-by:
Keun Soo Yim <yim@google.com> Reviewed-by:
Nicolas Capens <capn@google.com> Tested-by:
Nicolas Capens <capn@google.com>
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| Android.mk | Loading commit data... | |
| Config.cpp | Loading commit data... | |
| Config.h | Loading commit data... | |
| Context.hpp | Loading commit data... | |
| Display.cpp | Loading commit data... | |
| Display.h | Loading commit data... | |
| Surface.cpp | Loading commit data... | |
| Surface.h | Loading commit data... | |
| Texture.hpp | Loading commit data... | |
| exports.map | Loading commit data... | |
| libEGL.cbp | Loading commit data... | |
| libEGL.cpp | Loading commit data... | |
| libEGL.def | Loading commit data... | |
| libEGL.hpp | Loading commit data... | |
| libEGL.rc | Loading commit data... | |
| libEGL.vcxproj | Loading commit data... | |
| libEGL.vcxproj.filters | Loading commit data... | |
| main.cpp | Loading commit data... | |
| main.h | Loading commit data... | |
| resource.h | Loading commit data... |