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

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

Issue 10543125: gpu: Add support for GLX_EXT_texture_from_pixmap extension. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 6 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_autogen.h
diff --git a/gpu/command_buffer/client/gles2_implementation_autogen.h b/gpu/command_buffer/client/gles2_implementation_autogen.h
index c3b7375b5bb9a6c5a0001e527706000823d36243..519cbd52b909629e64bd2586248bb57ed9c46ee5 100644
--- a/gpu/command_buffer/client/gles2_implementation_autogen.h
+++ b/gpu/command_buffer/client/gles2_implementation_autogen.h
@@ -1559,5 +1559,11 @@ void ConsumeTextureCHROMIUM(GLenum target, const GLbyte* mailbox) {
helper_->ConsumeTextureCHROMIUMImmediate(target, mailbox);
}
+void TexImagePixmap2DCHROMIUM(GLenum target, GLuint pixmapId) {
+ GPU_CLIENT_SINGLE_THREAD_CHECK();
+ GPU_CLIENT_LOG("[" << this << "] glTexImagePixmap2DCHROMIUM(" << GLES2Util::GetStringTextureBindTarget(target) << ", " << pixmapId << ")"); // NOLINT
+ helper_->TexImagePixmap2DCHROMIUM(target, pixmapId);
+}
+
#endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_AUTOGEN_H_

Powered by Google App Engine
This is Rietveld 408576698