Flutter Engine
The Flutter Engine
Namespaces | Functions
context_mtl.mm File Reference
#include "impeller/renderer/backend/metal/context_mtl.h"
#include <memory>
#include "flutter/fml/concurrent_message_loop.h"
#include "flutter/fml/file.h"
#include "flutter/fml/logging.h"
#include "flutter/fml/paths.h"
#include "flutter/fml/synchronization/sync_switch.h"
#include "impeller/core/formats.h"
#include "impeller/core/sampler_descriptor.h"
#include "impeller/renderer/backend/metal/gpu_tracer_mtl.h"
#include "impeller/renderer/backend/metal/sampler_library_mtl.h"
#include "impeller/renderer/capabilities.h"

Go to the source code of this file.

Namespaces

namespace  impeller
 

Functions

static bool impeller::DeviceSupportsFramebufferFetch (id< MTLDevice > device)
 
static bool impeller::DeviceSupportsComputeSubgroups (id< MTLDevice > device)
 
static std::unique_ptr< Capabilities > impeller::InferMetalCapabilities (id< MTLDevice > device, PixelFormat color_format)
 
static NSArray< id< MTLLibrary > > * impeller::MTLShaderLibraryFromFilePaths (id< MTLDevice > device, const std::vector< std::string > &libraries_paths)
 
static NSArray< id< MTLLibrary > > * impeller::MTLShaderLibraryFromFileData (id< MTLDevice > device, const std::vector< std::shared_ptr< fml::Mapping > > &libraries_data, const std::string &label)
 
static id< MTLDevice > impeller::CreateMetalDevice ()
 
static id< MTLCommandQueue > impeller::CreateMetalCommandQueue (id< MTLDevice > device)