Flutter Engine
Loading...
Searching...
No Matches
backdrop_filter_layer.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_FLOW_LAYERS_BACKDROP_FILTER_LAYER_H_
6
#define FLUTTER_FLOW_LAYERS_BACKDROP_FILTER_LAYER_H_
7
8
#include "
flutter/flow/layers/container_layer.h
"
9
10
namespace
flutter
{
11
12
class
BackdropFilterLayer
:
public
ContainerLayer
{
13
public
:
14
BackdropFilterLayer
(
const
std::shared_ptr<DlImageFilter>& filter,
15
DlBlendMode
blend_mode,
16
std::optional<int64_t> backdrop_id = std::nullopt);
17
18
void
Diff
(
DiffContext
* context,
const
Layer
* old_layer)
override
;
19
20
void
Preroll
(
PrerollContext
* context)
override
;
21
22
void
Paint
(
PaintContext
& context)
const override
;
23
24
private
:
25
std::shared_ptr<DlImageFilter> filter_;
26
DlBlendMode
blend_mode_;
27
std::optional<int64_t> backdrop_id_;
28
29
FML_DISALLOW_COPY_AND_ASSIGN
(
BackdropFilterLayer
);
30
};
31
32
}
// namespace flutter
33
34
#endif
// FLUTTER_FLOW_LAYERS_BACKDROP_FILTER_LAYER_H_
flutter::BackdropFilterLayer
Definition
backdrop_filter_layer.h:12
flutter::BackdropFilterLayer::Preroll
void Preroll(PrerollContext *context) override
Definition
backdrop_filter_layer.cc:43
flutter::BackdropFilterLayer::Diff
void Diff(DiffContext *context, const Layer *old_layer) override
Definition
backdrop_filter_layer.cc:15
flutter::ContainerLayer
Definition
container_layer.h:14
flutter::DiffContext
Definition
diff_context.h:41
flutter::Layer
Definition
layer.h:113
container_layer.h
FML_DISALLOW_COPY_AND_ASSIGN
#define FML_DISALLOW_COPY_AND_ASSIGN(TypeName)
Definition
macros.h:27
flutter
Definition
asset_manager.cc:10
impeller::BlendMode
BlendMode
Definition
color.h:58
flutter::PaintContext
Definition
layer.h:78
flutter::PrerollContext
Definition
layer.h:45
impeller::Paint
Definition
paint.h:27
flow
layers
backdrop_filter_layer.h
Generated on Wed Nov 5 2025 21:33:11 for Flutter Engine by
1.9.8