/external/mesa3d/src/gallium/state_trackers/egl/common/ |
D | egl_g3d_image.c | 228 struct pipe_resource *ptex; in egl_g3d_create_image() local 245 ptex = egl_g3d_reference_native_pixmap(dpy, in egl_g3d_create_image() 250 ptex = egl_g3d_reference_drm_buffer(dpy, in egl_g3d_create_image() 256 ptex = egl_g3d_reference_wl_buffer(dpy, in egl_g3d_create_image() 262 ptex = egl_g3d_reference_android_native_buffer(dpy, in egl_g3d_create_image() 267 ptex = NULL; in egl_g3d_create_image() 271 if (!ptex) { in egl_g3d_create_image() 276 if (level > ptex->last_level) { in egl_g3d_create_image() 282 if (layer >= (u_minify(ptex->depth0, level) + ptex->array_size - 1)) { in egl_g3d_create_image() 290 gimg->texture = ptex; in egl_g3d_create_image() [all …]
|
D | egl_g3d_st.c | 134 struct pipe_resource templ, *ptex; in pbuffer_allocate_pbuffer_texture() local 147 ptex = screen->resource_create(screen, &templ); in pbuffer_allocate_pbuffer_texture() 148 gsurf->render_texture = ptex; in pbuffer_allocate_pbuffer_texture()
|
D | egl_g3d_api.c | 398 struct pipe_resource *ptex = NULL; in egl_g3d_create_pbuffer_from_client_buffer() local 448 &gsurf->stvis.render_buffer, 1, &ptex)) { in egl_g3d_create_pbuffer_from_client_buffer() 453 pipe_resource_reference(&ptex, NULL); in egl_g3d_create_pbuffer_from_client_buffer()
|
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/egl/common/ |
D | egl_g3d_image.c | 228 struct pipe_resource *ptex; in egl_g3d_create_image() local 245 ptex = egl_g3d_reference_native_pixmap(dpy, in egl_g3d_create_image() 250 ptex = egl_g3d_reference_drm_buffer(dpy, in egl_g3d_create_image() 256 ptex = egl_g3d_reference_wl_buffer(dpy, in egl_g3d_create_image() 262 ptex = egl_g3d_reference_android_native_buffer(dpy, in egl_g3d_create_image() 267 ptex = NULL; in egl_g3d_create_image() 271 if (!ptex) { in egl_g3d_create_image() 276 if (level > ptex->last_level) { in egl_g3d_create_image() 282 if (layer >= (u_minify(ptex->depth0, level) + ptex->array_size - 1)) { in egl_g3d_create_image() 290 gimg->texture = ptex; in egl_g3d_create_image() [all …]
|
D | egl_g3d_st.c | 134 struct pipe_resource templ, *ptex; in pbuffer_allocate_pbuffer_texture() local 147 ptex = screen->resource_create(screen, &templ); in pbuffer_allocate_pbuffer_texture() 148 gsurf->render_texture = ptex; in pbuffer_allocate_pbuffer_texture()
|
D | egl_g3d_api.c | 398 struct pipe_resource *ptex = NULL; in egl_g3d_create_pbuffer_from_client_buffer() local 448 &gsurf->stvis.render_buffer, 1, &ptex)) { in egl_g3d_create_pbuffer_from_client_buffer() 453 pipe_resource_reference(&ptex, NULL); in egl_g3d_create_pbuffer_from_client_buffer()
|
/external/mesa3d/src/gallium/state_trackers/dri/sw/ |
D | drisw.c | 104 struct pipe_resource *ptex) in drisw_present_texture() argument 112 screen->base.screen->flush_frontbuffer(screen->base.screen, ptex, 0, 0, drawable); in drisw_present_texture() 127 struct pipe_resource *ptex) in drisw_copy_to_front() argument 129 drisw_present_texture(dPriv, ptex); in drisw_copy_to_front() 143 struct pipe_resource *ptex; in drisw_swap_buffers() local 148 ptex = drawable->textures[ST_ATTACHMENT_BACK_LEFT]; in drisw_swap_buffers() 150 if (ptex) { in drisw_swap_buffers() 152 pp_run(ctx->pp, ptex, ptex, drawable->textures[ST_ATTACHMENT_DEPTH_STENCIL]); in drisw_swap_buffers() 156 drisw_copy_to_front(dPriv, ptex); in drisw_swap_buffers() 165 struct pipe_resource *ptex; in drisw_flush_frontbuffer() local [all …]
|
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/dri/sw/ |
D | drisw.c | 104 struct pipe_resource *ptex) in drisw_present_texture() argument 112 screen->base.screen->flush_frontbuffer(screen->base.screen, ptex, 0, 0, drawable); in drisw_present_texture() 127 struct pipe_resource *ptex) in drisw_copy_to_front() argument 129 drisw_present_texture(dPriv, ptex); in drisw_copy_to_front() 143 struct pipe_resource *ptex; in drisw_swap_buffers() local 148 ptex = drawable->textures[ST_ATTACHMENT_BACK_LEFT]; in drisw_swap_buffers() 150 if (ptex) { in drisw_swap_buffers() 152 pp_run(ctx->pp, ptex, ptex, drawable->textures[ST_ATTACHMENT_DEPTH_STENCIL]); in drisw_swap_buffers() 156 drisw_copy_to_front(dPriv, ptex); in drisw_swap_buffers() 165 struct pipe_resource *ptex; in drisw_flush_frontbuffer() local [all …]
|
/external/mesa3d/src/gallium/drivers/radeonsi/ |
D | r600_texture.c | 77 const struct pipe_resource *ptex, in r600_init_surface() argument 80 surface->npix_x = ptex->width0; in r600_init_surface() 81 surface->npix_y = ptex->height0; in r600_init_surface() 82 surface->npix_z = ptex->depth0; in r600_init_surface() 83 surface->blk_w = util_format_get_blockwidth(ptex->format); in r600_init_surface() 84 surface->blk_h = util_format_get_blockheight(ptex->format); in r600_init_surface() 87 surface->last_level = ptex->last_level; in r600_init_surface() 88 surface->bpe = util_format_get_blocksize(ptex->format); in r600_init_surface() 110 switch (ptex->target) { in r600_init_surface() 123 surface->array_size = ptex->array_size; in r600_init_surface() [all …]
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/radeonsi/ |
D | r600_texture.c | 77 const struct pipe_resource *ptex, in r600_init_surface() argument 80 surface->npix_x = ptex->width0; in r600_init_surface() 81 surface->npix_y = ptex->height0; in r600_init_surface() 82 surface->npix_z = ptex->depth0; in r600_init_surface() 83 surface->blk_w = util_format_get_blockwidth(ptex->format); in r600_init_surface() 84 surface->blk_h = util_format_get_blockheight(ptex->format); in r600_init_surface() 87 surface->last_level = ptex->last_level; in r600_init_surface() 88 surface->bpe = util_format_get_blocksize(ptex->format); in r600_init_surface() 110 switch (ptex->target) { in r600_init_surface() 123 surface->array_size = ptex->array_size; in r600_init_surface() [all …]
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/r600/ |
D | r600_texture.c | 70 const struct pipe_resource *ptex, in r600_init_surface() argument 75 util_format_description(ptex->format); in r600_init_surface() 81 surface->npix_x = ptex->width0; in r600_init_surface() 82 surface->npix_y = ptex->height0; in r600_init_surface() 83 surface->npix_z = ptex->depth0; in r600_init_surface() 84 surface->blk_w = util_format_get_blockwidth(ptex->format); in r600_init_surface() 85 surface->blk_h = util_format_get_blockheight(ptex->format); in r600_init_surface() 88 surface->last_level = ptex->last_level; in r600_init_surface() 92 ptex->format == PIPE_FORMAT_Z32_FLOAT_S8X24_UINT) { in r600_init_surface() 95 surface->bpe = util_format_get_blocksize(ptex->format); in r600_init_surface() [all …]
|
/external/mesa3d/src/gallium/drivers/r600/ |
D | r600_texture.c | 70 const struct pipe_resource *ptex, in r600_init_surface() argument 75 util_format_description(ptex->format); in r600_init_surface() 81 surface->npix_x = ptex->width0; in r600_init_surface() 82 surface->npix_y = ptex->height0; in r600_init_surface() 83 surface->npix_z = ptex->depth0; in r600_init_surface() 84 surface->blk_w = util_format_get_blockwidth(ptex->format); in r600_init_surface() 85 surface->blk_h = util_format_get_blockheight(ptex->format); in r600_init_surface() 88 surface->last_level = ptex->last_level; in r600_init_surface() 92 ptex->format == PIPE_FORMAT_Z32_FLOAT_S8X24_UINT) { in r600_init_surface() 95 surface->bpe = util_format_get_blocksize(ptex->format); in r600_init_surface() [all …]
|
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/wgl/ |
D | stw_st.c | 230 struct pipe_resource *ptex; in stw_st_swap_framebuffer_locked() local 234 ptex = stwfb->textures[front]; in stw_st_swap_framebuffer_locked() 236 stwfb->textures[back] = ptex; in stw_st_swap_framebuffer_locked()
|
/external/mesa3d/src/gallium/state_trackers/wgl/ |
D | stw_st.c | 230 struct pipe_resource *ptex; in stw_st_swap_framebuffer_locked() local 234 ptex = stwfb->textures[front]; in stw_st_swap_framebuffer_locked() 236 stwfb->textures[back] = ptex; in stw_st_swap_framebuffer_locked()
|
/external/mesa3d/src/gallium/state_trackers/glx/xlib/ |
D | xm_st.c | 63 struct pipe_resource *ptex = xstfb->textures[statt]; in xmesa_st_framebuffer_display() local 66 if (!ptex) in xmesa_st_framebuffer_display() 71 if (!pres || pres != ptex) { in xmesa_st_framebuffer_display() 72 pipe_resource_reference(&xstfb->display_resource, ptex); in xmesa_st_framebuffer_display()
|
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/glx/xlib/ |
D | xm_st.c | 63 struct pipe_resource *ptex = xstfb->textures[statt]; in xmesa_st_framebuffer_display() local 66 if (!ptex) in xmesa_st_framebuffer_display() 71 if (!pres || pres != ptex) { in xmesa_st_framebuffer_display() 72 pipe_resource_reference(&xstfb->display_resource, ptex); in xmesa_st_framebuffer_display()
|
/external/mesa3d/src/gallium/state_trackers/dri/drm/ |
D | dri2.c | 52 struct pipe_resource *ptex = drawable->textures[ST_ATTACHMENT_BACK_LEFT]; in dri2_flush_drawable() local 55 if (ptex && ctx->pp && drawable->textures[ST_ATTACHMENT_DEPTH_STENCIL]) in dri2_flush_drawable() 56 pp_run(ctx->pp, ptex, ptex, drawable->textures[ST_ATTACHMENT_DEPTH_STENCIL]); in dri2_flush_drawable()
|
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/dri/drm/ |
D | dri2.c | 52 struct pipe_resource *ptex = drawable->textures[ST_ATTACHMENT_BACK_LEFT]; in dri2_flush_drawable() local 55 if (ptex && ctx->pp && drawable->textures[ST_ATTACHMENT_DEPTH_STENCIL]) in dri2_flush_drawable() 56 pp_run(ctx->pp, ptex, ptex, drawable->textures[ST_ATTACHMENT_DEPTH_STENCIL]); in dri2_flush_drawable()
|
/external/mesa3d/src/gallium/state_trackers/egl/x11/ |
D | native_dri2.c | 400 struct pipe_resource *ptex = dri2surf->textures[att]; in dri2_surface_validate() local 403 pipe_resource_reference(&textures[att], ptex); in dri2_surface_validate() 439 struct pipe_resource *ptex = dri2surf->textures[i]; in dri2_surface_destroy() local 440 pipe_resource_reference(&ptex, NULL); in dri2_surface_destroy()
|
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/egl/x11/ |
D | native_dri2.c | 400 struct pipe_resource *ptex = dri2surf->textures[att]; in dri2_surface_validate() local 403 pipe_resource_reference(&textures[att], ptex); in dri2_surface_validate() 439 struct pipe_resource *ptex = dri2surf->textures[i]; in dri2_surface_destroy() local 440 pipe_resource_reference(&ptex, NULL); in dri2_surface_destroy()
|