• Home
  • Raw
  • Download

Lines Matching refs:curImage

175     const DDLPromiseImageHelper::PromiseImageInfo& curImage = helper->getInfo(*indexPtr);  in PromiseImageCreator()  local
177 if (!curImage.promiseTexture(0)) { in PromiseImageCreator()
178 SkASSERT(!curImage.isYUV()); in PromiseImageCreator()
181 SkASSERT(curImage.normalBitmap().isImmutable()); in PromiseImageCreator()
182 return SkImage::MakeFromBitmap(curImage.normalBitmap()); in PromiseImageCreator()
184 SkASSERT(curImage.index() == *indexPtr); in PromiseImageCreator()
187 if (curImage.isYUV()) { in PromiseImageCreator()
193 SkAssertResult(SkYUVAIndex::AreValidIndices(curImage.yuvaIndices(), &textureCount)); in PromiseImageCreator()
195 const GrBackendTexture& backendTex = curImage.promiseTexture(i)->backendTexture(); in PromiseImageCreator()
198 contexts[i] = curImage.refCallbackContext(i).release(); in PromiseImageCreator()
199 sizes[i].set(curImage.yuvPixmap(i).width(), curImage.yuvPixmap(i).height()); in PromiseImageCreator()
205 image = recorder->makeYUVAPromiseTexture(curImage.yuvColorSpace(), in PromiseImageCreator()
208 curImage.yuvaIndices(), in PromiseImageCreator()
209 curImage.overallWidth(), in PromiseImageCreator()
210 curImage.overallHeight(), in PromiseImageCreator()
212 curImage.refOverallColorSpace(), in PromiseImageCreator()
218 curImage.callbackContext(i)->wasAddedToImage(); in PromiseImageCreator()
231 const GrBackendTexture& backendTex = curImage.promiseTexture(0)->backendTexture(); in PromiseImageCreator()
239 curImage.overallWidth(), in PromiseImageCreator()
240 curImage.overallHeight(), in PromiseImageCreator()
243 curImage.overallColorType(), in PromiseImageCreator()
244 curImage.overallAlphaType(), in PromiseImageCreator()
245 curImage.refOverallColorSpace(), in PromiseImageCreator()
249 (void*)curImage.refCallbackContext(0).release()); in PromiseImageCreator()
250 curImage.callbackContext(0)->wasAddedToImage(); in PromiseImageCreator()