Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/state_trackers/wgl/
Dstw_device.c48 stw_get_param(struct st_manager *smapi, in stw_get_param() argument
108 stw_dev->smapi = CALLOC_STRUCT(st_manager); in stw_init()
109 if (!stw_dev->stapi || !stw_dev->smapi) in stw_init()
119 stw_dev->smapi->screen = screen; in stw_init()
120 stw_dev->smapi->get_param = stw_get_param; in stw_init()
149 FREE(stw_dev->smapi); in stw_init()
202 if (stw_dev->smapi->destroy) in stw_cleanup()
203 stw_dev->smapi->destroy(stw_dev->smapi); in stw_cleanup()
205 FREE(stw_dev->smapi); in stw_cleanup()
Dstw_device.h57 struct st_manager *smapi; member
Dstw_st.c236 stwfb->base.state_manager = stw_dev->smapi; in stw_st_create_framebuffer()
Dstw_context.c274 stw_dev->smapi, &attribs, &ctx_err, shareCtx ? shareCtx->st : NULL); in stw_create_context_attribs()
/external/mesa3d/src/mesa/state_tracker/
Dst_manager.c530 st_framebuffer_iface_lookup(struct st_manager *smapi, in st_framebuffer_iface_lookup() argument
534 (struct st_manager_private *)smapi->st_manager_private; in st_framebuffer_iface_lookup()
549 st_framebuffer_iface_insert(struct st_manager *smapi, in st_framebuffer_iface_insert() argument
553 (struct st_manager_private *)smapi->st_manager_private; in st_framebuffer_iface_insert()
568 st_framebuffer_iface_remove(struct st_manager *smapi, in st_framebuffer_iface_remove() argument
572 (struct st_manager_private *)smapi->st_manager_private; in st_framebuffer_iface_remove()
613 struct st_manager *smapi = st_iface->state_manager; in st_framebuffers_purge() local
616 assert(smapi); in st_framebuffers_purge()
629 if (!st_framebuffer_iface_lookup(smapi, stfbi)) { in st_framebuffers_purge()
814 st_manager_destroy(struct st_manager *smapi) in st_manager_destroy() argument
[all …]
Dst_cb_eglimage.c81 struct st_manager *smapi = in st_get_egl_image() local
84 if (!smapi || !smapi->get_egl_image) in st_get_egl_image()
88 if (!smapi->get_egl_image(smapi, (void *) image_handle, out)) { in st_get_egl_image()
Dst_context.c683 struct st_manager *smapi = in st_set_background_context() local
686 assert(smapi->set_background_context); in st_set_background_context()
687 smapi->set_background_context(&st->iface, queue_info); in st_set_background_context()
/external/mesa3d/src/gallium/include/state_tracker/
Dst_api.h450 boolean (*get_egl_image)(struct st_manager *smapi,
457 int (*get_param)(struct st_manager *smapi,
470 void (*destroy)(struct st_manager *smapi);
525 struct st_manager *smapi,
/external/mesa3d/src/gallium/state_trackers/glx/xlib/
Dxm_api.c114 xmesa_get_param(struct st_manager *smapi, in xmesa_get_param() argument
188 if (xmdpy->smapi->destroy) in xmesa_close_display()
189 xmdpy->smapi->destroy(xmdpy->smapi); in xmesa_close_display()
190 free(xmdpy->smapi); in xmesa_close_display()
234 xmdpy->smapi = CALLOC_STRUCT(st_manager); in xmesa_init_display()
235 if (!xmdpy->smapi) { in xmesa_init_display()
243 free(xmdpy->smapi); in xmesa_init_display()
250 xmdpy->smapi->screen = xmdpy->screen; in xmesa_init_display()
251 xmdpy->smapi->get_param = xmesa_get_param; in xmesa_init_display()
1031 c->st = stapi->create_context(stapi, xmdpy->smapi, &attribs, in XMesaCreateContext()
Dxm_api.h83 struct st_manager *smapi; member
Dxm_st.c305 stfbi->state_manager = xmdpy->smapi; in xmesa_create_st_framebuffer()
/external/mesa3d/src/gallium/state_trackers/dri/
Ddri_screen.c397 dri_get_egl_image(struct st_manager *smapi, in dri_get_egl_image() argument
401 struct dri_screen *screen = (struct dri_screen *)smapi; in dri_get_egl_image()
431 dri_get_param(struct st_manager *smapi, in dri_get_param() argument
434 struct dri_screen *screen = (struct dri_screen *)smapi; in dri_get_param()
/external/mesa3d/src/gallium/state_trackers/hgl/
Dhgl.c204 hgl_st_manager_get_param(struct st_manager *smapi, enum st_manager_param param) in hgl_st_manager_get_param() argument
/external/mesa3d/src/gallium/state_trackers/osmesa/
Dosmesa.c132 osmesa_st_get_param(struct st_manager *smapi, enum st_manager_param param) in osmesa_st_get_param() argument