| OLD | NEW |
| 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_PROGRAM_INFO_MANAGER_H_ | 5 #ifndef GPU_COMMAND_BUFFER_CLIENT_PROGRAM_INFO_MANAGER_H_ |
| 6 #define GPU_COMMAND_BUFFER_CLIENT_PROGRAM_INFO_MANAGER_H_ | 6 #define GPU_COMMAND_BUFFER_CLIENT_PROGRAM_INFO_MANAGER_H_ |
| 7 | 7 |
| 8 #include <GLES2/gl2.h> | 8 #include <GLES2/gl2.h> |
| 9 #include "gles2_impl_export.h" | 9 #include "gles2_impl_export.h" |
| 10 | 10 |
| (...skipping 15 matching lines...) Expand all Loading... |
| 26 | 26 |
| 27 virtual bool GetProgramiv( | 27 virtual bool GetProgramiv( |
| 28 GLES2Implementation* gl, GLuint program, GLenum pname, GLint* params) = 0; | 28 GLES2Implementation* gl, GLuint program, GLenum pname, GLint* params) = 0; |
| 29 | 29 |
| 30 virtual GLint GetAttribLocation( | 30 virtual GLint GetAttribLocation( |
| 31 GLES2Implementation* gl, GLuint program, const char* name) = 0; | 31 GLES2Implementation* gl, GLuint program, const char* name) = 0; |
| 32 | 32 |
| 33 virtual GLint GetUniformLocation( | 33 virtual GLint GetUniformLocation( |
| 34 GLES2Implementation* gl, GLuint program, const char* name) = 0; | 34 GLES2Implementation* gl, GLuint program, const char* name) = 0; |
| 35 | 35 |
| 36 virtual GLint GetFragDataLocation( |
| 37 GLES2Implementation* gl, GLuint program, const char* name) = 0; |
| 38 |
| 36 virtual bool GetActiveAttrib( | 39 virtual bool GetActiveAttrib( |
| 37 GLES2Implementation* gl, | 40 GLES2Implementation* gl, |
| 38 GLuint program, GLuint index, GLsizei bufsize, GLsizei* length, | 41 GLuint program, GLuint index, GLsizei bufsize, GLsizei* length, |
| 39 GLint* size, GLenum* type, char* name) = 0; | 42 GLint* size, GLenum* type, char* name) = 0; |
| 40 | 43 |
| 41 virtual bool GetActiveUniform( | 44 virtual bool GetActiveUniform( |
| 42 GLES2Implementation* gl, | 45 GLES2Implementation* gl, |
| 43 GLuint program, GLuint index, GLsizei bufsize, GLsizei* length, | 46 GLuint program, GLuint index, GLsizei bufsize, GLsizei* length, |
| 44 GLint* size, GLenum* type, char* name) = 0; | 47 GLint* size, GLenum* type, char* name) = 0; |
| 45 | 48 |
| 46 protected: | 49 protected: |
| 47 ProgramInfoManager(); | 50 ProgramInfoManager(); |
| 48 }; | 51 }; |
| 49 | 52 |
| 50 } // namespace gles2 | 53 } // namespace gles2 |
| 51 } // namespace gpu | 54 } // namespace gpu |
| 52 | 55 |
| 53 #endif // GPU_COMMAND_BUFFER_CLIENT_PROGRAM_INFO_MANAGER_H_ | 56 #endif // GPU_COMMAND_BUFFER_CLIENT_PROGRAM_INFO_MANAGER_H_ |
| OLD | NEW |