Home
last modified time | relevance | path

Searched refs:PromiseImageInfo (Results 1 – 5 of 5) sorted by relevance

/third_party/skia/fuzz/
DFuzzDDLThreading.cpp48 class PromiseImageInfo : public SkNVRefCnt<PromiseImageInfo>, SkNoncopyable { class
55 ~PromiseImageInfo() { in ~PromiseImageInfo()
87 sk_sp<SkPromiseImageTexture> fulfillPromiseImage(PromiseImageInfo&);
88 void releasePromiseImage(PromiseImageInfo&);
97 SkAutoTArray<PromiseImageInfo> fPromiseImages{kPromiseImageCount};
137 sk_sp<SkPromiseImageTexture> DDLFuzzer::fulfillPromiseImage(PromiseImageInfo& promiseImage) { in fulfillPromiseImage()
138 using State = PromiseImageInfo::State; in fulfillPromiseImage()
182 void DDLFuzzer::releasePromiseImage(PromiseImageInfo& promiseImage) { in releasePromiseImage()
183 using State = PromiseImageInfo::State; in releasePromiseImage()
208 PromiseImageInfo& fuzzPromiseImage = *(PromiseImageInfo*)ctxIn; in fuzz_promise_image_fulfill()
[all …]
/third_party/skia/tools/
DDDLPromiseImageHelper.h134 class PromiseImageInfo {
136 PromiseImageInfo(int index, uint32_t originalUniqueID, const SkImageInfo& ii);
137 PromiseImageInfo(PromiseImageInfo&& other);
138 ~PromiseImageInfo();
220 static void CreateBETexturesForPromiseImage(GrDirectContext*, PromiseImageInfo*);
221 static void DeleteBETexturesForPromiseImage(PromiseImageInfo*);
226 const PromiseImageInfo& getInfo(int id) const { return fImageInfo[id]; } in getInfo()
227 void uploadImage(GrDirectContext*, PromiseImageInfo*);
239 SkTArray<PromiseImageInfo> fImageInfo;
DDDLPromiseImageHelper.cpp23 DDLPromiseImageHelper::PromiseImageInfo::PromiseImageInfo(int index, in PromiseImageInfo() function in DDLPromiseImageHelper::PromiseImageInfo
31 DDLPromiseImageHelper::PromiseImageInfo::PromiseImageInfo(PromiseImageInfo&& other) in PromiseImageInfo() function in DDLPromiseImageHelper::PromiseImageInfo
43 DDLPromiseImageHelper::PromiseImageInfo::~PromiseImageInfo() {} in ~PromiseImageInfo()
45 std::unique_ptr<SkPixmap[]> DDLPromiseImageHelper::PromiseImageInfo::normalMipLevels() const { in normalMipLevels()
59 int DDLPromiseImageHelper::PromiseImageInfo::numMipLevels() const { in numMipLevels()
64 void DDLPromiseImageHelper::PromiseImageInfo::setMipLevels(const SkBitmap& baseLevel, in setMipLevels()
151 PromiseImageInfo* info) { in CreateBETexturesForPromiseImage()
194 void DDLPromiseImageHelper::DeleteBETexturesForPromiseImage(PromiseImageInfo* info) { in DeleteBETexturesForPromiseImage()
221 PromiseImageInfo& info = fImageInfo[i]; in createCallbackContexts()
263 PromiseImageInfo* info = &fImageInfo[i]; in uploadAllToGPU()
[all …]
/third_party/flutter/skia/tools/
DDDLPromiseImageHelper.h122 class PromiseImageInfo {
124 PromiseImageInfo(int index, uint32_t originalUniqueID, const SkImageInfo& ii) in PromiseImageInfo() function
129 ~PromiseImageInfo() {} in ~PromiseImageInfo()
238 const PromiseImageInfo& getInfo(int id) const { return fImageInfo[id]; } in getInfo()
239 void uploadImage(GrContext*, PromiseImageInfo*);
250 SkTArray<PromiseImageInfo> fImageInfo;
DDDLPromiseImageHelper.cpp99 const PromiseImageInfo& info = fImageInfo[i]; in uploadAllToGPU()
164 const DDLPromiseImageHelper::PromiseImageInfo& curImage = helper->getInfo(*indexPtr); in PromiseImageCreator()
271 PromiseImageInfo& newImageInfo = fImageInfo.emplace_back(fImageInfo.count(), in addImage()