/* * Copyright 2016 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #ifndef GrStencilSettings_DEFINED #define GrStencilSettings_DEFINED #include "include/gpu/ganesh/GrTypes.h" #include "include/private/base/SkAssert.h" #include "src/gpu/ganesh/GrUserStencilSettings.h" #include <cstdint> namespace skgpu { class KeyBuilder; } enum class GrStencilTest : uint16_t { … }; static constexpr int kGrStencilTestCount = …; enum class GrStencilOp : uint8_t { … }; static constexpr int kGrStencilOpCount = …; /** * This class defines concrete stencil settings that map directly to the underlying hardware. It * is deduced from user stencil settings, stencil clip status, and the number of bits in the * target stencil buffer. */ class GrStencilSettings { … }; #endif