Flutter Impeller
allocation.h File Reference
#include <cstdint>
#include <memory>
#include "flutter/fml/mapping.h"
#include "impeller/base/allocation_size.h"

Go to the source code of this file.

Classes

class  impeller::Allocation
 Describes an allocation on the heap. More...
 

Namespaces

 impeller
 

Functions

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