Flutter Engine
The Flutter Engine
|
#include "src/core/SkRecordDraw.h"
#include "include/core/SkBBHFactory.h"
#include "include/core/SkBlendMode.h"
#include "include/core/SkBlender.h"
#include "include/core/SkImage.h"
#include "include/core/SkMatrix.h"
#include "include/core/SkMesh.h"
#include "include/core/SkPaint.h"
#include "include/core/SkRRect.h"
#include "include/core/SkRect.h"
#include "include/core/SkRefCnt.h"
#include "include/core/SkRegion.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/SkAssert.h"
#include "include/private/base/SkPoint_impl.h"
#include "include/private/base/SkTDArray.h"
#include "include/private/base/SkTemplates.h"
#include "include/private/chromium/Slug.h"
#include "src/core/SkCanvasPriv.h"
#include "src/core/SkDrawShadowInfo.h"
#include "src/core/SkImageFilter_Base.h"
#include "src/core/SkRecord.h"
#include "src/core/SkRecords.h"
#include "src/effects/colorfilters/SkColorFilterBase.h"
#include "src/utils/SkPatchUtils.h"
#include <algorithm>
#include <optional>
#include <vector>
Go to the source code of this file.
Classes | |
class | SkRecords::FillBounds |
Namespaces | |
namespace | SkRecords |
Macros | |
#define | DRAW(T, call) template <> void Draw::draw(const T& r) { fCanvas->call; } |
Functions | |
void | SkRecordDraw (const SkRecord &record, SkCanvas *canvas, SkPicture const *const drawablePicts[], SkDrawable *const drawables[], int drawableCount, const SkBBoxHierarchy *bbh, SkPicture::AbortCallback *callback) |
SkRecords::DRAW (SaveLayer, saveLayer(SkCanvasPriv::ScaledBackdropLayer(r.bounds, r.paint, r.backdrop.get(), r.backdropScale, r.saveLayerFlags, SkCanvas::FilterSpan{const_cast< sk_sp< SkImageFilter > * >(r.filters.data()), r.filters.size()}))) template<> void Draw | |
SkRecords::DRAW (SetMatrix, setMatrix(fInitialCTM.asM33() *r.matrix)) DRAW(ClipPath | |
SkRecords::clipPath (r.path, r.opAA.op(), r.opAA.aa())) DRAW(ClipRRect | |
SkRecords::clipRRect (r.rrect, r.opAA.op(), r.opAA.aa())) DRAW(ClipRect | |
SkRecords::clipRect (r.rect, r.opAA.op(), r.opAA.aa())) template<> void Draw | |
SkRecords::DRAW (DrawImage, drawImage(r.image.get(), r.left, r.top, r.sampling, r.paint)) template<> void Draw | |
SkRecords::DRAW (DrawImageRect, drawImageRect(r.image.get(), r.src, r.dst, r.sampling, r.paint, r.constraint)) DRAW(DrawPicture | |
SkRecords::drawPicture (r.picture.get(), &r.matrix, r.paint)) DRAW(DrawTextBlob | |
SkRecords::drawTextBlob (r.blob.get(), r.x, r.y, r.paint)) DRAW(DrawSlug | |
SkRecords::drawSlug (r.slug.get(), r.paint)) DRAW(DrawAtlas | |
SkRecords::drawAtlas (r.atlas.get(), r.xforms, r.texs, r.colors, r.count, r.mode, r.sampling, r.cull, r.paint)) DRAW(DrawAnnotation | |
SkRecords::drawAnnotation (r.rect, r.key.c_str(), r.value.get())) DRAW(DrawEdgeAAQuad | |
SkRecords::experimental_DrawEdgeAAQuad (r.rect, r.clip, r.aa, r.color, r.mode)) DRAW(DrawEdgeAAImageSet | |
SkRecords::experimental_DrawEdgeAAImageSet (r.set.get(), r.count, r.dstClips, r.preViewMatrices, r.sampling, r.paint, r.constraint)) template<> void Draw | |
void | SkRecordFillBounds (const SkRect &cullRect, const SkRecord &record, SkRect bounds[], SkBBoxHierarchy::Metadata meta[]) |
#define DRAW | ( | T, | |
call | |||
) | template <> void Draw::draw(const T& r) { fCanvas->call; } |
Definition at line 95 of file SkRecordDraw.cpp.
void SkRecordDraw | ( | const SkRecord & | record, |
SkCanvas * | canvas, | ||
SkPicture const *const | drawablePicts[], | ||
SkDrawable *const | drawables[], | ||
int | drawableCount, | ||
const SkBBoxHierarchy * | bbh, | ||
SkPicture::AbortCallback * | callback | ||
) |
Definition at line 45 of file SkRecordDraw.cpp.
void SkRecordFillBounds | ( | const SkRect & | cullRect, |
const SkRecord & | record, | ||
SkRect | bounds[], | ||
SkBBoxHierarchy::Metadata | meta[] | ||
) |
Definition at line 577 of file SkRecordDraw.cpp.