Flutter Engine
The Flutter Engine
Classes | Namespaces | Macros | Functions
WangsFormula.h File Reference
#include "include/core/SkM44.h"
#include "include/core/SkMatrix.h"
#include "include/core/SkPoint.h"
#include "include/core/SkTypes.h"
#include "src/base/SkFloatBits.h"
#include "src/base/SkUtils.h"
#include "src/base/SkVx.h"
#include <math.h>
#include <algorithm>
#include <cstdint>
#include <limits>

Go to the source code of this file.

Classes

class  skgpu::wangs_formula::VectorXform
 

Namespaces

namespace  skgpu
 
namespace  skgpu::wangs_formula
 

Macros

#define AI   [[maybe_unused]] SK_ALWAYS_INLINE
 

Functions

template<int Degree>
constexpr float skgpu::wangs_formula::length_term (float precision)
 
template<int Degree>
constexpr float skgpu::wangs_formula::length_term_p2 (float precision)
 
AI float skgpu::wangs_formula::root4 (float x)
 
AI int skgpu::wangs_formula::nextlog2 (float x)
 
AI int skgpu::wangs_formula::nextlog4 (float x)
 
AI int skgpu::wangs_formula::nextlog16 (float x)
 
AI float skgpu::wangs_formula::quadratic_p4 (float precision, skvx::float2 p0, skvx::float2 p1, skvx::float2 p2, const VectorXform &vectorXform=VectorXform())
 
AI float skgpu::wangs_formula::quadratic_p4 (float precision, const SkPoint pts[], const VectorXform &vectorXform=VectorXform())
 
AI float skgpu::wangs_formula::quadratic (float precision, const SkPoint pts[], const VectorXform &vectorXform=VectorXform())
 
AI int skgpu::wangs_formula::quadratic_log2 (float precision, const SkPoint pts[], const VectorXform &vectorXform=VectorXform())
 
AI float skgpu::wangs_formula::cubic_p4 (float precision, skvx::float2 p0, skvx::float2 p1, skvx::float2 p2, skvx::float2 p3, const VectorXform &vectorXform=VectorXform())
 
AI float skgpu::wangs_formula::cubic_p4 (float precision, const SkPoint pts[], const VectorXform &vectorXform=VectorXform())
 
AI float skgpu::wangs_formula::cubic (float precision, const SkPoint pts[], const VectorXform &vectorXform=VectorXform())
 
AI int skgpu::wangs_formula::cubic_log2 (float precision, const SkPoint pts[], const VectorXform &vectorXform=VectorXform())
 
AI float skgpu::wangs_formula::worst_case_cubic_p4 (float precision, float devWidth, float devHeight)
 
AI float skgpu::wangs_formula::worst_case_cubic (float precision, float devWidth, float devHeight)
 
AI int skgpu::wangs_formula::worst_case_cubic_log2 (float precision, float devWidth, float devHeight)
 
AI float skgpu::wangs_formula::conic_p2 (float precision, skvx::float2 p0, skvx::float2 p1, skvx::float2 p2, float w, const VectorXform &vectorXform=VectorXform())
 
AI float skgpu::wangs_formula::conic_p2 (float precision, const SkPoint pts[], float w, const VectorXform &vectorXform=VectorXform())
 
AI float skgpu::wangs_formula::conic (float tolerance, const SkPoint pts[], float w, const VectorXform &vectorXform=VectorXform())
 
AI int skgpu::wangs_formula::conic_log2 (float tolerance, const SkPoint pts[], float w, const VectorXform &vectorXform=VectorXform())
 

Macro Definition Documentation

◆ AI

#define AI   [[maybe_unused]] SK_ALWAYS_INLINE

Definition at line 24 of file WangsFormula.h.