/external/mesa3d/src/gallium/state_trackers/dri/ |
D | drisw.c | 157 struct pipe_resource *ptex, struct pipe_box *sub_box) in drisw_present_texture() argument 165 screen->base.screen->flush_frontbuffer(screen->base.screen, ptex, 0, 0, drawable, sub_box); in drisw_present_texture() 180 struct pipe_resource *ptex) in drisw_copy_to_front() argument 182 drisw_present_texture(dPriv, ptex, NULL); in drisw_copy_to_front() 196 struct pipe_resource *ptex; in drisw_swap_buffers() local 201 ptex = drawable->textures[ST_ATTACHMENT_BACK_LEFT]; in drisw_swap_buffers() 203 if (ptex) { in drisw_swap_buffers() 205 pp_run(ctx->pp, ptex, ptex, drawable->textures[ST_ATTACHMENT_DEPTH_STENCIL]); in drisw_swap_buffers() 209 drisw_copy_to_front(dPriv, ptex); in drisw_swap_buffers() 219 struct pipe_resource *ptex; in drisw_copy_sub_buffer() local [all …]
|
/external/mesa3d/src/gallium/drivers/freedreno/ |
D | freedreno_surface.c | 38 struct pipe_resource *ptex, in fd_create_surface() argument 53 pipe_resource_reference(&psurf->texture, ptex); in fd_create_surface() 57 psurf->width = u_minify(ptex->width0, level); in fd_create_surface() 58 psurf->height = u_minify(ptex->height0, level); in fd_create_surface()
|
D | freedreno_resource.h | 114 fd_resource(struct pipe_resource *ptex) in fd_resource() argument 116 return (struct fd_resource *)ptex; in fd_resource()
|
D | freedreno_surface.h | 50 struct pipe_resource *ptex,
|
/external/mesa3d/src/gallium/state_trackers/glx/xlib/ |
D | xm_st.c | 64 struct pipe_resource *ptex = xstfb->textures[statt]; in xmesa_st_framebuffer_display() local 67 if (!ptex) in xmesa_st_framebuffer_display() 72 if (!pres || pres != ptex) { in xmesa_st_framebuffer_display() 73 pipe_resource_reference(&xstfb->display_resource, ptex); in xmesa_st_framebuffer_display()
|
/external/mesa3d/src/gallium/state_trackers/wgl/ |
D | stw_st.c | 274 struct pipe_resource *ptex; in stw_st_swap_framebuffer_locked() local 278 ptex = stwfb->textures[front]; in stw_st_swap_framebuffer_locked() 280 stwfb->textures[back] = ptex; in stw_st_swap_framebuffer_locked()
|
/external/mesa3d/src/gallium/drivers/radeon/ |
D | r600_texture.c | 222 const struct pipe_resource *ptex, in r600_init_surface() argument 232 util_format_description(ptex->format); in r600_init_surface() 241 ptex->format == PIPE_FORMAT_Z32_FLOAT_S8X24_UINT) { in r600_init_surface() 244 bpe = util_format_get_blocksize(ptex->format); in r600_init_surface() 270 (ptex->flags & R600_RESOURCE_FLAG_DISABLE_DCC || in r600_init_surface() 271 ptex->format == PIPE_FORMAT_R9G9B9E5_FLOAT || in r600_init_surface() 273 (ptex->nr_samples >= 2 && in r600_init_surface() 274 (!sscreen->dcc_msaa_allowed || ptex->array_size > 1)))) in r600_init_surface() 277 if (ptex->bind & PIPE_BIND_SCANOUT || is_scanout) { in r600_init_surface() 279 assert(ptex->nr_samples <= 1 && in r600_init_surface() [all …]
|
/external/mesa3d/src/gallium/drivers/r600/ |
D | r600_texture.c | 198 const struct pipe_resource *ptex, in r600_init_surface() argument 207 util_format_description(ptex->format); in r600_init_surface() 216 ptex->format == PIPE_FORMAT_Z32_FLOAT_S8X24_UINT) { in r600_init_surface() 219 bpe = util_format_get_blocksize(ptex->format); in r600_init_surface() 230 if (ptex->bind & PIPE_BIND_SCANOUT || is_scanout) { in r600_init_surface() 232 assert(ptex->nr_samples <= 1 && in r600_init_surface() 233 ptex->array_size == 1 && in r600_init_surface() 234 ptex->depth0 == 1 && in r600_init_surface() 235 ptex->last_level == 0 && in r600_init_surface() 241 if (ptex->bind & PIPE_BIND_SHARED) in r600_init_surface() [all …]
|
/external/mesa3d/src/gallium/drivers/vc5/ |
D | vc5_resource.c | 640 struct pipe_resource *ptex, in vc5_create_surface() argument 646 struct vc5_resource *rsc = vc5_resource(ptex); in vc5_create_surface() 662 pipe_resource_reference(&psurf->texture, ptex); in vc5_create_surface() 666 psurf->width = u_minify(ptex->width0, level); in vc5_create_surface() 667 psurf->height = u_minify(ptex->height0, level); in vc5_create_surface()
|
/external/mesa3d/src/gallium/drivers/vc4/ |
D | vc4_resource.c | 806 struct pipe_resource *ptex, in vc4_create_surface() argument 810 struct vc4_resource *rsc = vc4_resource(ptex); in vc4_create_surface() 821 pipe_resource_reference(&psurf->texture, ptex); in vc4_create_surface() 825 psurf->width = u_minify(ptex->width0, level); in vc4_create_surface() 826 psurf->height = u_minify(ptex->height0, level); in vc4_create_surface()
|
/external/mesa3d/src/gallium/drivers/virgl/ |
D | virgl_texture.c | 282 struct pipe_resource *ptex, in virgl_texture_get_handle() argument 286 struct virgl_texture *vtex = virgl_texture(ptex); in virgl_texture_get_handle()
|