| OLD | NEW |
| 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 270 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 281 | 281 |
| 282 // Used only by CMM. | 282 // Used only by CMM. |
| 283 void clearStencilClip(const SkIRect&, bool insideClip, GrRenderTarget*); | 283 void clearStencilClip(const SkIRect&, bool insideClip, GrRenderTarget*); |
| 284 | 284 |
| 285 SkSTArray<256, SkAutoTUnref<GrBatch>, true> fBatches; | 285 SkSTArray<256, SkAutoTUnref<GrBatch>, true> fBatches; |
| 286 SkAutoTDelete<GrClipMaskManager> fClipMaskManager; | 286 SkAutoTDelete<GrClipMaskManager> fClipMaskManager; |
| 287 // The context is only in service of the clip mask manager, remove once CMM
doesn't need this. | 287 // The context is only in service of the clip mask manager, remove once CMM
doesn't need this. |
| 288 GrContext* fContext; | 288 GrContext* fContext; |
| 289 GrGpu* fGpu; | 289 GrGpu* fGpu; |
| 290 GrResourceProvider* fResourceProvider; | 290 GrResourceProvider* fResourceProvider; |
| 291 bool fFlushing; | |
| 292 | 291 |
| 293 SkDEBUGCODE(int fDebugID;) | 292 SkDEBUGCODE(int fDebugID;) |
| 294 uint32_t fFlags; | 293 uint32_t fFlags; |
| 295 | 294 |
| 296 // 'this' drawTarget relies on the output of the drawTargets in 'fDependenci
es' | 295 // 'this' drawTarget relies on the output of the drawTargets in 'fDependenci
es' |
| 297 SkTDArray<GrDrawTarget*> fDependencies; | 296 SkTDArray<GrDrawTarget*> fDependencies; |
| 298 GrRenderTarget* fRenderTarget; | 297 GrRenderTarget* fRenderTarget; |
| 299 | 298 |
| 300 bool fDrawBatchBounds; | 299 bool fDrawBatchBounds; |
| 301 int fMaxBatchLookback; | 300 int fMaxBatchLookback; |
| 302 | 301 |
| 303 typedef SkRefCnt INHERITED; | 302 typedef SkRefCnt INHERITED; |
| 304 }; | 303 }; |
| 305 | 304 |
| 306 #endif | 305 #endif |
| OLD | NEW |