Index: gpu/command_buffer/client/gles2_implementation.cc |
diff --git a/gpu/command_buffer/client/gles2_implementation.cc b/gpu/command_buffer/client/gles2_implementation.cc |
index 585845fcc3e29890bf2039d7718e0351a64b6fd5..6b8dba2040289360a69e73f99f99e2c806bbe324 100644 |
--- a/gpu/command_buffer/client/gles2_implementation.cc |
+++ b/gpu/command_buffer/client/gles2_implementation.cc |
@@ -6083,21 +6083,6 @@ GLuint GLES2Implementation::CreateGpuMemoryBufferImageCHROMIUM( |
return image_id; |
} |
-void GLES2Implementation::GetImageivCHROMIUM(GLuint image_id, |
- GLenum param, |
- GLint* data) { |
- GPU_CLIENT_SINGLE_THREAD_CHECK(); |
- GPU_CLIENT_LOG("[" << GetLogPrefix() << "] GetImageivCHROMIUM(" << image_id |
- << ", " << GLES2Util::GetStringImageInternalFormat(param) |
- << ")"); |
- if (param != GL_GPU_MEMORY_BUFFER_ID) { |
- SetGLError(GL_INVALID_VALUE, "GetImageivCHROMIUM", "param"); |
- *data = -1; |
- return; |
- } |
- *data = gpu_control_->GetImageGpuMemoryBufferId(image_id); |
-} |
- |
bool GLES2Implementation::ValidateSize(const char* func, GLsizeiptr size) { |
if (size < 0) { |
SetGLError(GL_INVALID_VALUE, func, "size < 0"); |