| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/freedreno/ |
| freedreno_surface.c | 46 struct pipe_surface *psurf = &surface->base; local 49 pipe_reference_init(&psurf->reference, 1); 50 pipe_resource_reference(&psurf->texture, ptex); 52 psurf->context = pctx; 53 psurf->format = surf_tmpl->format; 54 psurf->width = u_minify(ptex->width0, level); 55 psurf->height = u_minify(ptex->height0, level); 56 psurf->nr_samples = surf_tmpl->nr_samples; 59 psurf->u.buf.first_element = surf_tmpl->u.buf.first_element; 60 psurf->u.buf.last_element = surf_tmpl->u.buf.last_element [all...] |
| freedreno_surface.h | 37 fd_surface(struct pipe_surface *psurf) 39 return (struct fd_surface *)psurf; 45 void fd_surface_destroy(struct pipe_context *pctx, struct pipe_surface *psurf);
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/freedreno/ |
| freedreno_surface.c | 43 struct pipe_surface *psurf = &surface->base; local 46 pipe_reference_init(&psurf->reference, 1); 47 pipe_resource_reference(&psurf->texture, ptex); 49 psurf->context = pctx; 50 psurf->format = surf_tmpl->format; 51 psurf->width = u_minify(ptex->width0, level); 52 psurf->height = u_minify(ptex->height0, level); 53 psurf->nr_samples = surf_tmpl->nr_samples; 56 psurf->u.buf.first_element = surf_tmpl->u.buf.first_element; 57 psurf->u.buf.last_element = surf_tmpl->u.buf.last_element [all...] |
| freedreno_surface.h | 37 fd_surface(struct pipe_surface *psurf) 39 return (struct fd_surface *)psurf; 45 void fd_surface_destroy(struct pipe_context *pctx, struct pipe_surface *psurf);
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/freedreno/a6xx/ |
| fd6_blitter.h | 44 struct pipe_surface *psurf, uint32_t width, 48 uint32_t base, struct pipe_surface *psurf, uint32_t unknown_8c01) assert_dt;
|
| fd6_gmem.c | 95 struct pipe_surface *psurf = pfb->cbufs[i]; local 96 enum pipe_format pformat = psurf->format; 97 rsc = fd_resource(psurf->texture); 102 slice = fd_resource_slice(rsc, psurf->u.tex.level); 103 uint32_t tile_mode = fd_resource_tile_mode(psurf->texture, psurf->u.tex.level); 112 fd_resource_offset(rsc, psurf->u.tex.level, psurf->u.tex.first_layer); 114 stride = fd_resource_pitch(rsc, psurf->u.tex.level); 115 array_stride = fd_resource_layer_stride(rsc, psurf->u.tex.level) 253 struct pipe_surface *psurf = pfb->cbufs[0]; local 283 struct pipe_surface *psurf = pfb->cbufs[0]; local 352 struct pipe_surface *psurf = pfb->cbufs[i]; local [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/d3d12/ |
| d3d12_surface.h | 49 d3d12_surface(struct pipe_surface *psurf) 51 return (struct d3d12_surface *)psurf;
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/zink/ |
| zink_framebuffer.c | 149 struct pipe_surface *psurf = ctx->fb_state.cbufs[i]; local 150 if (!psurf) 151 psurf = ctx->dummy_surface[util_logbase2_ceil(ctx->gfx_pipeline_state.rast_samples+1)]; 152 struct zink_surface *surface = zink_csurface(psurf); 153 struct zink_surface *transient = zink_transient_surface(psurf); 166 struct pipe_surface *psurf = ctx->fb_state.zsbuf; local 167 struct zink_surface *surface = zink_csurface(psurf); 168 struct zink_surface *transient = zink_transient_surface(psurf); 303 struct pipe_surface *psurf = ctx->fb_state.cbufs[i]; local 304 if (psurf) { 325 struct pipe_surface *psurf = ctx->fb_state.zsbuf; local [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/vc4/ |
| vc4_resource.h | 90 vc4_surface(struct pipe_surface *psurf) 92 return (struct vc4_surface *)psurf; 112 void vc4_dump_surface(struct pipe_surface *psurf);
|
| vc4_resource.c | 759 struct pipe_surface *psurf = &surface->base; local 762 pipe_reference_init(&psurf->reference, 1); 763 pipe_resource_reference(&psurf->texture, ptex); 765 psurf->context = pctx; 766 psurf->format = surf_tmpl->format; 767 psurf->width = u_minify(ptex->width0, level); 768 psurf->height = u_minify(ptex->height0, level); 769 psurf->u.tex.level = level; 770 psurf->u.tex.first_layer = surf_tmpl->u.tex.first_layer; 771 psurf->u.tex.last_layer = surf_tmpl->u.tex.last_layer [all...] |
| /xsrc/external/mit/MesaLib/src/gallium/auxiliary/ |
| u_tracepoints.h | 47 , const struct pipe_surface * psurf 50 , const struct pipe_surface * psurf 55 , psurf
|
| u_tracepoints.c | 50 , const struct pipe_surface * psurf 55 __entry->width = psurf->width; 56 __entry->height = psurf->height; 57 __entry->nr_samples = psurf->nr_samples; 58 __entry->format = util_format_short_name(psurf->format);
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/vc4/ |
| vc4_resource.h | 90 vc4_surface(struct pipe_surface *psurf) 92 return (struct vc4_surface *)psurf; 112 void vc4_dump_surface(struct pipe_surface *psurf);
|
| vc4_resource.c | 734 struct pipe_surface *psurf = &surface->base; local 737 pipe_reference_init(&psurf->reference, 1); 738 pipe_resource_reference(&psurf->texture, ptex); 740 psurf->context = pctx; 741 psurf->format = surf_tmpl->format; 742 psurf->width = u_minify(ptex->width0, level); 743 psurf->height = u_minify(ptex->height0, level); 744 psurf->u.tex.level = level; 745 psurf->u.tex.first_layer = surf_tmpl->u.tex.first_layer; 746 psurf->u.tex.last_layer = surf_tmpl->u.tex.last_layer [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/v3d/ |
| v3dx_rcl.c | 55 load_general(struct v3d_cl *cl, struct pipe_surface *psurf, int buffer, 58 struct v3d_surface *surf = v3d_surface(psurf); 61 psurf = surf->separate_stencil; 62 surf = v3d_surface(psurf); 65 struct v3d_resource *rsc = v3d_resource(psurf->texture); 85 &rsc->slices[psurf->u.tex.level]; 89 if (psurf->texture->nr_samples > 1) 112 struct v3d_cl *cl, struct pipe_surface *psurf, int buffer, 115 struct v3d_surface *surf = v3d_surface(psurf); 118 psurf = surf->separate_stencil 215 struct pipe_surface *psurf = job->cbufs[i]; local 313 struct pipe_surface *psurf = job->cbufs[i]; local 559 struct pipe_surface *psurf = job->cbufs[i]; local 653 struct pipe_surface *psurf = job->zsbuf; local [all...] |
| v3d_resource.h | 164 v3d_surface(struct pipe_surface *psurf) 166 return (struct v3d_surface *)psurf;
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/iris/ |
| iris_clear.c | 578 struct pipe_surface *psurf = cso_fb->zsbuf; local 582 .depth = psurf->u.tex.last_layer - psurf->u.tex.first_layer + 1, 583 .z = psurf->u.tex.first_layer, 586 clear_depth_stencil(ice, psurf->texture, psurf->u.tex.level, &box, true, 598 struct pipe_surface *psurf = cso_fb->cbufs[i]; local 599 struct iris_surface *isurf = (void *) psurf; 603 .depth = psurf->u.tex.last_layer - psurf->u.tex.first_layer + 1 [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/llvmpipe/ |
| lp_scene.c | 156 init_scene_texture(struct lp_scene_surface *ssurf, struct pipe_surface *psurf) 158 if (!psurf) { 167 if (llvmpipe_resource_is_texture(psurf->texture)) { 168 ssurf->stride = llvmpipe_resource_stride(psurf->texture, 169 psurf->u.tex.level); 170 ssurf->layer_stride = llvmpipe_layer_stride(psurf->texture, 171 psurf->u.tex.level); 172 ssurf->sample_stride = llvmpipe_sample_stride(psurf->texture); 174 ssurf->map = llvmpipe_resource_map(psurf->texture, 175 psurf->u.tex.level [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/v3d/ |
| v3dx_rcl.c | 55 load_general(struct v3d_cl *cl, struct pipe_surface *psurf, int buffer, 58 struct v3d_surface *surf = v3d_surface(psurf); 61 psurf = surf->separate_stencil; 62 surf = v3d_surface(psurf); 65 struct v3d_resource *rsc = v3d_resource(psurf->texture); 68 v3d_layer_offset(&rsc->base, psurf->u.tex.level, 69 psurf->u.tex.first_layer + layer); 81 load.force_alpha_1 = util_format_has_alpha1(psurf->format); 88 &rsc->slices[psurf->u.tex.level]; 92 if (psurf->texture->nr_samples > 1 233 struct pipe_surface *psurf = job->bbuf ? job->bbuf : job->cbufs[i]; local 336 struct pipe_surface *psurf = job->cbufs[i]; local 741 struct pipe_surface *psurf = job->cbufs[i]; local 835 struct pipe_surface *psurf = job->zsbuf; local [all...] |
| v3d_resource.h | 135 v3d_surface(struct pipe_surface *psurf) 137 return (struct v3d_surface *)psurf;
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/iris/ |
| iris_clear.c | 681 struct pipe_surface *psurf = cso_fb->zsbuf; local 683 box.depth = psurf->u.tex.last_layer - psurf->u.tex.first_layer + 1; 684 box.z = psurf->u.tex.first_layer, 685 clear_depth_stencil(ice, psurf->texture, psurf->u.tex.level, &box, true, 694 struct pipe_surface *psurf = cso_fb->cbufs[i]; local 695 struct iris_surface *isurf = (void *) psurf; 696 box.depth = psurf->u.tex.last_layer - psurf->u.tex.first_layer + 1 [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/crocus/ |
| crocus_clear.c | 671 struct pipe_surface *psurf = cso_fb->zsbuf; local 672 box.depth = psurf->u.tex.last_layer - psurf->u.tex.first_layer + 1; 673 box.z = psurf->u.tex.first_layer; 675 clear_depth_stencil(ice, psurf->texture, psurf->u.tex.level, &box, true, 689 struct pipe_surface *psurf = cso_fb->cbufs[i]; local 690 struct crocus_surface *isurf = (void *) psurf; 691 box.depth = psurf->u.tex.last_layer - psurf->u.tex.first_layer + 1 [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/freedreno/a2xx/ |
| fd2_gmem.c | 88 struct pipe_surface *psurf) 91 struct fd_resource *rsc = fd_resource(psurf->texture); 92 uint32_t swap = fmt2swap(psurf->format); 94 fd_resource_slice(rsc, psurf->u.tex.level); 96 fd_resource_offset(rsc, psurf->u.tex.level, psurf->u.tex.first_layer); 108 A2XX_RB_COLOR_INFO_FORMAT(fd2_pipe2color(psurf->format))); 116 A2XX_RB_COPY_DEST_INFO_FORMAT(fd2_pipe2color(psurf->format)) | 231 struct pipe_surface *psurf) 234 struct fd_resource *rsc = fd_resource(psurf->texture) 437 struct pipe_surface *psurf = pfb->cbufs[0]; local [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/freedreno/a6xx/ |
| fd6_gmem.c | 75 struct pipe_surface *psurf = pfb->cbufs[i]; local 76 enum pipe_format pformat = psurf->format; 77 rsc = fd_resource(psurf->texture); 82 slice = fd_resource_slice(rsc, psurf->u.tex.level); 90 offset = fd_resource_offset(rsc, psurf->u.tex.level, 91 psurf->u.tex.first_layer); 92 ubwc_offset = fd_resource_ubwc_offset(rsc, psurf->u.tex.level, 93 psurf->u.tex.first_layer); 94 ubwc_enabled = fd_resource_ubwc_enabled(rsc, psurf->u.tex.level); 100 fd_resource_level_linear(psurf->texture, psurf->u.tex.level) 315 struct pipe_surface *psurf = pfb->cbufs[i]; local [all...] |
| /xsrc/external/mit/MesaLib/dist/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); 92 stride = fd_resource_pitch(rsc, psurf->u.tex.level); 96 fd_resource_tile_mode(psurf->texture, psurf->u.tex.level) [all...] |