Searched refs:ptex (Results 1 - 23 of 23) sorted by relevance

/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/freedreno/
H A Dfreedreno_surface.c36 struct pipe_resource *ptex,
39 // struct fd_resource* tex = fd_resource(ptex);
50 pipe_resource_reference(&psurf->texture, ptex);
54 psurf->width = u_minify(ptex->width0, level);
55 psurf->height = u_minify(ptex->height0, level);
58 if (ptex->target == PIPE_BUFFER) {
35 fd_create_surface(struct pipe_context * pctx,struct pipe_resource * ptex,const struct pipe_surface * surf_tmpl) argument
H A Dfreedreno_surface.h43 struct pipe_resource *ptex,
H A Dfreedreno_resource.h118 fd_resource(struct pipe_resource *ptex) argument
120 return (struct fd_resource *)ptex;
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/freedreno/
H A Dfreedreno_surface.c35 fd_create_surface(struct pipe_context *pctx, struct pipe_resource *ptex, argument
47 pipe_resource_reference(&psurf->texture, ptex);
51 psurf->width = u_minify(ptex->width0, level);
52 psurf->height = u_minify(ptex->height0, level);
55 if (ptex->target == PIPE_BUFFER) {
H A Dfreedreno_surface.h43 struct pipe_resource *ptex,
H A Dfreedreno_resource.h178 fd_resource(struct pipe_resource *ptex) argument
180 return (struct fd_resource *)ptex;
184 fd_resource_const(const struct pipe_resource *ptex) argument
186 return (const struct fd_resource *)ptex;
/xsrc/external/mit/MesaLib/dist/src/gallium/frontends/dri/
H A Ddrisw.c202 struct pipe_resource *ptex, struct pipe_box *sub_box)
210 screen->base.screen->flush_frontbuffer(screen->base.screen, pipe, ptex, 0, 0, drawable, sub_box);
226 struct pipe_resource *ptex)
228 drisw_present_texture(pipe, dPriv, ptex, NULL);
242 struct pipe_resource *ptex; local in function:drisw_swap_buffers
247 ptex = drawable->textures[ST_ATTACHMENT_BACK_LEFT];
249 if (ptex) {
251 pp_run(ctx->pp, ptex, ptex, drawable->textures[ST_ATTACHMENT_DEPTH_STENCIL]);
254 hud_run(ctx->hud, ctx->st->cso_context, ptex);
201 drisw_present_texture(struct pipe_context * pipe,__DRIdrawable * dPriv,struct pipe_resource * ptex,struct pipe_box * sub_box) argument
224 drisw_copy_to_front(struct pipe_context * pipe,__DRIdrawable * dPriv,struct pipe_resource * ptex) argument
275 struct pipe_resource *ptex; local in function:drisw_copy_sub_buffer
298 struct pipe_resource *ptex; local in function:drisw_flush_frontbuffer
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/gallium/state_trackers/dri/
H A Ddrisw.c199 struct pipe_resource *ptex, struct pipe_box *sub_box)
207 screen->base.screen->flush_frontbuffer(screen->base.screen, ptex, 0, 0, drawable, sub_box);
222 struct pipe_resource *ptex)
224 drisw_present_texture(dPriv, ptex, NULL);
238 struct pipe_resource *ptex; local in function:drisw_swap_buffers
243 ptex = drawable->textures[ST_ATTACHMENT_BACK_LEFT];
245 if (ptex) {
247 pp_run(ctx->pp, ptex, ptex, drawable->textures[ST_ATTACHMENT_DEPTH_STENCIL]);
251 drisw_copy_to_front(dPriv, ptex);
198 drisw_present_texture(__DRIdrawable * dPriv,struct pipe_resource * ptex,struct pipe_box * sub_box) argument
221 drisw_copy_to_front(__DRIdrawable * dPriv,struct pipe_resource * ptex) argument
261 struct pipe_resource *ptex; local in function:drisw_copy_sub_buffer
284 struct pipe_resource *ptex; local in function:drisw_flush_frontbuffer
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/frontends/wgl/
H A Dstw_st.c400 struct pipe_resource *ptex; local in function:stw_st_framebuffer_flush_front
403 ptex = stwfb->textures[ST_ATTACHMENT_FRONT_LEFT];
405 stwfb->textures[ST_ATTACHMENT_BACK_LEFT] = ptex;
485 struct pipe_resource *ptex; local in function:stw_st_swap_framebuffer_locked
489 ptex = stwfb->textures[front];
491 stwfb->textures[back] = ptex;
494 ptex = stwfb->msaa_textures[front];
496 stwfb->msaa_textures[back] = ptex;
/xsrc/external/mit/MesaLib.old/dist/src/gallium/state_trackers/glx/xlib/
H A Dxm_st.c65 struct pipe_resource *ptex = xstfb->textures[statt]; local in function:xmesa_st_framebuffer_display
68 if (!ptex)
73 if (!pres || pres != ptex) {
74 pipe_resource_reference(&xstfb->display_resource, ptex);
/xsrc/external/mit/MesaLib/dist/src/gallium/frontends/glx/xlib/
H A Dxm_st.c67 struct pipe_resource *ptex = xstfb->textures[statt]; local in function:xmesa_st_framebuffer_display
71 if (!ptex)
76 if (!pres || pres != ptex) {
77 pipe_resource_reference(&xstfb->display_resource, ptex);
/xsrc/external/mit/MesaLib.old/dist/src/gallium/state_trackers/wgl/
H A Dstw_st.c275 struct pipe_resource *ptex; local in function:stw_st_swap_framebuffer_locked
279 ptex = stwfb->textures[front];
281 stwfb->textures[back] = ptex;
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/radeonsi/
H A Dsi_texture.c164 const struct pipe_resource *ptex, enum radeon_surf_mode array_mode,
168 const struct util_format_description *desc = util_format_description(ptex->format);
177 if (!is_flushed_depth && ptex->format == PIPE_FORMAT_Z32_FLOAT_S8X24_UINT) {
180 bpe = util_format_get_blocksize(ptex->format);
188 (ptex->bind & PIPE_BIND_SHARED) || is_imported) {
210 if (ptex->flags & SI_RESOURCE_FLAG_DISABLE_DCC)
213 if (ptex->nr_samples >= 2 && sscreen->debug_flags & DBG(NO_DCC_MSAA))
221 (ptex->bind & PIPE_BIND_SCANOUT && sscreen->debug_flags & DBG(NO_DISPLAY_DCC))))
226 ptex->format == PIPE_FORMAT_R9G9B9E5_FLOAT)
232 if (sscreen->info.family == CHIP_STONEY && bpe == 16 && ptex
163 si_init_surface(struct si_screen * sscreen,struct radeon_surf * surface,const struct pipe_resource * ptex,enum radeon_surf_mode array_mode,uint64_t modifier,bool is_imported,bool is_scanout,bool is_flushed_depth,bool tc_compatible_htile) argument
1527 struct si_auxiliary_texture *ptex = (struct si_auxiliary_texture *)next_plane; local in function:si_texture_from_winsys_buffer
[all...]
H A Dsi_blit.c1372 struct pipe_resource *ptex = &tex->buffer.b.b; local in function:si_decompress_dcc
1373 assert(ptex->nr_storage_samples <= 1);
1379 u_box_3d(0, 0, 0, u_minify(ptex->width0, level),
1380 u_minify(ptex->height0, level),
1381 util_num_layers(ptex, level), &box);
1382 si_compute_copy_image(sctx, ptex, level, ptex, level, 0, 0, 0, &box, true,
1396 si_clear_buffer(sctx, ptex, tex->surface.meta_offset,
/xsrc/external/mit/MesaLib/dist/src/gallium/frontends/hgl/
H A Dhgl.c66 struct pipe_resource* ptex = buffer->textures[statt]; local in function:hgl_st_framebuffer_flush_front
71 if (!ptex)
75 buffer->screen->flush_frontbuffer(buffer->screen, NULL, ptex, 0, 0,
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/v3d/
H A Dv3d_resource.c966 struct pipe_resource *ptex,
972 struct v3d_resource *rsc = v3d_resource(ptex);
984 pipe_resource_reference(&psurf->texture, ptex);
988 psurf->width = u_minify(ptex->width0, level);
989 psurf->height = u_minify(ptex->height0, level);
994 surface->offset = v3d_layer_offset(ptex, level,
965 v3d_create_surface(struct pipe_context * pctx,struct pipe_resource * ptex,const struct pipe_surface * surf_tmpl) argument
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/v3d/
H A Dv3d_resource.c1045 struct pipe_resource *ptex,
1051 struct v3d_resource *rsc = v3d_resource(ptex);
1061 pipe_resource_reference(&psurf->texture, ptex);
1065 psurf->width = u_minify(ptex->width0, level);
1066 psurf->height = u_minify(ptex->height0, level);
1071 surface->offset = v3d_layer_offset(ptex, level,
1044 v3d_create_surface(struct pipe_context * pctx,struct pipe_resource * ptex,const struct pipe_surface * surf_tmpl) argument
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/r600/
H A Dr600_texture.c198 const struct pipe_resource *ptex,
207 util_format_description(ptex->format);
216 ptex->format == PIPE_FORMAT_Z32_FLOAT_S8X24_UINT) {
219 bpe = util_format_get_blocksize(ptex->format);
230 if (ptex->bind & PIPE_BIND_SCANOUT || is_scanout) {
232 assert(ptex->nr_samples <= 1 &&
233 ptex->array_size == 1 &&
234 ptex->depth0 == 1 &&
235 ptex->last_level == 0 &&
241 if (ptex
196 r600_init_surface(struct r600_common_screen * rscreen,struct radeon_surf * surface,const struct pipe_resource * ptex,enum radeon_surf_mode array_mode,unsigned pitch_in_bytes_override,unsigned offset,bool is_imported,bool is_scanout,bool is_flushed_depth) argument
579 r600_texture_destroy(struct pipe_screen * screen,struct pipe_resource * ptex) argument
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/radeonsi/
H A Dsi_texture.c223 const struct pipe_resource *ptex,
233 util_format_description(ptex->format);
242 ptex->format == PIPE_FORMAT_Z32_FLOAT_S8X24_UINT) {
245 bpe = util_format_get_blocksize(ptex->format);
271 (ptex->flags & SI_RESOURCE_FLAG_DISABLE_DCC ||
272 ptex->format == PIPE_FORMAT_R9G9B9E5_FLOAT ||
273 (ptex->nr_samples >= 2 && !sscreen->dcc_msaa_allowed)))
278 bpe == 16 && ptex->nr_samples >= 2)
283 ptex->nr_storage_samples >= 4 &&
284 ptex
221 si_init_surface(struct si_screen * sscreen,struct radeon_surf * surface,const struct pipe_resource * ptex,enum radeon_surf_mode array_mode,unsigned pitch_in_bytes_override,unsigned offset,bool is_imported,bool is_scanout,bool is_flushed_depth,bool tc_compatible_htile) argument
946 si_texture_destroy(struct pipe_screen * screen,struct pipe_resource * ptex) argument
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/r600/
H A Dr600_texture.c199 const struct pipe_resource *ptex,
208 util_format_description(ptex->format);
217 ptex->format == PIPE_FORMAT_Z32_FLOAT_S8X24_UINT) {
220 bpe = util_format_get_blocksize(ptex->format);
231 if (ptex->bind & PIPE_BIND_SCANOUT || is_scanout) {
233 assert(ptex->nr_samples <= 1 &&
234 ptex->array_size == 1 &&
235 ptex->depth0 == 1 &&
236 ptex->last_level == 0 &&
242 if (ptex
197 r600_init_surface(struct r600_common_screen * rscreen,struct radeon_surf * surface,const struct pipe_resource * ptex,enum radeon_surf_mode array_mode,unsigned pitch_in_bytes_override,unsigned offset,bool is_imported,bool is_scanout,bool is_flushed_depth) argument
577 r600_texture_destroy(struct pipe_screen * screen,struct pipe_resource * ptex) argument
[all...]
H A Dr600_pipe_common.h755 void r600_texture_destroy(struct pipe_screen *screen, struct pipe_resource *ptex);
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/vc4/
H A Dvc4_resource.c723 struct pipe_resource *ptex,
727 struct vc4_resource *rsc = vc4_resource(ptex);
738 pipe_resource_reference(&psurf->texture, ptex);
742 psurf->width = u_minify(ptex->width0, level);
743 psurf->height = u_minify(ptex->height0, level);
722 vc4_create_surface(struct pipe_context * pctx,struct pipe_resource * ptex,const struct pipe_surface * surf_tmpl) argument
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/vc4/
H A Dvc4_resource.c748 struct pipe_resource *ptex,
752 struct vc4_resource *rsc = vc4_resource(ptex);
763 pipe_resource_reference(&psurf->texture, ptex);
767 psurf->width = u_minify(ptex->width0, level);
768 psurf->height = u_minify(ptex->height0, level);
747 vc4_create_surface(struct pipe_context * pctx,struct pipe_resource * ptex,const struct pipe_surface * surf_tmpl) argument

Completed in 29 milliseconds