Home
last modified time | relevance | path

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

/external/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;
DBUILD.bazel19 "SkMetaData.h",
20 "SkMetaData.cpp",
DToolUtils.h334 bool writeControls(SkMetaData* controls);
338 void readControls(const SkMetaData& controls, bool* changed = nullptr);
DToolUtils.cpp649 bool VariationSliders::writeControls(SkMetaData* controls) { in writeControls()
661 void VariationSliders::readControls(const SkMetaData& controls, bool* changed) { in readControls()
/external/skia/tests/
DMetaDataTest.cpp16 SkMetaData m1; in DEF_TEST()
39 SkMetaData::Iter iter(m1); in DEF_TEST()
44 SkMetaData::Type fType; in DEF_TEST()
47 { "int", SkMetaData::kS32_Type, 1 }, in DEF_TEST()
48 { "scalar", SkMetaData::kScalar_Type, 1 }, in DEF_TEST()
49 { "ptr", SkMetaData::kPtr_Type, 1 }, in DEF_TEST()
50 { "true", SkMetaData::kBool_Type, 1 }, in DEF_TEST()
51 { "false", SkMetaData::kBool_Type, 1 } in DEF_TEST()
56 SkMetaData::Type t; in DEF_TEST()
/external/skia/tools/viewer/
DSlide.h18 class SkMetaData; variable
47 virtual bool onGetControls(SkMetaData*) { return false; } in onGetControls() argument
48 virtual void onSetControls(const SkMetaData&) {} in onSetControls() argument
DGMSlide.h27 bool onGetControls(SkMetaData*) override;
28 void onSetControls(const SkMetaData&) override;
DGMSlide.cpp46 bool GMSlide::onGetControls(SkMetaData* controls) { in onGetControls()
50 void GMSlide::onSetControls(const SkMetaData& controls) { in onSetControls()
DClickHandlerSlide.h34 SkMetaData fMeta;
DViewer.cpp2380 SkMetaData controls; in drawImGui()
2383 SkMetaData::Iter iter(controls); in drawImGui()
2385 SkMetaData::Type type; in drawImGui()
2388 if (type == SkMetaData::kScalar_Type) { in drawImGui()
2395 } else if (type == SkMetaData::kBool_Type) { in drawImGui()
/external/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&);
Dfontscalerdistortable.cpp54 bool onGetControls(SkMetaData* controls) override { in onGetControls()
59 void onSetControls(const SkMetaData& controls) override { in onSetControls()
Dgm.cpp176 bool GM::onGetControls(SkMetaData*) { return false; } in onGetControls() argument
178 void GM::onSetControls(const SkMetaData&) {} in onSetControls() argument
Dcolrv1.cpp90 bool onGetControls(SkMetaData* controls) override { in onGetControls()
94 void onSetControls(const SkMetaData& controls) override { in onSetControls()
Dfontmgr.cpp218 bool onGetControls(SkMetaData* controls) override { in onGetControls()
223 void onSetControls(const SkMetaData& controls) override { in onSetControls()
/external/skia/
DBUILD.gn2139 "tools/SkMetaData.cpp",
2140 "tools/SkMetaData.h",
DAndroid.bp2566 "tools/SkMetaData.cpp",
4941 "tools/SkMetaData.cpp",