зеркало из https://github.com/mozilla/moz-skia.git
Missed this is r9949 (Allow the resource cache to (indirectly) flush the InOrderDrawBuffer - https://codereview.chromium.org/18466005/)
R=bsalomon@google.com Author: robertphillips@google.com Review URL: https://chromiumcodereview.appspot.com/19401002 git-svn-id: http://skia.googlecode.com/svn/trunk@10118 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
Родитель
4b38301a57
Коммит
1836d337a8
|
@ -119,6 +119,8 @@ bool GrContext::init(GrBackend backend, GrBackendContext backendContext) {
|
|||
fTextureCache = SkNEW_ARGS(GrResourceCache,
|
||||
(MAX_TEXTURE_CACHE_COUNT,
|
||||
MAX_TEXTURE_CACHE_BYTES));
|
||||
fTextureCache->setOverbudgetCallback(OverbudgetCB, this);
|
||||
|
||||
fFontCache = SkNEW_ARGS(GrFontCache, (fGpu));
|
||||
|
||||
fLastDrawWasBuffered = kNo_BufferedDraw;
|
||||
|
|
Загрузка…
Ссылка в новой задаче