Flutter Engine
The Flutter Engine
Classes | Namespaces | Macros | Enumerations | Functions | Variables
SkRecords.h File Reference
#include "include/core/SkBlender.h"
#include "include/core/SkCanvas.h"
#include "include/core/SkColor.h"
#include "include/core/SkData.h"
#include "include/core/SkImage.h"
#include "include/core/SkImageFilter.h"
#include "include/core/SkM44.h"
#include "include/core/SkMatrix.h"
#include "include/core/SkMesh.h"
#include "include/core/SkPaint.h"
#include "include/core/SkPath.h"
#include "include/core/SkPicture.h"
#include "include/core/SkRRect.h"
#include "include/core/SkRect.h"
#include "include/core/SkRefCnt.h"
#include "include/core/SkRegion.h"
#include "include/core/SkSamplingOptions.h"
#include "include/core/SkScalar.h"
#include "include/core/SkShader.h"
#include "include/core/SkString.h"
#include "include/core/SkTextBlob.h"
#include "include/core/SkVertices.h"
#include "include/private/base/SkTemplates.h"
#include "include/private/chromium/Slug.h"
#include "src/core/SkDrawShadowInfo.h"
#include <cstdint>

Go to the source code of this file.

Classes

class  SkRecords::Optional< T >
 
class  SkRecords::PODArray< T >
 
struct  SkRecords::PreCachedPath
 
struct  SkRecords::TypedMatrix
 

Namespaces

namespace  SkRecords
 

Macros

#define SK_RECORD_TYPES(M)
 
#define ENUM(T)   T##_Type,
 
#define ACT_AS_PTR(ptr)
 
#define RECORD(T, tags, ...)
 
#define RECORD_TRIVIAL(T, tags)
 

Enumerations

enum  SkRecords::Type { SkRecords::SK_RECORD_TYPES =(ENUM) }
 
enum  SkRecords::Tags { SkRecords::kHasImage_Tag = 2 , SkRecords::kHasText_Tag = 4 , SkRecords::kDrawWithPaint_Tag = kDraw_Tag | kHasPaint_Tag }
 

