| 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 namespace gpu { | 36 namespace gpu { |
| 37 | 37 |
| 38 struct Mailbox; | 38 struct Mailbox; |
| 39 struct SyncToken; | 39 struct SyncToken; |
| 40 | 40 |
| 41 namespace gles2 { | 41 namespace gles2 { |
| 42 | 42 |
| 43 class ContextGroup; | 43 class ContextGroup; |
| 44 class ErrorState; | 44 class ErrorState; |
| 45 class FeatureInfo; | 45 class FeatureInfo; |
| 46 class FramebufferManager; |
| 46 class GLES2Util; | 47 class GLES2Util; |
| 47 class ImageManager; | 48 class ImageManager; |
| 48 class Logger; | 49 class Logger; |
| 49 class QueryManager; | 50 class QueryManager; |
| 50 class ShaderTranslatorInterface; | 51 class ShaderTranslatorInterface; |
| 51 class Texture; | 52 class Texture; |
| 52 class TransformFeedbackManager; | 53 class TransformFeedbackManager; |
| 53 class VertexArrayManager; | 54 class VertexArrayManager; |
| 54 struct ContextCreationAttribHelper; | 55 struct ContextCreationAttribHelper; |
| 55 struct ContextState; | 56 struct ContextState; |
| (...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 197 | 198 |
| 198 virtual void SetIgnoreCachedStateForTest(bool ignore) = 0; | 199 virtual void SetIgnoreCachedStateForTest(bool ignore) = 0; |
| 199 virtual void SetForceShaderNameHashingForTest(bool force) = 0; | 200 virtual void SetForceShaderNameHashingForTest(bool force) = 0; |
| 200 virtual uint32_t GetAndClearBackbufferClearBitsForTest(); | 201 virtual uint32_t GetAndClearBackbufferClearBitsForTest(); |
| 201 virtual size_t GetSavedBackTextureCountForTest() = 0; | 202 virtual size_t GetSavedBackTextureCountForTest() = 0; |
| 202 virtual size_t GetCreatedBackTextureCountForTest() = 0; | 203 virtual size_t GetCreatedBackTextureCountForTest() = 0; |
| 203 | 204 |
| 204 // Gets the QueryManager for this context. | 205 // Gets the QueryManager for this context. |
| 205 virtual QueryManager* GetQueryManager() = 0; | 206 virtual QueryManager* GetQueryManager() = 0; |
| 206 | 207 |
| 208 // Gets the FramebufferManager for this context. |
| 209 virtual FramebufferManager* GetFramebufferManager() = 0; |
| 210 |
| 207 // Gets the TransformFeedbackManager for this context. | 211 // Gets the TransformFeedbackManager for this context. |
| 208 virtual TransformFeedbackManager* GetTransformFeedbackManager() = 0; | 212 virtual TransformFeedbackManager* GetTransformFeedbackManager() = 0; |
| 209 | 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. |
| (...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 331 bool initialized_; | 335 bool initialized_; |
| 332 bool debug_; | 336 bool debug_; |
| 333 bool log_commands_; | 337 bool log_commands_; |
| 334 DISALLOW_COPY_AND_ASSIGN(GLES2Decoder); | 338 DISALLOW_COPY_AND_ASSIGN(GLES2Decoder); |
| 335 }; | 339 }; |
| 336 | 340 |
| 337 } // namespace gles2 | 341 } // namespace gles2 |
| 338 } // namespace gpu | 342 } // namespace gpu |
| 339 | 343 |
| 340 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_H_ | 344 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_H_ |
| OLD | NEW |