Flutter Engine
The Flutter Engine
Functions | Variables
GrStencilSettings.cpp File Reference
#include "src/gpu/ganesh/GrStencilSettings.h"
#include "include/private/base/SkDebug.h"
#include "src/gpu/KeyBuilder.h"
#include <algorithm>
#include <cstddef>
#include <cstring>

Go to the source code of this file.

Functions

constexpr const GrUserStencilSettings gUnused (GrUserStencilSettings::StaticInit< 0x0000, GrUserStencilTest::kAlwaysIfInClip, 0xffff, GrUserStencilOp::kKeep, GrUserStencilOp::kKeep, 0x0000 >())
 
static constexpr GrUserStencilSettings gZeroStencilClipBit (GrUserStencilSettings::StaticInit< 0x0000, GrUserStencilTest::kAlways, 0xffff, GrUserStencilOp::kZeroClipBit, GrUserStencilOp::kZeroClipBit, 0x0000 >())
 
static constexpr GrUserStencilSettings gSetStencilClipBit (GrUserStencilSettings::StaticInit< 0x0000, GrUserStencilTest::kAlways, 0xffff, GrUserStencilOp::kSetClipBit, GrUserStencilOp::kSetClipBit, 0x0000 >())
 

Variables

static constexpr GrStencilTest gUserStencilTestToRaw [kGrUserStencilTestCount]
 
static constexpr GrStencilOp gUserStencilOpToRaw [kGrUserStencilOpCount]
 

Function Documentation

◆ gSetStencilClipBit()

static constexpr GrUserStencilSettings gSetStencilClipBit ( GrUserStencilSettings::StaticInit< 0x0000, GrUserStencilTest::kAlways, 0xffff, GrUserStencilOp::kSetClipBit, GrUserStencilOp::kSetClipBit, 0x0000 >  ())
staticconstexpr

◆ gUnused()

◆ gZeroStencilClipBit()

static constexpr GrUserStencilSettings gZeroStencilClipBit ( GrUserStencilSettings::StaticInit< 0x0000, GrUserStencilTest::kAlways, 0xffff, GrUserStencilOp::kZeroClipBit, GrUserStencilOp::kZeroClipBit, 0x0000 >  ())
staticconstexpr

Variable Documentation

◆ gUserStencilOpToRaw

constexpr GrStencilOp gUserStencilOpToRaw[kGrUserStencilOpCount]
staticconstexpr

◆ gUserStencilTestToRaw

constexpr GrStencilTest gUserStencilTestToRaw[kGrUserStencilTestCount]
staticconstexpr