Lines Matching defs:context
199 auto context = ctxInfo.directContext();
201 auto sourceTexture = context->createBackendTexture(texDims.width(),
209 auto sourceImage = SkImage::MakeFromTexture(context,
216 auto texture1 = context->createBackendTexture(surfaceDims.width(),
224 auto texture2 = context->createBackendTexture(surfaceDims.width(),
245 auto surface = SkSurface::MakeFromBackendTexture(context,
267 auto surface = SkSurface::MakeFromBackendTexture(context,
285 auto readImage = SkImage::MakeFromTexture(context,
300 bool success = readImage->readPixels(context, bitmap.pixmap(), dstRect.fLeft, dstRect.fTop);
319 context->flushAndSubmit(true);
320 context->deleteBackendTexture(sourceTexture);
321 context->deleteBackendTexture(texture1);
322 context->deleteBackendTexture(texture2);