Flutter Engine
flutter_runner::ScopedFrame Class Referencefinal
Inheritance diagram for flutter_runner::ScopedFrame:
flutter::CompositorContext::ScopedFrame

Public Member Functions

 ScopedFrame (CompositorContext &context, GrDirectContext *gr_context, SkCanvas *canvas, flutter::ExternalViewEmbedder *view_embedder, const SkMatrix &root_surface_transformation, bool instrumentation_enabled, bool surface_supports_readback, fml::RefPtr< fml::RasterThreadMerger > raster_thread_merger, SessionConnection &session_connection, VulkanSurfaceProducer &surface_producer, std::shared_ptr< flutter::SceneUpdateContext > scene_update_context)
 
- Public Member Functions inherited from flutter::CompositorContext::ScopedFrame
 ScopedFrame (CompositorContext &context, GrDirectContext *gr_context, SkCanvas *canvas, ExternalViewEmbedder *view_embedder, const SkMatrix &root_surface_transformation, bool instrumentation_enabled, bool surface_supports_readback, fml::RefPtr< fml::RasterThreadMerger > raster_thread_merger)
 
virtual ~ScopedFrame ()
 
SkCanvas * canvas ()
 
ExternalViewEmbedderview_embedder ()
 
CompositorContextcontext () const
 
const SkMatrix & root_surface_transformation () const
 
bool surface_supports_readback ()
 
GrDirectContext * gr_context () const
 

Detailed Description

Definition at line 14 of file compositor_context.cc.

Constructor & Destructor Documentation

◆ ScopedFrame()

flutter_runner::ScopedFrame::ScopedFrame ( CompositorContext context,
GrDirectContext *  gr_context,
SkCanvas *  canvas,
flutter::ExternalViewEmbedder view_embedder,
const SkMatrix &  root_surface_transformation,
bool  instrumentation_enabled,
bool  surface_supports_readback,
fml::RefPtr< fml::RasterThreadMerger raster_thread_merger,
SessionConnection session_connection,
VulkanSurfaceProducer surface_producer,
std::shared_ptr< flutter::SceneUpdateContext scene_update_context 
)
inline

Definition at line 16 of file compositor_context.cc.

References flutter::CompositorContext::ScopedFrame::canvas(), flutter::CompositorContext::ScopedFrame::context(), flutter::LayerTree::device_pixel_ratio(), FML_LOG, flutter::CompositorContext::ScopedFrame::gr_context(), flutter::kSuccess, flutter_runner::VulkanSurfaceProducer::OnSurfacesPresented(), flutter::Layer::Paint(), flutter::LayerTree::Preroll(), flutter_runner::SessionConnection::Present(), flutter_runner::VulkanSurfaceProducer::ProduceSurface(), flutter::CompositorContext::raster_cache(), flutter::CompositorContext::raster_time(), flutter::CompositorContext::texture_registry(), TRACE_EVENT0, and flutter::CompositorContext::ui_time().

28  surface_producer.gr_context(),
29  canvas,
32  instrumentation_enabled,
34  raster_thread_merger),
35  session_connection_(session_connection),
36  surface_producer_(surface_producer),
37  scene_update_context_(scene_update_context) {}
const SkMatrix & root_surface_transformation() const

The documentation for this class was generated from the following file: