Lines Matching refs:stapi
145 static struct st_api *stapi = NULL; in get_st_api() local
146 if (!stapi) { in get_st_api()
147 stapi = st_gl_api_create(); in get_st_api()
149 return stapi; in get_st_api()
516 struct st_api *stapi = get_st_api(); in osmesa_destroy_buffer() local
522 stapi->destroy_drawable(stapi, osbuffer->stfb); in osmesa_destroy_buffer()
588 struct st_api *stapi = get_st_api(); in OSMesaCreateContextAttribs() local
700 osmesa->stctx = stapi->create_context(stapi, get_st_manager(), in OSMesaCreateContextAttribs()
760 struct st_api *stapi = get_st_api(); in OSMesaMakeCurrent() local
799 stapi->make_current(stapi, osmesa->stctx, osbuffer->stfb, osbuffer->stfb); in OSMesaMakeCurrent()
832 struct st_api *stapi = get_st_api(); in OSMesaGetCurrentContext() local
833 struct st_context_iface *st = stapi->get_current(stapi); in OSMesaGetCurrentContext()