chromium/third_party/skia/src/gpu/ganesh/ops/GrDrawOp.h

/*
 * Copyright 2015 Google Inc.
 *
 * Use of this source code is governed by a BSD-style license that can be
 * found in the LICENSE file.
 */

#ifndef GrDrawOp_DEFINED
#define GrDrawOp_DEFINED

#include "include/core/SkTypes.h"
#include "include/private/base/SkMacros.h"
#include "src/gpu/ganesh/GrCaps.h"
#include "src/gpu/ganesh/GrProcessorSet.h"
#include "src/gpu/ganesh/ops/GrOp.h"

#include <cstdint>

class GrAppliedClip;
class GrShape;
class SkMatrix;
enum class GrAA : bool;
enum class GrClampType;
enum class SkClipOp;
namespace skgpu::ganesh { class SurfaceDrawContext; }

/**
 * Base class for GrOps that draw. These ops can draw into an op list's GrRenderTarget.
 */
class GrDrawOp : public GrOp {};

SK_MAKE_BITFIELD_CLASS_OPS(GrDrawOp::FixedFunctionFlags)

#endif