void DLM_APIENTRY crDLMSendAllLists(SPUDispatchTable *dispatchTable)
{
    CRDLMContextState *listState = CURRENT_STATE();
    if (listState) {
	crDLMSendAllDLMLists(listState->dlm, dispatchTable);
    }
}
Пример #2
0
/**
 * Send over all the display lists for this context. The temporary
 * context should have all the client information needed, so that
 * we can restore correct client state after we're done.
 */
static void
replicatespuReplicateLists(CRContext *tempState, CRDLM *displayListManager)
{
	crDLMSetupClientState(&replicate_spu.diff_dispatch);
	crDLMSendAllDLMLists(displayListManager, 
											 &replicate_spu.diff_dispatch);
	crDLMRestoreClientState(&tempState->client, &replicate_spu.diff_dispatch);
}