ui: Fix TEXTURE_RECTANGLE support in GLImage unit tests.
Sampling from texture with TEXTURE_RECTANGLE target requires unnormalized texture coordinates. Prior to this change all texture sampling would be done from a single texel instead of the whole texture when using TEXTURE_RECTANGLE target. This change also includes some cleanups to make GLImage unit test code more consistent. BUG= TEST=gl_unittests --gtest_filter=GLImage* Review URL: https://codereview.chromium.org/1708733002 Cr-Commit-Position: refs/heads/master@{#375993}
Showing
Please register or sign in to comment