/external/skqp/gm/ |
D | bitmaptiled.cpp | 40 context->setResourceCacheLimits(oldMaxResources, newMaxResourceBytes); in draw_tile_bitmap_with_fractional_offset() 63 context->setResourceCacheLimits(oldMaxResources, oldMaxResourceBytes); in draw_tile_bitmap_with_fractional_offset()
|
/external/skia/gm/ |
D | bitmaptiled.cpp | 35 context->setResourceCacheLimits(oldMaxResources, newMaxResourceBytes); in draw_tile_bitmap_with_fractional_offset() 58 context->setResourceCacheLimits(oldMaxResources, oldMaxResourceBytes); in draw_tile_bitmap_with_fractional_offset()
|
/external/skia/bench/ |
D | ImageCacheBudgetBench.cpp | 58 context->setResourceCacheLimits(baselineCount + approxImagesInBudget, 1 << 30); in set_cache_budget() 117 context->setResourceCacheLimits(fOldCount, fOldBytes); in onPerCanvasPostDraw() 214 context->setResourceCacheLimits(fOldCount, fOldBytes); in onPerCanvasPostDraw()
|
D | GrResourceCacheBench.cpp | 77 context->setResourceCacheLimits(CACHE_SIZE_COUNT, 1 << 30); in onDraw() 123 fContext->setResourceCacheLimits(CACHE_SIZE_COUNT, 1 << 30); in onDelayedSetup()
|
/external/skqp/bench/ |
D | ImageCacheBudgetBench.cpp | 58 context->setResourceCacheLimits(baselineCount + approxImagesInBudget, 1 << 30); in set_cache_budget() 117 context->setResourceCacheLimits(fOldCount, fOldBytes); in onPerCanvasPostDraw() 214 context->setResourceCacheLimits(fOldCount, fOldBytes); in onPerCanvasPostDraw()
|
D | GrResourceCacheBench.cpp | 77 context->setResourceCacheLimits(CACHE_SIZE_COUNT, 1 << 30); in onDraw() 123 fContext->setResourceCacheLimits(CACHE_SIZE_COUNT, 1 << 30); in onDelayedSetup()
|
/external/skia/tests/ |
D | DeferredDisplayListTest.cpp | 382 context->setResourceCacheLimits(maxResourceCount, maxResourceBytes/2); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 389 context->setResourceCacheLimits(2*maxResourceCount, maxResourceBytes); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 393 context->setResourceCacheLimits(maxResourceCount, 2*maxResourceBytes); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 397 context->setResourceCacheLimits(maxResourceCount, maxResourceBytes); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
|
D | PathRendererCacheTests.cpp | 79 ctx->setResourceCacheLimits(100, 8000000); in test_path()
|
D | ResourceAllocatorTest.cpp | 278 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()
|
D | TextureProxyTest.cpp | 249 context->setResourceCacheLimits(maxNum-1, maxBytes); in invalidation_test()
|
D | PromiseImageTest.cpp | 447 ctx->setResourceCacheLimits(kMaxResources, kMaxBytes); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
|
D | ResourceCacheTest.cpp | 63 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()
|
/external/skqp/tests/ |
D | DeferredDisplayListTest.cpp | 590 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()
|
D | PathRendererCacheTests.cpp | 79 ctx->setResourceCacheLimits(100, 8000000); in test_path()
|
D | ResourceAllocatorTest.cpp | 278 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()
|
D | TextureProxyTest.cpp | 249 context->setResourceCacheLimits(maxNum-1, maxBytes); in invalidation_test()
|
D | ResourceCacheTest.cpp | 63 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()
|
D | PromiseImageTest.cpp | 890 ctx->setResourceCacheLimits(kMaxResources, kMaxBytes); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
|
/external/skia/include/gpu/ |
D | GrContext.h | 166 void setResourceCacheLimits(int maxResources, size_t maxResourceBytes);
|
/external/skqp/include/gpu/ |
D | GrContext.h | 162 void setResourceCacheLimits(int maxResources, size_t maxResourceBytes);
|
/external/skia/src/gpu/ |
D | GrContext.cpp | 333 void GrContext::setResourceCacheLimits(int maxResources, size_t maxResourceBytes) { in setResourceCacheLimits() function in GrContext
|
/external/skqp/src/gpu/ |
D | GrContext.cpp | 1118 void GrContext::setResourceCacheLimits(int maxResources, size_t maxResourceBytes) { in setResourceCacheLimits() function in GrContext
|