Lines Matching refs:swsetup

53    SScontext *swsetup = calloc(1, sizeof(SScontext));  in _swsetup_CreateContext()  local
55 if (!swsetup) in _swsetup_CreateContext()
58 ctx->swsetup_context = swsetup; in _swsetup_CreateContext()
60 swsetup->NewState = ~0; in _swsetup_CreateContext()
73 SScontext *swsetup = SWSETUP_CONTEXT(ctx); in _swsetup_DestroyContext() local
75 if (swsetup) { in _swsetup_DestroyContext()
76 free(swsetup); in _swsetup_DestroyContext()
115 SScontext *swsetup = SWSETUP_CONTEXT(ctx); in setup_vertex_format() local
121 if (intColors != swsetup->intColors || in setup_vertex_format()
122 tnl->render_inputs_bitset != swsetup->last_index_bitset) { in setup_vertex_format()
127 swsetup->intColors = intColors; in setup_vertex_format()
132 if (swsetup->intColors) in setup_vertex_format()
174 swsetup->last_index_bitset = index_bitset; in setup_vertex_format()
186 SScontext *swsetup = SWSETUP_CONTEXT(ctx); in _swsetup_RenderStart() local
190 if (swsetup->NewState & _SWSETUP_NEW_RENDERINDEX) { in _swsetup_RenderStart()
194 if (swsetup->NewState & _NEW_PROGRAM) { in _swsetup_RenderStart()
195 swsetup->last_index_bitset = 0; in _swsetup_RenderStart()
198 swsetup->NewState = 0; in _swsetup_RenderStart()
225 SScontext *swsetup = SWSETUP_CONTEXT(ctx); in _swsetup_InvalidateState() local
226 swsetup->NewState |= new_state; in _swsetup_InvalidateState()
235 SScontext *swsetup = SWSETUP_CONTEXT(ctx); in _swsetup_Wakeup() local
258 swsetup->verts = (SWvertex *)tnl->clipspace.vertex_buf; in _swsetup_Wakeup()
259 swsetup->last_index_bitset = 0; in _swsetup_Wakeup()