Flutter Engine
The Flutter Engine
AnalyticBlurRenderStep.h
Go to the documentation of this file.
1/*
2 * Copyright 2024 Google LLC
3 *
4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file.
6 */
7
8#ifndef skgpu_graphite_render_AnalyticBlurRenderStep_DEFINED
9#define skgpu_graphite_render_AnalyticBlurRenderStep_DEFINED
10
12
13namespace skgpu::graphite {
14
15class AnalyticBlurRenderStep final : public RenderStep {
16public:
18 ~AnalyticBlurRenderStep() override = default;
19
20 std::string vertexSkSL() const override;
22 int* nextBindingIndex) const override;
23 const char* fragmentCoverageSkSL() const override;
24
25 void writeVertices(DrawWriter*, const DrawParams&, skvx::ushort2 ssboIndices) const override;
26 void writeUniformsAndTextures(const DrawParams&, PipelineDataGatherer*) const override;
27};
28
29} // namespace skgpu::graphite
30
31#endif // skgpu_render_AnalyticBlurRenderStep_DEFINED
std::string texturesAndSamplersSkSL(const ResourceBindingRequirements &, int *nextBindingIndex) const override
void writeVertices(DrawWriter *, const DrawParams &, skvx::ushort2 ssboIndices) const override
void writeUniformsAndTextures(const DrawParams &, PipelineDataGatherer *) const override
const char * fragmentCoverageSkSL() const override
Definition: SkVx.h:83