Home
last modified time | relevance | path

Searched refs:freeMemoryIfPossible (Results 1 – 8 of 8) sorted by relevance

/external/skia/src/utils/
DSkDeferredCanvas.cpp173 size_t freeMemoryIfPossible(size_t bytesToFree);
394 size_t SkDeferredDevice::freeMemoryIfPossible(size_t bytesToFree) { in freeMemoryIfPossible() function in SkDeferredDevice
395 size_t val = fPipeWriter.freeMemoryIfPossible(bytesToFree); in freeMemoryIfPossible()
411 if (this->freeMemoryIfPossible(tryFree) < tryFree) { in recordedDrawCommand()
416 this->freeMemoryIfPossible(~0U); in recordedDrawCommand()
566 size_t SkDeferredCanvas::freeMemoryIfPossible(size_t bytesToFree) { in freeMemoryIfPossible() function in SkDeferredCanvas
567 return this->getDeferredDevice()->freeMemoryIfPossible(bytesToFree); in freeMemoryIfPossible()
/external/skia/tests/
DDeferredCanvasTest.cpp544 REPORTER_ASSERT(reporter, 0 == canvas->freeMemoryIfPossible(~0U)); in TestDeferredCanvasBitmapCaching()
555 REPORTER_ASSERT(reporter, canvas->freeMemoryIfPossible(~0U) >= bitmapSize); in TestDeferredCanvasBitmapCaching()
571 size_t bytesFreed = canvas->freeMemoryIfPossible(1); in TestDeferredCanvasBitmapCaching()
578 canvas->freeMemoryIfPossible(~0U); in TestDeferredCanvasBitmapCaching()
583 bytesFreed = canvas->freeMemoryIfPossible(~0U); in TestDeferredCanvasBitmapCaching()
589 canvas->freeMemoryIfPossible(~0U); in TestDeferredCanvasBitmapCaching()
652 canvas->freeMemoryIfPossible(~0U); in TestDeferredCanvasBitmapShaderNoLeak()
DBitmapHeapTest.cpp84 heap.freeMemoryIfPossible(~0U); in DEF_TEST()
/external/skia/include/pipe/
DSkGPipe.h157 size_t freeMemoryIfPossible(size_t bytesToFree);
/external/skia/src/core/
DSkBitmapHeap.h192 size_t freeMemoryIfPossible(size_t bytesToFree);
DSkBitmapHeap.cpp180 size_t SkBitmapHeap::freeMemoryIfPossible(size_t bytesToFree) { in freeMemoryIfPossible() function in SkBitmapHeap
/external/skia/src/pipe/
DSkGPipeWrite.cpp228 size_t freeMemoryIfPossible(size_t bytesToFree);
1160 size_t SkGPipeCanvas::freeMemoryIfPossible(size_t bytesToFree) { in freeMemoryIfPossible() function in SkGPipeCanvas
1161 return (NULL == fBitmapHeap) ? 0 : fBitmapHeap->freeMemoryIfPossible(bytesToFree); in freeMemoryIfPossible()
1358 size_t SkGPipeWriter::freeMemoryIfPossible(size_t bytesToFree) { in freeMemoryIfPossible() function in SkGPipeWriter
1360 return fCanvas->freeMemoryIfPossible(bytesToFree); in freeMemoryIfPossible()
/external/skia/include/utils/
DSkDeferredCanvas.h132 size_t freeMemoryIfPossible(size_t bytesToFree);