/third_party/mesa3d/src/gallium/frontends/dri/ |
H A D | drisw.c | 202 struct pipe_resource *ptex, struct pipe_box *sub_box) in drisw_present_texture() 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() 228 drisw_present_texture(pipe, dPriv, ptex, NULL); in drisw_copy_to_front() 243 struct pipe_resource *ptex; in drisw_swap_buffers() local 248 ptex = drawable->textures[ST_ATTACHMENT_BACK_LEFT]; in drisw_swap_buffers() 250 if (ptex) { in drisw_swap_buffers() 253 pp_run(ctx->pp, ptex, ptex, drawable->textures[ST_ATTACHMENT_DEPTH_STENCIL]); in drisw_swap_buffers() 256 hud_run(ctx->hud, ctx->st->cso_context, ptex); in drisw_swap_buffers() 201 drisw_present_texture(struct pipe_context *pipe, __DRIdrawable *dPriv, struct pipe_resource *ptex, struct pipe_box *sub_box) drisw_present_texture() argument 224 drisw_copy_to_front(struct pipe_context *pipe, __DRIdrawable * dPriv, struct pipe_resource *ptex) drisw_copy_to_front() argument 281 struct pipe_resource *ptex; drisw_copy_sub_buffer() local 316 struct pipe_resource *ptex; drisw_flush_frontbuffer() local [all...] |
H A D | kopper.c | 205 struct pipe_resource *ptex, struct pipe_box *sub_box) in drisw_present_texture() 210 screen->base.screen->flush_frontbuffer(screen->base.screen, pipe, ptex, 0, 0, drawable, sub_box); in drisw_present_texture() 679 struct pipe_resource *ptex = drawable->textures[ST_ATTACHMENT_BACK_LEFT] ? in kopper_update_drawable_info() local 683 bool do_kopper_update = is_window && ptex && kscreen->base.fd == -1; in kopper_update_drawable_info() 685 zink_kopper_update(screen, ptex, &dPriv->w, &dPriv->h); in kopper_update_drawable_info() 692 struct pipe_resource *ptex, struct pipe_box *sub_box) in kopper_present_texture() 697 screen->base.screen->flush_frontbuffer(screen->base.screen, pipe, ptex, 0, 0, drawable, sub_box); in kopper_present_texture() 703 struct pipe_resource *ptex) in kopper_copy_to_front() 705 kopper_present_texture(pipe, dPriv, ptex, NULL); in kopper_copy_to_front() 715 struct pipe_resource *ptex; in kopper_flush_frontbuffer() local 204 drisw_present_texture(struct pipe_context *pipe, __DRIdrawable *dPriv, struct pipe_resource *ptex, struct pipe_box *sub_box) drisw_present_texture() argument 691 kopper_present_texture(struct pipe_context *pipe, __DRIdrawable *dPriv, struct pipe_resource *ptex, struct pipe_box *sub_box) kopper_present_texture() argument 701 kopper_copy_to_front(struct pipe_context *pipe, __DRIdrawable * dPriv, struct pipe_resource *ptex) kopper_copy_to_front() argument 906 struct pipe_resource *ptex; kopperSwapBuffers() local 982 struct pipe_resource *ptex = drawable->textures[ST_ATTACHMENT_BACK_LEFT] ? kopperSetSwapInterval() local 1000 struct pipe_resource *ptex = drawable->textures[ST_ATTACHMENT_BACK_LEFT] ? kopperQueryBufferAge() local [all...] |
/third_party/mesa3d/src/gallium/drivers/freedreno/ |
H A D | freedreno_surface.c | 35 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()
|
H A D | freedreno_resource.h | 178 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()
|
H A D | freedreno_surface.h | 43 struct pipe_resource *ptex,
|
/third_party/mesa3d/src/gallium/frontends/wgl/ |
H A D | stw_st.c | 471 struct pipe_resource *ptex = stwfb->textures[ST_ATTACHMENT_FRONT_LEFT]; in stw_st_framebuffer_flush_front() local 473 stwfb->textures[ST_ATTACHMENT_BACK_LEFT] = ptex; in stw_st_framebuffer_flush_front() 550 struct pipe_resource *ptex; in stw_st_swap_framebuffer_locked() local 554 ptex = stwfb->textures[front]; in stw_st_swap_framebuffer_locked() 556 stwfb->textures[back] = ptex; in stw_st_swap_framebuffer_locked() 559 ptex = stwfb->msaa_textures[front]; in stw_st_swap_framebuffer_locked() 561 stwfb->msaa_textures[back] = ptex; in stw_st_swap_framebuffer_locked()
|
/third_party/mesa3d/src/gallium/drivers/radeonsi/ |
H A D | si_texture.c | 174 const struct pipe_resource *ptex, enum radeon_surf_mode array_mode, in si_init_surface() 178 const struct util_format_description *desc = util_format_description(ptex->format); in si_init_surface() 187 if (!is_flushed_depth && ptex->format == PIPE_FORMAT_Z32_FLOAT_S8X24_UINT) { in si_init_surface() 190 bpe = util_format_get_blocksize(ptex->format); in si_init_surface() 198 (ptex->bind & PIPE_BIND_SHARED) || is_imported) { in si_init_surface() 220 if (ptex->flags & SI_RESOURCE_FLAG_DISABLE_DCC) in si_init_surface() 223 if (ptex->nr_samples >= 2 && sscreen->debug_flags & DBG(NO_DCC_MSAA)) in si_init_surface() 231 (ptex->bind & PIPE_BIND_SCANOUT && sscreen->debug_flags & DBG(NO_DISPLAY_DCC)))) in si_init_surface() 236 ptex->format == PIPE_FORMAT_R9G9B9E5_FLOAT) in si_init_surface() 242 if (sscreen->info.family == CHIP_STONEY && bpe == 16 && ptex in si_init_surface() 173 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) si_init_surface() argument 1605 struct si_auxiliary_texture *ptex = (struct si_auxiliary_texture *)next_plane; si_texture_from_winsys_buffer() local [all...] |
/third_party/mesa3d/src/gallium/frontends/glx/xlib/ |
H A D | xm_st.c | 67 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/ |
H A D | hgl.c | 66 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/mesa3d/src/gallium/drivers/r600/ |
H A D | r600_texture.c | 199 const struct pipe_resource *ptex, in r600_init_surface() 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 in r600_init_surface() 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) r600_init_surface() argument 577 r600_texture_destroy(struct pipe_screen *screen, struct pipe_resource *ptex) r600_texture_destroy() argument [all...] |
H A D | r600_pipe_common.h | 750 void r600_texture_destroy(struct pipe_screen *screen, struct pipe_resource *ptex);
|
/third_party/mesa3d/src/gallium/drivers/v3d/ |
H A D | v3d_resource.c | 1043 struct pipe_resource *ptex, in v3d_create_surface() 1049 struct v3d_resource *rsc = v3d_resource(ptex); in v3d_create_surface() 1059 pipe_resource_reference(&psurf->texture, ptex); in v3d_create_surface() 1063 psurf->width = u_minify(ptex->width0, level); in v3d_create_surface() 1064 psurf->height = u_minify(ptex->height0, level); in v3d_create_surface() 1069 surface->offset = v3d_layer_offset(ptex, level, in v3d_create_surface() 1042 v3d_create_surface(struct pipe_context *pctx, struct pipe_resource *ptex, const struct pipe_surface *surf_tmpl) v3d_create_surface() argument
|
/third_party/mesa3d/src/gallium/drivers/vc4/ |
H A D | vc4_resource.c | 735 struct pipe_resource *ptex, in vc4_create_surface() 739 struct vc4_resource *rsc = vc4_resource(ptex); in vc4_create_surface() 750 pipe_resource_reference(&psurf->texture, ptex); in vc4_create_surface() 754 psurf->width = u_minify(ptex->width0, level); in vc4_create_surface() 755 psurf->height = u_minify(ptex->height0, level); in vc4_create_surface() 734 vc4_create_surface(struct pipe_context *pctx, struct pipe_resource *ptex, const struct pipe_surface *surf_tmpl) vc4_create_surface() argument
|