Home
last modified time | relevance | path

Searched refs:promiseImage (Results 1 – 4 of 4) sorted by relevance

/third_party/skia/fuzz/
DFuzzDDLThreading.cpp137 sk_sp<SkPromiseImageTexture> DDLFuzzer::fulfillPromiseImage(PromiseImageInfo& promiseImage) { in fulfillPromiseImage() argument
143 State prior = promiseImage.fState.exchange(State::kTriedToFulfill, std::memory_order_relaxed); in fulfillPromiseImage()
144 if (prior != State::kInitial || promiseImage.fTexture != nullptr) { in fulfillPromiseImage()
153 promiseImage.fTexture = std::move(fReusableTextures.front()); in fulfillPromiseImage()
155 return promiseImage.fTexture; in fulfillPromiseImage()
177 promiseImage.fTexture = SkPromiseImageTexture::Make(backendTex); in fulfillPromiseImage()
179 return promiseImage.fTexture; in fulfillPromiseImage()
182 void DDLFuzzer::releasePromiseImage(PromiseImageInfo& promiseImage) { in releasePromiseImage() argument
188 State old = promiseImage.fState.exchange(State::kInitial, std::memory_order_relaxed); in releasePromiseImage()
194 if (!promiseImage.fTexture) { in releasePromiseImage()
[all …]
/third_party/skia/tools/
DDDLTileHelper.cpp81 sk_sp<SkImage> promiseImage = tile->makePromiseImageForDst( in createComposeDDL() local
88 SkASSERT(promiseImage->bounds().contains(srcRect)); in createComposeDDL()
90 recordingCanvas->drawImageRect(promiseImage.get(), SkRect::Make(srcRect), dstRect, in createComposeDDL()
175 sk_sp<SkImage> promiseImage = in makePromiseImageForDst() local
189 return promiseImage; in makePromiseImageForDst()
/third_party/flutter/skia/tests/
DDeferredDisplayListTest.cpp856 sk_sp<SkImage> promiseImage = recorder.makePromiseTexture( in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
870 canvas->drawImage(promiseImage, 0, 0); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
/third_party/skia/tests/
DDeferredDisplayListTest.cpp1074 sk_sp<SkImage> promiseImage = SkImage::MakePromiseTexture( in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
1088 canvas->drawImage(promiseImage, 0, 0); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()