• Home
  • Raw
  • Download

Lines Matching refs:dContext

44     auto dContext = ctxInfo.directContext();  in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()  local
45 if (!dContext->priv().caps()->mipmapSupport()) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
54 auto mbet = sk_gpu_test::ManagedBackendTexture::MakeWithData(dContext, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
71 dContext, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
84 image = SkImage::MakeFromTexture(dContext, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
93 proxy = sk_ref_sp(sk_gpu_test::GetTextureImageProxy(image.get(), dContext)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
125 auto dContext = ctxInfo.directContext(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
126 if (!dContext->priv().caps()->mipmapSupport()) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
135 dContext, ii, SkColors::kTransparent, betMipmapped); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
138 GrTextureProxy* proxy = sk_gpu_test::GetTextureImageProxy(image.get(), dContext); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
164 dContext, imageInfo, origin, requestMipmapped, GrImageTexGenPolicy::kDraw); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
173 genProxy->priv().doLazyInstantiation(dContext->priv().resourceProvider()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
175 genProxy->instantiate(dContext->priv().resourceProvider()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
284 auto dContext = ctxInfo.directContext(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
285 if (!dContext->priv().caps()->mipmapSupport()) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
289 auto resourceProvider = dContext->priv().resourceProvider(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
298 surface = sk_gpu_test::MakeBackendTextureSurface(dContext, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
304 surface = SkSurface::MakeRenderTarget(dContext, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
324 texProxy = sk_gpu_test::GetTextureImageProxy(image.get(), dContext); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
337 auto dContext = ctxInfo.directContext(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
338 if (!dContext->priv().caps()->mipmapSupport()) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
344 sk_sp<SkSurface> surface = SkSurface::MakeRenderTarget(dContext, SkBudgeted::kNo, info); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
421 sk_sp<GrDirectContext> dContext = GrDirectContext::MakeMock(&mockOptions, ctxOptions); variable
422 GrDrawingManager* drawingManager = dContext->priv().drawingManager();
423 if (!dContext) {
429 SkASSERT(dContext->priv().caps()->mipmapSupport());
431 GrBackendFormat format = dContext->defaultBackendFormat(
436 GrProxyProvider* proxyProvider = dContext->priv().proxyProvider();
449 dContext.get(), colorType, nullptr, mipmapProxy, kTopLeft_GrSurfaceOrigin,
462 GrSwizzle swizzle = dContext->priv().caps()->getReadSwizzle(format, colorType);
466 auto rtc1 = draw_mipmap_into_new_render_target(dContext.get(), colorType, alphaType,
481 auto rtc2 = draw_mipmap_into_new_render_target(dContext.get(), colorType, alphaType,
491 dContext->flushAndSubmit();
510 rtc1 = draw_mipmap_into_new_render_target(dContext.get(), colorType, alphaType,
523 rtc2 = draw_mipmap_into_new_render_target(dContext.get(), colorType, alphaType,
535 dContext->flushAndSubmit();