/external/mesa3d/src/gallium/state_trackers/dri/ |
dri_context.c | 54 struct st_api *stapi = screen->st_api; local 123 ctx->st = stapi->create_context(stapi, &screen->base, &attribs, &ctx_err, 152 ctx->stapi = stapi; 198 struct st_api *stapi = screen->st_api; local 201 if (ctx->st == ctx->stapi->get_current(ctx->stapi)) { 207 stapi->make_current(stapi, NULL, NULL, NULL) 259 struct st_api *stapi = screen->st_api; local [all...] |
dri_context.h | 56 struct st_api *stapi; member in struct:dri_context
|
/external/mesa3d/src/gallium/state_trackers/wgl/ |
stw_device.c | 89 stw_dev->stapi = stw_st_create_api(); 91 if (!stw_dev->stapi || !stw_dev->smapi) 125 if (stw_dev->stapi) 126 stw_dev->stapi->destroy(stw_dev->stapi); 178 stw_dev->stapi->destroy(stw_dev->stapi);
|
stw_device.h | 56 struct st_api *stapi; member in struct:stw_device
|
stw_context.c | 57 st = (stw_dev) ? stw_dev->stapi->get_current(stw_dev->stapi) : NULL; 242 ctx->st = stw_dev->stapi->create_context(stw_dev->stapi, 317 stw_dev->stapi->make_current(stw_dev->stapi, NULL, NULL, NULL); 457 ret = stw_dev->stapi->make_current(stw_dev->stapi, ctx->st, 478 ret = stw_dev->stapi->make_current(stw_dev->stapi, NULL, NULL, NULL) [all...] |
/external/mesa3d/src/gallium/include/state_tracker/ |
st_api.h | 486 void (*destroy)(struct st_api *stapi); 492 void (*query_versions)(struct st_api *stapi, struct st_manager *sm, 502 struct st_context_iface *(*create_context)(struct st_api *stapi, 514 boolean (*make_current)(struct st_api *stapi, 522 struct st_context_iface *(*get_current)(struct st_api *stapi);
|
/external/mesa3d/src/gallium/state_trackers/osmesa/ |
osmesa.c | 144 static struct st_api *stapi = NULL; local 145 if (!stapi) { 146 stapi = st_gl_api_create(); 148 return stapi; 575 struct st_api *stapi = get_st_api(); local 688 osmesa->stctx = stapi->create_context(stapi, get_st_manager(), 748 struct st_api *stapi = get_st_api(); local 787 stapi->make_current(stapi, osmesa->stctx, osbuffer->stfb, osbuffer->stfb) 820 struct st_api *stapi = get_st_api(); local [all...] |
/external/mesa3d/src/gallium/state_trackers/glx/xlib/ |
xm_api.c | 79 static struct st_api *stapi; variable in typeref:struct:st_api 106 stapi = driver.create_st_api(); 914 return stapi->name; 1014 c->st = stapi->create_context(stapi, xmdpy->smapi, &attribs, [all...] |
/external/mesa3d/src/mesa/state_tracker/ |
st_manager.c | 626 st_api_create_context(struct st_api *stapi, struct st_manager *smapi, 638 if (!(stapi->profile_mask & (1 << attribs->profile))) 728 st_api_get_current(struct st_api *stapi) 758 st_api_make_current(struct st_api *stapi, struct st_context_iface *stctxi, 811 st_api_destroy(struct st_api *stapi) 947 st_api_query_versions(struct st_api *stapi, struct st_manager *sm,
|