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

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

Issue 921023002: Add glGetActiveUniformsiv to GPU command buffer. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@uniform
Patch Set: 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_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 204 matching lines...) Expand 10 before | Expand all | Expand 10 after
215 GLint GetUniformLocationHelper(GLuint program, const char* name); 215 GLint GetUniformLocationHelper(GLuint program, const char* name);
216 GLint GetFragDataLocationHelper(GLuint program, const char* name); 216 GLint GetFragDataLocationHelper(GLuint program, const char* name);
217 bool GetActiveAttribHelper( 217 bool GetActiveAttribHelper(
218 GLuint program, GLuint index, GLsizei bufsize, GLsizei* length, 218 GLuint program, GLuint index, GLsizei bufsize, GLsizei* length,
219 GLint* size, GLenum* type, char* name); 219 GLint* size, GLenum* type, char* name);
220 bool GetActiveUniformHelper( 220 bool GetActiveUniformHelper(
221 GLuint program, GLuint index, GLsizei bufsize, GLsizei* length, 221 GLuint program, GLuint index, GLsizei bufsize, GLsizei* length,
222 GLint* size, GLenum* type, char* name); 222 GLint* size, GLenum* type, char* name);
223 void GetUniformBlocksCHROMIUMHelper( 223 void GetUniformBlocksCHROMIUMHelper(
224 GLuint program, std::vector<int8>* result); 224 GLuint program, std::vector<int8>* result);
225 void GetUniformsES3CHROMIUMHelper(
226 GLuint program, std::vector<int8>* result);
225 GLuint GetUniformBlockIndexHelper(GLuint program, const char* name); 227 GLuint GetUniformBlockIndexHelper(GLuint program, const char* name);
226 bool GetActiveUniformBlockNameHelper( 228 bool GetActiveUniformBlockNameHelper(
227 GLuint program, GLuint index, GLsizei bufsize, 229 GLuint program, GLuint index, GLsizei bufsize,
228 GLsizei* length, char* name); 230 GLsizei* length, char* name);
229 bool GetActiveUniformBlockivHelper( 231 bool GetActiveUniformBlockivHelper(
230 GLuint program, GLuint index, GLenum pname, GLint* params); 232 GLuint program, GLuint index, GLenum pname, GLint* params);
231 void GetTransformFeedbackVaryingsCHROMIUMHelper( 233 void GetTransformFeedbackVaryingsCHROMIUMHelper(
232 GLuint program, std::vector<int8>* result); 234 GLuint program, std::vector<int8>* result);
233 bool GetTransformFeedbackVaryingHelper( 235 bool GetTransformFeedbackVaryingHelper(
234 GLuint program, GLuint index, GLsizei bufsize, GLsizei* length, 236 GLuint program, GLuint index, GLsizei bufsize, GLsizei* length,
235 GLint* size, GLenum* type, char* name); 237 GLint* size, GLenum* type, char* name);
236 bool GetUniformIndicesHelper( 238 bool GetUniformIndicesHelper(
237 GLuint program, GLsizei count, const char* const* names, GLuint* indices); 239 GLuint program, GLsizei count, const char* const* names, GLuint* indices);
240 bool GetActiveUniformsivHelper(
241 GLuint program, GLsizei count, const GLuint* indices,
242 GLenum pname, GLint* params);
238 243
239 void FreeUnusedSharedMemory(); 244 void FreeUnusedSharedMemory();
240 void FreeEverything(); 245 void FreeEverything();
241 246
242 // ContextSupport implementation. 247 // ContextSupport implementation.
243 void SignalSyncPoint(uint32 sync_point, 248 void SignalSyncPoint(uint32 sync_point,
244 const base::Closure& callback) override; 249 const base::Closure& callback) override;
245 void SignalQuery(uint32 query, const base::Closure& callback) override; 250 void SignalQuery(uint32 query, const base::Closure& callback) override;
246 void SetSurfaceVisible(bool visible) override; 251 void SetSurfaceVisible(bool visible) override;
247 252
(...skipping 569 matching lines...) Expand 10 before | Expand all | Expand 10 after
817 822
818 inline bool GLES2Implementation::GetTexParameterivHelper( 823 inline bool GLES2Implementation::GetTexParameterivHelper(
819 GLenum /* target */, GLenum /* pname */, GLint* /* params */) { 824 GLenum /* target */, GLenum /* pname */, GLint* /* params */) {
820 return false; 825 return false;
821 } 826 }
822 827
823 } // namespace gles2 828 } // namespace gles2
824 } // namespace gpu 829 } // namespace gpu
825 830
826 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_H_ 831 #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