Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Namespaces | Functions
lazy_drawable_holder.mm File Reference
#include "impeller/renderer/backend/metal/lazy_drawable_holder.h"
#include <QuartzCore/CAMetalLayer.h>
#include <future>
#include <memory>
#include "flutter/fml/trace_event.h"
#include "impeller/base/validation.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.