This repository was archived by the owner on Feb 25, 2025. It is now read-only.
File tree 1 file changed +2
-2
lines changed
impeller/entity/contents/filters
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 12
12
#include " impeller/entity/contents/content_context.h"
13
13
#include " impeller/entity/texture_fill.frag.h"
14
14
#include " impeller/entity/texture_fill.vert.h"
15
+ #include " impeller/renderer/command.h"
15
16
#include " impeller/renderer/render_pass.h"
17
+ #include " impeller/renderer/texture_mipmap.h"
16
18
#include " impeller/renderer/vertex_buffer_builder.h"
17
19
18
20
namespace impeller {
@@ -87,7 +89,6 @@ fml::StatusOr<RenderTarget> MakeDownsampleSubpass(
87
89
pass.SetCommandLabel (" Gaussian blur downsample" );
88
90
auto pipeline_options = OptionsFromPass (pass);
89
91
pipeline_options.primitive_type = PrimitiveType::kTriangleStrip ;
90
- pipeline_options.blend_mode = BlendMode::kSource ;
91
92
pass.SetPipeline (renderer.GetTexturePipeline (pipeline_options));
92
93
93
94
TextureFillVertexShader::FrameInfo frame_info;
@@ -149,7 +150,6 @@ fml::StatusOr<RenderTarget> MakeBlurSubpass(
149
150
150
151
ContentContextOptions options = OptionsFromPass (pass);
151
152
options.primitive_type = PrimitiveType::kTriangleStrip ;
152
- options.blend_mode = BlendMode::kSource ;
153
153
154
154
if (tile_mode == Entity::TileMode::kDecal &&
155
155
!renderer.GetDeviceCapabilities ()
You can’t perform that action at this time.
0 commit comments