Home
last modified time | relevance | path

Searched refs:SkMetaData (Results 1 – 25 of 29) sorted by relevance

12

/third_party/skia/tools/
DSkMetaData.cpp13 void SkMetaData::reset() in reset()
24 void SkMetaData::setS32(const char name[], int32_t value) in setS32()
29 void SkMetaData::setScalar(const char name[], SkScalar value) in setScalar()
34 SkScalar* SkMetaData::setScalars(const char name[], int count, const SkScalar values[]) in setScalars()
42 void SkMetaData::setPtr(const char name[], void* ptr) { in setPtr()
46 void SkMetaData::setBool(const char name[], bool value) in setBool()
51 void* SkMetaData::set(const char name[], const void* data, size_t dataSize, Type type, int count) in set()
96 bool SkMetaData::findS32(const char name[], int32_t* value) const in findS32()
109 bool SkMetaData::findScalar(const char name[], SkScalar* value) const in findScalar()
122 const SkScalar* SkMetaData::findScalars(const char name[], int* count, SkScalar values[]) const in findScalars()
[all …]
DSkMetaData.h15 class SkMetaData {
17 SkMetaData() {} in SkMetaData() function
18 ~SkMetaData() { if (fRec) { this->reset(); } } in ~SkMetaData()
72 Iter(const SkMetaData&);
77 void reset(const SkMetaData&);
111 SkMetaData(const SkMetaData&) = delete;
112 SkMetaData& operator=(const SkMetaData&) = delete;
116 SkMetaData::Rec* rec;
117 SkMetaData::Rec* prev;
/third_party/flutter/skia/tools/
DSkMetaData.cpp13 void SkMetaData::reset() in reset()
24 void SkMetaData::setS32(const char name[], int32_t value) in setS32()
29 void SkMetaData::setScalar(const char name[], SkScalar value) in setScalar()
34 SkScalar* SkMetaData::setScalars(const char name[], int count, const SkScalar values[]) in setScalars()
42 void SkMetaData::setPtr(const char name[], void* ptr) { in setPtr()
46 void SkMetaData::setBool(const char name[], bool value) in setBool()
51 void* SkMetaData::set(const char name[], const void* data, size_t dataSize, Type type, int count) in set()
78 bool SkMetaData::findS32(const char name[], int32_t* value) const in findS32()
91 bool SkMetaData::findScalar(const char name[], SkScalar* value) const in findScalar()
104 const SkScalar* SkMetaData::findScalars(const char name[], int* count, SkScalar values[]) const in findScalars()
[all …]
DSkMetaData.h15 class SkMetaData {
17 SkMetaData() {} in SkMetaData() function
18 ~SkMetaData() { if (fRec) { this->reset(); } } in ~SkMetaData()
72 Iter(const SkMetaData&);
77 void reset(const SkMetaData&);
111 SkMetaData(const SkMetaData&) = delete;
112 SkMetaData& operator=(const SkMetaData&) = delete;
/third_party/skia/tests/
DMetaDataTest.cpp13 SkMetaData m1; in DEF_TEST()
36 SkMetaData::Iter iter(m1); in DEF_TEST()
41 SkMetaData::Type fType; in DEF_TEST()
44 { "int", SkMetaData::kS32_Type, 1 }, in DEF_TEST()
45 { "scalar", SkMetaData::kScalar_Type, 1 }, in DEF_TEST()
46 { "ptr", SkMetaData::kPtr_Type, 1 }, in DEF_TEST()
47 { "true", SkMetaData::kBool_Type, 1 }, in DEF_TEST()
48 { "false", SkMetaData::kBool_Type, 1 } in DEF_TEST()
53 SkMetaData::Type t; in DEF_TEST()
/third_party/flutter/skia/tests/
DMetaDataTest.cpp13 SkMetaData m1; in DEF_TEST()
36 SkMetaData::Iter iter(m1); in DEF_TEST()
41 SkMetaData::Type fType; in DEF_TEST()
44 { "int", SkMetaData::kS32_Type, 1 }, in DEF_TEST()
45 { "scalar", SkMetaData::kScalar_Type, 1 }, in DEF_TEST()
46 { "ptr", SkMetaData::kPtr_Type, 1 }, in DEF_TEST()
47 { "true", SkMetaData::kBool_Type, 1 }, in DEF_TEST()
48 { "false", SkMetaData::kBool_Type, 1 } in DEF_TEST()
53 SkMetaData::Type t; in DEF_TEST()
/third_party/flutter/skia/tools/viewer/
DSlide.h17 class SkMetaData; variable
35 virtual bool onGetControls(SkMetaData*) { return false; } in onGetControls() argument
36 virtual void onSetControls(const SkMetaData&) {} in onSetControls() argument
DGMSlide.h26 bool onGetControls(SkMetaData*) override;
27 void onSetControls(const SkMetaData&) override;
DGMSlide.cpp34 bool GMSlide::onGetControls(SkMetaData* controls) { in onGetControls()
38 void GMSlide::onSetControls(const SkMetaData& controls) { in onSetControls()
DViewer.cpp1870 SkMetaData controls; in drawImGui()
1873 SkMetaData::Iter iter(controls); in drawImGui()
1875 SkMetaData::Type type; in drawImGui()
1878 if (type == SkMetaData::kScalar_Type) { in drawImGui()
1885 } else if (type == SkMetaData::kBool_Type) { in drawImGui()
/third_party/skia/tools/viewer/
DSlide.h17 class SkMetaData; variable
34 virtual bool onGetControls(SkMetaData*) { return false; } in onGetControls() argument
35 virtual void onSetControls(const SkMetaData&) {} in onSetControls() argument
DGMSlide.h27 bool onGetControls(SkMetaData*) override;
28 void onSetControls(const SkMetaData&) override;
DGMSlide.cpp47 bool GMSlide::onGetControls(SkMetaData* controls) { in onGetControls()
51 void GMSlide::onSetControls(const SkMetaData& controls) { in onSetControls()
DViewer.cpp2341 SkMetaData controls; in drawImGui()
2344 SkMetaData::Iter iter(controls); in drawImGui()
2346 SkMetaData::Type type; in drawImGui()
2349 if (type == SkMetaData::kScalar_Type) { in drawImGui()
2356 } else if (type == SkMetaData::kBool_Type) { in drawImGui()
/third_party/flutter/skia/gm/
Dgm.h24 class SkMetaData; variable
151 bool getControls(SkMetaData* controls) { return this->onGetControls(controls); } in getControls()
152 void setControls(const SkMetaData& controls) { this->onSetControls(controls); } in setControls()
165 virtual bool onGetControls(SkMetaData*);
166 virtual void onSetControls(const SkMetaData&);
Dgm.cpp153 bool GM::onGetControls(SkMetaData*) { return false; } in onGetControls() argument
155 void GM::onSetControls(const SkMetaData&) {} in onSetControls() argument
Dfontmgr.cpp216 bool onGetControls(SkMetaData* controls) override { in onGetControls()
221 void onSetControls(const SkMetaData& controls) override { in onSetControls()
/third_party/skia/gm/
Dgm.h25 class SkMetaData; variable
159 bool getControls(SkMetaData* controls) { return this->onGetControls(controls); } in getControls()
160 void setControls(const SkMetaData& controls) { this->onSetControls(controls); } in setControls()
178 virtual bool onGetControls(SkMetaData*);
179 virtual void onSetControls(const SkMetaData&);
Dgm.cpp174 bool GM::onGetControls(SkMetaData*) { return false; } in onGetControls() argument
176 void GM::onSetControls(const SkMetaData&) {} in onSetControls() argument
Dfontmgr.cpp217 bool onGetControls(SkMetaData* controls) override { in onGetControls()
222 void onSetControls(const SkMetaData& controls) override { in onSetControls()
/third_party/flutter/skia/modules/skottie/gm/
D3dgm.cpp33 class SkMetaData;
219 bool onGetControls(SkMetaData*) override { return false; } in onGetControls() argument
220 void onSetControls(const SkMetaData&) override { in onSetControls() argument
/third_party/flutter/skia/samplecode/
DSample.h64 SkMetaData fMeta;
/third_party/skia/samplecode/
DSample.h69 SkMetaData fMeta;
/third_party/flutter/skia/
Dpublic.bzl479 "tools/SkMetaData.cpp",
480 "tools/SkMetaData.h",
/third_party/skia/
Dpublic.bzl596 "tools/SkMetaData.cpp",
597 "tools/SkMetaData.h",

12