Home
last modified time | relevance | path

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

/third_party/mesa3d/src/gallium/frontends/wgl/
Dstw_device.c50 stw_get_param(struct st_manager *smapi, in stw_get_param() argument
95 stw_dev->smapi->screen = screen; in init_screen()
135 stw_dev->smapi = CALLOC_STRUCT(st_manager); in stw_init()
136 if (!stw_dev->stapi || !stw_dev->smapi) in stw_init()
139 stw_dev->smapi->get_param = stw_get_param; in stw_init()
162 FREE(stw_dev->smapi); in stw_init()
245 if (stw_dev->smapi->destroy) in stw_cleanup()
246 stw_dev->smapi->destroy(stw_dev->smapi); in stw_cleanup()
248 FREE(stw_dev->smapi); in stw_cleanup()
Dstw_device.h62 struct st_manager *smapi; member
Dstw_st.c443 stwfb->base.state_manager = stw_dev->smapi; in stw_st_create_framebuffer()
Dstw_context.c278 stw_dev->smapi, &attribs, &ctx_err, shareCtx ? shareCtx->st : NULL); in stw_create_context_attribs()
/third_party/mesa3d/src/mesa/state_tracker/
Dst_manager.c546 st_framebuffer_iface_lookup(struct st_manager *smapi, in st_framebuffer_iface_lookup() argument
550 (struct st_manager_private *)smapi->st_manager_private; in st_framebuffer_iface_lookup()
565 st_framebuffer_iface_insert(struct st_manager *smapi, in st_framebuffer_iface_insert() argument
569 (struct st_manager_private *)smapi->st_manager_private; in st_framebuffer_iface_insert()
584 st_framebuffer_iface_remove(struct st_manager *smapi, in st_framebuffer_iface_remove() argument
588 (struct st_manager_private *)smapi->st_manager_private; in st_framebuffer_iface_remove()
629 struct st_manager *smapi = st_iface->state_manager; in st_framebuffers_purge() local
632 assert(smapi); in st_framebuffers_purge()
645 if (!st_framebuffer_iface_lookup(smapi, stfbi)) { in st_framebuffers_purge()
856 st_manager_destroy(struct st_manager *smapi) in st_manager_destroy() argument
[all …]
Dst_cb_eglimage.c172 struct st_manager *smapi = in st_get_egl_image() local
175 if (!smapi || !smapi->get_egl_image) in st_get_egl_image()
179 if (!smapi->get_egl_image(smapi, (void *) image_handle, out)) { in st_get_egl_image()
440 struct st_manager *smapi = in st_validate_egl_image() local
443 return smapi->validate_egl_image(smapi, (void *)image_handle); in st_validate_egl_image()
Dst_context.c916 struct st_manager *smapi = in st_set_background_context() local
919 assert(smapi->set_background_context); in st_set_background_context()
920 smapi->set_background_context(&st->iface, queue_info); in st_set_background_context()
/third_party/mesa3d/src/gallium/include/frontend/
Dapi.h472 bool (*get_egl_image)(struct st_manager *smapi,
479 bool (*validate_egl_image)(struct st_manager *smapi,
485 int (*get_param)(struct st_manager *smapi,
498 void (*destroy)(struct st_manager *smapi);
553 struct st_manager *smapi,
/third_party/mesa3d/src/gallium/frontends/dri/
Ddri_screen.c429 dri_get_egl_image(struct st_manager *smapi, in dri_get_egl_image() argument
433 struct dri_screen *screen = (struct dri_screen *)smapi; in dri_get_egl_image()
465 dri_validate_egl_image(struct st_manager *smapi, in dri_validate_egl_image() argument
468 struct dri_screen *screen = (struct dri_screen *)smapi; in dri_validate_egl_image()
474 dri_get_param(struct st_manager *smapi, in dri_get_param() argument
477 struct dri_screen *screen = (struct dri_screen *)smapi; in dri_get_param()
/third_party/mesa3d/src/gallium/frontends/glx/xlib/
Dxm_api.c119 xmesa_get_param(struct st_manager *smapi, in xmesa_get_param() argument
193 if (xmdpy->smapi->destroy) in xmesa_close_display()
194 xmdpy->smapi->destroy(xmdpy->smapi); in xmesa_close_display()
195 free(xmdpy->smapi); in xmesa_close_display()
239 xmdpy->smapi = CALLOC_STRUCT(st_manager); in xmesa_init_display()
240 if (!xmdpy->smapi) { in xmesa_init_display()
248 free(xmdpy->smapi); in xmesa_init_display()
255 xmdpy->smapi->screen = xmdpy->screen; in xmesa_init_display()
256 xmdpy->smapi->get_param = xmesa_get_param; in xmesa_init_display()
1016 c->st = stapi->create_context(stapi, xmdpy->smapi, &attribs, in XMesaCreateContext()
Dxm_api.h83 struct st_manager *smapi; member
Dxm_st.c313 stfbi->state_manager = xmdpy->smapi; in xmesa_create_st_framebuffer()
/third_party/mesa3d/src/gallium/frontends/hgl/
Dhgl.c202 hgl_st_manager_get_param(struct st_manager *smapi, enum st_manager_param param) in hgl_st_manager_get_param() argument
/third_party/mesa3d/src/gallium/frontends/osmesa/
Dosmesa.c128 osmesa_st_get_param(struct st_manager *smapi, enum st_manager_param param) in osmesa_st_get_param() argument