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

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

Issue 1437843002: Move GrBatchFlushState from GrDrawTarget to GrDrawingManager (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: readd white space Created 5 years, 1 month 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 | « gm/convexpolyeffect.cpp ('k') | src/gpu/GrContext.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 GrContext_DEFINED 8 #ifndef GrContext_DEFINED
9 #define GrContext_DEFINED 9 #define GrContext_DEFINED
10 10
(...skipping 381 matching lines...) Expand 10 before | Expand all | Expand 10 after
392 }; 392 };
393 393
394 SkTDArray<CleanUpData> fCleanUpData; 394 SkTDArray<CleanUpData> fCleanUpData;
395 395
396 const uint32_t fUniqueID; 396 const uint32_t fUniqueID;
397 397
398 SkAutoTDelete<GrDrawingManager> fDrawingManager; 398 SkAutoTDelete<GrDrawingManager> fDrawingManager;
399 399
400 // TODO: have the CMM use drawContexts and rm this friending 400 // TODO: have the CMM use drawContexts and rm this friending
401 friend class GrClipMaskManager; // the CMM is friended just so it can call ' drawingManager' 401 friend class GrClipMaskManager; // the CMM is friended just so it can call ' drawingManager'
402 friend class GrDrawingManager; // for access to drawingManager for ProgramU nitTest
402 GrDrawingManager* drawingManager() { return fDrawingManager; } 403 GrDrawingManager* drawingManager() { return fDrawingManager; }
403 404
404 GrContext(); // init must be called after the constructor. 405 GrContext(); // init must be called after the constructor.
405 bool init(GrBackend, GrBackendContext, const GrContextOptions& options); 406 bool init(GrBackend, GrBackendContext, const GrContextOptions& options);
406 407
407 void initMockContext(); 408 void initMockContext();
408 void initCommon(const GrContextOptions& options); 409 void initCommon(const GrContextOptions& options);
409 410
410 /** 411 /**
411 * These functions create premul <-> unpremul effects if it is possible to g enerate a pair 412 * These functions create premul <-> unpremul effects if it is possible to g enerate a pair
(...skipping 21 matching lines...) Expand all
433 /** 434 /**
434 * A callback similar to the above for use by the TextBlobCache 435 * A callback similar to the above for use by the TextBlobCache
435 * TODO move textblob draw calls below context so we can use the call above. 436 * TODO move textblob draw calls below context so we can use the call above.
436 */ 437 */
437 static void TextBlobCacheOverBudgetCB(void* data); 438 static void TextBlobCacheOverBudgetCB(void* data);
438 439
439 typedef SkRefCnt INHERITED; 440 typedef SkRefCnt INHERITED;
440 }; 441 };
441 442
442 #endif 443 #endif
OLDNEW
« no previous file with comments | « gm/convexpolyeffect.cpp ('k') | src/gpu/GrContext.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698