Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/auxiliary/vl/
Dvl_video_buffer.c350 struct pipe_surface surf_templ; in vl_video_buffer_surfaces() local
369 memset(&surf_templ, 0, sizeof(surf_templ)); in vl_video_buffer_surfaces()
370 surf_templ.format = vl_video_buffer_surface_format(buf->resources[j]->format); in vl_video_buffer_surfaces()
371 surf_templ.usage = PIPE_BIND_SAMPLER_VIEW | PIPE_BIND_RENDER_TARGET; in vl_video_buffer_surfaces()
372 surf_templ.u.tex.first_layer = surf_templ.u.tex.last_layer = i; in vl_video_buffer_surfaces()
373 buf->surfaces[surf] = pipe->create_surface(pipe, buf->resources[j], &surf_templ); in vl_video_buffer_surfaces()
Dvl_idct.c592 struct pipe_surface surf_templ; in init_source() local
602 memset(&surf_templ, 0, sizeof(surf_templ)); in init_source()
603 surf_templ.format = tex->format; in init_source()
604 surf_templ.u.tex.first_layer = 0; in init_source()
605 surf_templ.u.tex.last_layer = 0; in init_source()
606 surf_templ.usage = PIPE_BIND_SAMPLER_VIEW | PIPE_BIND_RENDER_TARGET; in init_source()
607 buffer->fb_state_mismatch.cbufs[0] = idct->pipe->create_surface(idct->pipe, tex, &surf_templ); in init_source()
631 struct pipe_surface surf_templ; in init_intermediate() local
642 memset(&surf_templ, 0, sizeof(surf_templ)); in init_intermediate()
643 surf_templ.format = tex->format; in init_intermediate()
[all …]
/external/mesa3d/src/gallium/state_trackers/vdpau/
Dpresentation.c210 struct pipe_surface surf_templ, *surf_draw; in vlVdpPresentationQueueDisplay() local
237 memset(&surf_templ, 0, sizeof(surf_templ)); in vlVdpPresentationQueueDisplay()
238 surf_templ.format = tex->format; in vlVdpPresentationQueueDisplay()
239 surf_templ.usage = PIPE_BIND_RENDER_TARGET; in vlVdpPresentationQueueDisplay()
240 surf_draw = pipe->create_surface(pipe, tex, &surf_templ); in vlVdpPresentationQueueDisplay()
Doutput.c52 struct pipe_surface surf_templ; in vlVdpOutputSurfaceCreate() local
101 memset(&surf_templ, 0, sizeof(surf_templ)); in vlVdpOutputSurfaceCreate()
102 surf_templ.format = res->format; in vlVdpOutputSurfaceCreate()
103 surf_templ.usage = PIPE_BIND_SAMPLER_VIEW | PIPE_BIND_RENDER_TARGET; in vlVdpOutputSurfaceCreate()
104 vlsurface->surface = pipe->create_surface(pipe, res, &surf_templ); in vlVdpOutputSurfaceCreate()
/external/mesa3d/src/gallium/state_trackers/xvmc/
Dsurface.c361 struct pipe_surface surf_templ, *surf; in XvMCPutSurface() local
387 memset(&surf_templ, 0, sizeof(surf_templ)); in XvMCPutSurface()
388 surf_templ.format = tex->format; in XvMCPutSurface()
389 surf_templ.usage = PIPE_BIND_RENDER_TARGET; in XvMCPutSurface()
390 surf = pipe->create_surface(pipe, tex, &surf_templ); in XvMCPutSurface()
/external/mesa3d/src/gallium/auxiliary/util/
Du_surface.c84 struct pipe_surface surf_templ; in util_create_rgba_surface() local
115 u_surface_default_template(&surf_templ, *textureOut, bind); in util_create_rgba_surface()
119 &surf_templ); in util_create_rgba_surface()
Du_gen_mipmap.c1623 struct pipe_surface *surf, surf_templ; in util_gen_mipmap() local
1636 memset(&surf_templ, 0, sizeof(surf_templ)); in util_gen_mipmap()
1637 u_surface_default_template(&surf_templ, pt, in util_gen_mipmap()
1640 surf_templ.u.tex.level = dstLevel; in util_gen_mipmap()
1641 surf_templ.u.tex.first_layer = layer; in util_gen_mipmap()
1642 surf_templ.u.tex.last_layer = layer; in util_gen_mipmap()
1643 surf = pipe->create_surface(pipe, pt, &surf_templ); in util_gen_mipmap()
/external/mesa3d/src/gallium/drivers/nouveau/
Dnouveau_video.c735 struct pipe_surface surf_templ; in nouveau_video_buffer_surfaces() local
745 memset(&surf_templ, 0, sizeof(surf_templ)); in nouveau_video_buffer_surfaces()
746 surf_templ.format = buf->resources[i]->format; in nouveau_video_buffer_surfaces()
747 surf_templ.usage = PIPE_BIND_SAMPLER_VIEW | PIPE_BIND_RENDER_TARGET; in nouveau_video_buffer_surfaces()
748 buf->surfaces[i] = pipe->create_surface(pipe, buf->resources[i], &surf_templ); in nouveau_video_buffer_surfaces()