Home
last modified time | relevance | path

Searched refs:surf_templ (Results 1 – 12 of 12) sorted by relevance

/third_party/mesa3d/src/gallium/drivers/nouveau/
Dnouveau_vp3_video.c86 struct pipe_surface surf_templ; in nouveau_vp3_video_buffer_create() local
152 memset(&surf_templ, 0, sizeof(surf_templ)); in nouveau_vp3_video_buffer_create()
154 surf_templ.format = buffer->resources[j]->format; in nouveau_vp3_video_buffer_create()
155 surf_templ.u.tex.first_layer = surf_templ.u.tex.last_layer = 0; in nouveau_vp3_video_buffer_create()
156 buffer->surfaces[j * 2] = pipe->create_surface(pipe, buffer->resources[j], &surf_templ); in nouveau_vp3_video_buffer_create()
160 surf_templ.u.tex.first_layer = surf_templ.u.tex.last_layer = 1; in nouveau_vp3_video_buffer_create()
161 buffer->surfaces[j * 2 + 1] = pipe->create_surface(pipe, buffer->resources[j], &surf_templ); in nouveau_vp3_video_buffer_create()
Dnouveau_video.c720 struct pipe_surface surf_templ; in nouveau_video_buffer_surfaces() local
730 memset(&surf_templ, 0, sizeof(surf_templ)); in nouveau_video_buffer_surfaces()
731 surf_templ.format = buf->resources[i]->format; in nouveau_video_buffer_surfaces()
732 buf->surfaces[i] = pipe->create_surface(pipe, buf->resources[i], &surf_templ); in nouveau_video_buffer_surfaces()
/third_party/mesa3d/src/gallium/auxiliary/vl/
Dvl_idct.c593 struct pipe_surface surf_templ; in init_source() local
603 memset(&surf_templ, 0, sizeof(surf_templ)); in init_source()
604 surf_templ.format = tex->format; in init_source()
605 surf_templ.u.tex.first_layer = 0; in init_source()
606 surf_templ.u.tex.last_layer = 0; in init_source()
607 buffer->fb_state_mismatch.cbufs[0] = idct->pipe->create_surface(idct->pipe, tex, &surf_templ); in init_source()
634 struct pipe_surface surf_templ; in init_intermediate() local
645 memset(&surf_templ, 0, sizeof(surf_templ)); in init_intermediate()
646 surf_templ.format = tex->format; in init_intermediate()
647 surf_templ.u.tex.first_layer = i; in init_intermediate()
[all …]
Dvl_video_buffer.c308 struct pipe_surface surf_templ; in vl_video_buffer_surfaces() local
327 memset(&surf_templ, 0, sizeof(surf_templ)); in vl_video_buffer_surfaces()
328 surf_templ.format = vl_video_buffer_surface_format(buf->resources[i]->format); in vl_video_buffer_surfaces()
329 surf_templ.u.tex.first_layer = surf_templ.u.tex.last_layer = j; in vl_video_buffer_surfaces()
330 buf->surfaces[surf] = pipe->create_surface(pipe, buf->resources[i], &surf_templ); in vl_video_buffer_surfaces()
/third_party/mesa3d/src/gallium/frontends/vdpau/
Dpresentation.c213 struct pipe_surface surf_templ, *surf_draw = NULL; in vlVdpPresentationQueueDisplay() local
245 memset(&surf_templ, 0, sizeof(surf_templ)); in vlVdpPresentationQueueDisplay()
246 surf_templ.format = tex->format; in vlVdpPresentationQueueDisplay()
247 surf_draw = pipe->create_surface(pipe, tex, &surf_templ); in vlVdpPresentationQueueDisplay()
Dmixer.c249 struct pipe_surface *surface, surf_templ; in vlVdpVideoMixerRender() local
371 memset(&surf_templ, 0, sizeof(surf_templ)); in vlVdpVideoMixerRender()
372 surf_templ.format = res->format; in vlVdpVideoMixerRender()
373 surface = pipe->create_surface(pipe, res, &surf_templ); in vlVdpVideoMixerRender()
413 struct pipe_surface *surface_temp = pipe->create_surface(pipe, res, &surf_templ); in vlVdpVideoMixerRender()
434 struct pipe_surface *surface_temp = pipe->create_surface(pipe, res, &surf_templ); in vlVdpVideoMixerRender()
Doutput.c55 struct pipe_surface surf_templ; in vlVdpOutputSurfaceCreate() local
110 memset(&surf_templ, 0, sizeof(surf_templ)); in vlVdpOutputSurfaceCreate()
111 surf_templ.format = res->format; in vlVdpOutputSurfaceCreate()
112 vlsurface->surface = pipe->create_surface(pipe, res, &surf_templ); in vlVdpOutputSurfaceCreate()
/third_party/mesa3d/src/gallium/drivers/nouveau/nv50/
Dnv84_video.c609 struct pipe_surface surf_templ; in nv84_video_buffer_create() local
717 memset(&surf_templ, 0, sizeof(surf_templ)); in nv84_video_buffer_create()
719 surf_templ.format = buffer->resources[j]->format; in nv84_video_buffer_create()
720 surf_templ.u.tex.first_layer = surf_templ.u.tex.last_layer = 0; in nv84_video_buffer_create()
722 pipe->create_surface(pipe, buffer->resources[j], &surf_templ); in nv84_video_buffer_create()
726 surf_templ.u.tex.first_layer = surf_templ.u.tex.last_layer = 1; in nv84_video_buffer_create()
728 pipe->create_surface(pipe, buffer->resources[j], &surf_templ); in nv84_video_buffer_create()
/third_party/mesa3d/src/gallium/frontends/xvmc/
Dsurface.c369 struct pipe_surface surf_templ, *surf; in XvMCPutSurface() local
396 memset(&surf_templ, 0, sizeof(surf_templ)); in XvMCPutSurface()
397 surf_templ.format = tex->format; in XvMCPutSurface()
398 surf = pipe->create_surface(pipe, tex, &surf_templ); in XvMCPutSurface()
/third_party/mesa3d/src/gallium/drivers/zink/
Dzink_surface.c400 struct pipe_surface surf_templ = {0}; in zink_surface_create_null() local
418 surf_templ.format = PIPE_FORMAT_R8G8B8A8_UNORM; in zink_surface_create_null()
419 surf_templ.nr_samples = 0; in zink_surface_create_null()
420 struct pipe_surface *psurf = ctx->base.create_surface(&ctx->base, pres, &surf_templ); in zink_surface_create_null()
/third_party/mesa3d/src/gallium/auxiliary/hud/
Dhud_context.c464 struct pipe_surface surf_templ, *surf; in hud_draw_results() local
497 memset(&surf_templ, 0, sizeof(surf_templ)); in hud_draw_results()
498 surf_templ.format = tex->format; in hud_draw_results()
509 surf_templ.format = srgb_format; in hud_draw_results()
511 surf = pipe->create_surface(pipe, tex, &surf_templ); in hud_draw_results()
/third_party/mesa3d/src/gallium/frontends/va/
Dsurface.c314 struct pipe_surface surf_templ, *surf_draw; in vlVaPutSurface() local
343 memset(&surf_templ, 0, sizeof(surf_templ)); in vlVaPutSurface()
344 surf_templ.format = tex->format; in vlVaPutSurface()
345 surf_draw = drv->pipe->create_surface(drv->pipe, tex, &surf_templ); in vlVaPutSurface()