Flutter Engine
The Flutter Engine
third_party
skia
src
ports
SkDiscardableMemory_none.cpp
Go to the documentation of this file.
1
/*
2
* Copyright 2013 Google Inc.
3
*
4
* Use of this source code is governed by a BSD-style license that can be
5
* found in the LICENSE file.
6
*/
7
8
#include "
include/core/SkTypes.h
"
9
#include "
include/private/chromium/SkDiscardableMemory.h
"
10
#include "
src/lazy/SkDiscardableMemoryPool.h
"
11
12
SkDiscardableMemory
*
SkDiscardableMemory::Create
(
size_t
bytes) {
13
return
SkGetGlobalDiscardableMemoryPool
()->
create
(bytes);
14
}
SkGetGlobalDiscardableMemoryPool
SkDiscardableMemoryPool * SkGetGlobalDiscardableMemoryPool()
Definition:
SkDiscardableMemoryPool.cpp:237
SkDiscardableMemoryPool.h
SkDiscardableMemory.h
SkTypes.h
SkDiscardableMemory::Factory::create
virtual SkDiscardableMemory * create(size_t bytes)=0
SkDiscardableMemory
Definition:
SkDiscardableMemory.h:18
SkDiscardableMemory::Create
static SkDiscardableMemory * Create(size_t bytes)
Definition:
SkDiscardableMemory_none.cpp:12
Generated on Sun Jun 23 2024 21:56:31 for Flutter Engine by
1.9.4