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

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

Issue 1538013002: Add Drawing Manager guards against re-entrant flushes (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years 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/GrDrawTarget.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 270 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
OLDNEW
« no previous file with comments | « no previous file | src/gpu/GrDrawTarget.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698