Flutter Engine
The Flutter Engine
Namespaces | Functions
allocator_mtl.mm File Reference
#include "impeller/renderer/backend/metal/allocator_mtl.h"
#include "flutter/fml/build_config.h"
#include "flutter/fml/logging.h"
#include "impeller/base/validation.h"
#include "impeller/renderer/backend/metal/device_buffer_mtl.h"
#include "impeller/renderer/backend/metal/formats_mtl.h"
#include "impeller/renderer/backend/metal/texture_mtl.h"

Go to the source code of this file.

Namespaces

namespace  impeller
 

Functions

static bool impeller::DeviceSupportsDeviceTransientTargets (id< MTLDevice > device)
 
static bool impeller::DeviceHasUnifiedMemoryArchitecture (id< MTLDevice > device)
 
static ISize impeller::DeviceMaxTextureSizeSupported (id< MTLDevice > device)
 
static bool impeller::SupportsLossyTextureCompression (id< MTLDevice > device)
 
static MTLResourceOptions impeller::ToMTLResourceOptions (StorageMode type, bool supports_memoryless_targets, bool supports_uma)
 
static MTLStorageMode impeller::ToMTLStorageMode (StorageMode mode, bool supports_memoryless_targets, bool supports_uma)