Flutter Engine
 
Loading...
Searching...
No Matches
allocation.cc File Reference
#include "impeller/base/allocation.h"
#include <algorithm>
#include <cstring>
#include "impeller/base/validation.h"

Go to the source code of this file.

Namespaces

namespace  impeller
 

Functions

std::shared_ptr< fml::Mappingimpeller::CreateMappingWithCopy (const uint8_t *contents, Bytes length)
 Creates a mapping with copy of the bytes.
 
std::shared_ptr< fml::Mappingimpeller::CreateMappingFromAllocation (const std::shared_ptr< Allocation > &allocation)
 Creates a mapping from allocation.
 
std::shared_ptr< fml::Mappingimpeller::CreateMappingWithString (std::string string)
 Creates a mapping with string data.