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

Side by Side Diff: include/gpu/GrDrawContext.h

Issue 2004433002: Retract GrRenderTarget from GrTestTarget (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Fix bench build Created 4 years, 7 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 | « include/gpu/GrContext.h ('k') | tests/TessellatingPathRendererTests.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 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 GrDrawContext_DEFINED 8 #ifndef GrDrawContext_DEFINED
9 #define GrDrawContext_DEFINED 9 #define GrDrawContext_DEFINED
10 10
(...skipping 278 matching lines...) Expand 10 before | Expand all | Expand 10 after
289 GrAuditTrail* auditTrail() { return fAuditTrail; } 289 GrAuditTrail* auditTrail() { return fAuditTrail; }
290 290
291 SkDEBUGCODE(GrSingleOwner* singleOwner() { return fSingleOwner; }) 291 SkDEBUGCODE(GrSingleOwner* singleOwner() { return fSingleOwner; })
292 SkDEBUGCODE(void validate() const;) 292 SkDEBUGCODE(void validate() const;)
293 293
294 private: 294 private:
295 friend class GrAtlasTextBlob; // for access to drawBatch 295 friend class GrAtlasTextBlob; // for access to drawBatch
296 friend class GrStencilAndCoverTextContext; // for access to drawBatch 296 friend class GrStencilAndCoverTextContext; // for access to drawBatch
297 friend class GrDrawingManager; // for ctor 297 friend class GrDrawingManager; // for ctor
298 friend class GrDrawContextPriv; 298 friend class GrDrawContextPriv;
299 friend class GrTestTarget; // for access to getDrawTarget
299 300
300 bool drawFilledDRRect(const GrClip& clip, 301 bool drawFilledDRRect(const GrClip& clip,
301 const GrPaint& paint, 302 const GrPaint& paint,
302 const SkMatrix& viewMatrix, 303 const SkMatrix& viewMatrix,
303 const SkRRect& origOuter, 304 const SkRRect& origOuter,
304 const SkRRect& origInner); 305 const SkRRect& origInner);
305 306
306 GrDrawBatch* getFillRectBatch(const GrPaint& paint, 307 GrDrawBatch* getFillRectBatch(const GrPaint& paint,
307 const SkMatrix& viewMatrix, 308 const SkMatrix& viewMatrix,
308 const SkRect& rect); 309 const SkRect& rect);
(...skipping 20 matching lines...) Expand all
329 GrContext* fContext; 330 GrContext* fContext;
330 331
331 SkSurfaceProps fSurfaceProps; 332 SkSurfaceProps fSurfaceProps;
332 GrAuditTrail* fAuditTrail; 333 GrAuditTrail* fAuditTrail;
333 334
334 // In debug builds we guard against improper thread handling 335 // In debug builds we guard against improper thread handling
335 SkDEBUGCODE(mutable GrSingleOwner* fSingleOwner;) 336 SkDEBUGCODE(mutable GrSingleOwner* fSingleOwner;)
336 }; 337 };
337 338
338 #endif 339 #endif
OLDNEW
« no previous file with comments | « include/gpu/GrContext.h ('k') | tests/TessellatingPathRendererTests.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698