Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
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.
 
std::shared_ptr< TextureMTLimpeller::CreateTextureFromDrawableFuture (TextureDescriptor desc, const std::shared_future< id< CAMetalDrawable > > &drawble_future)
 Create a TextureMTL from a deferred drawable.