Menu

Code Commit Log


Commit Date  
[r1581] by nerius

Optimzing the flat polygon fill routine for custom pix branch. It's just a
copy and paste, with setPix() modified to setPixCust().

2023-11-08 18:40:54 Tree
[r1580] by nerius

I think I'm done with the fillPolygon() optimization now. Took out the last
branch, which was the check for 'odd'. Jumping ahead on the linked list
instead. It's much more straightforward, and it's equivalent, but may be a bit
less intuitive to read.

2023-11-08 18:36:32 Tree
[r1579] by nerius

Simplifying fillPolygon() by taking out the explicit use of 'even' or 'odd'.
Now it's implicit with the 'node0 = node1.nextEdge'. There is no difference in
the logic. It's equivalent, I checked with my modeling skills.

2023-11-08 18:29:12 Tree
[r1578] by nerius

Gradually simplifying the 2D fillPolygon() as well.

2023-11-08 18:23:09 Tree
[r1577] by nerius

in 2D graphics, simplifying polygon fill a little bit by using 'odd' instead of
'even' in local variable name.

2023-11-08 18:17:51 Tree
[r1576] by nerius

Removing one excessive 'if' branch, which checks that 'xStart < xEnd'. We go
ahead and do the expensive setup computations even if this isn't the case,
because that zero-length scanline for the part of the polygon is rather rare.

2023-11-08 18:05:59 Tree
[r1575] by nerius

Oops, in polygon fill optimization changing nomenclature:
y0 -> z0
y1 -> z1
These were named incorrectly even though the code is the same.

2023-11-08 18:02:56 Tree
[r1574] by nerius

Still simplifying the polygon fill, bit by bit.

2023-11-08 17:58:38 Tree
[r1573] by nerius

Further optimizations in polygon filling, avoiding repeated array lookup.

2023-11-08 17:47:51 Tree
[r1572] by nerius

Adding m_offset to RasterDepthGraphics but as I was incorporating it I realized
that there may be some performance gains to be had in fillPolygon(), the
simplest version of that method.

2023-11-08 17:42:11 Tree
Older >
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.