Home
last modified time | relevance | path

Searched refs:setResourceCacheLimits (Results 1 – 17 of 17) sorted by relevance

/external/skqp/gm/
Dbitmaptiled.cpp40 context->setResourceCacheLimits(oldMaxResources, newMaxResourceBytes); in draw_tile_bitmap_with_fractional_offset()
63 context->setResourceCacheLimits(oldMaxResources, oldMaxResourceBytes); in draw_tile_bitmap_with_fractional_offset()
/external/skqp/bench/
DImageCacheBudgetBench.cpp58 context->setResourceCacheLimits(baselineCount + approxImagesInBudget, 1 << 30); in set_cache_budget()
117 context->setResourceCacheLimits(fOldCount, fOldBytes); in onPerCanvasPostDraw()
214 context->setResourceCacheLimits(fOldCount, fOldBytes); in onPerCanvasPostDraw()
DGrResourceCacheBench.cpp77 context->setResourceCacheLimits(CACHE_SIZE_COUNT, 1 << 30); in onDraw()
123 fContext->setResourceCacheLimits(CACHE_SIZE_COUNT, 1 << 30); in onDelayedSetup()
/external/skia/bench/
DGrResourceCacheBench.cpp77 context->setResourceCacheLimits(CACHE_SIZE_COUNT, 1 << 30); in onDraw()
123 fContext->setResourceCacheLimits(CACHE_SIZE_COUNT, 1 << 30); in onDelayedSetup()
DImageCacheBudgetBench.cpp57 context->setResourceCacheLimits(baselineCount + approxImagesInBudget, 1 << 30); in set_cache_budget()
216 context->setResourceCacheLimits(fOldCount, fOldBytes); in onPerCanvasPostDraw()
/external/skqp/tests/
DDeferredDisplayListTest.cpp590 context->setResourceCacheLimits(maxResourceCount, maxResourceBytes/2); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
597 context->setResourceCacheLimits(2*maxResourceCount, maxResourceBytes); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
601 context->setResourceCacheLimits(maxResourceCount, 2*maxResourceBytes); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
605 context->setResourceCacheLimits(maxResourceCount, maxResourceBytes); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DPathRendererCacheTests.cpp79 ctx->setResourceCacheLimits(100, 8000000); in test_path()
DResourceAllocatorTest.cpp278 context->setResourceCacheLimits(0, 0); // We'll always be overbudget in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
286 context->setResourceCacheLimits(maxNum, maxBytes); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DTextureProxyTest.cpp249 context->setResourceCacheLimits(maxNum-1, maxBytes); in invalidation_test()
DResourceCacheTest.cpp63 context->setResourceCacheLimits(1000, maxCacheSize); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
82 context->setResourceCacheLimits(oldMaxNum, oldMaxBytes); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
354 fContext->setResourceCacheLimits(maxCnt, maxBytes); in Mock()
DPromiseImageTest.cpp890 ctx->setResourceCacheLimits(kMaxResources, kMaxBytes); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
/external/skqp/include/gpu/
DGrContext.h162 void setResourceCacheLimits(int maxResources, size_t maxResourceBytes);
/external/skia/tests/
DDeferredDisplayListTest.cpp445 context->setResourceCacheLimits(2*maxResourceCount, maxResourceBytes); in DDLSurfaceCharacterizationTestImpl()
449 context->setResourceCacheLimits(maxResourceCount, 2*maxResourceBytes); in DDLSurfaceCharacterizationTestImpl()
453 context->setResourceCacheLimits(maxResourceCount, maxResourceBytes); in DDLSurfaceCharacterizationTestImpl()
/external/skia/include/gpu/
DGrDirectContext.h236 void setResourceCacheLimits(int maxResources, size_t maxResourceBytes);
/external/skia/src/gpu/
DGrDirectContext.cpp293 void GrDirectContext::setResourceCacheLimits(int unused, size_t maxResourceBytes) { in setResourceCacheLimits() function in GrDirectContext
/external/skqp/src/gpu/
DGrContext.cpp1118 void GrContext::setResourceCacheLimits(int maxResources, size_t maxResourceBytes) { in setResourceCacheLimits() function in GrContext
/external/skia/modules/canvaskit/
Dcanvaskit_bindings.cpp812 self.setResourceCacheLimits(maxResources, maxResourceBytes); in EMSCRIPTEN_BINDINGS()