View Single Post
Old 18 October 2019, 14:13   #45
deimos
It's coming back!
 
deimos's Avatar
 
Join Date: Jul 2018
Location: comp.sys.amiga
Posts: 762
Quote:
Originally Posted by DanScott View Post
Consider blit clearing smaller areas for small polygons (might be quicker than redrawing the lines to clear the scratch)

There's probably a "size" that you could use as the cut-off point.. not sure what the value would be though, would need some experimentation.
Sure, but that's not going to make the difference I need. Even if clearing the lines were free, I'd only get less than half the time spent in this function back. I might even get to a whopping four frames per second.

Quote:
Originally Posted by DanScott View Post
Also, it probably is quicker to render smaller polygons directly to the screen, completely with the CPU
My queue is based around callbacks, so I could implement some bits as CPU-based, but right now I think the problem is the queue itself, so apart from reducing the number of interrupts generated per polygon, I don't think this would solve the problem.
deimos is offline  
 
Page generated in 0.04885 seconds with 11 queries