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

Side by Side Diff: gpu/command_buffer/service/gles2_cmd_decoder_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: Add kGLImplementationMockGL case to gl_image_android.cc. Created 8 years, 2 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // This file is auto-generated from 5 // This file is auto-generated from
6 // gpu/command_buffer/build_gles2_cmd_buffer.py 6 // gpu/command_buffer/build_gles2_cmd_buffer.py
7 // DO NOT EDIT! 7 // DO NOT EDIT!
8 8
9 // It is included by gles2_cmd_decoder.cc 9 // It is included by gles2_cmd_decoder.cc
10 #ifndef GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_AUTOGEN_H_ 10 #ifndef GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_AUTOGEN_H_
(...skipping 2869 matching lines...) Expand 10 before | Expand all | Expand 10 after
2880 SetGLErrorInvalidEnum("glConsumeTextureCHROMIUM", target, "target"); 2880 SetGLErrorInvalidEnum("glConsumeTextureCHROMIUM", target, "target");
2881 return error::kNoError; 2881 return error::kNoError;
2882 } 2882 }
2883 if (mailbox == NULL) { 2883 if (mailbox == NULL) {
2884 return error::kOutOfBounds; 2884 return error::kOutOfBounds;
2885 } 2885 }
2886 DoConsumeTextureCHROMIUM(target, mailbox); 2886 DoConsumeTextureCHROMIUM(target, mailbox);
2887 return error::kNoError; 2887 return error::kNoError;
2888 } 2888 }
2889 2889
2890 error::Error GLES2DecoderImpl::HandleBindTexImage2DCHROMIUM(
2891 uint32 immediate_data_size, const gles2::BindTexImage2DCHROMIUM& c) {
2892 GLenum target = static_cast<GLenum>(c.target);
2893 GLint imageId = static_cast<GLint>(c.imageId);
2894 if (!validators_->texture_bind_target.IsValid(target)) {
2895 SetGLErrorInvalidEnum("glBindTexImage2DCHROMIUM", target, "target");
2896 return error::kNoError;
2897 }
2898 DoBindTexImage2DCHROMIUM(target, imageId);
2899 return error::kNoError;
2900 }
2901
2902 error::Error GLES2DecoderImpl::HandleReleaseTexImage2DCHROMIUM(
2903 uint32 immediate_data_size, const gles2::ReleaseTexImage2DCHROMIUM& c) {
2904 GLenum target = static_cast<GLenum>(c.target);
2905 GLint imageId = static_cast<GLint>(c.imageId);
2906 if (!validators_->texture_bind_target.IsValid(target)) {
2907 SetGLErrorInvalidEnum("glReleaseTexImage2DCHROMIUM", target, "target");
2908 return error::kNoError;
2909 }
2910 DoReleaseTexImage2DCHROMIUM(target, imageId);
2911 return error::kNoError;
2912 }
2913
2890 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_AUTOGEN_H_ 2914 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_AUTOGEN_H_
2891 2915
OLDNEW
« no previous file with comments | « gpu/command_buffer/service/gles2_cmd_decoder.cc ('k') | gpu/command_buffer/service/gles2_cmd_decoder_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698