Searched refs:SetCurrentContext (Results 1 - 3 of 3) sorted by relevance

/vbox/src/VBox/GuestHost/OpenGL/state_tracker/
H A Dstate.h37 /* NOTE: below SetCurrentContext stuff is supposed to be used only internally!!
40 #define SetCurrentContext(_ctx) VBoxTlsRefSetCurrent(CRContext, &__contextTSD, _ctx) macro
H A Dstate_init.c521 SetCurrentContext(NULL);
541 SetCurrentContext(defaultContext);
558 SetCurrentContext(NULL);
683 SetCurrentContext(defaultContext);
734 SetCurrentContext(ctx);
758 SetCurrentContext(ctx);
830 SetCurrentContext(NULL);
H A Dstate_glsl.c194 VBoxTlsRefAddRef(ctx); /* <- this is a hack to avoid subsequent SetCurrentContext(g) do recursive Destroy for ctx */
196 VBoxTlsRefAddRef(g); /* <- ensure the g is not destroyed by the following SetCurrentContext call */
197 SetCurrentContext(ctx);
206 SetCurrentContext(g);

Completed in 47 milliseconds