Index: third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp |
diff --git a/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp b/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp |
index f0449e4394878d25f29f793afc6610ad4f3f55f6..22eaed9f202e8dccc998fa8727eef626d0ae1ac8 100644 |
--- a/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp |
+++ b/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp |
@@ -914,11 +914,11 @@ static const GLenum kSupportedInternalFormatsTexImageES3[] = { |
// ES3 enums supported by TexImageSource |
static const GLenum kSupportedInternalFormatsTexImageSourceES3[] = { |
- GL_R8, GL_R16F, GL_R32F, GL_R8UI, GL_RG8, |
- GL_RG16F, GL_RG32F, GL_RG8UI, GL_RGB8, GL_SRGB8, |
- GL_RGB565, GL_R11F_G11F_B10F, GL_RGB9_E5, GL_RGB16F, GL_RGB32F, |
- GL_RGB8UI, GL_RGBA8, GL_SRGB8_ALPHA8, GL_RGB5_A1, GL_RGBA4, |
- GL_RGBA16F, GL_RGBA32F, GL_RGBA8UI, |
+ GL_R8, GL_R16F, GL_R32F, GL_R8UI, GL_RG8, |
+ GL_RG16F, GL_RG32F, GL_RG8UI, GL_RGB8, GL_SRGB8, |
+ GL_RGB565, GL_R11F_G11F_B10F, GL_RGB9_E5, GL_RGB16F, GL_RGB32F, |
+ GL_RGB8UI, GL_RGBA8, GL_SRGB8_ALPHA8, GL_RGB5_A1, GL_RGBA4, |
+ GL_RGBA16F, GL_RGBA32F, GL_RGBA8UI, GL_RGB10_A2, |
}; |
// ES2 enums |
@@ -991,6 +991,7 @@ static const GLenum kSupportedTypesES3[] = { |
// ES3 enums supported by TexImageSource |
static const GLenum kSupportedTypesTexImageSourceES3[] = { |
GL_HALF_FLOAT, GL_FLOAT, GL_UNSIGNED_INT_10F_11F_11F_REV, |
+ GL_UNSIGNED_INT_2_10_10_10_REV, |
}; |
} // namespace |