Home
last modified time | relevance | path

Searched refs:smapi (Results 1 – 16 of 16) 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
88 stw_dev->smapi = CALLOC_STRUCT(st_manager); in stw_init()
89 if (!stw_dev->stapi || !stw_dev->smapi) in stw_init()
99 stw_dev->smapi->screen = screen; in stw_init()
100 stw_dev->smapi->get_param = stw_get_param; in stw_init()
120 if (stw_dev->smapi) in stw_init()
121 FREE(stw_dev->smapi); in stw_init()
174 FREE(stw_dev->smapi); in stw_cleanup()
Dstw_device.h58 struct st_manager *smapi; member
Dstw_context.c214 stw_dev->smapi, &attribs, &ctx_err, shareCtx ? shareCtx->st : NULL); in stw_create_context_attribs()
/external/mesa3d/src/gallium/state_trackers/egl/common/
Degl_g3d_st.c47 egl_g3d_st_manager(struct st_manager *smapi) in egl_g3d_st_manager() argument
49 return (struct egl_g3d_st_manager *) smapi; in egl_g3d_st_manager()
53 egl_g3d_st_manager_get_egl_image(struct st_manager *smapi, in egl_g3d_st_manager_get_egl_image() argument
57 struct egl_g3d_st_manager *gsmapi = egl_g3d_st_manager(smapi); in egl_g3d_st_manager_get_egl_image()
84 egl_g3d_st_manager_get_param(struct st_manager *smapi, in egl_g3d_st_manager_get_param() argument
109 egl_g3d_destroy_st_manager(struct st_manager *smapi) in egl_g3d_destroy_st_manager() argument
111 struct egl_g3d_st_manager *gsmapi = egl_g3d_st_manager(smapi); in egl_g3d_destroy_st_manager()
Degl_g3d.c79 if (gdpy->smapi->get_egl_image(gdpy->smapi, egl_image, &img)) in egl_g3d_lookup_egl_image()
506 if (gdpy->smapi) in egl_g3d_terminate()
507 egl_g3d_destroy_st_manager(gdpy->smapi); in egl_g3d_terminate()
564 gdpy->smapi = egl_g3d_create_st_manager(dpy); in egl_g3d_initialize()
565 if (!gdpy->smapi) { in egl_g3d_initialize()
Degl_g3d_st.h40 egl_g3d_destroy_st_manager(struct st_manager *smapi);
Degl_g3d.h58 struct st_manager *smapi; member
Degl_g3d_api.c176 gctx->stctxi = gctx->stapi->create_context(gctx->stapi, gdpy->smapi, in egl_g3d_create_context()
/external/mesa3d/src/mesa/state_tracker/
Dst_manager.c602 st_api_create_context(struct st_api *stapi, struct st_manager *smapi, in st_api_create_context() argument
633 pipe = smapi->screen->context_create(smapi->screen, NULL); in st_api_create_context()
664 smapi->get_param(smapi, ST_MANAGER_BROKEN_INVALIDATE); in st_api_create_context()
671 st->iface.st_context_private = (void *) smapi; in st_api_create_context()
797 struct st_manager *smapi = in st_manager_get_egl_image_surface() local
802 if (!smapi || !smapi->get_egl_image) in st_manager_get_egl_image_surface()
806 if (!smapi->get_egl_image(smapi, eglimg, &stimg)) in st_manager_get_egl_image_surface()
/external/mesa3d/src/gallium/include/state_tracker/
Dst_api.h424 boolean (*get_egl_image)(struct st_manager *smapi,
431 int (*get_param)(struct st_manager *smapi,
478 struct st_manager *smapi,
/external/mesa3d/src/gallium/state_trackers/vega/
Dvg_manager.c164 vg_api_create_context(struct st_api *stapi, struct st_manager *smapi, in vg_api_create_context() argument
187 pipe = smapi->screen->context_create(smapi->screen, NULL); in vg_api_create_context()
206 ctx->iface.st_context_private = (void *) smapi; in vg_api_create_context()
/external/mesa3d/src/gallium/state_trackers/glx/xlib/
Dxm_api.c119 xmesa_get_param(struct st_manager *smapi, in xmesa_get_param() argument
157 xmdpy->smapi = CALLOC_STRUCT(st_manager); in xmesa_init_display()
158 if (xmdpy->smapi) { in xmesa_init_display()
159 xmdpy->smapi->screen = xmdpy->screen; in xmesa_init_display()
160 xmdpy->smapi->get_param = xmesa_get_param; in xmesa_init_display()
163 if (xmdpy->screen && xmdpy->smapi) { in xmesa_init_display()
171 if (xmdpy->smapi) { in xmesa_init_display()
172 FREE(xmdpy->smapi); in xmesa_init_display()
173 xmdpy->smapi = NULL; in xmesa_init_display()
909 c->st = stapi->create_context(stapi, xmdpy->smapi, &attribs, in XMesaCreateContext()
Dxm_api.h81 struct st_manager *smapi; member
/external/mesa3d/src/gallium/state_trackers/dri/sw/
Ddri_screen.c315 dri_get_egl_image(struct st_manager *smapi, in dri_get_egl_image() argument
319 struct dri_screen *screen = (struct dri_screen *)smapi; in dri_get_egl_image()
338 dri_get_param(struct st_manager *smapi, in dri_get_param() argument
341 struct dri_screen *screen = (struct dri_screen *)smapi; in dri_get_param()
/external/mesa3d/src/gallium/state_trackers/dri/common/
Ddri_screen.c315 dri_get_egl_image(struct st_manager *smapi, in dri_get_egl_image() argument
319 struct dri_screen *screen = (struct dri_screen *)smapi; in dri_get_egl_image()
338 dri_get_param(struct st_manager *smapi, in dri_get_param() argument
341 struct dri_screen *screen = (struct dri_screen *)smapi; in dri_get_param()
/external/mesa3d/src/gallium/state_trackers/dri/drm/
Ddri_screen.c315 dri_get_egl_image(struct st_manager *smapi, in dri_get_egl_image() argument
319 struct dri_screen *screen = (struct dri_screen *)smapi; in dri_get_egl_image()
338 dri_get_param(struct st_manager *smapi, in dri_get_param() argument
341 struct dri_screen *screen = (struct dri_screen *)smapi; in dri_get_param()