Home
last modified time | relevance | path

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

/third_party/flutter/skia/gm/
Dbitmaptiled.cpp41 context->setResourceCacheLimits(oldMaxResources, newMaxResourceBytes); in draw_tile_bitmap_with_fractional_offset()
64 context->setResourceCacheLimits(oldMaxResources, oldMaxResourceBytes); in draw_tile_bitmap_with_fractional_offset()
/third_party/flutter/skia/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()
/third_party/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()
/third_party/flutter/skia/tests/
DResourceAllocatorTest.cpp260 context->setResourceCacheLimits(0, 0); // We'll always be overbudget in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
268 context->setResourceCacheLimits(maxNum, maxBytes); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
361 context->setResourceCacheLimits(0, 0); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
402 context->setResourceCacheLimits(origMaxNum, origMaxBytes); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DDeferredDisplayListTest.cpp420 context->setResourceCacheLimits(maxResourceCount, maxResourceBytes/2); in DDLSurfaceCharacterizationTestImpl()
427 context->setResourceCacheLimits(2*maxResourceCount, maxResourceBytes); in DDLSurfaceCharacterizationTestImpl()
431 context->setResourceCacheLimits(maxResourceCount, 2*maxResourceBytes); in DDLSurfaceCharacterizationTestImpl()
435 context->setResourceCacheLimits(maxResourceCount, maxResourceBytes); in DDLSurfaceCharacterizationTestImpl()
DPathRendererCacheTests.cpp79 ctx->setResourceCacheLimits(100, 8000000); in test_path()
DTextureProxyTest.cpp256 context->setResourceCacheLimits(maxNum-1, maxBytes); in invalidation_test()
DResourceCacheTest.cpp58 context->setResourceCacheLimits(1000, maxCacheSize); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
77 context->setResourceCacheLimits(oldMaxNum, oldMaxBytes); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
352 fContext->setResourceCacheLimits(maxCnt, maxBytes); in Mock()
1708 context->setResourceCacheLimits(1, 1); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
DPromiseImageTest.cpp426 ctx->setResourceCacheLimits(kMaxResources, kMaxBytes); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
/third_party/flutter/engine/flutter/shell/common/
Dshell_io_manager.cc38 context->setResourceCacheLimits(0, 0); in CreateCompatibleResourceLoadingContext()
Drasterizer.cc459 context->setResourceCacheLimits(max_resources, max_bytes); in SetResourceCacheMaxBytes()
/third_party/flutter/engine/flutter/vulkan/
Dvulkan_window.cc111 context->setResourceCacheLimits(kGrCacheMaxCount, kGrCacheMaxByteSize); in CreateSkiaGrContext()
/third_party/flutter/engine/flutter/shell/platform/fuchsia/flutter/
Dvulkan_surface_producer.cc120 context_->setResourceCacheLimits(kGrCacheMaxCount, kGrCacheMaxByteSize); in Initialize()
/third_party/flutter/skia/include/gpu/
DGrContext.h172 void setResourceCacheLimits(int maxResources, size_t maxResourceBytes);
/third_party/flutter/engine/flutter/shell/gpu/
Dgpu_surface_gl.cc70 context_->setResourceCacheLimits(kGrCacheMaxCount, kGrCacheMaxByteSize); in GPUSurfaceGL()
/third_party/skia/tests/
DDeferredDisplayListTest.cpp443 context->setResourceCacheLimits(2*maxResourceCount, maxResourceBytes); in DDLSurfaceCharacterizationTestImpl()
447 context->setResourceCacheLimits(maxResourceCount, 2*maxResourceBytes); in DDLSurfaceCharacterizationTestImpl()
451 context->setResourceCacheLimits(maxResourceCount, maxResourceBytes); in DDLSurfaceCharacterizationTestImpl()
/third_party/skia/include/gpu/
DGrDirectContext.h236 void setResourceCacheLimits(int maxResources, size_t maxResourceBytes);
/third_party/flutter/skia/src/gpu/
DGrContext.cpp312 void GrContext::setResourceCacheLimits(int maxResources, size_t maxResourceBytes) { in setResourceCacheLimits() function in GrContext
/third_party/skia/src/gpu/
DGrDirectContext.cpp305 void GrDirectContext::setResourceCacheLimits(int unused, size_t maxResourceBytes) { in setResourceCacheLimits() function in GrDirectContext
/third_party/flutter/skia/modules/canvaskit/
Dcanvaskit_bindings.cpp731 self.setResourceCacheLimits(maxResources, maxResourceBytes); in EMSCRIPTEN_BINDINGS()
/third_party/skia/modules/canvaskit/
Dcanvaskit_bindings.cpp885 self.setResourceCacheLimits(maxResources, maxResourceBytes); in EMSCRIPTEN_BINDINGS()