Home
last modified time | relevance | path

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

/external/skia/tests/
DDeferredCanvasTest.cpp290 REPORTER_ASSERT(reporter, 0 == canvas.freeMemoryIfPossible(~0U)); in TestDeferredCanvasBitmapCaching()
301 REPORTER_ASSERT(reporter, canvas.freeMemoryIfPossible(~0U) >= bitmapSize); in TestDeferredCanvasBitmapCaching()
317 size_t bytesFreed = canvas.freeMemoryIfPossible(1); in TestDeferredCanvasBitmapCaching()
324 canvas.freeMemoryIfPossible(~0U); in TestDeferredCanvasBitmapCaching()
329 bytesFreed = canvas.freeMemoryIfPossible(~0U); in TestDeferredCanvasBitmapCaching()
335 canvas.freeMemoryIfPossible(~0U); in TestDeferredCanvasBitmapCaching()
403 canvas.freeMemoryIfPossible(~0U); in TestDeferredCanvasBitmapShaderNoLeak()
DBitmapHeapTest.cpp80 heap.freeMemoryIfPossible(~0U); in TestBitmapHeap()
/external/skia/src/utils/
DSkDeferredCanvas.cpp152 size_t freeMemoryIfPossible(size_t bytesToFree);
333 size_t DeferredDevice::freeMemoryIfPossible(size_t bytesToFree) { in freeMemoryIfPossible() function in DeferredDevice
334 size_t val = fPipeWriter.freeMemoryIfPossible(bytesToFree); in freeMemoryIfPossible()
358 if (this->freeMemoryIfPossible(tryFree) < tryFree) { in recordedDrawCommand()
363 this->freeMemoryIfPossible(~0U); in recordedDrawCommand()
504 size_t SkDeferredCanvas::freeMemoryIfPossible(size_t bytesToFree) { in freeMemoryIfPossible() function in SkDeferredCanvas
505 return this->getDeferredDevice()->freeMemoryIfPossible(bytesToFree); in freeMemoryIfPossible()
/external/skia/include/pipe/
DSkGPipe.h150 size_t freeMemoryIfPossible(size_t bytesToFree);
/external/skia/src/pipe/
DSkGPipeWrite.cpp198 size_t freeMemoryIfPossible(size_t bytesToFree);
979 size_t SkGPipeCanvas::freeMemoryIfPossible(size_t bytesToFree) { in freeMemoryIfPossible() function in SkGPipeCanvas
980 return (NULL == fBitmapHeap) ? 0 : fBitmapHeap->freeMemoryIfPossible(bytesToFree); in freeMemoryIfPossible()
1153 size_t SkGPipeWriter::freeMemoryIfPossible(size_t bytesToFree) { in freeMemoryIfPossible() function in SkGPipeWriter
1155 return fCanvas->freeMemoryIfPossible(bytesToFree); in freeMemoryIfPossible()
/external/skia/src/core/
DSkBitmapHeap.h201 size_t freeMemoryIfPossible(size_t bytesToFree);
DSkBitmapHeap.cpp189 size_t SkBitmapHeap::freeMemoryIfPossible(size_t bytesToFree) { in freeMemoryIfPossible() function in SkBitmapHeap
/external/skia/include/utils/
DSkDeferredCanvas.h116 size_t freeMemoryIfPossible(size_t bytesToFree);