Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(408)

Side by Side Diff: src/gpu/GrDrawTarget.h

Issue 804813002: Cleanup: Mark some overridden methods with 'SK_OVERRIDE'. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/effects/gradients/SkTwoPointConicalGradient.h ('k') | src/gpu/GrGeometryProcessor.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
OLDNEW
« no previous file with comments | « src/effects/gradients/SkTwoPointConicalGradient.h ('k') | src/gpu/GrGeometryProcessor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698