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

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

Issue 1222563003: Revert of Added support for Time Elapsed queries through the command buffer. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 5 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 227 matching lines...) Expand 10 before | Expand all | Expand 10 after
238 GLuint program, GLuint index, GLsizei bufsize, GLsizei* length, 238 GLuint program, GLuint index, GLsizei bufsize, GLsizei* length,
239 GLint* size, GLenum* type, char* name); 239 GLint* size, GLenum* type, char* name);
240 bool GetUniformIndicesHelper( 240 bool GetUniformIndicesHelper(
241 GLuint program, GLsizei count, const char* const* names, GLuint* indices); 241 GLuint program, GLsizei count, const char* const* names, GLuint* indices);
242 bool GetActiveUniformsivHelper( 242 bool GetActiveUniformsivHelper(
243 GLuint program, GLsizei count, const GLuint* indices, 243 GLuint program, GLsizei count, const GLuint* indices,
244 GLenum pname, GLint* params); 244 GLenum pname, GLint* params);
245 bool GetSyncivHelper( 245 bool GetSyncivHelper(
246 GLsync sync, GLenum pname, GLsizei bufsize, GLsizei* length, 246 GLsync sync, GLenum pname, GLsizei bufsize, GLsizei* length,
247 GLint* values); 247 GLint* values);
248 bool GetQueryObjectValueHelper(
249 const char* function_name, GLuint id, GLenum pname, GLuint64* params);
250 248
251 void FreeUnusedSharedMemory(); 249 void FreeUnusedSharedMemory();
252 void FreeEverything(); 250 void FreeEverything();
253 251
254 // ContextSupport implementation. 252 // ContextSupport implementation.
255 void SignalSyncPoint(uint32 sync_point, 253 void SignalSyncPoint(uint32 sync_point,
256 const base::Closure& callback) override; 254 const base::Closure& callback) override;
257 void SignalQuery(uint32 query, const base::Closure& callback) override; 255 void SignalQuery(uint32 query, const base::Closure& callback) override;
258 void SetSurfaceVisible(bool visible) override; 256 void SetSurfaceVisible(bool visible) override;
259 void SetAggressivelyFreeResources(bool aggressively_free_resources) override; 257 void SetAggressivelyFreeResources(bool aggressively_free_resources) override;
(...skipping 591 matching lines...) Expand 10 before | Expand all | Expand 10 after
851 849
852 inline bool GLES2Implementation::GetTexParameterivHelper( 850 inline bool GLES2Implementation::GetTexParameterivHelper(
853 GLenum /* target */, GLenum /* pname */, GLint* /* params */) { 851 GLenum /* target */, GLenum /* pname */, GLint* /* params */) {
854 return false; 852 return false;
855 } 853 }
856 854
857 } // namespace gles2 855 } // namespace gles2
858 } // namespace gpu 856 } // namespace gpu
859 857
860 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_H_ 858 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_H_
OLDNEW
« no previous file with comments | « gpu/command_buffer/client/gles2_c_lib_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