This repository was archived by the owner on Feb 25, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed
shell/platform/fuchsia/flutter Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -141,7 +141,8 @@ void FuchsiaExternalViewEmbedder::EndFrame(
141141
142142void FuchsiaExternalViewEmbedder::SubmitFrame (
143143 GrDirectContext* context,
144- std::unique_ptr<flutter::SurfaceFrame> frame) {
144+ std::unique_ptr<flutter::SurfaceFrame> frame,
145+ const std::shared_ptr<fml::SyncSwitch>& gpu_disable_sync_switch) {
145146 TRACE_EVENT0 (" flutter" , " FuchsiaExternalViewEmbedder::SubmitFrame" );
146147 std::vector<std::unique_ptr<SurfaceProducerSurface>> frame_surfaces;
147148 std::unordered_map<EmbedderLayerId, size_t > frame_surface_indices;
Original file line number Diff line number Diff line change @@ -74,8 +74,10 @@ class FuchsiaExternalViewEmbedder final : public flutter::ExternalViewEmbedder {
7474 fml::RefPtr<fml::RasterThreadMerger> raster_thread_merger) override ;
7575
7676 // |ExternalViewEmbedder|
77- void SubmitFrame (GrDirectContext* context,
78- std::unique_ptr<flutter::SurfaceFrame> frame) override ;
77+ void SubmitFrame (
78+ GrDirectContext* context,
79+ std::unique_ptr<flutter::SurfaceFrame> frame,
80+ const std::shared_ptr<fml::SyncSwitch>& gpu_disable_sync_switch) override ;
7981
8082 // |ExternalViewEmbedder|
8183 void CancelFrame () override { Reset (); }
You can’t perform that action at this time.
0 commit comments