This change allows all formats in the GLES 1.1 spec, table 3.4
to be used as a texture attachment.
Also normalize values passed into glColorPointer if the format
is of type GL_UNSIGNED_BYTE.
These changes are needed for the android app, Kick the Buddy
to render correctly.
Bug: angleproject:5599
Tests: *DrawTextureTest.ColorArrayDifferentTypes*
*FramebufferObjectTest.TextureObjectDifferentFormats*
Change-Id: Ie9d27fc24d94106651262cf9b2080dd3f05af1c5
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2690920
Commit-Queue: Mohan Maiya <m.maiya@samsung.com>
Reviewed-by:
Jamie Madill <jmadill@chromium.org>
Reviewed-by:
Geoff Lang <geofflang@chromium.org>
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| AlphaFuncTest.cpp | Loading commit data... | |
| BasicDrawTest.cpp | Loading commit data... | |
| BootAnimationTest.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... | |
| FramebufferObjectTest.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... | |
| PointSpriteTest.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... |