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

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

Issue 1588683002: Add Audittrail for path renderers (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 11 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 | src/gpu/GrSoftwarePathRenderer.cpp » ('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 179 matching lines...) Expand 10 before | Expand all | Expand 10 after
190 } 190 }
191 191
192 GrContext* context() const { return fDrawTarget->fContext; } 192 GrContext* context() const { return fDrawTarget->fContext; }
193 GrResourceProvider* resourceProvider() const { return fDrawTarget->fReso urceProvider; } 193 GrResourceProvider* resourceProvider() const { return fDrawTarget->fReso urceProvider; }
194 GrDrawTarget* fDrawTarget; 194 GrDrawTarget* fDrawTarget;
195 friend class GrClipMaskManager; 195 friend class GrClipMaskManager;
196 }; 196 };
197 197
198 const CMMAccess cmmAccess() { return CMMAccess(this); } 198 const CMMAccess cmmAccess() { return CMMAccess(this); }
199 199
200 GrAuditTrail* getAuditTrail() const { return fAuditTrail; }
201
200 private: 202 private:
201 friend class GrDrawingManager; // for resetFlag & TopoSortTraits 203 friend class GrDrawingManager; // for resetFlag & TopoSortTraits
202 204
203 enum Flags { 205 enum Flags {
204 kClosed_Flag = 0x01, //!< This drawTarget can't accept any more bat ches 206 kClosed_Flag = 0x01, //!< This drawTarget can't accept any more bat ches
205 207
206 kWasOutput_Flag = 0x02, //!< Flag for topological sorting 208 kWasOutput_Flag = 0x02, //!< Flag for topological sorting
207 kTempMark_Flag = 0x04, //!< Flag for topological sorting 209 kTempMark_Flag = 0x04, //!< Flag for topological sorting
208 }; 210 };
209 211
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
286 SkTDArray<GrDrawTarget*> fDependencies; 288 SkTDArray<GrDrawTarget*> fDependencies;
287 GrRenderTarget* fRenderTarget; 289 GrRenderTarget* fRenderTarget;
288 290
289 bool fDrawBatchBounds; 291 bool fDrawBatchBounds;
290 int fMaxBatchLookback; 292 int fMaxBatchLookback;
291 293
292 typedef SkRefCnt INHERITED; 294 typedef SkRefCnt INHERITED;
293 }; 295 };
294 296
295 #endif 297 #endif
OLDNEW
« no previous file with comments | « no previous file | src/gpu/GrSoftwarePathRenderer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698