HomeSort by relevance Sort by last modified time
    Searched refs:SkRecord (Results 1 - 24 of 24) sorted by null

  /external/skia/src/core/
SkRecordOpts.h 11 #include "SkRecord.h"
14 void SkRecordOptimize(SkRecord*);
17 void SkRecordNoopSaveRestores(SkRecord*);
22 void SkRecordNoopSaveLayerDrawRestores(SkRecord*);
27 void SkRecordMergeSvgOpacityAndFilterLayers(SkRecord*);
30 void SkRecordOptimize2(SkRecord*);
SkRecord.cpp 8 #include "SkRecord.h"
11 SkRecord::~SkRecord() {
18 void SkRecord::grow() {
25 size_t SkRecord::bytesUsed() const {
26 size_t bytes = fAlloc.approxBytesAllocated() + sizeof(SkRecord);
27 // If fReserved <= kInlineRecords, we've already accounted for fRecords with sizeof(SkRecord).
35 void SkRecord::defrag() {
SkBigPicture.h 18 class SkRecord;
37 SkRecord*, // We take ownership of the caller's ref.
58 const SkRecord* record() const { return fRecord.get(); }
62 void init(const SkRecord&);
79 sk_sp<const SkRecord> fRecord;
SkRecordDraw.h 15 #include "SkRecord.h"
21 void SkRecordFillBounds(const SkRect& cullRect, const SkRecord&, SkRect bounds[]);
26 void SkRecordComputeLayers(const SkRect& cullRect, const SkRecord&, SkRect bounds[],
29 // Draw an SkRecord into an SkCanvas. A convenience wrapper around SkRecords::Draw.
30 void SkRecordDraw(const SkRecord&, SkCanvas*, SkPicture const* const drawablePicts[],
34 // Draw a portion of an SkRecord into an SkCanvas.
35 // When drawing a portion of an SkRecord the CTM on the passed in canvas must be
39 void SkRecordPartialDraw(const SkRecord&, SkCanvas*,
45 // This is an SkRecord visitor that will draw that SkRecord to an SkCanvas
    [all...]
SkRecordOpts.cpp 21 // Run a pattern-based optimization once across the SkRecord, returning true if it made any changes.
25 static bool apply(Pass* pass, SkRecord* record) {
38 static void multiple_set_matrices(SkRecord* record) {
45 bool onMatch(SkRecord* record, Match* pattern, int begin, int end) {
56 static void apply_matrix_to_draw_params(SkRecord* record) {
63 bool onMatch(SkRecord* record, Pattern* pattern, int begin, int end) {
82 bool onMatch(SkRecord* record, Match*, int begin, int end) {
159 bool onMatch(SkRecord* record, Match*, int begin, int end) {
167 void SkRecordNoopSaveRestores(SkRecord* record) {
190 bool onMatch(SkRecord* record, Match* match, int begin, int end)
    [all...]
SkRecordedDrawable.h 12 #include "SkRecord.h"
17 SkRecordedDrawable(sk_sp<SkRecord> record, sk_sp<SkBBoxHierarchy> bbh,
39 sk_sp<SkRecord> fRecord;
SkRecordPattern.h 11 #include "SkRecord.h"
16 // First, some matchers. These match a single command in the SkRecord,
115 int match(SkRecord*, int i) { return i; }
121 // If this pattern matches the SkRecord starting from i,
123 SK_ALWAYS_INLINE int match(SkRecord* record, int i) {
128 // Starting from *end, walk through the SkRecord to find the first span matching this pattern.
130 SK_ALWAYS_INLINE bool search(SkRecord* record, int* begin, int* end) {
149 int matchFirst(T* first, SkRecord* record, int i) {
160 int matchFirst(Greedy<T>* first, SkRecord* record, int i) {
SkRecord.h 16 // SkRecord represents a sequence of SkCanvas calls, saved for future use.
20 // work with SkRecord, you probably want to look at SkRecorder which presents an SkCanvas interface
21 // for creating an SkRecord, and SkRecordDraw which plays an SkRecord back into another SkCanvas.
23 // SkRecord often looks like it's compatible with any type T, but really it's compatible with any
24 // type T which has a static const SkRecords::Type kType. That is to say, SkRecord is compatible
28 class SkRecord : public SkNVRefCnt<SkRecord> {
35 SkRecord()
40 ~SkRecord();
    [all...]
SkBigPicture.cpp 11 #include "SkRecord.h"
16 SkRecord* record,
79 void SkBigPicture::Analysis::init(const SkRecord& record) {
SkRecorder.h 14 #include "SkRecord.h"
37 // SkRecorder provides an SkCanvas interface for recording into an SkRecord.
41 // Does not take ownership of the SkRecord.
42 SkRecorder(SkRecord*, int width, int height, SkMiniRecorder* = nullptr); // legacy version
43 SkRecorder(SkRecord*, const SkRect& bounds, SkMiniRecorder* = nullptr);
46 void reset(SkRecord*, const SkRect& bounds, DrawPictureMode, SkMiniRecorder* = nullptr);
53 // Make SkRecorder forget entirely about its SkRecord*; all calls to SkRecorder will fail.
165 SkRecord* fRecord;
SkPictureRecorder.cpp 12 #include "SkRecord.h"
40 fRecord.reset(new SkRecord);
SkRecorder.cpp 38 SkRecorder::SkRecorder(SkRecord* record, int width, int height, SkMiniRecorder* mr)
45 SkRecorder::SkRecorder(SkRecord* record, const SkRect& bounds, SkMiniRecorder* mr)
52 void SkRecorder::reset(SkRecord* record, const SkRect& bounds,
SkRecordDraw.cpp 11 void SkRecordDraw(const SkRecord& record,
22 // The SkRecord and BBH were recorded in identity space. This canvas
56 void SkRecordPartialDraw(const SkRecord& record, SkCanvas* canvas,
152 // This is an SkRecord visitor that fills an SkBBoxHierarchy.
172 FillBounds(const SkRect& cullRect, const SkRecord& record, SkRect bounds[])
602 // Conservative identity-space bounds for each op in the SkRecord.
605 // We walk fCurrentOp through the SkRecord, as we go using updateCTM()
619 void SkRecordFillBounds(const SkRect& cullRect, const SkRecord& record, SkRect bounds[]) {
  /external/skia/tools/
DumpRecord.h 10 class SkRecord;
20 void DumpRecord(const SkRecord& record,
dump_record.cpp 28 static void dump(const char* name, int w, int h, const SkRecord& record) {
68 SkRecord record;
DumpRecord.cpp 10 #include "SkRecord.h"
69 const SkRecord& record = *bp->record();
136 void DumpRecord(const SkRecord& record,
  /external/skia/tests/
RecordTestUtils.h 11 #include "SkRecord.h"
31 static const T* assert_type(skiatest::Reporter* r, const SkRecord& record, int index) {
44 template <typename DrawT> int count_instances_of_type(const SkRecord& record) {
53 template <typename DrawT> int find_first_instances_of_type(const SkRecord& record) {
RecordTest.cpp 11 #include "SkRecord.h"
30 void apply(const SkRecord& record) {
48 void apply(SkRecord* record) {
57 // Basic tests for the low-level SkRecord code.
59 SkRecord record;
81 SkRecord record;
107 SkRecord record;
RecorderTest.cpp 11 #include "SkRecord.h"
32 void apply(const SkRecord& record) {
43 SkRecord record;
65 SkRecord record;
82 SkRecord record;
97 SkRecord record;
RecordDrawTest.cpp 14 #include "SkRecord.h"
34 SkRecord record;
61 SkRecord record;
66 SkRecord rerecord;
77 SkRecord record;
82 SkRecord rerecord;
92 // Set up an SkRecord that just scales by 2x,3x.
93 SkRecord scaleRecord;
99 // Set up an SkRecord with an initial +20, +20 translate.
100 SkRecord translateRecord
    [all...]
RecordPatternTest.cpp 10 #include "SkRecord.h"
24 SkRecord record;
46 SkRecord record;
69 SkRecord record;
83 SkRecord record;
107 SkRecord record;
147 SkRecord record;
RecordOptsTest.cpp 13 #include "SkRecord.h"
24 SkRecord record;
39 SkRecord record;
53 SkRecord record;
76 SkRecord record;
106 SkRecord* record,
120 SkRecord* record,
134 SkRecord record;
201 SkRecord* record,
215 SkRecord record
    [all...]
  /external/skia/include/core/
SkPictureRecorder.h 26 class SkRecord;
119 sk_sp<SkRecord> fRecord;
  /external/skia/dm/
DMSrcSink.cpp     [all...]

Completed in 433 milliseconds