/external/mesa3d/src/gallium/frontends/dri/ |
D | dri_context.c | 54 struct st_api *stapi = screen->st_api; in dri_create_context() local 163 ctx->st = stapi->create_context(stapi, &screen->base, &attribs, &ctx_err, in dri_create_context() 192 ctx->stapi = stapi; in dri_create_context() 259 struct st_api *stapi = screen->st_api; in dri_unbind_context() local 262 if (st == stapi->get_current(stapi)) { in dri_unbind_context() 270 stapi->make_current(stapi, NULL, NULL, NULL); in dri_unbind_context() 290 return ctx->stapi->make_current(ctx->stapi, ctx->st, NULL, NULL); in dri_make_current() 303 ctx->stapi->make_current(ctx->stapi, ctx->st, &draw->base, &read->base); in dri_make_current() 317 struct st_api *stapi = screen->st_api; in dri_get_current() local 320 st = stapi->get_current(stapi); in dri_get_current()
|
D | dri_helpers.c | 94 struct st_context_iface *stapi = dri_context(_ctx)->st; in dri2_create_fence() local 100 stapi->flush(stapi, 0, &fence->pipe_fence, NULL, NULL); in dri2_create_fence() 114 struct st_context_iface *stapi = dri_context(_ctx)->st; in dri2_create_fence_fd() local 115 struct pipe_context *ctx = stapi->pipe; in dri2_create_fence_fd() 120 stapi->flush(stapi, ST_FLUSH_FENCE_FD, &fence->pipe_fence, NULL, NULL); in dri2_create_fence_fd()
|
D | dri_context.h | 56 struct st_api *stapi; member
|
D | dri_drawable.c | 196 struct st_api *stapi = screen->st_api; in dri_destroy_buffer() local 210 stapi->destroy_drawable(stapi, &drawable->base); in dri_destroy_buffer()
|
/external/mesa3d/src/gallium/frontends/wgl/ |
D | stw_device.c | 117 stw_dev->stapi = stw_st_create_api(); in stw_init() 119 if (!stw_dev->stapi || !stw_dev->smapi) in stw_init() 146 if (stw_dev->stapi) in stw_init() 147 stw_dev->stapi->destroy(stw_dev->stapi); in stw_init() 220 stw_dev->stapi->destroy(stw_dev->stapi); in stw_cleanup()
|
D | stw_context.c | 57 st = (stw_dev) ? stw_dev->stapi->get_current(stw_dev->stapi) : NULL; in stw_current_context() 273 ctx->st = stw_dev->stapi->create_context(stw_dev->stapi, in stw_create_context_attribs() 348 stw_dev->stapi->make_current(stw_dev->stapi, NULL, NULL, NULL); in DrvDeleteContext() 535 ret = stw_dev->stapi->make_current(stw_dev->stapi, ctx->st, in stw_make_current() 543 ret = stw_dev->stapi->make_current(stw_dev->stapi, ctx->st, in stw_make_current() 567 ret = stw_dev->stapi->make_current(stw_dev->stapi, NULL, NULL, NULL); in stw_make_current()
|
D | stw_device.h | 58 struct st_api *stapi; member
|
D | stw_st.c | 331 stw_dev->stapi->destroy_drawable(stw_dev->stapi, &stwfb->base); in stw_st_destroy_framebuffer_locked()
|
/external/mesa3d/src/gallium/frontends/osmesa/ |
D | osmesa.c | 146 static struct st_api *stapi = NULL; in get_st_api() local 147 if (!stapi) { in get_st_api() 148 stapi = st_gl_api_create(); in get_st_api() 150 return stapi; in get_st_api() 521 struct st_api *stapi = get_st_api(); in osmesa_destroy_buffer() local 527 stapi->destroy_drawable(stapi, osbuffer->stfb); in osmesa_destroy_buffer() 593 struct st_api *stapi = get_st_api(); in OSMesaCreateContextAttribs() local 704 osmesa->stctx = stapi->create_context(stapi, get_st_manager(), in OSMesaCreateContextAttribs() 764 struct st_api *stapi = get_st_api(); in OSMesaMakeCurrent() local 769 stapi->make_current(stapi, NULL, NULL, NULL); in OSMesaMakeCurrent() [all …]
|
/external/mesa3d/src/gallium/include/frontend/ |
D | api.h | 518 void (*destroy)(struct st_api *stapi); 524 void (*query_versions)(struct st_api *stapi, struct st_manager *sm, 534 struct st_context_iface *(*create_context)(struct st_api *stapi, 546 bool (*make_current)(struct st_api *stapi, 554 struct st_context_iface *(*get_current)(struct st_api *stapi); 560 void (*destroy_drawable)(struct st_api *stapi,
|
/external/mesa3d/src/gallium/frontends/glx/xlib/ |
D | xm_api.c | 84 static struct st_api *stapi; variable 111 stapi = driver.create_st_api(); in xmesa_set_driver() 609 stapi->destroy_drawable(stapi, buffer->stfb); in xmesa_free_buffer() 925 return stapi->name; in xmesa_get_name() 1025 c->st = stapi->create_context(stapi, xmdpy->smapi, &attribs, in XMesaCreateContext() 1309 stapi->make_current(stapi, c->st, in XMesaMakeCurrent2() 1319 stapi->make_current(stapi, NULL, NULL, NULL); in XMesaMakeCurrent2() 1338 struct st_context_iface *st = stapi->get_current(stapi); in XMesaGetCurrentContext() 1481 struct st_context_iface *st = stapi->get_current(stapi); in XMesaBindTexImage()
|
/external/mesa3d/src/mesa/state_tracker/ |
D | st_manager.c | 609 st_api_destroy_drawable(struct st_api *stapi, in st_api_destroy_drawable() argument 851 st_api_create_context(struct st_api *stapi, struct st_manager *smapi, in st_api_create_context() argument 865 if (!(stapi->profile_mask & (1 << attribs->profile))) in st_api_create_context() 999 st_api_get_current(struct st_api *stapi) in st_api_get_current() argument 1053 st_api_make_current(struct st_api *stapi, struct st_context_iface *stctxi, in st_api_make_current() argument 1122 st_api_destroy(struct st_api *stapi) in st_api_destroy() argument 1277 st_api_query_versions(struct st_api *stapi, struct st_manager *sm, in st_api_query_versions() argument
|