Flutter Engine
The Flutter Engine
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
7namespace flutter {
8
10 AndroidSurface& android_surface)
11 : android_surface_(android_surface) {}
12
13std::unique_ptr<Surface>
15 return android_surface_.CreateSnapshotSurface();
16}
17
18} // namespace flutter
AndroidSnapshotSurfaceProducer(AndroidSurface &android_surface)
std::unique_ptr< Surface > CreateSnapshotSurface() override
virtual std::unique_ptr< Surface > CreateSnapshotSurface()