/* * Copyright 2018 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #ifndef FillRectOp_DEFINED #define FillRectOp_DEFINED #include "src/gpu/ganesh/ops/GrOp.h" #include "src/gpu/ganesh/ops/GrSimpleMeshDrawOpHelper.h" #include <cstdint> class GrClip; class GrPaint; class GrRecordingContext; class SkMatrix; enum class GrAAType : unsigned int; struct DrawQuad; struct GrQuadSetEntry; struct GrUserStencilSettings; struct SkRect; namespace skgpu::ganesh { class SurfaceDrawContext; /** * A set of factory functions for drawing filled rectangles either coverage-antialiased, or * non-antialiased. The non-antialiased ops can be used with MSAA. As with other GrDrawOp factories, * the GrPaint is only consumed by these methods if a valid op is returned. If null is returned then * the paint is unmodified and may still be used. */ class FillRectOp { … }; } // namespace skgpu::ganesh #endif // FillRectOp_DEFINED