| OLD | NEW |
| 1 // Copyright (c) 2015 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2015 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_SERVICE_SAMPLER_MANAGER_H_ | 5 #ifndef GPU_COMMAND_BUFFER_SERVICE_SAMPLER_MANAGER_H_ |
| 6 #define GPU_COMMAND_BUFFER_SERVICE_SAMPLER_MANAGER_H_ | 6 #define GPU_COMMAND_BUFFER_SERVICE_SAMPLER_MANAGER_H_ |
| 7 | 7 |
| 8 #include <memory> |
| 8 #include <vector> | 9 #include <vector> |
| 10 |
| 9 #include "base/containers/hash_tables.h" | 11 #include "base/containers/hash_tables.h" |
| 10 #include "base/logging.h" | 12 #include "base/logging.h" |
| 11 #include "base/macros.h" | 13 #include "base/macros.h" |
| 12 #include "base/memory/ref_counted.h" | 14 #include "base/memory/ref_counted.h" |
| 13 #include "base/memory/scoped_ptr.h" | |
| 14 #include "gpu/command_buffer/service/feature_info.h" | 15 #include "gpu/command_buffer/service/feature_info.h" |
| 15 #include "gpu/command_buffer/service/gl_utils.h" | 16 #include "gpu/command_buffer/service/gl_utils.h" |
| 16 #include "gpu/gpu_export.h" | 17 #include "gpu/gpu_export.h" |
| 17 | 18 |
| 18 namespace gpu { | 19 namespace gpu { |
| 19 | 20 |
| 20 namespace gles2 { | 21 namespace gles2 { |
| 21 | 22 |
| 22 class SamplerManager; | 23 class SamplerManager; |
| 23 | 24 |
| (...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 162 | 163 |
| 163 bool have_context_; | 164 bool have_context_; |
| 164 | 165 |
| 165 DISALLOW_COPY_AND_ASSIGN(SamplerManager); | 166 DISALLOW_COPY_AND_ASSIGN(SamplerManager); |
| 166 }; | 167 }; |
| 167 | 168 |
| 168 } // namespace gles2 | 169 } // namespace gles2 |
| 169 } // namespace gpu | 170 } // namespace gpu |
| 170 | 171 |
| 171 #endif // GPU_COMMAND_BUFFER_SERVICE_SAMPLER_MANAGER_H_ | 172 #endif // GPU_COMMAND_BUFFER_SERVICE_SAMPLER_MANAGER_H_ |
| OLD | NEW |