Flutter Engine
The Flutter Engine
Classes | Namespaces | Macros | Functions
PatchWriter.h File Reference
#include "include/core/SkAlphaType.h"
#include "include/core/SkScalar.h"
#include "include/core/SkTypes.h"
#include "include/private/SkColorData.h"
#include "include/private/base/SkDebug.h"
#include "include/private/base/SkFloatingPoint.h"
#include "include/private/base/SkPoint_impl.h"
#include "include/private/base/SkTemplates.h"
#include "src/base/SkUtils.h"
#include "src/base/SkVx.h"
#include "src/gpu/BufferWriter.h"
#include "src/gpu/tessellate/LinearTolerances.h"
#include "src/gpu/tessellate/MiddleOutPolygonTriangulator.h"
#include "src/gpu/tessellate/Tessellation.h"
#include "src/gpu/tessellate/WangsFormula.h"
#include <algorithm>
#include <cstdint>
#include <cstring>
#include <math.h>
#include <tuple>
#include <type_traits>
#include <utility>
#include <variant>

Go to the source code of this file.

Classes

struct  skgpu::tess::Required< A >
 
struct  skgpu::tess::Optional< A >
 
struct  skgpu::tess::TrackJoinControlPoints
 
struct  skgpu::tess::AddTrianglesWhenChopping
 
struct  skgpu::tess::DiscardFlatCurves
 
struct  skgpu::tess::ReplicateLineEndPoints
 
struct  skgpu::tess::AttribValue< A, T, Required, Optional >
 
struct  skgpu::tess::PatchStorage< Stride >
 
struct  skgpu::tess::NullTriangulator
 
class  skgpu::tess::PatchWriter< PatchAllocator, Traits >
 

Namespaces

namespace  skgpu
 
namespace  skgpu::tess
 

Macros

#define AI   SK_ALWAYS_INLINE
 
#define ENABLE_IF(cond)   template <typename Void=void> std::enable_if_t<cond, Void>
 
#define DEF_ATTRIB_TYPE(name, A, T)
 

Functions

template<PatchAttribs A, typename T , bool Required, bool Optional>
VertexWriter & skgpu::tess::operator<< (VertexWriter &w, const AttribValue< A, T, Required, Optional > &v)
 

Macro Definition Documentation

◆ AI

#define AI   SK_ALWAYS_INLINE

Definition at line 203 of file PatchWriter.h.

◆ DEF_ATTRIB_TYPE

#define DEF_ATTRIB_TYPE (   name,
  A,
  T 
)
Value:
static constexpr bool kRequire##name = req_attrib<A>::value; \
static constexpr bool kOptional##name = opt_attrib<A>::value; \
using name = attrib_t<A, T, kRequire##name, kOptional##name>
uint8_t value
DEF_SWITCHES_START aot vmservice shared library name
Definition: switches.h:32

Definition at line 226 of file PatchWriter.h.

◆ ENABLE_IF

#define ENABLE_IF (   cond)    template <typename Void=void> std::enable_if_t<cond, Void>

Definition at line 204 of file PatchWriter.h.