Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Public Member Functions | List of all members
flutter::AndroidSnapshotSurfaceProducer Class Reference

#include <snapshot_surface_producer.h>

Inheritance diagram for flutter::AndroidSnapshotSurfaceProducer:
flutter::SnapshotSurfaceProducer

Public Member Functions

 AndroidSnapshotSurfaceProducer (AndroidSurface &android_surface)
 
std::unique_ptr< SurfaceCreateSnapshotSurface () override
 
- Public Member Functions inherited from flutter::SnapshotSurfaceProducer
virtual ~SnapshotSurfaceProducer ()=default
 

Detailed Description

Definition at line 14 of file snapshot_surface_producer.h.

Constructor & Destructor Documentation

◆ AndroidSnapshotSurfaceProducer()

flutter::AndroidSnapshotSurfaceProducer::AndroidSnapshotSurfaceProducer ( AndroidSurface android_surface)
explicit

Definition at line 9 of file snapshot_surface_producer.cc.

11 : android_surface_(android_surface) {}

Member Function Documentation

◆ CreateSnapshotSurface()

std::unique_ptr< Surface > flutter::AndroidSnapshotSurfaceProducer::CreateSnapshotSurface ( )
overridevirtual

Implements flutter::SnapshotSurfaceProducer.

Definition at line 14 of file snapshot_surface_producer.cc.

14 {
15 return android_surface_.CreateSnapshotSurface();
16}
virtual std::unique_ptr< Surface > CreateSnapshotSurface()

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