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

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

Issue 106623008: gpu: Support parallel active queries in command buffer (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: gpu: Support parallel active queries in command buffer Created 6 years, 11 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
« no previous file with comments | « no previous file | gpu/command_buffer/client/gles2_implementation.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 <map> 10 #include <map>
(...skipping 680 matching lines...) Expand 10 before | Expand all | Expand 10 after
691 MappedBufferMap mapped_buffers_; 691 MappedBufferMap mapped_buffers_;
692 692
693 typedef std::map<const void*, MappedTexture> MappedTextureMap; 693 typedef std::map<const void*, MappedTexture> MappedTextureMap;
694 MappedTextureMap mapped_textures_; 694 MappedTextureMap mapped_textures_;
695 695
696 scoped_ptr<MappedMemoryManager> mapped_memory_; 696 scoped_ptr<MappedMemoryManager> mapped_memory_;
697 697
698 scoped_refptr<ShareGroup> share_group_; 698 scoped_refptr<ShareGroup> share_group_;
699 699
700 scoped_ptr<QueryTracker> query_tracker_; 700 scoped_ptr<QueryTracker> query_tracker_;
701 QueryTracker::Query* current_query_; 701 typedef std::map<GLuint, QueryTracker::Query*> QueryMap;
702 QueryMap current_queries_;
702 703
703 scoped_ptr<BufferTracker> buffer_tracker_; 704 scoped_ptr<BufferTracker> buffer_tracker_;
704 705
705 scoped_ptr<GpuMemoryBufferTracker> gpu_memory_buffer_tracker_; 706 scoped_ptr<GpuMemoryBufferTracker> gpu_memory_buffer_tracker_;
706 707
707 ErrorMessageCallback* error_message_callback_; 708 ErrorMessageCallback* error_message_callback_;
708 709
709 scoped_ptr<std::string> current_trace_name_; 710 scoped_ptr<std::string> current_trace_name_;
710 711
711 GpuControl* gpu_control_; 712 GpuControl* gpu_control_;
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
753 754
754 inline bool GLES2Implementation::GetTexParameterivHelper( 755 inline bool GLES2Implementation::GetTexParameterivHelper(
755 GLenum /* target */, GLenum /* pname */, GLint* /* params */) { 756 GLenum /* target */, GLenum /* pname */, GLint* /* params */) {
756 return false; 757 return false;
757 } 758 }
758 759
759 } // namespace gles2 760 } // namespace gles2
760 } // namespace gpu 761 } // namespace gpu
761 762
762 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_H_ 763 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_H_
OLDNEW
« no previous file with comments | « no previous file | gpu/command_buffer/client/gles2_implementation.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698