Flutter Engine
The Flutter Engine
SDFTextLCDRenderStep.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_SDFTextLCDRenderStep_DEFINED
9#define skgpu_graphite_render_SDFTextLCDRenderStep_DEFINED
10
12
13namespace skgpu { enum class MaskFormat; }
14
15namespace skgpu::graphite {
16
17class SDFTextLCDRenderStep final : public RenderStep {
18public:
20
21 ~SDFTextLCDRenderStep() override;
22
23 std::string vertexSkSL() const override;
25 int* nextBindingIndex) const override;
26 const char* fragmentCoverageSkSL() const override;
27
28 void writeVertices(DrawWriter*, const DrawParams&, skvx::ushort2 ssboIndices) const override;
29 void writeUniformsAndTextures(const DrawParams&, PipelineDataGatherer*) const override;
30};
31
32} // namespace skgpu::graphite
33
34#endif // skgpu_graphite_render_SDFTextLCDRenderStep_DEFINED
std::string texturesAndSamplersSkSL(const ResourceBindingRequirements &, int *nextBindingIndex) const override
void writeVertices(DrawWriter *, const DrawParams &, skvx::ushort2 ssboIndices) const override
const char * fragmentCoverageSkSL() const override
void writeUniformsAndTextures(const DrawParams &, PipelineDataGatherer *) const override
std::string vertexSkSL() const override
Definition: GpuTools.h:21
MaskFormat
Definition: AtlasTypes.h:98
Definition: SkVx.h:83