| OLD | NEW |
| 1 // Copyright (c) 2016 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2016 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 GLES2DecoderPassthroughImpl class. | 5 // This file contains the GLES2DecoderPassthroughImpl class. |
| 6 | 6 |
| 7 #ifndef GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_PASSTHROUGH_H_ | 7 #ifndef GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_PASSTHROUGH_H_ |
| 8 #define GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_PASSTHROUGH_H_ | 8 #define GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_PASSTHROUGH_H_ |
| 9 | 9 |
| 10 #include "base/memory/ref_counted.h" | 10 #include "base/memory/ref_counted.h" |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 66 | 66 |
| 67 // Gets the GLES2 Util which holds info. | 67 // Gets the GLES2 Util which holds info. |
| 68 GLES2Util* GetGLES2Util() override; | 68 GLES2Util* GetGLES2Util() override; |
| 69 | 69 |
| 70 // Gets the associated GLContext. | 70 // Gets the associated GLContext. |
| 71 gl::GLContext* GetGLContext() override; | 71 gl::GLContext* GetGLContext() override; |
| 72 | 72 |
| 73 // Gets the associated ContextGroup | 73 // Gets the associated ContextGroup |
| 74 ContextGroup* GetContextGroup() override; | 74 ContextGroup* GetContextGroup() override; |
| 75 | 75 |
| 76 const FeatureInfo* GetFeatureInfo() const override; |
| 77 |
| 76 Capabilities GetCapabilities() override; | 78 Capabilities GetCapabilities() override; |
| 77 | 79 |
| 78 // Restores all of the decoder GL state. | 80 // Restores all of the decoder GL state. |
| 79 void RestoreState(const ContextState* prev_state) override; | 81 void RestoreState(const ContextState* prev_state) override; |
| 80 | 82 |
| 81 // Restore States. | 83 // Restore States. |
| 82 void RestoreActiveTexture() const override; | 84 void RestoreActiveTexture() const override; |
| 83 void RestoreAllTextureUnitBindings( | 85 void RestoreAllTextureUnitBindings( |
| 84 const ContextState* prev_state) const override; | 86 const ContextState* prev_state) const override; |
| 85 void RestoreActiveTextureUnitBinding(unsigned int target) const override; | 87 void RestoreActiveTextureUnitBinding(unsigned int target) const override; |
| (...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 248 | 250 |
| 249 // Include the prototypes of all the doer functions from a separate header to | 251 // Include the prototypes of all the doer functions from a separate header to |
| 250 // keep this file clean. | 252 // keep this file clean. |
| 251 #include "gpu/command_buffer/service/gles2_cmd_decoder_passthrough_doer_prototyp
es.h" | 253 #include "gpu/command_buffer/service/gles2_cmd_decoder_passthrough_doer_prototyp
es.h" |
| 252 }; | 254 }; |
| 253 | 255 |
| 254 } // namespace gles2 | 256 } // namespace gles2 |
| 255 } // namespace gpu | 257 } // namespace gpu |
| 256 | 258 |
| 257 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_PASSTHROUGH_H_ | 259 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_PASSTHROUGH_H_ |
| OLD | NEW |