Searched refs:promiseImage (Results 1 – 4 of 4) sorted by relevance
137 sk_sp<SkPromiseImageTexture> DDLFuzzer::fulfillPromiseImage(PromiseImageInfo& promiseImage) { in fulfillPromiseImage() argument143 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() argument188 State old = promiseImage.fState.exchange(State::kInitial, std::memory_order_relaxed); in releasePromiseImage()194 if (!promiseImage.fTexture) { in releasePromiseImage()[all …]
81 sk_sp<SkImage> promiseImage = tile->makePromiseImageForDst( in createComposeDDL() local88 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() local189 return promiseImage; in makePromiseImageForDst()
856 sk_sp<SkImage> promiseImage = recorder.makePromiseTexture( in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local870 canvas->drawImage(promiseImage, 0, 0); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
1074 sk_sp<SkImage> promiseImage = SkImage::MakePromiseTexture( in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local1088 canvas->drawImage(promiseImage, 0, 0); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()