Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(151)

Unified Diff: gpu/command_buffer/client/gles2_implementation_impl_autogen.h

Issue 2021413003: Remove GL_CHROMIUM_iosurface extension (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: gpu/command_buffer/client/gles2_implementation_impl_autogen.h
diff --git a/gpu/command_buffer/client/gles2_implementation_impl_autogen.h b/gpu/command_buffer/client/gles2_implementation_impl_autogen.h
index 37ac865b28705830bf2abe5d64cb3c9e2ab1fd4c..37bdecdaa82eb6e4ede3d61fcbd6201e61e296a9 100644
--- a/gpu/command_buffer/client/gles2_implementation_impl_autogen.h
+++ b/gpu/command_buffer/client/gles2_implementation_impl_autogen.h
@@ -3110,29 +3110,6 @@ void GLES2Implementation::GetTranslatedShaderSourceANGLE(GLuint shader,
}
CheckGLError();
}
-void GLES2Implementation::TexImageIOSurface2DCHROMIUM(GLenum target,
- GLsizei width,
- GLsizei height,
- GLuint ioSurfaceId,
- GLuint plane) {
- GPU_CLIENT_SINGLE_THREAD_CHECK();
- GPU_CLIENT_LOG("[" << GetLogPrefix() << "] glTexImageIOSurface2DCHROMIUM("
- << GLES2Util::GetStringTextureBindTarget(target) << ", "
- << width << ", " << height << ", " << ioSurfaceId << ", "
- << plane << ")");
- if (width < 0) {
- SetGLError(GL_INVALID_VALUE, "glTexImageIOSurface2DCHROMIUM", "width < 0");
- return;
- }
- if (height < 0) {
- SetGLError(GL_INVALID_VALUE, "glTexImageIOSurface2DCHROMIUM", "height < 0");
- return;
- }
- helper_->TexImageIOSurface2DCHROMIUM(target, width, height, ioSurfaceId,
- plane);
- CheckGLError();
-}
-
void GLES2Implementation::CopyTextureCHROMIUM(
GLenum source_id,
GLenum dest_id,

Powered by Google App Engine
This is Rietveld 408576698