| 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 <string> | 10 #include <string> |
| (...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 172 virtual void RestoreGlobalState() const = 0; | 172 virtual void RestoreGlobalState() const = 0; |
| 173 virtual void RestoreProgramBindings() const = 0; | 173 virtual void RestoreProgramBindings() const = 0; |
| 174 virtual void RestoreTextureState(unsigned service_id) const = 0; | 174 virtual void RestoreTextureState(unsigned service_id) const = 0; |
| 175 virtual void RestoreTextureUnitBindings(unsigned unit) const = 0; | 175 virtual void RestoreTextureUnitBindings(unsigned unit) const = 0; |
| 176 | 176 |
| 177 virtual void ClearAllAttributes() const = 0; | 177 virtual void ClearAllAttributes() const = 0; |
| 178 virtual void RestoreAllAttributes() const = 0; | 178 virtual void RestoreAllAttributes() const = 0; |
| 179 | 179 |
| 180 virtual void SetIgnoreCachedStateForTest(bool ignore) = 0; | 180 virtual void SetIgnoreCachedStateForTest(bool ignore) = 0; |
| 181 virtual void SetForceShaderNameHashingForTest(bool force) = 0; | 181 virtual void SetForceShaderNameHashingForTest(bool force) = 0; |
| 182 virtual uint32 GetAndClearBackbufferClearBitsForTest(); |
| 182 | 183 |
| 183 // Gets the QueryManager for this context. | 184 // Gets the QueryManager for this context. |
| 184 virtual QueryManager* GetQueryManager() = 0; | 185 virtual QueryManager* GetQueryManager() = 0; |
| 185 | 186 |
| 186 // Gets the VertexArrayManager for this context. | 187 // Gets the VertexArrayManager for this context. |
| 187 virtual VertexArrayManager* GetVertexArrayManager() = 0; | 188 virtual VertexArrayManager* GetVertexArrayManager() = 0; |
| 188 | 189 |
| 189 // Gets the ImageManager for this context. | 190 // Gets the ImageManager for this context. |
| 190 virtual ImageManager* GetImageManager() = 0; | 191 virtual ImageManager* GetImageManager() = 0; |
| 191 | 192 |
| (...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 273 bool log_commands_; | 274 bool log_commands_; |
| 274 bool unsafe_es3_apis_enabled_; | 275 bool unsafe_es3_apis_enabled_; |
| 275 bool force_shader_name_hashing_for_test_; | 276 bool force_shader_name_hashing_for_test_; |
| 276 DISALLOW_COPY_AND_ASSIGN(GLES2Decoder); | 277 DISALLOW_COPY_AND_ASSIGN(GLES2Decoder); |
| 277 }; | 278 }; |
| 278 | 279 |
| 279 } // namespace gles2 | 280 } // namespace gles2 |
| 280 } // namespace gpu | 281 } // namespace gpu |
| 281 | 282 |
| 282 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_H_ | 283 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_H_ |
| OLD | NEW |