10 Commits

Author SHA1 Message Date
96ac39724d Add asset array memory api stubs 2017-05-26 13:31:01 +10:00
3874526a79 Reorganise asset files 2017-05-26 01:12:39 +10:00
4eb54c09b1 Fix zbuffer bug clipping at poly's behind 0, 0
Mistakenly use FLT_MIN as the largest negative number possible, where we should
be using -FLT_MAX.
2017-05-25 22:22:47 +10:00
a03de5de80 Start zbuffering pass of pixels for triangles 2017-05-24 00:04:18 +10:00
d42d6ef5bf Prepare triangle rendering for zbuffer support 2017-05-23 22:42:54 +10:00
2c745d3571 Rename membuffer to memstack 2017-05-22 18:34:10 +10:00
a25b50c501 Fix color modulation alpha bug
Phasing color modulation over time would make bitmaps become transparent and
show layers underneath even if alpha was set to 1. This was caused by the
precomputed 1/255 calculation #defined in DTRRender which was missing the
precision required so floating point errors began to accumulate causing
erroneous colours.
2017-05-19 20:45:18 +10:00
1d0e9b8a07 All render paths go through srgb->linear pipeline 2017-05-19 02:21:44 +10:00
ce69de7aeb Add mem diagnostics, prepare for bitmap rotation 2017-05-17 02:49:33 +10:00
13860e4089 Organise functions to files 2017-05-16 22:53:28 +10:00