Commit b328e044 by Cody Northrop Committed by Commit Bot

EGL: Add another config for Mali

Test: angle_end2end_tests Bug: angleproject:5053 Change-Id: I7aef6b5babe8f582e7500464f53e65721eaf0520 Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2414733Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org> Commit-Queue: Cody Northrop <cnorthrop@google.com>
parent 99b71417
......@@ -471,6 +471,11 @@ egl::ConfigSet DisplayEGL::generateConfigs()
{
config.renderTargetFormat = GL_RGBA4;
}
else if (config.redSize == 10 && config.greenSize == 10 && config.blueSize == 10 &&
config.alphaSize == 2)
{
config.renderTargetFormat = GL_RGB10_A2;
}
else
{
ERR() << "RGBA(" << config.redSize << "," << config.greenSize << ","
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment