Flutter Engine
The Flutter Engine
Classes | Namespaces | Functions
surface_mtl.mm File Reference
#include "impeller/renderer/backend/metal/surface_mtl.h"
#include "flutter/fml/trace_event.h"
#include "flutter/impeller/renderer/command_buffer.h"
#include "impeller/base/validation.h"
#include "impeller/core/texture_descriptor.h"
#include "impeller/renderer/backend/metal/context_mtl.h"
#include "impeller/renderer/backend/metal/formats_mtl.h"
#include "impeller/renderer/backend/metal/texture_mtl.h"
#include "impeller/renderer/render_target.h"

Go to the source code of this file.

Classes

protocol  <FlutterMetalDrawable>
 

Namespaces

namespace  impeller
 

Functions

static std::optional< RenderTarget > impeller::WrapTextureWithRenderTarget (Allocator &allocator, id< MTLTexture > texture, bool requires_blit, std::optional< IRect > clip_rect)