Home
last modified time | relevance | path

Searched refs:ptex (Results 1 – 14 of 14) sorted by relevance

/third_party/mesa3d/src/gallium/frontends/dri/
Ddrisw.c202 struct pipe_resource *ptex, struct pipe_box *sub_box) in drisw_present_texture() argument
210 screen->base.screen->flush_frontbuffer(screen->base.screen, pipe, ptex, 0, 0, drawable, sub_box); in drisw_present_texture()
226 struct pipe_resource *ptex) in drisw_copy_to_front() argument
228 drisw_present_texture(pipe, dPriv, ptex, NULL); in drisw_copy_to_front()
242 struct pipe_resource *ptex; in drisw_swap_buffers() local
247 ptex = drawable->textures[ST_ATTACHMENT_BACK_LEFT]; in drisw_swap_buffers()
249 if (ptex) { in drisw_swap_buffers()
251 pp_run(ctx->pp, ptex, ptex, drawable->textures[ST_ATTACHMENT_DEPTH_STENCIL]); in drisw_swap_buffers()
254 hud_run(ctx->hud, ctx->st->cso_context, ptex); in drisw_swap_buffers()
265 drisw_copy_to_front(ctx->st->pipe, dPriv, ptex); in drisw_swap_buffers()
[all …]
/third_party/mesa3d/src/gallium/drivers/freedreno/
Dfreedreno_surface.c35 fd_create_surface(struct pipe_context *pctx, struct pipe_resource *ptex, in fd_create_surface() argument
47 pipe_resource_reference(&psurf->texture, ptex); in fd_create_surface()
51 psurf->width = u_minify(ptex->width0, level); in fd_create_surface()
52 psurf->height = u_minify(ptex->height0, level); in fd_create_surface()
55 if (ptex->target == PIPE_BUFFER) { in fd_create_surface()
Dfreedreno_resource.h178 fd_resource(struct pipe_resource *ptex) in fd_resource() argument
180 return (struct fd_resource *)ptex; in fd_resource()
184 fd_resource_const(const struct pipe_resource *ptex) in fd_resource_const() argument
186 return (const struct fd_resource *)ptex; in fd_resource_const()
Dfreedreno_surface.h43 struct pipe_resource *ptex,
/third_party/mesa3d/src/gallium/frontends/wgl/
Dstw_st.c400 struct pipe_resource *ptex; in stw_st_framebuffer_flush_front() local
403 ptex = stwfb->textures[ST_ATTACHMENT_FRONT_LEFT]; in stw_st_framebuffer_flush_front()
405 stwfb->textures[ST_ATTACHMENT_BACK_LEFT] = ptex; in stw_st_framebuffer_flush_front()
485 struct pipe_resource *ptex; in stw_st_swap_framebuffer_locked() local
489 ptex = stwfb->textures[front]; in stw_st_swap_framebuffer_locked()
491 stwfb->textures[back] = ptex; in stw_st_swap_framebuffer_locked()
494 ptex = stwfb->msaa_textures[front]; in stw_st_swap_framebuffer_locked()
496 stwfb->msaa_textures[back] = ptex; in stw_st_swap_framebuffer_locked()
/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_texture.c158 const struct pipe_resource *ptex, enum radeon_surf_mode array_mode, in si_init_surface() argument
162 const struct util_format_description *desc = util_format_description(ptex->format); in si_init_surface()
171 if (!is_flushed_depth && ptex->format == PIPE_FORMAT_Z32_FLOAT_S8X24_UINT) { in si_init_surface()
174 bpe = util_format_get_blocksize(ptex->format); in si_init_surface()
182 (ptex->bind & PIPE_BIND_SHARED) || is_imported) { in si_init_surface()
204 if (ptex->flags & SI_RESOURCE_FLAG_DISABLE_DCC) in si_init_surface()
207 if (ptex->nr_samples >= 2 && sscreen->debug_flags & DBG(NO_DCC_MSAA)) in si_init_surface()
215 (ptex->bind & PIPE_BIND_SCANOUT && sscreen->debug_flags & DBG(NO_DISPLAY_DCC)))) in si_init_surface()
220 ptex->format == PIPE_FORMAT_R9G9B9E5_FLOAT) in si_init_surface()
226 if (sscreen->info.family == CHIP_STONEY && bpe == 16 && ptex->nr_samples >= 2) in si_init_surface()
[all …]
Dsi_blit.c1372 struct pipe_resource *ptex = &tex->buffer.b.b; in si_decompress_dcc() local
1373 assert(ptex->nr_storage_samples <= 1); in si_decompress_dcc()
1379 u_box_3d(0, 0, 0, u_minify(ptex->width0, level), in si_decompress_dcc()
1380 u_minify(ptex->height0, level), in si_decompress_dcc()
1381 util_num_layers(ptex, level), &box); in si_decompress_dcc()
1382 si_compute_copy_image(sctx, ptex, level, ptex, level, 0, 0, 0, &box, true, in si_decompress_dcc()
1396 si_clear_buffer(sctx, ptex, tex->surface.meta_offset, in si_decompress_dcc()
/third_party/mesa3d/src/gallium/frontends/glx/xlib/
Dxm_st.c67 struct pipe_resource *ptex = xstfb->textures[statt]; in xmesa_st_framebuffer_display() local
71 if (!ptex) in xmesa_st_framebuffer_display()
76 if (!pres || pres != ptex) { in xmesa_st_framebuffer_display()
77 pipe_resource_reference(&xstfb->display_resource, ptex); in xmesa_st_framebuffer_display()
/third_party/mesa3d/src/gallium/frontends/hgl/
Dhgl.c66 struct pipe_resource* ptex = buffer->textures[statt]; in hgl_st_framebuffer_flush_front() local
71 if (!ptex) in hgl_st_framebuffer_flush_front()
75 buffer->screen->flush_frontbuffer(buffer->screen, NULL, ptex, 0, 0, in hgl_st_framebuffer_flush_front()
/third_party/boost/doc/
Ddvips.version1 This is pdvips(k) p1.7b Copyright 2010 ASCII MEDIA WORKS. (ptex-staff@ml.asciimw.jp)
/third_party/mesa3d/src/gallium/drivers/r600/
Dr600_texture.c199 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 …]
Dr600_pipe_common.h755 void r600_texture_destroy(struct pipe_screen *screen, struct pipe_resource *ptex);
/third_party/mesa3d/src/gallium/drivers/v3d/
Dv3d_resource.c1045 struct pipe_resource *ptex, in v3d_create_surface() argument
1051 struct v3d_resource *rsc = v3d_resource(ptex); in v3d_create_surface()
1061 pipe_resource_reference(&psurf->texture, ptex); in v3d_create_surface()
1065 psurf->width = u_minify(ptex->width0, level); in v3d_create_surface()
1066 psurf->height = u_minify(ptex->height0, level); in v3d_create_surface()
1071 surface->offset = v3d_layer_offset(ptex, level, in v3d_create_surface()
/third_party/mesa3d/src/gallium/drivers/vc4/
Dvc4_resource.c748 struct pipe_resource *ptex, in vc4_create_surface() argument
752 struct vc4_resource *rsc = vc4_resource(ptex); in vc4_create_surface()
763 pipe_resource_reference(&psurf->texture, ptex); in vc4_create_surface()
767 psurf->width = u_minify(ptex->width0, level); in vc4_create_surface()
768 psurf->height = u_minify(ptex->height0, level); in vc4_create_surface()