Flutter Engine
The Flutter Engine
|
#include <surface_pool.h>
Public Member Functions | |
OverlayLayer (int id, std::unique_ptr< AndroidSurface > android_surface, std::unique_ptr< Surface > surface) | |
~OverlayLayer () | |
Public Attributes | |
const int | id |
const std::unique_ptr< AndroidSurface > | android_surface |
std::unique_ptr< Surface > | surface |
intptr_t | gr_context_key |
An Overlay layer represents an android.view.View
in the C side.
The id
is used to uniquely identify the layer and recycle it between frames.
Definition at line 22 of file surface_pool.h.
flutter::OverlayLayer::OverlayLayer | ( | int | id, |
std::unique_ptr< AndroidSurface > | android_surface, | ||
std::unique_ptr< Surface > | surface | ||
) |
Definition at line 11 of file surface_pool.cc.
|
default |
const std::unique_ptr<AndroidSurface> flutter::OverlayLayer::android_surface |
Definition at line 33 of file surface_pool.h.
intptr_t flutter::OverlayLayer::gr_context_key |
Definition at line 43 of file surface_pool.h.
const int flutter::OverlayLayer::id |
Definition at line 30 of file surface_pool.h.
std::unique_ptr<Surface> flutter::OverlayLayer::surface |
Definition at line 36 of file surface_pool.h.