Skip to content

Commit

Permalink
Revert: "When processing multiple tasks defer uploads until the end"
Browse files Browse the repository at this point in the history
This reverts commit 2dd58ce.

On second thought no, lets allow the busy loop to parallize as much
as it possibly can. We can always look at refactoring to provide a
continous time frame for GL_ProcessDeferredTasks() spanning all
tasks later on.
  • Loading branch information
danij-deng committed Jan 15, 2012
1 parent 2dd58ce commit 156ec47
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions doomsday/engine/portable/src/con_busy.c
Expand Up @@ -267,10 +267,6 @@ void Con_BusyList(BusyTask* tasks, int numTasks)
mode = task->mode | BUSYF_STARTUP;
// kludge end

// Accumulate uploads until the last task completes.
if(i < numTasks-1)
mode |= BUSYF_NO_UPLOADS;

// Busy mode invokes the worker on our behalf in a new thread.
task->retVal = Con_Busy(mode, currentTaskName, task->worker, task->workerData);
}
Expand Down

0 comments on commit 156ec47

Please sign in to comment.