Home
last modified time | relevance | path

Searched refs:SkRecord (Results 1 – 25 of 49) sorted by relevance

12

/external/skia/src/core/
DSkRecordOpts.cpp26 static bool apply(Pass* pass, SkRecord* record) { in apply()
39 static void multiple_set_matrices(SkRecord* record) { in multiple_set_matrices()
46 bool onMatch(SkRecord* record, Match* pattern, int begin, int end) { in multiple_set_matrices()
57 static void apply_matrix_to_draw_params(SkRecord* record) {
64 bool onMatch(SkRecord* record, Pattern* pattern, int begin, int end) {
83 bool onMatch(SkRecord* record, Match*, int begin, int end) { in onMatch()
156 bool onMatch(SkRecord* record, Match*, int begin, int end) { in onMatch()
164 void SkRecordNoopSaveRestores(SkRecord* record) { in SkRecordNoopSaveRestores()
187 bool onMatch(SkRecord* record, Match* match, int begin, int end) { in onMatch()
215 static bool KillSaveLayerAndRestore(SkRecord* record, int saveLayerIndex) { in KillSaveLayerAndRestore()
[all …]
DSkRecord.cpp12 SkRecord::~SkRecord() { in ~SkRecord()
19 void SkRecord::grow() { in grow()
25 size_t SkRecord::bytesUsed() const { in bytesUsed()
26 size_t bytes = fApproxBytesAllocated + sizeof(SkRecord); in bytesUsed()
30 void SkRecord::defrag() { in defrag()
DSkRecordOpts.h14 void SkRecordOptimize(SkRecord*);
17 void SkRecordNoopSaveRestores(SkRecord*);
22 void SkRecordNoopSaveLayerDrawRestores(SkRecord*);
27 void SkRecordMergeSvgOpacityAndFilterLayers(SkRecord*);
30 void SkRecordOptimize2(SkRecord*);
DSkRecordDraw.h21 void SkRecordFillBounds(const SkRect& cullRect, const SkRecord&,
27 void SkRecordComputeLayers(const SkRect& cullRect, const SkRecord&, SkRect bounds[],
31 void SkRecordDraw(const SkRecord&, SkCanvas*, SkPicture const* const drawablePicts[],
40 void SkRecordPartialDraw(const SkRecord&, SkCanvas*,
DSkBigPicture.h20 class SkRecord; variable
39 sk_sp<SkRecord>,
59 const SkRecord* record() const { return fRecord.get(); } in record()
67 sk_sp<const SkRecord> fRecord;
DSkRecordPattern.h116 int match(SkRecord*, int i) { return i; }
124 SK_ALWAYS_INLINE int match(SkRecord* record, int i) {
131 SK_ALWAYS_INLINE bool search(SkRecord* record, int* begin, int* end) {
150 int matchFirst(T* first, SkRecord* record, int i) {
161 int matchFirst(Greedy<T>* first, SkRecord* record, int i) {
/external/skqp/src/core/
DSkRecordOpts.cpp26 static bool apply(Pass* pass, SkRecord* record) { in apply()
39 static void multiple_set_matrices(SkRecord* record) { in multiple_set_matrices()
46 bool onMatch(SkRecord* record, Match* pattern, int begin, int end) { in multiple_set_matrices()
57 static void apply_matrix_to_draw_params(SkRecord* record) {
64 bool onMatch(SkRecord* record, Pattern* pattern, int begin, int end) {
83 bool onMatch(SkRecord* record, Match*, int begin, int end) { in onMatch()
159 bool onMatch(SkRecord* record, Match*, int begin, int end) { in onMatch()
167 void SkRecordNoopSaveRestores(SkRecord* record) { in SkRecordNoopSaveRestores()
190 bool onMatch(SkRecord* record, Match* match, int begin, int end) { in onMatch()
224 static bool KillSaveLayerAndRestore(SkRecord* record, int saveLayerIndex) { in KillSaveLayerAndRestore()
[all …]
DSkRecord.cpp12 SkRecord::~SkRecord() { in ~SkRecord()
19 void SkRecord::grow() { in grow()
25 size_t SkRecord::bytesUsed() const { in bytesUsed()
26 size_t bytes = fApproxBytesAllocated + sizeof(SkRecord); in bytesUsed()
30 void SkRecord::defrag() { in defrag()
DSkRecordOpts.h14 void SkRecordOptimize(SkRecord*);
17 void SkRecordNoopSaveRestores(SkRecord*);
22 void SkRecordNoopSaveLayerDrawRestores(SkRecord*);
27 void SkRecordMergeSvgOpacityAndFilterLayers(SkRecord*);
30 void SkRecordOptimize2(SkRecord*);
DSkBigPicture.h19 class SkRecord; variable
38 SkRecord*, // We take ownership of the caller's ref.
58 const SkRecord* record() const { return fRecord.get(); } in record()
66 sk_sp<const SkRecord> fRecord;
DSkRecordDraw.h21 void SkRecordFillBounds(const SkRect& cullRect, const SkRecord&, SkRect bounds[]);
26 void SkRecordComputeLayers(const SkRect& cullRect, const SkRecord&, SkRect bounds[],
30 void SkRecordDraw(const SkRecord&, SkCanvas*, SkPicture const* const drawablePicts[],
39 void SkRecordPartialDraw(const SkRecord&, SkCanvas*,
DSkRecordPattern.h115 int match(SkRecord*, int i) { return i; }
123 SK_ALWAYS_INLINE int match(SkRecord* record, int i) {
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) {
/external/skqp/tests/
DRecordDrawTest.cpp34 SkRecord record; in DEF_TEST()
61 SkRecord record; in DEF_TEST()
66 SkRecord rerecord; in DEF_TEST()
77 SkRecord record; in DEF_TEST()
82 SkRecord rerecord; in DEF_TEST()
93 SkRecord scaleRecord; in DEF_TEST()
100 SkRecord translateRecord; in DEF_TEST()
136 SkRecord record;
162 SkRecord record; in DEF_TEST()
168 SkRecord rerecord; in DEF_TEST()
[all …]
DRecorderTest.cpp32 void apply(const SkRecord& record) { in apply()
43 SkRecord record; in DEF_TEST()
65 SkRecord record; in DEF_TEST()
82 SkRecord record; in DEF_TEST()
97 SkRecord record; in DEF_TEST()
DRecordTest.cpp31 void apply(const SkRecord& record) { in apply()
49 void apply(SkRecord* record) { in apply()
60 SkRecord record; in DEF_TEST()
82 SkRecord record; in DEF_TEST()
108 SkRecord record; in DEF_TEST()
DRecordPatternTest.cpp24 SkRecord record; in DEF_TEST()
46 SkRecord record; in DEF_TEST()
69 SkRecord record; in DEF_TEST()
83 SkRecord record; in DEF_TEST()
107 SkRecord record; in DEF_TEST()
147 SkRecord record; in DEF_TEST()
DRecordTestUtils.h31 static const T* assert_type(skiatest::Reporter* r, const SkRecord& record, int index) { in assert_type()
44 template <typename DrawT> int count_instances_of_type(const SkRecord& record) { in count_instances_of_type()
53 template <typename DrawT> int find_first_instances_of_type(const SkRecord& record) { in find_first_instances_of_type()
DRecordOptsTest.cpp24 SkRecord record; in DEF_TEST()
39 SkRecord record; in DEF_TEST()
53 SkRecord record; in DEF_TEST()
76 SkRecord record; in DEF_TEST()
106 SkRecord* record, in assert_savelayer_restore()
120 SkRecord* record, in assert_savelayer_draw_restore()
134 SkRecord record; in DEF_TEST()
211 SkRecord* record, in assert_merge_svg_opacity_and_filter_layers()
225 SkRecord record; in DEF_TEST()
/external/skia/tests/
DRecordDrawTest.cpp34 SkRecord record; in DEF_TEST()
61 SkRecord record; in DEF_TEST()
66 SkRecord rerecord; in DEF_TEST()
77 SkRecord record; in DEF_TEST()
82 SkRecord rerecord; in DEF_TEST()
93 SkRecord scaleRecord; in DEF_TEST()
100 SkRecord translateRecord; in DEF_TEST()
136 SkRecord record;
162 SkRecord record; in DEF_TEST()
168 SkRecord rerecord; in DEF_TEST()
[all …]
DRecorderTest.cpp32 void apply(const SkRecord& record) { in apply()
43 SkRecord record; in DEF_TEST()
65 SkRecord record; in DEF_TEST()
83 SkRecord record; in DEF_TEST()
98 SkRecord record; in DEF_TEST()
118 SkRecord record; in DEF_TEST()
DRecordTest.cpp31 void apply(const SkRecord& record) { in apply()
49 void apply(SkRecord* record) { in apply()
60 SkRecord record; in DEF_TEST()
82 SkRecord record; in DEF_TEST()
108 SkRecord record; in DEF_TEST()
DRecordPatternTest.cpp24 SkRecord record; in DEF_TEST()
46 SkRecord record; in DEF_TEST()
69 SkRecord record; in DEF_TEST()
83 SkRecord record; in DEF_TEST()
107 SkRecord record; in DEF_TEST()
147 SkRecord record; in DEF_TEST()
DRecordTestUtils.h31 static const T* assert_type(skiatest::Reporter* r, const SkRecord& record, int index) { in assert_type()
44 template <typename DrawT> int count_instances_of_type(const SkRecord& record) { in count_instances_of_type()
53 template <typename DrawT> int find_first_instances_of_type(const SkRecord& record) { in find_first_instances_of_type()
DRecordOptsTest.cpp23 SkRecord record; in DEF_TEST()
38 SkRecord record; in DEF_TEST()
52 SkRecord record; in DEF_TEST()
75 SkRecord record; in DEF_TEST()
105 SkRecord* record, in assert_savelayer_restore()
119 SkRecord* record, in assert_savelayer_draw_restore()
133 SkRecord record; in DEF_TEST()
200 SkRecord* record, in assert_merge_svg_opacity_and_filter_layers()
214 SkRecord record; in DEF_TEST()
/external/skqp/tools/
DDumpRecord.h10 class SkRecord; variable
20 void DumpRecord(const SkRecord& record,

12