| 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 // This file contains the GLES2Decoder class. | 5 // This file contains the GLES2Decoder class. |
| 6 | 6 |
| 7 #ifndef GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_H_ | 7 #ifndef GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_H_ |
| 8 #define GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_H_ | 8 #define GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_H_ |
| 9 | 9 |
| 10 #include <stdint.h> | 10 #include <stdint.h> |
| (...skipping 26 matching lines...) Expand all Loading... |
| 37 namespace gles2 { | 37 namespace gles2 { |
| 38 | 38 |
| 39 class ContextGroup; | 39 class ContextGroup; |
| 40 class ErrorState; | 40 class ErrorState; |
| 41 class GLES2Util; | 41 class GLES2Util; |
| 42 class ImageManager; | 42 class ImageManager; |
| 43 class Logger; | 43 class Logger; |
| 44 class QueryManager; | 44 class QueryManager; |
| 45 class Texture; | 45 class Texture; |
| 46 class VertexArrayManager; | 46 class VertexArrayManager; |
| 47 class ValuebufferManager; | |
| 48 struct ContextState; | 47 struct ContextState; |
| 49 | 48 |
| 50 struct DisallowedFeatures { | 49 struct DisallowedFeatures { |
| 51 DisallowedFeatures() | 50 DisallowedFeatures() |
| 52 : gpu_memory_manager(false), | 51 : gpu_memory_manager(false), |
| 53 npot_support(false), | 52 npot_support(false), |
| 54 chromium_color_buffer_float_rgba(false), | 53 chromium_color_buffer_float_rgba(false), |
| 55 chromium_color_buffer_float_rgb(false), | 54 chromium_color_buffer_float_rgb(false), |
| 56 ext_color_buffer_float(false), | 55 ext_color_buffer_float(false), |
| 57 oes_texture_float_linear(false), | 56 oes_texture_float_linear(false), |
| (...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 204 | 203 |
| 205 // Gets the QueryManager for this context. | 204 // Gets the QueryManager for this context. |
| 206 virtual QueryManager* GetQueryManager() = 0; | 205 virtual QueryManager* GetQueryManager() = 0; |
| 207 | 206 |
| 208 // Gets the VertexArrayManager for this context. | 207 // Gets the VertexArrayManager for this context. |
| 209 virtual VertexArrayManager* GetVertexArrayManager() = 0; | 208 virtual VertexArrayManager* GetVertexArrayManager() = 0; |
| 210 | 209 |
| 211 // Gets the ImageManager for this context. | 210 // Gets the ImageManager for this context. |
| 212 virtual ImageManager* GetImageManager() = 0; | 211 virtual ImageManager* GetImageManager() = 0; |
| 213 | 212 |
| 214 // Gets the ValuebufferManager for this context. | |
| 215 virtual ValuebufferManager* GetValuebufferManager() = 0; | |
| 216 | |
| 217 // Returns false if there are no pending queries. | 213 // Returns false if there are no pending queries. |
| 218 virtual bool HasPendingQueries() const = 0; | 214 virtual bool HasPendingQueries() const = 0; |
| 219 | 215 |
| 220 // Process any pending queries. | 216 // Process any pending queries. |
| 221 virtual void ProcessPendingQueries(bool did_finish) = 0; | 217 virtual void ProcessPendingQueries(bool did_finish) = 0; |
| 222 | 218 |
| 223 // Returns false if there is no idle work to be made. | 219 // Returns false if there is no idle work to be made. |
| 224 virtual bool HasMoreIdleWork() const = 0; | 220 virtual bool HasMoreIdleWork() const = 0; |
| 225 | 221 |
| 226 // Perform any idle work that needs to be made. | 222 // Perform any idle work that needs to be made. |
| (...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 301 bool log_commands_; | 297 bool log_commands_; |
| 302 bool unsafe_es3_apis_enabled_; | 298 bool unsafe_es3_apis_enabled_; |
| 303 bool force_shader_name_hashing_for_test_; | 299 bool force_shader_name_hashing_for_test_; |
| 304 DISALLOW_COPY_AND_ASSIGN(GLES2Decoder); | 300 DISALLOW_COPY_AND_ASSIGN(GLES2Decoder); |
| 305 }; | 301 }; |
| 306 | 302 |
| 307 } // namespace gles2 | 303 } // namespace gles2 |
| 308 } // namespace gpu | 304 } // namespace gpu |
| 309 | 305 |
| 310 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_H_ | 306 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_H_ |
| OLD | NEW |