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 #include "gpu/command_buffer/service/gles2_cmd_decoder.h" | 5 #include "gpu/command_buffer/service/gles2_cmd_decoder.h" |
6 | 6 |
7 #include <stdio.h> | 7 #include <stdio.h> |
8 | 8 |
9 #include <algorithm> | 9 #include <algorithm> |
10 #include <list> | 10 #include <list> |
(...skipping 563 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
574 virtual Capabilities GetCapabilities() OVERRIDE; | 574 virtual Capabilities GetCapabilities() OVERRIDE; |
575 virtual void RestoreState(const ContextState* prev_state) const OVERRIDE; | 575 virtual void RestoreState(const ContextState* prev_state) const OVERRIDE; |
576 | 576 |
577 virtual void RestoreActiveTexture() const OVERRIDE { | 577 virtual void RestoreActiveTexture() const OVERRIDE { |
578 state_.RestoreActiveTexture(); | 578 state_.RestoreActiveTexture(); |
579 } | 579 } |
580 virtual void RestoreAllTextureUnitBindings( | 580 virtual void RestoreAllTextureUnitBindings( |
581 const ContextState* prev_state) const OVERRIDE { | 581 const ContextState* prev_state) const OVERRIDE { |
582 state_.RestoreAllTextureUnitBindings(prev_state); | 582 state_.RestoreAllTextureUnitBindings(prev_state); |
583 } | 583 } |
| 584 virtual void RestoreActiveTextureUnitBinding( |
| 585 unsigned int target) const OVERRIDE { |
| 586 state_.RestoreActiveTextureUnitBinding(target); |
| 587 } |
584 virtual void RestoreAttribute(unsigned index) const OVERRIDE { | 588 virtual void RestoreAttribute(unsigned index) const OVERRIDE { |
585 state_.RestoreAttribute(index); | 589 state_.RestoreAttribute(index); |
586 } | 590 } |
587 virtual void RestoreBufferBindings() const OVERRIDE { | 591 virtual void RestoreBufferBindings() const OVERRIDE { |
588 state_.RestoreBufferBindings(); | 592 state_.RestoreBufferBindings(); |
589 } | 593 } |
590 virtual void RestoreGlobalState() const OVERRIDE { | 594 virtual void RestoreGlobalState() const OVERRIDE { |
591 state_.RestoreGlobalState(); | 595 state_.RestoreGlobalState(); |
592 } | 596 } |
593 virtual void RestoreProgramBindings() const OVERRIDE { | 597 virtual void RestoreProgramBindings() const OVERRIDE { |
(...skipping 9950 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
10544 DoDidUseTexImageIfNeeded(texture, texture->target()); | 10548 DoDidUseTexImageIfNeeded(texture, texture->target()); |
10545 } | 10549 } |
10546 | 10550 |
10547 // Include the auto-generated part of this file. We split this because it means | 10551 // Include the auto-generated part of this file. We split this because it means |
10548 // we can easily edit the non-auto generated parts right here in this file | 10552 // we can easily edit the non-auto generated parts right here in this file |
10549 // instead of having to edit some template or the code generator. | 10553 // instead of having to edit some template or the code generator. |
10550 #include "gpu/command_buffer/service/gles2_cmd_decoder_autogen.h" | 10554 #include "gpu/command_buffer/service/gles2_cmd_decoder_autogen.h" |
10551 | 10555 |
10552 } // namespace gles2 | 10556 } // namespace gles2 |
10553 } // namespace gpu | 10557 } // namespace gpu |
OLD | NEW |