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

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

Issue 885443002: Roll Chrome into Mojo. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Rebase to ToT mojo Created 5 years, 10 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
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_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
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_
OLDNEW
« no previous file with comments | « gpu/command_buffer/client/gles2_trace_implementation_impl_autogen.h ('k') | gpu/command_buffer/client/program_info_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698