Index: third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.cpp |
diff --git a/third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.cpp b/third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.cpp |
index a3da846049bfe5db49feaba7ced2aecc5124e88d..19faaab7f058d6d5b74543ab897ba81c03b7da66 100644 |
--- a/third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.cpp |
+++ b/third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.cpp |
@@ -632,24 +632,6 @@ IntRect WebGL2RenderingContextBase::getTextureSourceSubRectangle( |
return IntRect(m_unpackSkipPixels, m_unpackSkipRows, width, height); |
} |
-bool WebGL2RenderingContextBase::canUseTexImageByGPU( |
- TexImageFunctionID functionID, |
- GLint internalformat, |
- GLenum type) { |
- switch (internalformat) { |
- case GL_RGB565: |
- case GL_RGBA4: |
- case GL_RGB5_A1: |
- // FIXME: ES3 limitation that CopyTexImage with sized internalformat, |
- // component sizes have to match the source color format. |
- return false; |
- default: |
- break; |
- } |
- return WebGLRenderingContextBase::canUseTexImageByGPU(functionID, |
- internalformat, type); |
-} |
- |
void WebGL2RenderingContextBase::invalidateFramebuffer( |
GLenum target, |
const Vector<GLenum>& attachments) { |