Commit graph

53 commits

Author SHA1 Message Date
Magnus Norddahl
3487be2c40 Fix drawergen linking on rpi 2017-01-10 12:51:35 +01:00
Magnus Norddahl
7c04fa6e1b Link with arm libraries on unix systems 2017-01-09 22:30:52 +01:00
Magnus Norddahl
8d3b056221 Move ARM fixes 2017-01-09 20:46:30 +01:00
Magnus Norddahl
8353c88506 ARM compile fixes 2017-01-09 18:55:21 +01:00
Magnus Norddahl
0de30ebdd9 Add arm neon intrinsics 2017-01-09 12:11:44 +01:00
Magnus Norddahl
b91e88a9a6 Remove unused intrinsic functions 2017-01-09 11:25:21 +01:00
Rachael Alexanderson
407204ee2c - Enabled Gnu CC ARM architecture check for Drawergen. 2017-01-08 21:25:27 -05:00
Magnus Norddahl
dba81db198 Move material multiplication out of inner light loop 2017-01-03 21:16:21 +01:00
Magnus Norddahl
c61e9c7fe2 Add attenuated point lights 2017-01-02 06:52:50 +01:00
Magnus Norddahl
49903af394 Remove 4 column wall drawers 2016-12-27 07:18:04 +01:00
Magnus Norddahl
2659090e1c Move renders into folders 2016-12-27 06:31:55 +01:00
Magnus Norddahl
ced7bdf94a Remove rt drawer family and the infrastructure supporting it 2016-12-25 05:46:16 +01:00
Magnus Norddahl
9a529192b0 Switch to the lower precision rsqrtss instruction as it is faster, especially on older Intel architectures and on AMD 2016-12-22 21:21:57 +01:00
Rachael Alexanderson
ea1aeb3cdc - reversed sub and revsub in LLVM drawers 2016-12-22 03:35:59 -05:00
Magnus Norddahl
62724c2161 Fix light color indexing bug 2016-12-22 08:50:52 +01:00
Magnus Norddahl
4f7c1dfdf5 Dynamic lights on flats 2016-12-22 08:42:21 +01:00
Magnus Norddahl
6fe124d937 Fixed TriLight struct declaration bug 2016-12-21 18:48:26 +01:00
Magnus Norddahl
4e56c9a41a Hooked up dynamic light on walls 2016-12-21 07:33:28 +01:00
Magnus Norddahl
8a3db6c003 Dynamic lights? Did anyone say DYNAMIC LIGHTS? 2016-12-20 23:21:34 +01:00
Rachael Alexanderson
5ffee5231f - Hooking the new RGB256k drawer to triangle drawer in place of RGB32k. 2016-12-19 11:35:43 -05:00
Magnus Norddahl
afe5d0fcdc Simplify light calculation slightly 2016-12-17 04:24:28 +01:00
Magnus Norddahl
ddb18d8e32 Add dynamic colormaps support 2016-12-17 02:10:52 +01:00
Magnus Norddahl
e1a8749586 Wrong type 2016-12-16 19:28:25 +01:00
Magnus Norddahl
9302b3b8bf Fix 64 bit building 2016-12-16 19:09:17 +01:00
Magnus Norddahl
a360a1963f Move setup triangle stuff to its own file 2016-12-16 15:25:03 +01:00
Magnus Norddahl
6d295a25c2 Minor tweaking 2016-12-16 06:21:17 +01:00
Magnus Norddahl
99435f5018 Remove TriDrawVariant from LLVM codegen 2016-12-15 23:29:31 +01:00
Magnus Norddahl
823dc6ea00 Clamp RGB values in pal mode 2016-12-15 02:39:55 +01:00
Magnus Norddahl
c643238b86 Rewrote the LLVM triangle drawer to use the data from the triangle setup function 2016-12-15 01:33:26 +01:00
Magnus Norddahl
86c1bbcdeb Split drawergen file into more files 2016-12-04 18:19:01 +01:00
Magnus Norddahl
2e1e202812 Add linear filtering 2016-12-04 05:52:13 +01:00
Magnus Norddahl
dbacb75617 Capped sky rendering 2016-12-03 06:58:06 +01:00
Magnus Norddahl
fc16f6bbbc Further improve early stencil rejection test by restoring stencil blocks to a single value if possible 2016-12-01 13:31:42 +01:00
Magnus Norddahl
06362385d6 Improve performance by 30% from using a better stencil block rejection test 2016-12-01 11:21:14 +01:00
Magnus Norddahl
e3b3b7a4ce Masked store experiment (which turned out to be much slower) 2016-12-01 10:52:53 +01:00
Magnus Norddahl
c89e023bd5 Remove unused left/top clip 2016-12-01 09:31:43 +01:00
Magnus Norddahl
2203da0c93 Minor simplification of the light calculation 2016-12-01 09:00:24 +01:00
Magnus Norddahl
fdbf2ab5e9 Fix compile errors for LLVM 3.8 2016-11-30 17:37:32 +01:00
Magnus Norddahl
3872e39afc Simplify affine texturing a bit 2016-11-30 12:56:37 +01:00
Magnus Norddahl
837d8f44d1 The precision of the SSE2 rcp opcode was a little bit too low 2016-11-30 09:08:49 +01:00
Magnus Norddahl
34bf581957 Fix new blend mode 2016-11-30 08:51:39 +01:00
Magnus Norddahl
8ad2f45082 Fix compile errors for older LLVM 2016-11-30 08:10:04 +01:00
Magnus Norddahl
03282c957b Add a new blend mode for sprites 2016-11-30 07:49:04 +01:00
Magnus Norddahl
6cc33553c2 Change object file generation to not use the JIT engine builder 2016-11-30 07:48:40 +01:00
Magnus Norddahl
cc94381366 Fix flushing issue in drawergen 2016-11-30 07:14:24 +01:00
alexey.lysiuk
d837f9ab93 Fixed compilation of drawergen on macOS 2016-11-29 22:25:13 +02:00
Edoardo Prezioso
7474be6284 - Fixed GCC/Clang compiler errors and warnings. 2016-11-29 19:46:38 +01:00
Magnus Norddahl
b450ac5047 Remove some multiplications and branching from the triangle drawer 2016-11-29 13:54:06 +01:00
Magnus Norddahl
046f5f2b2e Catch exceptions and write out their message 2016-11-29 13:53:02 +01:00
Magnus Norddahl
f4d5fb4c25 Improve drawergen to only recompile the object file if its timestamp does not match 2016-11-29 03:32:24 +01:00