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

Side by Side Diff: src/gpu/batches/GrStencilPathBatch.h

Issue 1292073003: add missing override (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 4 months 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 | « no previous file | no next file » | 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 2015 Google Inc. 2 * Copyright 2015 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 GrStencilPathBatch_DEFINED 8 #ifndef GrStencilPathBatch_DEFINED
9 #define GrStencilPathBatch_DEFINED 9 #define GrStencilPathBatch_DEFINED
10 10
(...skipping 11 matching lines...) Expand all
22 const GrStencilSettings& stencil, 22 const GrStencilSettings& stencil,
23 const GrScissorState& scissor, 23 const GrScissorState& scissor,
24 GrRenderTarget* renderTarget, 24 GrRenderTarget* renderTarget,
25 const GrPath* path) { 25 const GrPath* path) {
26 return SkNEW_ARGS(GrStencilPathBatch, (viewMatrix, useHWAA, stencil, sci ssor, renderTarget, 26 return SkNEW_ARGS(GrStencilPathBatch, (viewMatrix, useHWAA, stencil, sci ssor, renderTarget,
27 path)); 27 path));
28 } 28 }
29 29
30 const char* name() const override { return "StencilPath"; } 30 const char* name() const override { return "StencilPath"; }
31 31
32 uint32_t renderTargetUniqueID() const { return fRenderTarget.get()->getUniqu eID(); } 32 uint32_t renderTargetUniqueID() const override { return fRenderTarget.get()- >getUniqueID(); }
33 33
34 SkString dumpInfo() const override { 34 SkString dumpInfo() const override {
35 SkString string; 35 SkString string;
36 string.printf("PATH: 0x%p, AA:%d", fPath.get(), fUseHWAA); 36 string.printf("PATH: 0x%p, AA:%d", fPath.get(), fUseHWAA);
37 return string; 37 return string;
38 } 38 }
39 39
40 private: 40 private:
41 GrStencilPathBatch(const SkMatrix& viewMatrix, 41 GrStencilPathBatch(const SkMatrix& viewMatrix,
42 bool useHWAA, 42 bool useHWAA,
(...skipping 22 matching lines...) Expand all
65 65
66 SkMatrix fViewMatrix; 66 SkMatrix fViewMatrix;
67 bool fUseHWAA; 67 bool fUseHWAA;
68 GrStencilSettings fStencil; 68 GrStencilSettings fStencil;
69 GrScissorState fScissor; 69 GrScissorState fScissor;
70 GrPendingIOResource<GrRenderTarget, kWrite_GrIOType> fRenderTarget; 70 GrPendingIOResource<GrRenderTarget, kWrite_GrIOType> fRenderTarget;
71 GrPendingIOResource<const GrPath, kRead_GrIOType> fPath; 71 GrPendingIOResource<const GrPath, kRead_GrIOType> fPath;
72 }; 72 };
73 73
74 #endif 74 #endif
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698