• Home
  • Raw
  • Download

Lines Matching refs:curImage

208     const DDLPromiseImageHelper::PromiseImageInfo& curImage = helper->getInfo(*indexPtr);  in PromiseImageCreator()  local
210 if (!curImage.promiseTexture(0)) { in PromiseImageCreator()
211 SkASSERT(!curImage.isYUV()); in PromiseImageCreator()
214 SkASSERT(curImage.normalBitmap().isImmutable()); in PromiseImageCreator()
215 return SkImage::MakeFromBitmap(curImage.normalBitmap()); in PromiseImageCreator()
217 SkASSERT(curImage.index() == *indexPtr); in PromiseImageCreator()
220 if (curImage.isYUV()) { in PromiseImageCreator()
226 SkAssertResult(SkYUVAIndex::AreValidIndices(curImage.yuvaIndices(), &textureCount)); in PromiseImageCreator()
228 const GrBackendTexture& backendTex = curImage.promiseTexture(i)->backendTexture(); in PromiseImageCreator()
231 contexts[i] = curImage.refCallbackContext(i).release(); in PromiseImageCreator()
232 sizes[i].set(curImage.yuvPixmap(i).width(), curImage.yuvPixmap(i).height()); in PromiseImageCreator()
238 image = recorder->makeYUVAPromiseTexture(curImage.yuvColorSpace(), in PromiseImageCreator()
241 curImage.yuvaIndices(), in PromiseImageCreator()
242 curImage.overallWidth(), in PromiseImageCreator()
243 curImage.overallHeight(), in PromiseImageCreator()
245 curImage.refOverallColorSpace(), in PromiseImageCreator()
252 curImage.callbackContext(i)->wasAddedToImage(); in PromiseImageCreator()
255 const GrBackendTexture& backendTex = curImage.promiseTexture(0)->backendTexture(); in PromiseImageCreator()
263 curImage.overallWidth(), in PromiseImageCreator()
264 curImage.overallHeight(), in PromiseImageCreator()
267 curImage.overallColorType(), in PromiseImageCreator()
268 curImage.overallAlphaType(), in PromiseImageCreator()
269 curImage.refOverallColorSpace(), in PromiseImageCreator()
273 (void*)curImage.refCallbackContext(0).release(), in PromiseImageCreator()
275 curImage.callbackContext(0)->wasAddedToImage(); in PromiseImageCreator()