/external/mesa3d/src/gallium/drivers/freedreno/ |
freedreno_surface.c | 49 struct pipe_surface *psurf = &surface->base; local 52 pipe_reference_init(&psurf->reference, 1); 53 pipe_resource_reference(&psurf->texture, ptex); 55 psurf->context = pctx; 56 psurf->format = surf_tmpl->format; 57 psurf->width = u_minify(ptex->width0, level); 58 psurf->height = u_minify(ptex->height0, level); 59 psurf->u.tex.level = level; 60 psurf->u.tex.first_layer = surf_tmpl->u.tex.first_layer; 61 psurf->u.tex.last_layer = surf_tmpl->u.tex.last_layer [all...] |
/external/mesa3d/src/mesa/state_tracker/ |
st_cb_eglimage.c | 165 struct pipe_surface **psurf = local 169 pipe_surface_reference(psurf, ps); 170 strb->surface = *psurf;
|
st_cb_fbo.c | 457 struct pipe_surface **psurf = local 459 struct pipe_surface *surf = *psurf; 478 pipe_surface_release(pipe, psurf); 480 *psurf = pipe->create_surface(pipe, resource, &surf_tmpl); 482 strb->surface = *psurf;
|
st_manager.c | 236 struct pipe_surface **psurf = local 240 pipe_surface_reference(psurf, ps); 241 strb->surface = *psurf; [all...] |
/external/mesa3d/src/gallium/drivers/vc5/ |
vc5_draw.c | 571 struct pipe_surface *psurf = vc5->framebuffer.cbufs[i]; local 572 struct vc5_surface *surf = vc5_surface(psurf); 573 struct vc5_resource *rsc = vc5_resource(psurf->texture);
|
vc5_rcl.c | 38 load_general(struct vc5_cl *cl, struct pipe_surface *psurf, int buffer) 40 struct vc5_surface *surf = vc5_surface(psurf); 41 struct vc5_resource *rsc = vc5_resource(psurf->texture); 76 &rsc->slices[psurf->u.tex.level]; 91 struct vc5_cl *cl, struct pipe_surface *psurf, int buffer, 94 struct vc5_surface *surf = vc5_surface(psurf); 95 struct vc5_resource *rsc = vc5_resource(psurf->texture); 139 &rsc->slices[psurf->u.tex.level]; 206 struct pipe_surface *psurf = job->cbufs[i]; local 207 if (!psurf || (V3D_VERSION < 40 & 292 struct pipe_surface *psurf = job->cbufs[i]; local 489 struct pipe_surface *psurf = job->cbufs[i]; local 583 struct pipe_surface *psurf = job->zsbuf; local [all...] |
vc5_resource.c | 653 struct pipe_surface *psurf = &surface->base; local 661 pipe_reference_init(&psurf->reference, 1); 662 pipe_resource_reference(&psurf->texture, ptex); 664 psurf->context = pctx; 665 psurf->format = surf_tmpl->format; 666 psurf->width = u_minify(ptex->width0, level); 667 psurf->height = u_minify(ptex->height0, level); 668 psurf->u.tex.level = level; 669 psurf->u.tex.first_layer = surf_tmpl->u.tex.first_layer; 670 psurf->u.tex.last_layer = surf_tmpl->u.tex.last_layer [all...] |
/external/mesa3d/src/gallium/drivers/freedreno/a3xx/ |
fd3_gmem.c | 72 struct pipe_surface *psurf = bufs[i]; local 74 rsc = fd_resource(psurf->texture); 75 pformat = psurf->format; 85 slice = fd_resource_slice(rsc, psurf->u.tex.level); 93 debug_assert(psurf->u.tex.first_layer == psurf->u.tex.last_layer); 95 offset = fd_resource_offset(rsc, psurf->u.tex.level, 96 psurf->u.tex.first_layer); 320 uint32_t base, struct pipe_surface *psurf) 323 struct fd_resource *rsc = fd_resource(psurf->texture) 734 struct pipe_surface *psurf = pfb->cbufs[i]; local [all...] |
/external/mesa3d/src/gallium/drivers/freedreno/a4xx/ |
fd4_gmem.c | 72 struct pipe_surface *psurf = bufs[i]; local 73 enum pipe_format pformat = psurf->format; 75 rsc = fd_resource(psurf->texture); 87 slice = fd_resource_slice(rsc, psurf->u.tex.level); 96 debug_assert(psurf->u.tex.first_layer == psurf->u.tex.last_layer); 98 offset = fd_resource_offset(rsc, psurf->u.tex.level, 99 psurf->u.tex.first_layer); 152 uint32_t base, struct pipe_surface *psurf) 155 struct fd_resource *rsc = fd_resource(psurf->texture) [all...] |
/external/mesa3d/src/gallium/drivers/freedreno/a5xx/ |
fd5_gmem.c | 70 struct pipe_surface *psurf = bufs[i]; local 71 enum pipe_format pformat = psurf->format; 73 rsc = fd_resource(psurf->texture); 75 slice = fd_resource_slice(rsc, psurf->u.tex.level); 82 debug_assert(psurf->u.tex.first_layer == psurf->u.tex.last_layer); 84 offset = fd_resource_offset(rsc, psurf->u.tex.level, 85 psurf->u.tex.first_layer); 95 if (!fd_resource_level_linear(psurf->texture, psurf->u.tex.level) [all...] |
/external/mesa3d/src/gallium/drivers/vc4/ |
vc4_resource.c | 817 struct pipe_surface *psurf = &surface->base; local 820 pipe_reference_init(&psurf->reference, 1); 821 pipe_resource_reference(&psurf->texture, ptex); 823 psurf->context = pctx; 824 psurf->format = surf_tmpl->format; 825 psurf->width = u_minify(ptex->width0, level); 826 psurf->height = u_minify(ptex->height0, level); 827 psurf->u.tex.level = level; 828 psurf->u.tex.first_layer = surf_tmpl->u.tex.first_layer; 829 psurf->u.tex.last_layer = surf_tmpl->u.tex.last_layer [all...] |