27 bool meets_hcpp_criteria,
29 std::shared_ptr<PlatformViewAndroidJNI> jni_facade,
30 std::shared_ptr<AndroidSurfaceFactory> surface_factory,
36 std::unique_ptr<flutter::EmbeddedViewParams>
params)
override;
43 int64_t flutter_view_id,
44 GrDirectContext* context,
45 const std::shared_ptr<impeller::AiksContext>& aiks_context,
46 std::unique_ptr<SurfaceFrame> frame)
override;
59 raster_thread_merger)
override;
63 double device_pixel_ratio)
override;
69 void EndFrame(
bool should_resubmit_frame,
71 raster_thread_merger)
override;
80 void EnsureInitialized();
83 const bool meets_hcpp_criteria_;
86 std::shared_ptr<PlatformViewAndroidJNI> jni_facade_;
87 std::shared_ptr<AndroidSurfaceFactory> surface_factory_;
88 std::unique_ptr<AndroidExternalViewEmbedder> non_hcpp_view_embedder_;
89 std::unique_ptr<AndroidExternalViewEmbedder2> hcpp_view_embedder_;
Holds state that is shared across Android surfaces.