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

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

Issue 960873002: Update from https://crrev.com/318214 (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 9 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 222 matching lines...) Expand 10 before | Expand all | Expand 10 after
233 void GetTransformFeedbackVaryingsCHROMIUMHelper( 233 void GetTransformFeedbackVaryingsCHROMIUMHelper(
234 GLuint program, std::vector<int8>* result); 234 GLuint program, std::vector<int8>* result);
235 bool GetTransformFeedbackVaryingHelper( 235 bool GetTransformFeedbackVaryingHelper(
236 GLuint program, GLuint index, GLsizei bufsize, GLsizei* length, 236 GLuint program, GLuint index, GLsizei bufsize, GLsizei* length,
237 GLint* size, GLenum* type, char* name); 237 GLint* size, GLenum* type, char* name);
238 bool GetUniformIndicesHelper( 238 bool GetUniformIndicesHelper(
239 GLuint program, GLsizei count, const char* const* names, GLuint* indices); 239 GLuint program, GLsizei count, const char* const* names, GLuint* indices);
240 bool GetActiveUniformsivHelper( 240 bool GetActiveUniformsivHelper(
241 GLuint program, GLsizei count, const GLuint* indices, 241 GLuint program, GLsizei count, const GLuint* indices,
242 GLenum pname, GLint* params); 242 GLenum pname, GLint* params);
243 bool GetSyncivHelper(
244 GLsync sync, GLenum pname, GLsizei bufsize, GLsizei* length,
245 GLint* values);
243 246
244 void FreeUnusedSharedMemory(); 247 void FreeUnusedSharedMemory();
245 void FreeEverything(); 248 void FreeEverything();
246 249
247 // ContextSupport implementation. 250 // ContextSupport implementation.
248 void SignalSyncPoint(uint32 sync_point, 251 void SignalSyncPoint(uint32 sync_point,
249 const base::Closure& callback) override; 252 const base::Closure& callback) override;
250 void SignalQuery(uint32 query, const base::Closure& callback) override; 253 void SignalQuery(uint32 query, const base::Closure& callback) override;
251 void SetSurfaceVisible(bool visible) override; 254 void SetSurfaceVisible(bool visible) override;
252 255
(...skipping 569 matching lines...) Expand 10 before | Expand all | Expand 10 after
822 825
823 inline bool GLES2Implementation::GetTexParameterivHelper( 826 inline bool GLES2Implementation::GetTexParameterivHelper(
824 GLenum /* target */, GLenum /* pname */, GLint* /* params */) { 827 GLenum /* target */, GLenum /* pname */, GLint* /* params */) {
825 return false; 828 return false;
826 } 829 }
827 830
828 } // namespace gles2 831 } // namespace gles2
829 } // namespace gpu 832 } // namespace gpu
830 833
831 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_H_ 834 #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