Commit 715e7f1a by Geoff Lang Committed by Commit Bot

Add GL_DEPTH_COMPONENT_24 as a depth format for surfaces.

BUG=angleproject:2075 Change-Id: Ic5e061d4908c072f92f80f70fa6da27b1346cd83 Reviewed-on: https://chromium-review.googlesource.com/663944Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org> Commit-Queue: Geoff Lang <geofflang@chromium.org>
parent ace6822c
...@@ -1021,7 +1021,8 @@ egl::ConfigSet Renderer11::generateConfigs() ...@@ -1021,7 +1021,8 @@ egl::ConfigSet Renderer11::generateConfigs()
} }
static const GLenum depthStencilBufferFormats[] = { static const GLenum depthStencilBufferFormats[] = {
GL_NONE, GL_DEPTH24_STENCIL8_OES, GL_DEPTH_COMPONENT16, GL_STENCIL_INDEX8, GL_NONE, GL_DEPTH24_STENCIL8_OES, GL_DEPTH_COMPONENT24, GL_DEPTH_COMPONENT16,
GL_STENCIL_INDEX8,
}; };
const gl::Caps &rendererCaps = getNativeCaps(); const gl::Caps &rendererCaps = getNativeCaps();
......
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