Home
last modified time | relevance | path

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

/external/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()
/external/mesa3d/src/gallium/drivers/zink/
Dzink_framebuffer.c37 struct pipe_surface surf_templ = {}; in framebuffer_null_surface_init() local
57 surf_templ.format = PIPE_FORMAT_R8_UINT; in framebuffer_null_surface_init()
58 surf_templ.nr_samples = state->samples; in framebuffer_null_surface_init()
59 return ctx->base.create_surface(&ctx->base, ctx->null_buffers[idx], &surf_templ); in framebuffer_null_surface_init()
/external/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()
630 struct pipe_surface surf_templ; in init_intermediate() local
641 memset(&surf_templ, 0, sizeof(surf_templ)); in init_intermediate()
642 surf_templ.format = tex->format; in init_intermediate()
643 surf_templ.u.tex.first_layer = i; in init_intermediate()
[all …]
Dvl_video_buffer.c305 struct pipe_surface surf_templ; in vl_video_buffer_surfaces() local
324 memset(&surf_templ, 0, sizeof(surf_templ)); in vl_video_buffer_surfaces()
325 surf_templ.format = vl_video_buffer_surface_format(buf->resources[i]->format); in vl_video_buffer_surfaces()
326 surf_templ.u.tex.first_layer = surf_templ.u.tex.last_layer = j; in vl_video_buffer_surfaces()
327 buf->surfaces[surf] = pipe->create_surface(pipe, buf->resources[i], &surf_templ); in vl_video_buffer_surfaces()
/external/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()
/external/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()
/external/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()
/external/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()
/external/mesa3d/src/gallium/auxiliary/hud/
Dhud_context.c462 struct pipe_surface surf_templ, *surf; in hud_draw_results() local
498 memset(&surf_templ, 0, sizeof(surf_templ)); in hud_draw_results()
499 surf_templ.format = tex->format; in hud_draw_results()
510 surf_templ.format = srgb_format; in hud_draw_results()
512 surf = pipe->create_surface(pipe, tex, &surf_templ); in hud_draw_results()