Flutter Engine
Loading...
Searching...
No Matches
snapshot_surface_producer.h
Go to the documentation of this file.
1
// Copyright 2013 The Flutter Authors. All rights reserved.
2
// Use of this source code is governed by a BSD-style license that can be
3
// found in the LICENSE file.
4
5
#ifndef FLUTTER_SHELL_PLATFORM_ANDROID_SURFACE_SNAPSHOT_SURFACE_PRODUCER_H_
6
#define FLUTTER_SHELL_PLATFORM_ANDROID_SURFACE_SNAPSHOT_SURFACE_PRODUCER_H_
7
8
#include "
flutter/flow/surface.h
"
9
#include "
flutter/shell/common/snapshot_surface_producer.h
"
10
#include "
flutter/shell/platform/android/surface/android_surface.h
"
11
12
namespace
flutter
{
13
14
class
AndroidSnapshotSurfaceProducer
:
public
SnapshotSurfaceProducer
{
15
public
:
16
explicit
AndroidSnapshotSurfaceProducer
(
AndroidSurface
& android_surface);
17
18
// |SnapshotSurfaceProducer|
19
std::unique_ptr<Surface>
CreateSnapshotSurface
()
override
;
20
21
private
:
22
AndroidSurface
& android_surface_;
23
};
24
25
}
// namespace flutter
26
#endif
// FLUTTER_SHELL_PLATFORM_ANDROID_SURFACE_SNAPSHOT_SURFACE_PRODUCER_H_
android_surface.h
flutter::AndroidSnapshotSurfaceProducer
Definition
snapshot_surface_producer.h:14
flutter::AndroidSnapshotSurfaceProducer::CreateSnapshotSurface
std::unique_ptr< Surface > CreateSnapshotSurface() override
Definition
snapshot_surface_producer.cc:14
flutter::AndroidSurface
Definition
android_surface.h:24
flutter::SnapshotSurfaceProducer
Definition
snapshot_surface_producer.h:14
snapshot_surface_producer.h
surface.h
flutter
Definition
asset_manager.cc:10
shell
platform
android
surface
snapshot_surface_producer.h
Generated on Thu Nov 6 2025 16:11:25 for Flutter Engine by
1.9.8