michael@0: /* michael@0: * Copyright 2013 Google Inc. michael@0: * michael@0: * Use of this source code is governed by a BSD-style license that can be michael@0: * found in the LICENSE file. michael@0: */ michael@0: michael@0: #include "SkPurgeableMemoryBlock.h" michael@0: michael@0: bool SkPurgeableMemoryBlock::IsSupported() { michael@0: return false; michael@0: } michael@0: michael@0: #ifdef SK_DEBUG michael@0: bool SkPurgeableMemoryBlock::PlatformSupportsPurgingAllUnpinnedBlocks() { michael@0: return false; michael@0: } michael@0: michael@0: bool SkPurgeableMemoryBlock::PurgeAllUnpinnedBlocks() { michael@0: return false; michael@0: } michael@0: michael@0: bool SkPurgeableMemoryBlock::purge() { michael@0: return false; michael@0: } michael@0: #endif michael@0: michael@0: SkPurgeableMemoryBlock::SkPurgeableMemoryBlock(size_t size) { michael@0: SkASSERT(false); michael@0: } michael@0: michael@0: SkPurgeableMemoryBlock::~SkPurgeableMemoryBlock() { michael@0: } michael@0: michael@0: void* SkPurgeableMemoryBlock::pin(SkPurgeableMemoryBlock::PinResult*) { michael@0: return NULL; michael@0: } michael@0: michael@0: void SkPurgeableMemoryBlock::unpin() { michael@0: }