Functions

 SkRecords::RECORD (Restore, 0, TypedMatrix matrix) RECORD(SaveLayer
 
skia_private::AutoTArray< sk_sp< SkImageFilter > > filters SkRecords::RECORD (SaveBehind, 0, Optional< SkRect > subset) RECORD(SetMatrix
 
skia_private::AutoTArray< sk_sp< SkImageFilter > > filters TypedMatrix matrix SkRecords::RECORD (SetM44, 0, SkM44 matrix) RECORD(Concat
 
skia_private::AutoTArray< sk_sp< SkImageFilter > > filters TypedMatrix matrix TypedMatrix matrix SkRecords::RECORD (Concat44, 0, SkM44 matrix) RECORD(Translate
 
SkScalar dy SkRecords::RECORD (Scale, 0, SkScalar sx;SkScalar sy) struct ClipOpAndAA
 
 SkRecords::RECORD (ClipPath, 0, PreCachedPath path;ClipOpAndAA opAA) RECORD(ClipRRect
 
ClipOpAndAA opAA SkRecords::RECORD (ClipRect, 0, SkRect rect;ClipOpAndAA opAA) RECORD(ClipRegion
 
SkClipOp op SkRecords::RECORD (ClipShader, 0, sk_sp< SkShader > shader;SkClipOp op) RECORD(DrawArc
 
unsigned useCenter SkRecords::RECORD (DrawDRRect, kDraw_Tag|kHasPaint_Tag, SkPaint paint;SkRRect outer;SkRRect inner) RECORD(DrawDrawable
 
int32_t index SkRecords::RECORD (DrawImage, kDraw_Tag|kHasImage_Tag|kHasPaint_Tag, Optional< SkPaint > paint;sk_sp< const SkImage > image;SkScalar left;SkScalar top;SkSamplingOptions sampling) RECORD(DrawImageLattice
 
SkFilterMode filter SkRecords::RECORD (DrawImageRect, kDraw_Tag|kHasImage_Tag|kHasPaint_Tag, Optional< SkPaint > paint;sk_sp< const SkImage > image;SkRect src;SkRect dst;SkSamplingOptions sampling;SkCanvas::SrcRectConstraint constraint) RECORD(DrawOval
 
SkRect oval SkRecords::RECORD (DrawPaint, kDraw_Tag|kHasPaint_Tag, SkPaint paint) RECORD(DrawBehind
 
SkRect oval kDraw_Tag SkPaint paint SkRecords::RECORD (DrawPath, kDraw_Tag|kHasPaint_Tag, SkPaint paint;PreCachedPath path) RECORD(DrawPicture
 
TypedMatrix matrix SkRecords::RECORD (DrawPoints, kDraw_Tag|kHasPaint_Tag|kMultiDraw_Tag, SkPaint paint;SkCanvas::PointMode mode;unsigned count;PODArray< SkPoint > pts) RECORD(DrawRRect
 
SkRRect rrect SkRecords::RECORD (DrawRect, kDraw_Tag|kHasPaint_Tag, SkPaint paint;SkRect rect) RECORD(DrawRegion
 
SkRegion region SkRecords::RECORD (DrawTextBlob, kDraw_Tag|kHasText_Tag|kHasPaint_Tag, SkPaint paint;sk_sp< const SkTextBlob > blob;SkScalar x;SkScalar y) RECORD(DrawSlug
 
sk_sp< const sktext::gpu::Slug > slug SkRecords::RECORD (DrawPatch, kDraw_Tag|kHasPaint_Tag, SkPaint paint;PODArray< SkPoint > cubics;PODArray< SkColor > colors;PODArray< SkPoint > texCoords;SkBlendMode bmode) RECORD(DrawAtlas
 
Optional< SkRect > cull SkRecords::RECORD (DrawVertices, kDraw_Tag|kHasPaint_Tag|kMultiDraw_Tag, SkPaint paint;sk_sp< SkVertices > vertices;SkBlendMode bmode) RECORD(DrawMesh
 
sk_sp< SkBlender > blender SkRecords::RECORD (DrawShadowRec, kDraw_Tag, PreCachedPath path;SkDrawShadowRec rec) RECORD(DrawAnnotation
 
sk_sp< SkData > value SkRecords::RECORD (DrawEdgeAAQuad, kDraw_Tag, SkRect rect;PODArray< SkPoint > clip;SkCanvas::QuadAAFlags aa;SkColor4f color;SkBlendMode mode) RECORD(DrawEdgeAAImageSet
 

Variables

 SkRecords::kHasPaint_Tag = 8
 
Optional< SkRectSkRecords::bounds
 
Optional< SkPaintSkRecords::paint
 
sk_sp< const SkImageFilterSkRecords::backdrop
 
SkCanvas::SaveLayerFlags SkRecords::saveLayerFlags
 
SkScalar SkRecords::backdropScale
 
skia_private::AutoTArray< sk_sp< SkImageFilter > > filters TypedMatrix matrix TypedMatrix matrix SkScalar SkRecords::dx
 
SkRRect SkRecords::rrect
 
ClipOpAndAA opAA SkRegion SkRecords::region
 
SkRect SkRecords::oval
 
SkScalar SkRecords::startAngle
 
SkScalar SkRecords::sweepAngle
 
unsigned useCenter SkRecords::kDraw_Tag = 1
 
unsigned useCenter Optional< SkMatrixSkRecords::matrix
 
SkRect SkRecords::worstCaseBounds
 
sk_sp< const SkImageSkRecords::image
 
int SkRecords::xCount
 
PODArray< intSkRecords::xDivs
 
int SkRecords::yCount
 
PODArray< intSkRecords::yDivs
 
int SkRecords::flagCount
 
PODArray< SkCanvas::Lattice::RectTypeSkRecords::flags
 
PODArray< SkColorSkRecords::colors
 
SkIRect SkRecords::src
 
SkRect SkRecords::dst
 
sk_sp< const SkPictureSkRecords::picture
 
sk_sp< const sktext::gpu::Slug > slug kDraw_Tag kHasImage_Tag kHasPaint_Tag SkRecords::kMultiDraw_Tag = 16
 
sk_sp< const SkImageSkRecords::atlas
 
PODArray< SkRSXformSkRecords::xforms
 
PODArray< SkRectSkRecords::texs
 
int SkRecords::count
 
SkBlendMode SkRecords::mode
 
SkSamplingOptions SkRecords::sampling
 
SkMesh SkRecords::mesh
 
sk_sp< SkBlender > blender SkRect SkRecords::rect
 
SkString SkRecords::key
 
skia_private::AutoTArray< SkCanvas::ImageSetEntrySkRecords::set
 
PODArray< SkPointSkRecords::dstClips
 
PODArray< SkMatrixSkRecords::preViewMatrices
 

Macro Definition Documentation

◆ ACT_AS_PTR

#define ACT_AS_PTR (   ptr)
Value:
operator T*() const { return ptr; } \
T* operator->() const { return ptr; }
#define T
Definition: precompiler.cc:65

Definition at line 106 of file SkRecords.h.

◆ ENUM

#define ENUM (   T)    T##_Type,

Definition at line 102 of file SkRecords.h.

◆ RECORD

#define RECORD (   T,
  tags,
  ... 
)
Value:
struct T { \
static const Type kType = T##_Type; \
static const int kTags = tags; \
__VA_ARGS__; \
};

Definition at line 170 of file SkRecords.h.

◆ RECORD_TRIVIAL

#define RECORD_TRIVIAL (   T,
  tags 
)
Value:
struct T { \
static const Type kType = T##_Type; \
static const int kTags = tags; \
};

Definition at line 177 of file SkRecords.h.

◆ SK_RECORD_TYPES

#define SK_RECORD_TYPES (   M)

Definition at line 56 of file SkRecords.h.