Searched refs:psurf (Results 1 - 25 of 69) sorted by relevance

123

/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/freedreno/
H A Dfreedreno_surface.c46 struct pipe_surface *psurf = &surface->base; local in function:fd_create_surface
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
75 fd_surface_destroy(struct pipe_context * pctx,struct pipe_surface * psurf) argument
[all...]
H A Dfreedreno_surface.h37 fd_surface(struct pipe_surface *psurf) argument
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/
H A Dfreedreno_surface.c43 struct pipe_surface *psurf = &surface->base; local in function:fd_create_surface
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
68 fd_surface_destroy(struct pipe_context * pctx,struct pipe_surface * psurf) argument
[all...]
H A Dfreedreno_surface.h37 fd_surface(struct pipe_surface *psurf) argument
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/
H A Dfd6_blitter.h44 struct pipe_surface *psurf, uint32_t width,
48 uint32_t base, struct pipe_surface *psurf, uint32_t unknown_8c01) assert_dt;
H A Dfd6_gmem.c95 struct pipe_surface *psurf = pfb->cbufs[i]; local in function:emit_mrt
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
253 struct pipe_surface *psurf = pfb->cbufs[0]; local in function:patch_fb_read_gmem
283 struct pipe_surface *psurf = pfb->cbufs[0]; local in function:patch_fb_read_sysmem
352 struct pipe_surface *psurf = pfb->cbufs[i]; local in function:update_render_cntl
966 emit_blit(struct fd_batch * batch,struct fd_ringbuffer * ring,uint32_t base,struct pipe_surface * psurf,bool stencil) argument
1015 emit_restore_blit(struct fd_batch * batch,struct fd_ringbuffer * ring,uint32_t base,struct pipe_surface * psurf,unsigned buffer) argument
1296 needs_resolve(struct pipe_surface * psurf) argument
1319 emit_resolve_blit(struct fd_batch * batch,struct fd_ringbuffer * ring,uint32_t base,struct pipe_surface * psurf,unsigned buffer) argument
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/d3d12/
H A Dd3d12_surface.h49 d3d12_surface(struct pipe_surface *psurf) argument
51 return (struct d3d12_surface *)psurf;
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/zink/
H A Dzink_framebuffer.c149 struct pipe_surface *psurf = ctx->fb_state.cbufs[i]; local in function:zink_get_framebuffer_imageless
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 in function:zink_get_framebuffer_imageless
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 in function:zink_get_framebuffer
304 if (psurf) {
325 struct pipe_surface *psurf = ctx->fb_state.zsbuf; local in function:zink_get_framebuffer
[all...]
/xsrc/external/mit/MesaLib/src/gallium/auxiliary/
H A Du_tracepoints.h47 , const struct pipe_surface * psurf
50 , const struct pipe_surface * psurf
55 , psurf
49 trace_surface(struct u_trace * ut,void * cs,const struct pipe_surface * psurf) argument
H A Du_tracepoints.c50 , 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);
49 __trace_surface(struct u_trace * ut,void * cs,const struct pipe_surface * psurf) argument
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/vc4/
H A Dvc4_resource.h90 vc4_surface(struct pipe_surface *psurf) argument
92 return (struct vc4_surface *)psurf;
112 void vc4_dump_surface(struct pipe_surface *psurf);
H A Dvc4_resource.c734 struct pipe_surface *psurf = &surface->base; local in function:vc4_create_surface
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
755 vc4_surface_destroy(struct pipe_context * pctx,struct pipe_surface * psurf) argument
762 vc4_dump_surface_non_msaa(struct pipe_surface * psurf) argument
858 vc4_surface_msaa_get_sample(struct pipe_surface * psurf,uint32_t x,uint32_t y,uint32_t sample) argument
885 vc4_dump_surface_msaa_char(struct pipe_surface * psurf,uint32_t start_x,uint32_t start_y,uint32_t w,uint32_t h) argument
932 vc4_dump_surface_msaa(struct pipe_surface * psurf) argument
981 vc4_dump_surface(struct pipe_surface * psurf) argument
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/vc4/
H A Dvc4_resource.h90 vc4_surface(struct pipe_surface *psurf) argument
92 return (struct vc4_surface *)psurf;
112 void vc4_dump_surface(struct pipe_surface *psurf);
H A Dvc4_resource.c759 struct pipe_surface *psurf = &surface->base; local in function:vc4_create_surface
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
780 vc4_surface_destroy(struct pipe_context * pctx,struct pipe_surface * psurf) argument
787 vc4_dump_surface_non_msaa(struct pipe_surface * psurf) argument
883 vc4_surface_msaa_get_sample(struct pipe_surface * psurf,uint32_t x,uint32_t y,uint32_t sample) argument
910 vc4_dump_surface_msaa_char(struct pipe_surface * psurf,uint32_t start_x,uint32_t start_y,uint32_t w,uint32_t h) argument
957 vc4_dump_surface_msaa(struct pipe_surface * psurf) argument
1006 vc4_dump_surface(struct pipe_surface * psurf) argument
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/v3d/
H A Dv3dx_rcl.c55 load_general(struct v3d_cl *cl, struct pipe_surface *psurf, int buffer, argument
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
111 store_general(struct v3d_job * job,struct v3d_cl * cl,struct pipe_surface * psurf,int buffer,int pipe_bit,uint32_t * stores_pending,bool general_color_clear) argument
215 struct pipe_surface *psurf = job->cbufs[i]; local in function:v3d_rcl_emit_loads
313 struct pipe_surface *psurf = job->cbufs[i]; local in function:v3d_rcl_emit_stores
559 struct pipe_surface *psurf = job->cbufs[i]; local in function:v3dX
653 struct pipe_surface *psurf = job->zsbuf; local in function:v3dX
[all...]
H A Dv3d_resource.h164 v3d_surface(struct pipe_surface *psurf) argument
166 return (struct v3d_surface *)psurf;
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/iris/
H A Diris_clear.c578 struct pipe_surface *psurf = cso_fb->zsbuf; local in function:iris_clear
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 in function:iris_clear
599 struct iris_surface *isurf = (void *) psurf;
603 .depth = psurf->u.tex.last_layer - psurf
685 iris_clear_render_target(struct pipe_context * ctx,struct pipe_surface * psurf,const union pipe_color_union * p_color,unsigned dst_x,unsigned dst_y,unsigned width,unsigned height,bool render_condition_enabled) argument
717 iris_clear_depth_stencil(struct pipe_context * ctx,struct pipe_surface * psurf,unsigned flags,double depth,unsigned stencil,unsigned dst_x,unsigned dst_y,unsigned width,unsigned height,bool render_condition_enabled) argument
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/llvmpipe/
H A Dlp_scene.c156 init_scene_texture(struct lp_scene_surface *ssurf, struct pipe_surface *psurf) argument
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
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/v3d/
H A Dv3dx_rcl.c55 load_general(struct v3d_cl *cl, struct pipe_surface *psurf, int buffer, argument
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
114 store_general(struct v3d_job * job,struct v3d_cl * cl,struct pipe_surface * psurf,int layer,int buffer,int pipe_bit,uint32_t * stores_pending,bool general_color_clear,bool resolve_4x) argument
233 struct pipe_surface *psurf = job->bbuf ? job->bbuf : job->cbufs[i]; local in function:v3d_rcl_emit_loads
336 struct pipe_surface *psurf = job->cbufs[i]; local in function:v3d_rcl_emit_stores
741 struct pipe_surface *psurf = job->cbufs[i]; local in function:v3dX
835 struct pipe_surface *psurf = job->zsbuf; local in function:v3dX
[all...]
H A Dv3d_resource.h135 v3d_surface(struct pipe_surface *psurf) argument
137 return (struct v3d_surface *)psurf;
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/iris/
H A Diris_clear.c681 struct pipe_surface *psurf = cso_fb->zsbuf; local in function:iris_clear
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 in function:iris_clear
695 struct iris_surface *isurf = (void *) psurf;
696 box.depth = psurf->u.tex.last_layer - psurf
777 iris_clear_render_target(struct pipe_context * ctx,struct pipe_surface * psurf,const union pipe_color_union * p_color,unsigned dst_x,unsigned dst_y,unsigned width,unsigned height,bool render_condition_enabled) argument
807 iris_clear_depth_stencil(struct pipe_context * ctx,struct pipe_surface * psurf,unsigned flags,double depth,unsigned stencil,unsigned dst_x,unsigned dst_y,unsigned width,unsigned height,bool render_condition_enabled) argument
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/freedreno/a2xx/
H A Dfd2_gmem.c88 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
87 emit_gmem2mem_surf(struct fd_batch * batch,uint32_t base,struct pipe_surface * psurf) argument
230 emit_mem2gmem_surf(struct fd_batch * batch,uint32_t base,struct pipe_surface * psurf) argument
437 struct pipe_surface *psurf = pfb->cbufs[0]; local in function:fd2_emit_sysmem_prep
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/crocus/
H A Dcrocus_clear.c671 struct pipe_surface *psurf = cso_fb->zsbuf; local in function:crocus_clear
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 in function:crocus_clear
690 struct crocus_surface *isurf = (void *) psurf;
691 box.depth = psurf->u.tex.last_layer - psurf
782 crocus_clear_render_target(struct pipe_context * ctx,struct pipe_surface * psurf,const union pipe_color_union * p_color,unsigned dst_x,unsigned dst_y,unsigned width,unsigned height,bool render_condition_enabled) argument
814 crocus_clear_depth_stencil(struct pipe_context * ctx,struct pipe_surface * psurf,unsigned flags,double depth,unsigned stencil,unsigned dst_x,unsigned dst_y,unsigned width,unsigned height,bool render_condition_enabled) argument
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/freedreno/a6xx/
H A Dfd6_gmem.c75 struct pipe_surface *psurf = pfb->cbufs[i]; local in function:emit_mrt
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
315 struct pipe_surface *psurf = pfb->cbufs[i]; local in function:update_render_cntl
704 emit_blit(struct fd_batch * batch,struct fd_ringbuffer * ring,uint32_t base,struct pipe_surface * psurf,bool stencil) argument
770 emit_restore_blit(struct fd_batch * batch,struct fd_ringbuffer * ring,uint32_t base,struct pipe_surface * psurf,unsigned buffer) argument
1026 emit_resolve_blit(struct fd_batch * batch,struct fd_ringbuffer * ring,uint32_t base,struct pipe_surface * psurf,unsigned buffer) argument
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/lima/
H A Dlima_resource.c368 struct pipe_surface *psurf = &surf->base; local in function:lima_surface_create
371 pipe_reference_init(&psurf->reference, 1);
372 pipe_resource_reference(&psurf->texture, pres);
374 psurf->context = pctx;
375 psurf->format = surf_tmpl->format;
376 psurf->width = u_minify(pres->width0, level);
377 psurf->height = u_minify(pres->height0, level);
378 psurf->u.tex.level = level;
379 psurf->u.tex.first_layer = surf_tmpl->u.tex.first_layer;
380 psurf
418 lima_surface_destroy(struct pipe_context * pctx,struct pipe_surface * psurf) argument
[all...]

Completed in 30 milliseconds

123