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

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

Issue 1071333002: Added ability to flush context to GrTextBlobCache (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: feedback inc Created 5 years, 8 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 | « no previous file | 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 769 matching lines...) Expand 10 before | Expand all | Expand 10 after
780 */ 780 */
781 const GrFragmentProcessor* createPMToUPMEffect(GrTexture*, bool swapRAndB, c onst SkMatrix&); 781 const GrFragmentProcessor* createPMToUPMEffect(GrTexture*, bool swapRAndB, c onst SkMatrix&);
782 const GrFragmentProcessor* createUPMToPMEffect(GrTexture*, bool swapRAndB, c onst SkMatrix&); 782 const GrFragmentProcessor* createUPMToPMEffect(GrTexture*, bool swapRAndB, c onst SkMatrix&);
783 783
784 /** 784 /**
785 * This callback allows the resource cache to callback into the GrContext 785 * This callback allows the resource cache to callback into the GrContext
786 * when the cache is still over budget after a purge. 786 * when the cache is still over budget after a purge.
787 */ 787 */
788 static void OverBudgetCB(void* data); 788 static void OverBudgetCB(void* data);
789 789
790 /**
791 * A callback similar to the above for use by the TextBlobCache
792 * TODO move textblob draw calls below context so we can use the call above.
793 */
794 static void TextBlobCacheOverBudgetCB(void* data);
795
790 // TODO see note on createTextContext 796 // TODO see note on createTextContext
791 friend class SkGpuDevice; 797 friend class SkGpuDevice;
792 798
793 typedef SkRefCnt INHERITED; 799 typedef SkRefCnt INHERITED;
794 }; 800 };
795 801
796 #endif 802 #endif
OLDNEW
« no previous file with comments | « no previous file | src/gpu/GrContext.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698