Lines Matching refs:swsetup
52 SScontext *swsetup = (SScontext *)CALLOC(sizeof(SScontext)); in _swsetup_CreateContext() local
54 if (!swsetup) in _swsetup_CreateContext()
57 ctx->swsetup_context = swsetup; in _swsetup_CreateContext()
59 swsetup->NewState = ~0; in _swsetup_CreateContext()
72 SScontext *swsetup = SWSETUP_CONTEXT(ctx); in _swsetup_DestroyContext() local
74 if (swsetup) { in _swsetup_DestroyContext()
75 FREE(swsetup); in _swsetup_DestroyContext()
114 SScontext *swsetup = SWSETUP_CONTEXT(ctx); in setup_vertex_format() local
120 if (intColors != swsetup->intColors || in setup_vertex_format()
121 tnl->render_inputs_bitset != swsetup->last_index_bitset) { in setup_vertex_format()
126 swsetup->intColors = intColors; in setup_vertex_format()
131 if (swsetup->intColors) in setup_vertex_format()
173 swsetup->last_index_bitset = index_bitset; in setup_vertex_format()
185 SScontext *swsetup = SWSETUP_CONTEXT(ctx); in _swsetup_RenderStart() local
189 if (swsetup->NewState & _SWSETUP_NEW_RENDERINDEX) { in _swsetup_RenderStart()
193 if (swsetup->NewState & _NEW_PROGRAM) { in _swsetup_RenderStart()
194 swsetup->last_index_bitset = 0; in _swsetup_RenderStart()
197 swsetup->NewState = 0; in _swsetup_RenderStart()
224 SScontext *swsetup = SWSETUP_CONTEXT(ctx); in _swsetup_InvalidateState() local
225 swsetup->NewState |= new_state; in _swsetup_InvalidateState()
234 SScontext *swsetup = SWSETUP_CONTEXT(ctx); in _swsetup_Wakeup() local
257 swsetup->verts = (SWvertex *)tnl->clipspace.vertex_buf; in _swsetup_Wakeup()
258 swsetup->last_index_bitset = 0; in _swsetup_Wakeup()