Descriptiongl: Check format is valid given an internal format.
GLImageOzoneNativePixmap used to check that format and internal format
were valid, but didn't check that they were compatible.
This CL restricts the valid internalformats given the buffer format
used to initialize the image (e.g: it's now prohibited to initialize with
an R8 buffer an GL_RGBA image).
TEST='gl_unittests --gtest_also_run_disabled_tests' on samus
Committed: https://crrev.com/071378ae67d61ec709501b9647daa881240b25aa
Cr-Commit-Position: refs/heads/master@{#397876}
Patch Set 1 #
Total comments: 2
Patch Set 2 : Make validation as restrictive as possible. #
Messages
Total messages: 11 (5 generated)
|