Quote:
Originally Posted by balrogsoft
I finally found the problem, the blitter functions of graphics.library are sooo slow.
|
Maybe you forgot to clear the layer and allocate a matching tmpRas?
Without a ras->TmpRas a temporary is allocated per call...
And for the layer an Obtain/Release-Semaphore is called...
do outside
struct Layer * l = rp->Layer;
ObtainSemaphore(&l->Lock);
rp->Layer = NULL;
// loop
rp->Layer = l;
ReleaseSemaphore(&l->Lock);