Commit Graph

22 Commits

Author SHA1 Message Date
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
b6daf43f33 Add profiling support using easy_profiler 2017-05-19 17:10:04 +10:00
1d0e9b8a07 All render paths go through srgb->linear pipeline 2017-05-19 02:21:44 +10:00
f040c377e9 Add gamma correction with SRGB<->Linear converting 2017-05-18 21:33:39 +10:00
e2ac14ffb7 Add bilinear filtering for bitmaps 2017-05-17 19:34:26 +10:00
ceb37ec4b0 Add proper bitmap rotation and 1:1 texture mapping 2017-05-17 16:18:03 +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
75f23b6d66 Add proper rectangle rotation 2017-05-16 18:51:57 +10:00
3ec64da44c Fix rotation on triangles 2017-05-16 17:36:51 +10:00
51342122b9 Add some support for rotation and scale 2017-05-16 02:15:28 +10:00
d384a303d3 Draw bitmaps clip are clipped to screen space 2017-05-14 19:18:41 +10:00
2bb16ebe68 Add minor debug display 2017-05-14 17:49:33 +10:00
872ee9efa4 Add alpha blending and alpha for primitives 2017-05-12 18:20:59 +10:00
afcd158d7d Add documentation for barycentric coordinates 2017-05-12 14:45:13 +10:00
0738326384 Add font rendering 2017-05-12 13:07:07 +10:00
85ac211824 Add platform api to access from dll 2017-05-11 22:51:39 +10:00
bdb4b89bbf Improve triangle rasteriser 2017-05-11 17:28:27 +10:00
d9ce1e1079 Add line rendering 2017-05-10 18:48:27 +10:00
0d5f4c6223 Remove timings file 2017-05-08 23:00:33 +10:00
e6d198b232 Add dll reloading 2017-05-08 22:59:44 +10:00
7f62ce23d0 Initial commit 2017-05-03 02:04:12 +10:00