| 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 25 matching lines...) Expand all Loading... |
| 36 | 36 |
| 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 TransformFeedbackManager; |
| 46 class VertexArrayManager; | 47 class VertexArrayManager; |
| 47 struct ContextState; | 48 struct ContextState; |
| 48 | 49 |
| 49 struct DisallowedFeatures { | 50 struct DisallowedFeatures { |
| 50 DisallowedFeatures() | 51 DisallowedFeatures() |
| 51 : gpu_memory_manager(false), | 52 : gpu_memory_manager(false), |
| 52 npot_support(false), | 53 npot_support(false), |
| 53 chromium_color_buffer_float_rgba(false), | 54 chromium_color_buffer_float_rgba(false), |
| 54 chromium_color_buffer_float_rgb(false), | 55 chromium_color_buffer_float_rgb(false), |
| 55 ext_color_buffer_float(false), | 56 ext_color_buffer_float(false), |
| (...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 200 | 201 |
| 201 virtual void SetIgnoreCachedStateForTest(bool ignore) = 0; | 202 virtual void SetIgnoreCachedStateForTest(bool ignore) = 0; |
| 202 virtual void SetForceShaderNameHashingForTest(bool force) = 0; | 203 virtual void SetForceShaderNameHashingForTest(bool force) = 0; |
| 203 virtual uint32_t GetAndClearBackbufferClearBitsForTest(); | 204 virtual uint32_t GetAndClearBackbufferClearBitsForTest(); |
| 204 virtual size_t GetSavedBackTextureCountForTest() = 0; | 205 virtual size_t GetSavedBackTextureCountForTest() = 0; |
| 205 virtual size_t GetCreatedBackTextureCountForTest() = 0; | 206 virtual size_t GetCreatedBackTextureCountForTest() = 0; |
| 206 | 207 |
| 207 // Gets the QueryManager for this context. | 208 // Gets the QueryManager for this context. |
| 208 virtual QueryManager* GetQueryManager() = 0; | 209 virtual QueryManager* GetQueryManager() = 0; |
| 209 | 210 |
| 211 // Gets the TransformFeedbackManager for this context. |
| 212 virtual TransformFeedbackManager* GetTransformFeedbackManager() = 0; |
| 213 |
| 210 // Gets the VertexArrayManager for this context. | 214 // Gets the VertexArrayManager for this context. |
| 211 virtual VertexArrayManager* GetVertexArrayManager() = 0; | 215 virtual VertexArrayManager* GetVertexArrayManager() = 0; |
| 212 | 216 |
| 213 // Gets the ImageManager for this context. | 217 // Gets the ImageManager for this context. |
| 214 virtual ImageManager* GetImageManager() = 0; | 218 virtual ImageManager* GetImageManager() = 0; |
| 215 | 219 |
| 216 // Returns false if there are no pending queries. | 220 // Returns false if there are no pending queries. |
| 217 virtual bool HasPendingQueries() const = 0; | 221 virtual bool HasPendingQueries() const = 0; |
| 218 | 222 |
| 219 // Process any pending queries. | 223 // Process any pending queries. |
| (...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 300 bool log_commands_; | 304 bool log_commands_; |
| 301 bool unsafe_es3_apis_enabled_; | 305 bool unsafe_es3_apis_enabled_; |
| 302 bool force_shader_name_hashing_for_test_; | 306 bool force_shader_name_hashing_for_test_; |
| 303 DISALLOW_COPY_AND_ASSIGN(GLES2Decoder); | 307 DISALLOW_COPY_AND_ASSIGN(GLES2Decoder); |
| 304 }; | 308 }; |
| 305 | 309 |
| 306 } // namespace gles2 | 310 } // namespace gles2 |
| 307 } // namespace gpu | 311 } // namespace gpu |
| 308 | 312 |
| 309 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_H_ | 313 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_H_ |
| OLD | NEW |