Flutter Engine
The 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_COMMON_SNAPSHOT_SURFACE_PRODUCER_H_
6#define FLUTTER_SHELL_COMMON_SNAPSHOT_SURFACE_PRODUCER_H_
7
8#include <memory>
9
10#include "flutter/flow/surface.h"
11
12namespace flutter {
13
15 public:
16 virtual ~SnapshotSurfaceProducer() = default;
17
18 virtual std::unique_ptr<Surface> CreateSnapshotSurface() = 0;
19};
20
21} // namespace flutter
22#endif // FLUTTER_SHELL_COMMON_SNAPSHOT_SURFACE_PRODUCER_H_
virtual ~SnapshotSurfaceProducer()=default
virtual std::unique_ptr< Surface > CreateSnapshotSurface()=0