Searched refs:dri_context (Results 1 - 15 of 15) sorted by relevance
/third_party/mesa3d/src/gallium/frontends/dri/ |
H A D | dri_context.h | 45 struct dri_context struct 66 static inline struct dri_context * 67 dri_context(__DRIcontext * driContextPriv) in dri_context() function 71 return (struct dri_context *)driContextPriv->driverPrivate; in dri_context() 75 * dri_context.c 86 struct dri_context *
|
H A D | dri_context.c | 34 #include "dri_context.h" 54 struct dri_context *ctx = NULL; in dri_create_context() 141 struct dri_context *share_ctx = NULL; in dri_create_context() 143 share_ctx = (struct dri_context *)sharedContextPrivate; in dri_create_context() 147 ctx = CALLOC_STRUCT(dri_context); in dri_create_context() 239 struct dri_context *ctx = dri_context(cPriv); in dri_destroy_context() 264 struct dri_context *ctx = dri_context(cPriv); in dri_unbind_context() 290 struct dri_context *ct in dri_make_current() [all...] |
H A D | dri_drawable.h | 38 struct dri_context; 68 void (*allocate_textures)(struct dri_context *ctx, 75 bool (*flush_frontbuffer)(struct dri_context *ctx, 80 struct dri_context *ctx, 82 void (*flush_swapbuffers)(struct dri_context *ctx,
|
H A D | dri_drawable.c | 33 #include "dri_context.h" 50 struct dri_context *ctx = (struct dri_context *)stctx->st_manager_private; in dri_st_framebuffer_validate() 122 struct dri_context *ctx = (struct dri_context *)stctx->st_manager_private; in dri_st_framebuffer_flush_front() 137 struct dri_context *ctx = (struct dri_context *)stctx->st_manager_private; in dri_st_framebuffer_flush_swapbuffers() 217 dri_drawable_validate_att(struct dri_context *ctx, in dri_drawable_validate_att() 248 struct dri_context *ctx = dri_context(pDRICt in dri_set_tex_buffer2() [all...] |
H A D | drisw.c | 39 #include "dri_context.h" 240 struct dri_context *ctx = dri_get_current(dPriv->driScreenPriv); in drisw_swap_buffers() 278 struct dri_context *ctx = dri_get_current(dPriv->driScreenPriv); in drisw_copy_sub_buffer() 312 drisw_flush_frontbuffer(struct dri_context *ctx, in drisw_flush_frontbuffer() 344 drisw_allocate_textures(struct dri_context *stctx, in drisw_allocate_textures() 429 struct dri_context *ctx, in drisw_update_tex_buffer()
|
H A D | dri_helpers.c | 93 struct st_context_iface *stapi = dri_context(_ctx)->st; in dri2_create_fence() 113 struct st_context_iface *stapi = dri_context(_ctx)->st; in dri2_create_fence_fd() 214 struct pipe_context *ctx = dri_context(_ctx)->st->pipe; in dri2_server_wait_sync() 276 struct st_context *st_ctx = (struct st_context *)dri_context(context)->st; in dri2_create_image_from_renderbuffer2() 372 struct st_context *st_ctx = (struct st_context *)dri_context(context)->st; in dri2_create_from_texture()
|
H A D | kopper.c | 38 #include "dri_context.h" 389 struct dri_context *ctx = dri_context(context); in handle_in_fence() 485 kopper_allocate_textures(struct dri_context *ctx, in kopper_allocate_textures() 711 kopper_flush_frontbuffer(struct dri_context *ctx, in kopper_flush_frontbuffer() 797 struct dri_context *ctx, in kopper_update_tex_buffer() 838 kopper_flush_swapbuffers(struct dri_context *ctx, in kopper_flush_swapbuffers() 903 struct dri_context *ctx = dri_get_current(dPriv->driScreenPriv); in kopperSwapBuffers() 998 struct dri_context *ctx = dri_get_current(dPriv->driScreenPriv); in kopperQueryBufferAge()
|
H A D | dri2.c | 411 struct dri_context *ctx = dri_context(context); in handle_in_fence() 435 dri2_allocate_textures(struct dri_context *ctx, in dri2_allocate_textures() 734 dri2_flush_frontbuffer(struct dri_context *ctx, in dri2_flush_frontbuffer() 796 dri2_flush_swapbuffers(struct dri_context *ctx, in dri2_flush_swapbuffers() 809 struct dri_context *ctx, in dri2_update_tex_buffer() 1747 struct dri_context *ctx = dri_context(context); in dri2_blit_image() 1795 struct dri_context *ctx = dri_context(contex in dri2_map_image() [all...] |
H A D | dri_screen.h | 46 struct dri_context;
|
H A D | dri_screen.c | 33 #include "dri_context.h" 823 struct dri_context *ctx = (struct dri_context *)st->st_manager_private; in dri_set_background_context()
|
/third_party/mesa3d/src/egl/drivers/dri2/ |
H A D | egl_dri2.c | 1496 dri2_ctx_shared ? dri2_ctx_shared->dri_context : NULL; in dri2_create_context() 1595 dri2_ctx->dri_context = in dri2_create_context() 1607 dri2_ctx->dri_context = in dri2_create_context() 1618 dri2_ctx->dri_context = in dri2_create_context() 1628 dri2_ctx->dri_context = in dri2_create_context() 1639 dri2_ctx->dri_context = in dri2_create_context() 1648 if (!dri2_ctx->dri_context) in dri2_create_context() 1668 dri2_dpy->core->destroyContext(dri2_ctx->dri_context); in dri2_destroy_context() 1730 __DRIcontext *dri_ctx = dri2_egl_context(ctx)->dri_context; in dri2_surf_update_fence_fd() 1812 __DRIcontext *old_cctx = dri2_egl_context(old_ctx)->dri_context; in dri2_make_current() [all...] |
H A D | egl_dri2.h | 308 __DRIcontext *dri_context; member
|
H A D | platform_x11_dri3.c | 75 return dri2_ctx->dri_context; in egl_dri3_get_dri_context()
|
H A D | platform_wayland.c | 1583 dri2_dpy->image->blitImage(dri2_ctx->dri_context, in dri2_wl_swap_buffers_with_damage()
|
/third_party/mesa3d/src/loader/ |
H A D | loader_dri3_helper.c | 213 __DRIcontext *dri_context; in loader_dri3_blit_image() local 219 dri_context = draw->vtable->get_dri_context(draw); in loader_dri3_blit_image() 221 if (!dri_context || !draw->vtable->in_current_context(draw)) { in loader_dri3_blit_image() 222 dri_context = loader_dri3_blit_context_get(draw); in loader_dri3_blit_image() 227 if (dri_context) in loader_dri3_blit_image() 228 draw->ext->image->blitImage(dri_context, dst, src, dstx0, dsty0, in loader_dri3_blit_image() 235 return dri_context != NULL; in loader_dri3_blit_image() 799 __DRIcontext *dri_context = draw->vtable->get_dri_context(draw); in loader_dri3_flush() local 801 if (dri_context) { in loader_dri3_flush() 802 draw->ext->flush->flush_with_flags(dri_context, dra in loader_dri3_flush() [all...] |
Completed in 22 milliseconds