Flutter Engine
The Flutter Engine
Classes | Namespaces | Typedefs | Functions | Variables
AnalyticRRectRenderStep.cpp File Reference
#include "src/gpu/graphite/render/AnalyticRRectRenderStep.h"
#include "src/base/SkVx.h"
#include "src/core/SkRRectPriv.h"
#include "src/gpu/graphite/DrawParams.h"
#include "src/gpu/graphite/DrawWriter.h"
#include "src/gpu/graphite/render/CommonDepthStencilSettings.h"

Go to the source code of this file.

Classes

struct  skgpu::graphite::Vertex
 

Namespaces

namespace  skgpu
 
namespace  skgpu::graphite
 

Typedefs

using skgpu::graphite::AAFlags = EdgeAAQuad::Flags
 

Functions

static skvx::float4 skgpu::graphite::load_x_radii (const SkRRect &rrect)
 
static skvx::float4 skgpu::graphite::load_y_radii (const SkRRect &rrect)
 
static bool skgpu::graphite::opposite_insets_intersect (const SkRRect &rrect, float strokeRadius, float aaRadius)
 
static bool skgpu::graphite::opposite_insets_intersect (const Rect &rect, float strokeRadius, float aaRadius)
 
static bool skgpu::graphite::opposite_insets_intersect (const Geometry &geometry, float strokeRadius, float aaRadius)
 
static bool skgpu::graphite::is_clockwise (const EdgeAAQuad &quad)
 
static skvx::float2 skgpu::graphite::quad_center (const EdgeAAQuad &quad)
 
static void skgpu::graphite::write_index_buffer (VertexWriter writer)
 
static void skgpu::graphite::write_vertex_buffer (VertexWriter writer)
 

Variables

static constexpr float skgpu::graphite::kSolidInterior = 1.f
 
static constexpr float skgpu::graphite::kStrokeInterior = 0.f
 
static constexpr float skgpu::graphite::kFilledStrokeInterior = -1.f
 
static constexpr float skgpu::graphite::kComplexAAInsets = -1.f
 
static constexpr int skgpu::graphite::kCornerVertexCount = 9
 
static constexpr int skgpu::graphite::kVertexCount = 4 * kCornerVertexCount
 
static constexpr int skgpu::graphite::kIndexCount = 69