Flutter Engine
The Flutter Engine
Namespaces | Functions
lazy_drawable_holder.h File Reference
#include <Metal/Metal.h>
#include <future>
#include "impeller/core/texture_descriptor.h"
#include "impeller/renderer/backend/metal/texture_mtl.h"

Go to the source code of this file.

Namespaces

namespace  impeller
 

Functions

std::shared_future< id< CAMetalDrawable > > impeller::GetDrawableDeferred (CAMetalLayer *layer)
 Create a deferred drawable from a CAMetalLayer. More...
 
std::shared_ptr< TextureMTL > impeller::CreateTextureFromDrawableFuture (TextureDescriptor desc, const std::shared_future< id< CAMetalDrawable > > &drawble_future)
 Create a TextureMTL from a deferred drawable. More...