| 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 <stddef.h> | 8 #include <stddef.h> |
| 9 #include <stdint.h> | 9 #include <stdint.h> |
| 10 | 10 |
| (...skipping 799 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 810 scoped_refptr<ShareGroup> share_group_; | 810 scoped_refptr<ShareGroup> share_group_; |
| 811 ShareGroupContextData share_group_context_data_; | 811 ShareGroupContextData share_group_context_data_; |
| 812 | 812 |
| 813 std::unique_ptr<QueryTracker> query_tracker_; | 813 std::unique_ptr<QueryTracker> query_tracker_; |
| 814 std::unique_ptr<IdAllocator> query_id_allocator_; | 814 std::unique_ptr<IdAllocator> query_id_allocator_; |
| 815 | 815 |
| 816 std::unique_ptr<BufferTracker> buffer_tracker_; | 816 std::unique_ptr<BufferTracker> buffer_tracker_; |
| 817 | 817 |
| 818 base::Callback<void(const char*, int32_t)> error_message_callback_; | 818 base::Callback<void(const char*, int32_t)> error_message_callback_; |
| 819 base::Closure lost_context_callback_; | 819 base::Closure lost_context_callback_; |
| 820 bool lost_context_callback_run_ = false; | 820 #if DCHECK_IS_ON() |
| 821 bool lost_context_ = false; |
| 822 #endif |
| 821 | 823 |
| 822 int current_trace_stack_; | 824 int current_trace_stack_; |
| 823 | 825 |
| 824 GpuControl* gpu_control_; | 826 GpuControl* gpu_control_; |
| 825 | 827 |
| 826 Capabilities capabilities_; | 828 Capabilities capabilities_; |
| 827 | 829 |
| 828 // Flag to indicate whether the implementation can retain resources, or | 830 // Flag to indicate whether the implementation can retain resources, or |
| 829 // whether it should aggressively free them. | 831 // whether it should aggressively free them. |
| 830 bool aggressively_free_resources_; | 832 bool aggressively_free_resources_; |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 879 | 881 |
| 880 inline bool GLES2Implementation::GetTexParameterivHelper( | 882 inline bool GLES2Implementation::GetTexParameterivHelper( |
| 881 GLenum /* target */, GLenum /* pname */, GLint* /* params */) { | 883 GLenum /* target */, GLenum /* pname */, GLint* /* params */) { |
| 882 return false; | 884 return false; |
| 883 } | 885 } |
| 884 | 886 |
| 885 } // namespace gles2 | 887 } // namespace gles2 |
| 886 } // namespace gpu | 888 } // namespace gpu |
| 887 | 889 |
| 888 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_H_ | 890 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_H_ |
| OLD | NEW |