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

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

Issue 761903003: Update from https://crrev.com/306655 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years 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
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 <list> 10 #include <list>
(...skipping 492 matching lines...) Expand 10 before | Expand all | Expand 10 after
503 ScopedTransferBufferPtr* buffer, uint32 buffer_padded_row_size); 503 ScopedTransferBufferPtr* buffer, uint32 buffer_padded_row_size);
504 504
505 // Helpers for query functions. 505 // Helpers for query functions.
506 bool GetHelper(GLenum pname, GLint* params); 506 bool GetHelper(GLenum pname, GLint* params);
507 bool GetBooleanvHelper(GLenum pname, GLboolean* params); 507 bool GetBooleanvHelper(GLenum pname, GLboolean* params);
508 bool GetBufferParameterivHelper(GLenum target, GLenum pname, GLint* params); 508 bool GetBufferParameterivHelper(GLenum target, GLenum pname, GLint* params);
509 bool GetFloatvHelper(GLenum pname, GLfloat* params); 509 bool GetFloatvHelper(GLenum pname, GLfloat* params);
510 bool GetFramebufferAttachmentParameterivHelper( 510 bool GetFramebufferAttachmentParameterivHelper(
511 GLenum target, GLenum attachment, GLenum pname, GLint* params); 511 GLenum target, GLenum attachment, GLenum pname, GLint* params);
512 bool GetIntegervHelper(GLenum pname, GLint* params); 512 bool GetIntegervHelper(GLenum pname, GLint* params);
513 bool GetInternalformativHelper(
514 GLenum target, GLenum format, GLenum pname, GLsizei bufSize,
515 GLint* params);
513 bool GetProgramivHelper(GLuint program, GLenum pname, GLint* params); 516 bool GetProgramivHelper(GLuint program, GLenum pname, GLint* params);
514 bool GetRenderbufferParameterivHelper( 517 bool GetRenderbufferParameterivHelper(
515 GLenum target, GLenum pname, GLint* params); 518 GLenum target, GLenum pname, GLint* params);
516 bool GetShaderivHelper(GLuint shader, GLenum pname, GLint* params); 519 bool GetShaderivHelper(GLuint shader, GLenum pname, GLint* params);
517 bool GetTexParameterfvHelper(GLenum target, GLenum pname, GLfloat* params); 520 bool GetTexParameterfvHelper(GLenum target, GLenum pname, GLfloat* params);
518 bool GetTexParameterivHelper(GLenum target, GLenum pname, GLint* params); 521 bool GetTexParameterivHelper(GLenum target, GLenum pname, GLint* params);
519 const GLubyte* GetStringHelper(GLenum name); 522 const GLubyte* GetStringHelper(GLenum name);
520 523
521 bool IsExtensionAvailable(const char* ext); 524 bool IsExtensionAvailable(const char* ext);
522 525
(...skipping 226 matching lines...) Expand 10 before | Expand all | Expand 10 after
749 752
750 inline bool GLES2Implementation::GetTexParameterivHelper( 753 inline bool GLES2Implementation::GetTexParameterivHelper(
751 GLenum /* target */, GLenum /* pname */, GLint* /* params */) { 754 GLenum /* target */, GLenum /* pname */, GLint* /* params */) {
752 return false; 755 return false;
753 } 756 }
754 757
755 } // namespace gles2 758 } // namespace gles2
756 } // namespace gpu 759 } // namespace gpu
757 760
758 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_H_ 761 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_H_
OLDNEW
« no previous file with comments | « gpu/command_buffer/client/gles2_cmd_helper_autogen.h ('k') | gpu/command_buffer/client/gles2_implementation.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698