Flutter Engine
The Flutter Engine
Classes | Namespaces | Typedefs | Enumerations | Functions | Variables
QuadPerEdgeAA.h File Reference
#include "include/core/SkPoint.h"
#include "include/core/SkPoint3.h"
#include "include/private/gpu/ganesh/GrTypesPriv.h"
#include "src/gpu/BufferWriter.h"
#include "src/gpu/ganesh/GrBuffer.h"
#include "src/gpu/ganesh/GrColor.h"
#include "src/gpu/ganesh/GrGeometryProcessor.h"
#include "src/gpu/ganesh/GrSamplerState.h"
#include "src/gpu/ganesh/geometry/GrQuad.h"
#include "src/gpu/ganesh/geometry/GrQuadUtils.h"
#include "src/gpu/ganesh/ops/TextureOp.h"

Go to the source code of this file.

Classes

struct  skgpu::ganesh::QuadPerEdgeAA::VertexSpec
 
class  skgpu::ganesh::QuadPerEdgeAA::Tessellator
 

Namespaces

namespace  skgpu
 
namespace  skgpu::ganesh
 
namespace  skgpu::ganesh::QuadPerEdgeAA
 

Typedefs

using skgpu::ganesh::QuadPerEdgeAA::Saturate = skgpu::ganesh::TextureOp::Saturate
 

Enumerations

enum class  skgpu::ganesh::QuadPerEdgeAA::CoverageMode { skgpu::ganesh::QuadPerEdgeAA::kNone , skgpu::ganesh::QuadPerEdgeAA::kWithPosition , skgpu::ganesh::QuadPerEdgeAA::kWithColor }
 
enum class  skgpu::ganesh::QuadPerEdgeAA::Subset : bool { skgpu::ganesh::QuadPerEdgeAA::kNo = false , skgpu::ganesh::QuadPerEdgeAA::kYes = true }
 
enum class  skgpu::ganesh::QuadPerEdgeAA::ColorType { skgpu::ganesh::QuadPerEdgeAA::kNone , skgpu::ganesh::QuadPerEdgeAA::kByte , skgpu::ganesh::QuadPerEdgeAA::kFloat , skgpu::ganesh::QuadPerEdgeAA::kLast = kFloat }
 
enum class  skgpu::ganesh::QuadPerEdgeAA::IndexBufferOption { skgpu::ganesh::QuadPerEdgeAA::kPictureFramed , skgpu::ganesh::QuadPerEdgeAA::kIndexedRects , skgpu::ganesh::QuadPerEdgeAA::kTriStrips , skgpu::ganesh::QuadPerEdgeAA::kLast = kTriStrips }
 

Functions

IndexBufferOption skgpu::ganesh::QuadPerEdgeAA::CalcIndexBufferOption (GrAAType aa, int numQuads)
 
ColorType skgpu::ganesh::QuadPerEdgeAA::MinColorType (SkPMColor4f color)
 
GrGeometryProcessorskgpu::ganesh::QuadPerEdgeAA::MakeProcessor (SkArenaAlloc *arena, const VertexSpec &spec)
 
GrGeometryProcessorskgpu::ganesh::QuadPerEdgeAA::MakeTexturedProcessor (SkArenaAlloc *arena, const VertexSpec &spec, const GrShaderCaps &caps, const GrBackendFormat &backendFormat, GrSamplerState samplerState, const skgpu::Swizzle &swizzle, sk_sp< GrColorSpaceXform > textureColorSpaceXform, Saturate saturate)
 
sk_sp< const GrBufferskgpu::ganesh::QuadPerEdgeAA::GetIndexBuffer (GrMeshDrawTarget *target, IndexBufferOption indexBufferOption)
 
int skgpu::ganesh::QuadPerEdgeAA::QuadLimit (IndexBufferOption option)
 
void skgpu::ganesh::QuadPerEdgeAA::IssueDraw (const GrCaps &caps, GrOpsRenderPass *renderPass, const VertexSpec &spec, int runningQuadCount, int quadsInDraw, int maxVerts, int absVertBufferOffset)
 

Variables

static const int skgpu::ganesh::QuadPerEdgeAA::kColorTypeCount = static_cast<int>(ColorType::kLast) + 1
 
static const int skgpu::ganesh::QuadPerEdgeAA::kIndexBufferOptionCount = static_cast<int>(IndexBufferOption::kLast) + 1