OLD | NEW |
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 Loading... |
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 Loading... |
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_ |
OLD | NEW |