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 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
116 | 116 |
117 const FeatureInfo* GetFeatureInfo() const override; | 117 const FeatureInfo* GetFeatureInfo() const override; |
118 | 118 |
119 Capabilities GetCapabilities() override; | 119 Capabilities GetCapabilities() override; |
120 | 120 |
121 // Restores all of the decoder GL state. | 121 // Restores all of the decoder GL state. |
122 void RestoreState(const ContextState* prev_state) override; | 122 void RestoreState(const ContextState* prev_state) override; |
123 | 123 |
124 // Restore States. | 124 // Restore States. |
125 void RestoreActiveTexture() const override; | 125 void RestoreActiveTexture() const override; |
126 void RestoreAllTextureUnitBindings( | 126 void RestoreAllTextureUnitAndSamplerBindings( |
127 const ContextState* prev_state) const override; | 127 const ContextState* prev_state) const override; |
128 void RestoreActiveTextureUnitBinding(unsigned int target) const override; | 128 void RestoreActiveTextureUnitBinding(unsigned int target) const override; |
129 void RestoreBufferBinding(unsigned int target) override; | 129 void RestoreBufferBinding(unsigned int target) override; |
130 void RestoreBufferBindings() const override; | 130 void RestoreBufferBindings() const override; |
131 void RestoreFramebufferBindings() const override; | 131 void RestoreFramebufferBindings() const override; |
132 void RestoreRenderbufferBindings() override; | 132 void RestoreRenderbufferBindings() override; |
133 void RestoreGlobalState() const override; | 133 void RestoreGlobalState() const override; |
134 void RestoreProgramBindings() const override; | 134 void RestoreProgramBindings() const override; |
135 void RestoreTextureState(unsigned service_id) const override; | 135 void RestoreTextureState(unsigned service_id) const override; |
136 void RestoreTextureUnitBindings(unsigned unit) const override; | 136 void RestoreTextureUnitBindings(unsigned unit) const override; |
(...skipping 268 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
405 | 405 |
406 // Include the prototypes of all the doer functions from a separate header to | 406 // Include the prototypes of all the doer functions from a separate header to |
407 // keep this file clean. | 407 // keep this file clean. |
408 #include "gpu/command_buffer/service/gles2_cmd_decoder_passthrough_doer_prototyp
es.h" | 408 #include "gpu/command_buffer/service/gles2_cmd_decoder_passthrough_doer_prototyp
es.h" |
409 }; | 409 }; |
410 | 410 |
411 } // namespace gles2 | 411 } // namespace gles2 |
412 } // namespace gpu | 412 } // namespace gpu |
413 | 413 |
414 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_PASSTHROUGH_H_ | 414 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_PASSTHROUGH_H_ |
OLD | NEW |