/external/mesa3d/src/gallium/drivers/nouveau/ |
D | nouveau_vp3_video.c | 86 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()
|
D | nouveau_video.c | 720 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/ |
D | zink_framebuffer.c | 37 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/ |
D | vl_idct.c | 593 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 …]
|
D | vl_video_buffer.c | 305 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/ |
D | presentation.c | 213 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()
|
D | mixer.c | 249 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()
|
D | output.c | 55 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/ |
D | nv84_video.c | 609 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/ |
D | surface.c | 369 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/ |
D | surface.c | 314 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/ |
D | hud_context.c | 462 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()
|