BUG=angleproject:2306 This implements GL_OES_draw_texture using a few bits of new state in the renderer and adding a code path for it in the shader, using gl_VertexID to draw the quad backing the texture draw. This allows us to avoid allocating a separate vertex array for the texture draw and reuses the current shader as much as possible, plugging in to the existing multitexturing pipeline. - Add unit test and sample - No new test expectations, but advertising GL_OES_draw_texture makes the DrawTex GLES1 conformance test non-trivial and actually test glDrawTex*. Change-Id: I1485098249fe44d46a01cab4bb7b2c39d0492923 Reviewed-on: https://chromium-review.googlesource.com/1135930Reviewed-by:Corentin Wallez <cwallez@chromium.org> Commit-Queue: Lingfeng Yang <lfy@google.com>
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| AlphaFuncTest.cpp | Loading commit data... | |
| BasicDrawTest.cpp | Loading commit data... | |
| ClientActiveTextureTest.cpp | Loading commit data... | |
| ClientStateEnable.cpp | Loading commit data... | |
| ClipPlaneTest.cpp | Loading commit data... | |
| CurrentColorTest.cpp | Loading commit data... | |
| CurrentNormalTest.cpp | Loading commit data... | |
| CurrentTextureCoordsTest.cpp | Loading commit data... | |
| DrawTextureTest.cpp | Loading commit data... | |
| FogTest.cpp | Loading commit data... | |
| LightsTest.cpp | Loading commit data... | |
| MaterialsTest.cpp | Loading commit data... | |
| MatrixBuiltinsTest.cpp | Loading commit data... | |
| MatrixLoadTest.cpp | Loading commit data... | |
| MatrixModeTest.cpp | Loading commit data... | |
| MatrixMultTest.cpp | Loading commit data... | |
| MatrixStackTest.cpp | Loading commit data... | |
| PointParameterTest.cpp | Loading commit data... | |
| ShadeModelTest.cpp | Loading commit data... | |
| TextureEnvTest.cpp | Loading commit data... | |
| TextureParameterTest.cpp | Loading commit data... | |
| TextureTargetEnableTest.cpp | Loading commit data... | |
| VertexPointerTest.cpp | Loading commit data... |