Flutter Engine
The Flutter Engine
Classes | Namespaces | Enumerations | Functions | Variables
DrawTypes.h File Reference
#include "include/gpu/graphite/GraphiteTypes.h"
#include "src/gpu/graphite/ResourceTypes.h"
#include <array>

Go to the source code of this file.

Classes

struct  skgpu::graphite::DepthStencilSettings
 
struct  skgpu::graphite::DepthStencilSettings::Face
 

Namespaces

namespace  skgpu
 
namespace  skgpu::graphite
 

Enumerations

enum class  skgpu::graphite::PrimitiveType : uint8_t { skgpu::graphite::kTriangles , skgpu::graphite::kTriangleStrip , skgpu::graphite::kPoints }
 
enum class  skgpu::graphite::VertexAttribType : uint8_t {
  skgpu::graphite::kFloat = 0 , skgpu::graphite::kFloat2 , skgpu::graphite::kFloat3 , skgpu::graphite::kFloat4 ,
  skgpu::graphite::kHalf , skgpu::graphite::kHalf2 , skgpu::graphite::kHalf4 , skgpu::graphite::kInt2 ,
  skgpu::graphite::kInt3 , skgpu::graphite::kInt4 , skgpu::graphite::kByte , skgpu::graphite::kByte2 ,
  skgpu::graphite::kByte4 , skgpu::graphite::kUByte , skgpu::graphite::kUByte2 , skgpu::graphite::kUByte4 ,
  skgpu::graphite::kUByte_norm , skgpu::graphite::kUByte4_norm , skgpu::graphite::kShort2 , skgpu::graphite::kShort4 ,
  skgpu::graphite::kUShort2 , skgpu::graphite::kUShort2_norm , skgpu::graphite::kInt , skgpu::graphite::kUInt ,
  skgpu::graphite::kUShort_norm , skgpu::graphite::kUShort4_norm , skgpu::graphite::kLast = kUShort4_norm
}
 
enum class  skgpu::graphite::UniformSlot { skgpu::graphite::kRenderStep , skgpu::graphite::kPaint , skgpu::graphite::kGradient }
 
enum class  skgpu::graphite::CompareOp : uint8_t {
  skgpu::graphite::kAlways , skgpu::graphite::kNever , skgpu::graphite::kGreater , skgpu::graphite::kGEqual ,
  skgpu::graphite::kLess , skgpu::graphite::kLEqual , skgpu::graphite::kEqual , skgpu::graphite::kNotEqual
}
 
enum class  skgpu::graphite::StencilOp : uint8_t {
  skgpu::graphite::kKeep , skgpu::graphite::kZero , skgpu::graphite::kReplace , skgpu::graphite::kInvert ,
  skgpu::graphite::kIncWrap , skgpu::graphite::kDecWrap , skgpu::graphite::kIncClamp , skgpu::graphite::kDecClamp
}
 

Functions

static constexpr size_t skgpu::graphite::VertexAttribTypeSize (VertexAttribType type)
 

Variables

static const int skgpu::graphite::kVertexAttribTypeCount = (int)(VertexAttribType::kLast) + 1
 
static constexpr int skgpu::graphite::kCompareOpCount = 1 + (int)CompareOp::kNotEqual
 
static constexpr int skgpu::graphite::kStencilOpCount = 1 + (int)StencilOp::kDecClamp