blob: b4767fd24eb97fcb729c05da24658da9b7742e90 [file] [log] [blame]
/*
* Copyright 2022 Google LLC
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#ifndef skgpu_graphite_render_CoverBoundsRenderStep_DEFINED
#define skgpu_graphite_render_CoverBoundsRenderStep_DEFINED
#include "src/gpu/graphite/Renderer.h"
namespace skgpu::graphite {
class CoverBoundsRenderStep final : public RenderStep {
public:
CoverBoundsRenderStep(const char* tag, DepthStencilSettings dsSettings);
~CoverBoundsRenderStep() override;
std::string vertexSkSL() const override;
void writeVertices(DrawWriter*, const DrawParams&, skvx::uint2 ssboIndices) const override;
void writeUniformsAndTextures(const DrawParams&, PipelineDataGatherer*) const override;
private:
};
} // namespace skgpu::graphite
#endif // skgpu_render_CoverBoundsRenderStep_DEFINED