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

Side by Side Diff: gpu/command_buffer/client/gles2_implementation.h

Issue 10577037: Add GL_CHROMIUM_get_error_query (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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 #ifndef GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_H_ 5 #ifndef GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_H_
6 #define GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_H_ 6 #define GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_H_
7 7
8 #include <GLES2/gl2.h> 8 #include <GLES2/gl2.h>
9 9
10 #include <map> 10 #include <map>
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after
191 191
192 ~GLES2Implementation(); 192 ~GLES2Implementation();
193 193
194 bool Initialize( 194 bool Initialize(
195 unsigned int starting_transfer_buffer_size, 195 unsigned int starting_transfer_buffer_size,
196 unsigned int min_transfer_buffer_size, 196 unsigned int min_transfer_buffer_size,
197 unsigned int max_transfer_buffer_size); 197 unsigned int max_transfer_buffer_size);
198 198
199 // The GLES2CmdHelper being used by this GLES2Implementation. You can use 199 // The GLES2CmdHelper being used by this GLES2Implementation. You can use
200 // this to issue cmds at a lower level for certain kinds of optimization. 200 // this to issue cmds at a lower level for certain kinds of optimization.
201 GLES2CmdHelper* helper() const { 201 GLES2CmdHelper* helper() const;
202 return helper_; 202
203 } 203 // Gets client side generated errors.
204 GLenum GetClientSideGLError();
204 205
205 // Include the auto-generated part of this class. We split this because 206 // Include the auto-generated part of this class. We split this because
206 // it means we can easily edit the non-auto generated parts right here in 207 // it means we can easily edit the non-auto generated parts right here in
207 // this file instead of having to edit some template or the code generator. 208 // this file instead of having to edit some template or the code generator.
208 #include "../client/gles2_implementation_autogen.h" 209 #include "../client/gles2_implementation_autogen.h"
209 210
210 void DisableVertexAttribArray(GLuint index); 211 void DisableVertexAttribArray(GLuint index);
211 void EnableVertexAttribArray(GLuint index); 212 void EnableVertexAttribArray(GLuint index);
212 void GetVertexAttribfv(GLuint index, GLenum pname, GLfloat* params); 213 void GetVertexAttribfv(GLuint index, GLenum pname, GLfloat* params);
213 void GetVertexAttribiv(GLuint index, GLenum pname, GLint* params); 214 void GetVertexAttribiv(GLuint index, GLenum pname, GLint* params);
(...skipping 385 matching lines...) Expand 10 before | Expand all | Expand 10 after
599 600
600 inline bool GLES2Implementation::GetTexParameterivHelper( 601 inline bool GLES2Implementation::GetTexParameterivHelper(
601 GLenum /* target */, GLenum /* pname */, GLint* /* params */) { 602 GLenum /* target */, GLenum /* pname */, GLint* /* params */) {
602 return false; 603 return false;
603 } 604 }
604 605
605 } // namespace gles2 606 } // namespace gles2
606 } // namespace gpu 607 } // namespace gpu
607 608
608 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_H_ 609 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_H_
OLDNEW
« no previous file with comments | « gpu/command_buffer/client/atomicops.h ('k') | gpu/command_buffer/client/gles2_implementation.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698