Lines Matching refs:dContext
188 auto dContext = GrAsDirectContext(canvas->recordingContext()); in do_rescale_image_grid() local
189 if (!dContext && canvas->recordingContext()) { in do_rescale_image_grid()
213 return do_rescale_grid(canvas, surface.get(), dContext, srcRect, newSize, in do_rescale_image_grid()
215 } else if (dContext) { in do_rescale_image_grid()
216 image = image->makeTextureImage(dContext); in do_rescale_image_grid()
226 return do_rescale_grid(canvas, image.get(), dContext, srcRect, newSize, doYUV420, in do_rescale_image_grid()
287 auto dContext = GrAsDirectContext(surface->recordingContext()); variable
288 if (!dContext && surface->recordingContext()) {
302 surface, dContext, kRec601_SkYUVColorSpace, SkIRect::MakeWH(400, 300),
317 auto dContext = GrAsDirectContext(canvas->recordingContext()); variable
318 if (!dContext && canvas->recordingContext()) {
347 result = do_rescale_grid(canvas, surface.get(), dContext, srcRect, downSize, false, errorMsg,
355 result = do_rescale_grid(canvas, surface.get(), dContext, srcRect, upSize, false, errorMsg,
364 auto dContext = GrAsDirectContext(canvas->recordingContext()); variable
365 if (!dContext && canvas->recordingContext()) {
369 if (dContext && dContext->abandoned()) {
402 if (dContext) {
403 pmImg = pmImg->makeTextureImage(dContext);
404 upmImg = upmImg->makeTextureImage(dContext);
426 if (dContext) {
427 dContext->submit();
431 SkASSERT(dContext);
432 dContext->checkAsyncWorkCompletion();