Flutter Engine
The Flutter Engine
shell
platform
android
surface
snapshot_surface_producer.cc
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
#include "flutter/shell/platform/android/surface/snapshot_surface_producer.h"
6
7
namespace
flutter
{
8
9
AndroidSnapshotSurfaceProducer::AndroidSnapshotSurfaceProducer
(
10
AndroidSurface
& android_surface)
11
: android_surface_(android_surface) {}
12
13
std::unique_ptr<Surface>
14
AndroidSnapshotSurfaceProducer::CreateSnapshotSurface
() {
15
return
android_surface_.
CreateSnapshotSurface
();
16
}
17
18
}
// namespace flutter
flutter::AndroidSnapshotSurfaceProducer::AndroidSnapshotSurfaceProducer
AndroidSnapshotSurfaceProducer(AndroidSurface &android_surface)
Definition:
snapshot_surface_producer.cc:9
flutter::AndroidSnapshotSurfaceProducer::CreateSnapshotSurface
std::unique_ptr< Surface > CreateSnapshotSurface() override
Definition:
snapshot_surface_producer.cc:14
flutter::AndroidSurface
Definition:
android_surface.h:25
flutter::AndroidSurface::CreateSnapshotSurface
virtual std::unique_ptr< Surface > CreateSnapshotSurface()
Definition:
android_surface.cc:14
flutter
Definition:
asset_manager.cc:10
Generated on Sun Jun 23 2024 21:55:10 for Flutter Engine by
1.9.4