| OLD | NEW |
| 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 284 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 295 SkDEBUGCODE(void validate() const;) | 295 SkDEBUGCODE(void validate() const;) |
| 296 | 296 |
| 297 private: | 297 private: |
| 298 friend class GrAtlasTextBlob; // for access to drawBatch | 298 friend class GrAtlasTextBlob; // for access to drawBatch |
| 299 friend class GrStencilAndCoverTextContext; // for access to drawBatch | 299 friend class GrStencilAndCoverTextContext; // for access to drawBatch |
| 300 | 300 |
| 301 friend class GrDrawingManager; // for ctor | 301 friend class GrDrawingManager; // for ctor |
| 302 friend class GrDrawContextPriv; | 302 friend class GrDrawContextPriv; |
| 303 friend class GrTestTarget; // for access to getDrawTarget | 303 friend class GrTestTarget; // for access to getDrawTarget |
| 304 friend class GrSWMaskHelper; // for access to drawBatch | 304 friend class GrSWMaskHelper; // for access to drawBatch |
| 305 friend class GrClipMaskManager; // for access to drawBatch | 305 friend class GrClipStackClip; // for access to drawBatch |
| 306 | 306 |
| 307 // All the path renderers currently make their own batches | 307 // All the path renderers currently make their own batches |
| 308 friend class GrSoftwarePathRenderer; // for access to drawBatch | 308 friend class GrSoftwarePathRenderer; // for access to drawBatch |
| 309 friend class GrAAConvexPathRenderer; // for access to drawBatch | 309 friend class GrAAConvexPathRenderer; // for access to drawBatch |
| 310 friend class GrDashLinePathRenderer; // for access to drawBatch | 310 friend class GrDashLinePathRenderer; // for access to drawBatch |
| 311 friend class GrAAHairLinePathRenderer; // for access to drawBatch | 311 friend class GrAAHairLinePathRenderer; // for access to drawBatch |
| 312 friend class GrAALinearizingConvexPathRenderer; // for access to drawBatch | 312 friend class GrAALinearizingConvexPathRenderer; // for access to drawBatch |
| 313 friend class GrAADistanceFieldPathRenderer; // for access to drawBatch | 313 friend class GrAADistanceFieldPathRenderer; // for access to drawBatch |
| 314 friend class GrDefaultPathRenderer; // for access to drawBatch | 314 friend class GrDefaultPathRenderer; // for access to drawBatch |
| 315 friend class GrPLSPathRenderer; // for access to drawBatch | 315 friend class GrPLSPathRenderer; // for access to drawBatch |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 360 GrInstancedPipelineInfo fInstancedPipelineInfo; | 360 GrInstancedPipelineInfo fInstancedPipelineInfo; |
| 361 | 361 |
| 362 SkSurfaceProps fSurfaceProps; | 362 SkSurfaceProps fSurfaceProps; |
| 363 GrAuditTrail* fAuditTrail; | 363 GrAuditTrail* fAuditTrail; |
| 364 | 364 |
| 365 // In debug builds we guard against improper thread handling | 365 // In debug builds we guard against improper thread handling |
| 366 SkDEBUGCODE(mutable GrSingleOwner* fSingleOwner;) | 366 SkDEBUGCODE(mutable GrSingleOwner* fSingleOwner;) |
| 367 }; | 367 }; |
| 368 | 368 |
| 369 #endif | 369 #endif |
| OLD | NEW |