/external/mesa3d/src/gallium/frontends/dri/ |
D | drisw.c | 202 struct pipe_resource *ptex, struct pipe_box *sub_box) in drisw_present_texture() argument 210 screen->base.screen->flush_frontbuffer(screen->base.screen, ptex, 0, 0, drawable, sub_box); in drisw_present_texture() 225 struct pipe_resource *ptex) in drisw_copy_to_front() argument 227 drisw_present_texture(dPriv, ptex, NULL); in drisw_copy_to_front() 241 struct pipe_resource *ptex; in drisw_swap_buffers() local 246 ptex = drawable->textures[ST_ATTACHMENT_BACK_LEFT]; in drisw_swap_buffers() 248 if (ptex) { in drisw_swap_buffers() 250 pp_run(ctx->pp, ptex, ptex, drawable->textures[ST_ATTACHMENT_DEPTH_STENCIL]); in drisw_swap_buffers() 253 hud_run(ctx->hud, ctx->st->cso_context, ptex); in drisw_swap_buffers() 264 drisw_copy_to_front(dPriv, ptex); in drisw_swap_buffers() [all …]
|
/external/mesa3d/src/gallium/drivers/freedreno/ |
D | freedreno_surface.c | 36 struct pipe_resource *ptex, in fd_create_surface() argument 50 pipe_resource_reference(&psurf->texture, ptex); in fd_create_surface() 54 psurf->width = u_minify(ptex->width0, level); in fd_create_surface() 55 psurf->height = u_minify(ptex->height0, level); in fd_create_surface() 58 if (ptex->target == PIPE_BUFFER) { in fd_create_surface()
|
D | freedreno_resource.h | 116 fd_resource(struct pipe_resource *ptex) in fd_resource() argument 118 return (struct fd_resource *)ptex; in fd_resource() 122 fd_resource_const(const struct pipe_resource *ptex) in fd_resource_const() argument 124 return (const struct fd_resource *)ptex; in fd_resource_const()
|
D | freedreno_surface.h | 43 struct pipe_resource *ptex,
|
/external/mesa3d/src/gallium/frontends/wgl/ |
D | stw_st.c | 345 struct pipe_resource *ptex; in stw_st_swap_framebuffer_locked() local 349 ptex = stwfb->textures[front]; in stw_st_swap_framebuffer_locked() 351 stwfb->textures[back] = ptex; in stw_st_swap_framebuffer_locked() 354 ptex = stwfb->msaa_textures[front]; in stw_st_swap_framebuffer_locked() 356 stwfb->msaa_textures[back] = ptex; in stw_st_swap_framebuffer_locked()
|
/external/mesa3d/src/gallium/drivers/radeonsi/ |
D | si_texture.c | 218 const struct pipe_resource *ptex, enum radeon_surf_mode array_mode, in si_init_surface() argument 222 const struct util_format_description *desc = util_format_description(ptex->format); in si_init_surface() 230 if (!is_flushed_depth && ptex->format == PIPE_FORMAT_Z32_FLOAT_S8X24_UINT) { in si_init_surface() 233 bpe = util_format_get_blocksize(ptex->format); in si_init_surface() 241 (ptex->bind & PIPE_BIND_SHARED) || is_imported) { in si_init_surface() 261 (ptex->flags & SI_RESOURCE_FLAG_DISABLE_DCC || in si_init_surface() 263 ptex->format == PIPE_FORMAT_R9G9B9E5_FLOAT) || in si_init_surface() 264 (ptex->nr_samples >= 2 && !sscreen->dcc_msaa_allowed))) in si_init_surface() 268 if (sscreen->info.family == CHIP_STONEY && bpe == 16 && ptex->nr_samples >= 2) in si_init_surface() 272 if (sscreen->info.chip_class == GFX8 && ptex->nr_storage_samples >= 4 && ptex->array_size > 1) in si_init_surface() [all …]
|
D | si_blit.c | 1273 struct pipe_resource *ptex = &tex->buffer.b.b; in si_decompress_dcc() local 1279 u_box_3d(0, 0, 0, u_minify(ptex->width0, level), in si_decompress_dcc() 1280 u_minify(ptex->height0, level), in si_decompress_dcc() 1281 util_num_layers(ptex, level), &box); in si_decompress_dcc() 1282 si_compute_copy_image(sctx, ptex, level, ptex, level, 0, 0, 0, &box, in si_decompress_dcc() 1288 si_clear_buffer(sctx, ptex, tex->surface.dcc_offset, in si_decompress_dcc()
|
/external/mesa3d/src/gallium/frontends/glx/xlib/ |
D | xm_st.c | 65 struct pipe_resource *ptex = xstfb->textures[statt]; in xmesa_st_framebuffer_display() local 68 if (!ptex) in xmesa_st_framebuffer_display() 73 if (!pres || pres != ptex) { in xmesa_st_framebuffer_display() 74 pipe_resource_reference(&xstfb->display_resource, ptex); in xmesa_st_framebuffer_display()
|
/external/mesa3d/src/gallium/drivers/r600/ |
D | r600_texture.c | 199 const struct pipe_resource *ptex, in r600_init_surface() argument 208 util_format_description(ptex->format); in r600_init_surface() 217 ptex->format == PIPE_FORMAT_Z32_FLOAT_S8X24_UINT) { in r600_init_surface() 220 bpe = util_format_get_blocksize(ptex->format); in r600_init_surface() 231 if (ptex->bind & PIPE_BIND_SCANOUT || is_scanout) { in r600_init_surface() 233 assert(ptex->nr_samples <= 1 && in r600_init_surface() 234 ptex->array_size == 1 && in r600_init_surface() 235 ptex->depth0 == 1 && in r600_init_surface() 236 ptex->last_level == 0 && in r600_init_surface() 242 if (ptex->bind & PIPE_BIND_SHARED) in r600_init_surface() [all …]
|
/external/mesa3d/src/gallium/drivers/v3d/ |
D | v3d_resource.c | 1012 struct pipe_resource *ptex, in v3d_create_surface() argument 1018 struct v3d_resource *rsc = v3d_resource(ptex); in v3d_create_surface() 1028 pipe_resource_reference(&psurf->texture, ptex); in v3d_create_surface() 1032 psurf->width = u_minify(ptex->width0, level); in v3d_create_surface() 1033 psurf->height = u_minify(ptex->height0, level); in v3d_create_surface() 1038 surface->offset = v3d_layer_offset(ptex, level, in v3d_create_surface()
|
/external/mesa3d/src/gallium/drivers/vc4/ |
D | vc4_resource.c | 722 struct pipe_resource *ptex, in vc4_create_surface() argument 726 struct vc4_resource *rsc = vc4_resource(ptex); in vc4_create_surface() 737 pipe_resource_reference(&psurf->texture, ptex); in vc4_create_surface() 741 psurf->width = u_minify(ptex->width0, level); in vc4_create_surface() 742 psurf->height = u_minify(ptex->height0, level); in vc4_create_surface()
|