| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2010 Google Inc. | 2 * Copyright 2010 Google Inc. |
| 3 * | 3 * |
| 4 * Use of this source code is governed by a BSD-style license that can be | 4 * Use of this source code is governed by a BSD-style license that can be |
| 5 * found in the LICENSE file. | 5 * found in the LICENSE file. |
| 6 */ | 6 */ |
| 7 | 7 |
| 8 #ifndef GrDrawTarget_DEFINED | 8 #ifndef GrDrawTarget_DEFINED |
| 9 #define GrDrawTarget_DEFINED | 9 #define GrDrawTarget_DEFINED |
| 10 | 10 |
| (...skipping 826 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 837 virtual void purgeResources() SK_OVERRIDE { | 837 virtual void purgeResources() SK_OVERRIDE { |
| 838 // The clip mask manager can rebuild all its clip masks so just | 838 // The clip mask manager can rebuild all its clip masks so just |
| 839 // get rid of them all. | 839 // get rid of them all. |
| 840 fClipMaskManager.purgeResources(); | 840 fClipMaskManager.purgeResources(); |
| 841 }; | 841 }; |
| 842 | 842 |
| 843 protected: | 843 protected: |
| 844 GrClipMaskManager fClipMaskManager; | 844 GrClipMaskManager fClipMaskManager; |
| 845 | 845 |
| 846 private: | 846 private: |
| 847 GrClipMaskManager* clipMaskManager() { return &fClipMaskManager; } | 847 GrClipMaskManager* clipMaskManager() SK_OVERRIDE { return &fClipMaskManager;
} |
| 848 | 848 |
| 849 virtual bool setupClip(const SkRect* devBounds, | 849 virtual bool setupClip(const SkRect* devBounds, |
| 850 GrDrawState::AutoRestoreEffects* are, | 850 GrDrawState::AutoRestoreEffects* are, |
| 851 GrDrawState::AutoRestoreStencil* ars, | 851 GrDrawState::AutoRestoreStencil* ars, |
| 852 GrDrawState*, | 852 GrDrawState*, |
| 853 GrClipMaskManager::ScissorState* scissorState) SK_OVE
RRIDE; | 853 GrClipMaskManager::ScissorState* scissorState) SK_OVE
RRIDE; |
| 854 | 854 |
| 855 typedef GrDrawTarget INHERITED; | 855 typedef GrDrawTarget INHERITED; |
| 856 }; | 856 }; |
| 857 | 857 |
| 858 #endif | 858 #endif |
| OLD | NEW |