Descriptiongpu: Upgrade DEPTH_COMPONENT16 to DEPTH_COMPONENT24 if possible
Upgrade the DEPTH_COMPONENT16 render buffer storage format to
DEPTH_COMPONENT24 if the GLES implementation supports the OES_depth24
extension. This is done to improve content portability between desktop
and mobile, since we already do a similar mapping from DEPTH_COMPONENT16
to the unsized DEPTH_COMPONENT on desktop GL. This means that for
example WebGL content can end up relying on a higher precision depth
buffer even though it only requested DEPTH_COMPONENT16.
BUG=285400
TEST=http://www.khronos.org/registry/webgl/conformance-suites/1.0.1/webgl-conformance-tests.html on Nexus 4
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=224117
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=224509
Patch Set 1 #Patch Set 2 : Fix failing unit test by restoring previous GL implementation. #
Messages
Total messages: 7 (0 generated)
|