/third_party/mesa3d/src/gallium/frontends/dri/ |
H A D | dri_context.c | 53 struct st_api *stapi = screen->st_api; in dri_create_context() local 169 ctx->st = stapi->create_context(stapi, &screen->base, &attribs, &ctx_err, in dri_create_context() 198 ctx->stapi = stapi; in dri_create_context() 266 struct st_api *stapi = screen->st_api; in dri_unbind_context() local 268 if (st == stapi->get_current(stapi)) { in dri_unbind_context() 276 stapi->make_current(stapi, NUL in dri_unbind_context() 322 struct st_api *stapi = screen->st_api; dri_get_current() local [all...] |
H A D | dri_helpers.c | 93 struct st_context_iface *stapi = dri_context(_ctx)->st; in dri2_create_fence() local 99 stapi->flush(stapi, 0, &fence->pipe_fence, NULL, NULL); in dri2_create_fence() 113 struct st_context_iface *stapi = dri_context(_ctx)->st; in dri2_create_fence_fd() local 114 struct pipe_context *ctx = stapi->pipe; in dri2_create_fence_fd() 119 stapi->flush(stapi, ST_FLUSH_FENCE_FD, &fence->pipe_fence, NULL, NULL); in dri2_create_fence_fd()
|
H A D | dri_context.h | 60 struct st_api *stapi; member
|
H A D | dri_drawable.c | 194 struct st_api *stapi = screen->st_api; in dri_destroy_buffer() local 206 stapi->destroy_drawable(stapi, &drawable->base); in dri_destroy_buffer()
|
/third_party/mesa3d/src/gallium/frontends/osmesa/ |
H A D | osmesa.c | 135 static struct st_api *stapi = NULL; variable 146 if (stapi && stapi->destroy) { in destroy_st_manager() 147 stapi->destroy(stapi); in destroy_st_manager() 164 stapi = st_gl_api_create(); in create_st_manager() 187 return stapi; in get_st_api() 524 stapi->destroy_drawable(stapi, osbuffer->stfb); in osmesa_destroy_buffer() 590 struct st_api *stapi in OSMesaCreateContextAttribs() local 762 struct st_api *stapi = get_st_api(); OSMesaMakeCurrent() local 844 struct st_api *stapi = get_st_api(); OSMesaGetCurrentContext() local [all...] |
/third_party/mesa3d/src/gallium/frontends/wgl/ |
H A D | stw_device.c | 137 stw_dev->stapi = stw_st_create_api(); in stw_init() 139 if (!stw_dev->stapi || !stw_dev->smapi) in stw_init() 166 if (stw_dev->stapi) in stw_init() 167 stw_dev->stapi->destroy(stw_dev->stapi); in stw_init() 253 stw_dev->stapi->destroy(stw_dev->stapi); in stw_cleanup()
|
H A D | stw_context.c | 57 st = (stw_dev) ? stw_dev->stapi->get_current(stw_dev->stapi) : NULL; in stw_current_context() 281 ctx->st = stw_dev->stapi->create_context(stw_dev->stapi, in stw_create_context_attribs() 362 stw_dev->stapi->make_current(stw_dev->stapi, NULL, NULL, NULL); in DrvDeleteContext() 527 ret = stw_dev->stapi->make_current(stw_dev->stapi, ctx->st, in stw_make_current() 547 ret = stw_dev->stapi->make_current(stw_dev->stapi, NUL in stw_make_current() [all...] |
H A D | stw_device.h | 61 struct st_api *stapi; member
|
H A D | stw_st.c | 536 stw_dev->stapi->destroy_drawable(stw_dev->stapi, &stwfb->base); in stw_st_destroy_framebuffer_locked()
|
/third_party/mesa3d/src/gallium/include/frontend/ |
H A D | api.h | 548 void (*destroy)(struct st_api *stapi); 554 void (*query_versions)(struct st_api *stapi, struct st_manager *sm, 564 struct st_context_iface *(*create_context)(struct st_api *stapi, 576 bool (*make_current)(struct st_api *stapi, 584 struct st_context_iface *(*get_current)(struct st_api *stapi); 590 void (*destroy_drawable)(struct st_api *stapi,
|
/third_party/mesa3d/src/gallium/frontends/glx/xlib/ |
H A D | xm_api.c | 85 static struct st_api *stapi; variable 112 stapi = driver.create_st_api(); in xmesa_set_driver() 610 stapi->destroy_drawable(stapi, buffer->stfb); in xmesa_free_buffer() 917 return stapi->name; in xmesa_get_name() 1017 c->st = stapi->create_context(stapi, xmdpy->smapi, &attribs, in XMesaCreateContext() 1301 stapi->make_current(stapi, c->st, in XMesaMakeCurrent2() 1311 stapi in XMesaMakeCurrent2() [all...] |
/third_party/mesa3d/src/mesa/state_tracker/ |
H A D | st_manager.c | 743 st_api_destroy_drawable(struct st_api *stapi, in st_api_destroy_drawable() argument 1000 st_api_create_context(struct st_api *stapi, struct st_manager *smapi, in st_api_create_context() argument 1013 if (!(stapi->profile_mask & (1 << attribs->profile))) in st_api_create_context() 1149 st_api_get_current(struct st_api *stapi) in st_api_get_current() argument 1203 st_api_make_current(struct st_api *stapi, struct st_context_iface *stctxi, in st_api_make_current() argument 1276 st_api_destroy(struct st_api *stapi) in st_api_destroy() argument 1436 st_api_query_versions(struct st_api *stapi, struct st_manager *sm, in st_api_query_versions() argument
|