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

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

Issue 132543002: Not for review. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 11 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 200 matching lines...) Expand 10 before | Expand all | Expand 10 after
211 virtual void DisableVertexAttribArray(GLuint index) OVERRIDE; 211 virtual void DisableVertexAttribArray(GLuint index) OVERRIDE;
212 virtual void EnableVertexAttribArray(GLuint index) OVERRIDE; 212 virtual void EnableVertexAttribArray(GLuint index) OVERRIDE;
213 virtual void GetVertexAttribfv( 213 virtual void GetVertexAttribfv(
214 GLuint index, GLenum pname, GLfloat* params) OVERRIDE; 214 GLuint index, GLenum pname, GLfloat* params) OVERRIDE;
215 virtual void GetVertexAttribiv( 215 virtual void GetVertexAttribiv(
216 GLuint index, GLenum pname, GLint* params) OVERRIDE; 216 GLuint index, GLenum pname, GLint* params) OVERRIDE;
217 217
218 // ContextSupport implementation. 218 // ContextSupport implementation.
219 virtual void Swap() OVERRIDE; 219 virtual void Swap() OVERRIDE;
220 virtual void PartialSwapBuffers(gfx::Rect sub_buffer) OVERRIDE; 220 virtual void PartialSwapBuffers(gfx::Rect sub_buffer) OVERRIDE;
221 virtual void SetOverlayPlane(int plane_id,
222 int texture_id,
223 gfx::Rect sub_buffer) OVERRIDE;
221 virtual void SetSwapBuffersCompleteCallback( 224 virtual void SetSwapBuffersCompleteCallback(
222 const base::Closure& swap_buffers_complete_callback) 225 const base::Closure& swap_buffers_complete_callback)
223 OVERRIDE; 226 OVERRIDE;
224 227
225 void GetProgramInfoCHROMIUMHelper(GLuint program, std::vector<int8>* result); 228 void GetProgramInfoCHROMIUMHelper(GLuint program, std::vector<int8>* result);
226 GLint GetAttribLocationHelper(GLuint program, const char* name); 229 GLint GetAttribLocationHelper(GLuint program, const char* name);
227 GLint GetUniformLocationHelper(GLuint program, const char* name); 230 GLint GetUniformLocationHelper(GLuint program, const char* name);
228 bool GetActiveAttribHelper( 231 bool GetActiveAttribHelper(
229 GLuint program, GLuint index, GLsizei bufsize, GLsizei* length, 232 GLuint program, GLuint index, GLsizei bufsize, GLsizei* length,
230 GLint* size, GLenum* type, char* name); 233 GLint* size, GLenum* type, char* name);
(...skipping 522 matching lines...) Expand 10 before | Expand all | Expand 10 after
753 756
754 inline bool GLES2Implementation::GetTexParameterivHelper( 757 inline bool GLES2Implementation::GetTexParameterivHelper(
755 GLenum /* target */, GLenum /* pname */, GLint* /* params */) { 758 GLenum /* target */, GLenum /* pname */, GLint* /* params */) {
756 return false; 759 return false;
757 } 760 }
758 761
759 } // namespace gles2 762 } // namespace gles2
760 } // namespace gpu 763 } // namespace gpu
761 764
762 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_H_ 765 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698