Magnus Norddahl
9416d436fe
Move software renderer into its own namespace to isolate its globals and make
...
any access explicit. This reveals the places in the code where they are being
accessed where they shouldn't and prevents accidental usage.
2016-12-01 02:38:32 +01:00
Magnus Norddahl
e9e7839133
Create drawergen tool
2016-11-28 17:31:56 +01:00
Magnus Norddahl
d084f77546
Fix mipmap generation bug
...
Fix crash due to dc_source2 not always being set
Add r_lod_bias to control mipmap selection
Improve LOD calculations to take the U texture coordinate into account
2016-11-05 16:12:59 +01:00
Magnus Norddahl
4b18530047
Add linear filtering to column drawers and fix offsetting bug with wall/span linear filters
2016-11-05 11:29:50 +01:00
Magnus Norddahl
ea44a445af
Improve drawer debug info details
2016-10-29 07:20:16 +02:00
Magnus Norddahl
54c94f6e58
Fix pinkie having the blues
2016-10-28 02:41:14 +02:00
Magnus Norddahl
af937366d1
Added DetectRangeError function
2016-10-17 12:36:01 +02:00
Magnus Norddahl
b5b96ee222
Add a little bit more debug information
2016-10-12 13:49:12 +02:00
Magnus Norddahl
27b432a930
Improve crash handling in drawers
2016-10-12 13:25:05 +02:00
Magnus Norddahl
aae4571c95
Changed column drawers to use true color textures
2016-10-07 12:45:21 +02:00
Magnus Norddahl
78415461b9
Removed old SSE macros and drawers
2016-10-07 06:56:20 +02:00
Magnus Norddahl
8c259f50b1
Add codegen for rt column drawers
2016-10-07 06:40:29 +02:00
Magnus Norddahl
6c037fa249
Throwing templates at the code redundancy problem in drawers
2016-06-26 21:23:32 +02:00
Magnus Norddahl
b7f32d1bfc
Added LoopIterator to the drawt family of drawers
2016-06-24 18:05:32 +02:00
Magnus Norddahl
698b5f3db1
Simplify drawer code by creating loop iterators
...
Fixed blending bug
2016-06-24 11:37:51 +02:00
Magnus Norddahl
d3bc68a160
Disabled the AVX intrinsics
2016-06-19 23:37:22 +02:00
Magnus Norddahl
38aba81dcc
Added more SSE drawers
2016-06-19 23:11:41 +02:00
Magnus Norddahl
3f905197d0
Moved vectorized drawers to their own files
2016-06-19 07:40:01 +02:00
Magnus Norddahl
3e7eb79729
Added some experimental AVX2 drawers
2016-06-18 11:17:59 +02:00
Magnus Norddahl
fee8650357
Add r_multithreaded and fix color issue
2016-06-17 08:02:41 +02:00
Magnus Norddahl
9c8c1e0ea5
Fixed window transparency bug
2016-06-14 00:27:08 +02:00
Magnus Norddahl
586d5cdf1e
Normalize naming convention a little
2016-06-13 23:33:52 +02:00
Magnus Norddahl
69b2fa72e8
Moved RGBA draw stuff to its own header file
2016-06-13 23:10:54 +02:00
Magnus Norddahl
3ce2d8365d
Fix HUD colors when hw2d is off
2016-06-13 20:01:31 +02:00
Magnus Norddahl
5ae8e9e8c2
Fix missing colormap lookup
2016-06-11 16:17:30 +02:00
Magnus Norddahl
103a6baac5
Support for drawing in multiple passes
2016-06-10 15:57:31 +02:00
Magnus Norddahl
c452d02573
Added multicore rendering to true color drawers
2016-06-07 15:25:11 +02:00
Magnus Norddahl
c5fcfb664f
Changed rgba renderer to use a command queue system for its drawers
2016-06-07 00:55:52 +02:00
Magnus Norddahl
0c8c9e0aea
Added FDynamicColormap support to true color mode
2016-06-05 14:08:03 +02:00
Magnus Norddahl
6160675e08
Added a few more SSE drawers
2016-06-03 12:42:08 +02:00
Magnus Norddahl
41537a50ab
Fix true color light calculation bug for decals
2016-06-02 16:52:41 +02:00
Magnus Norddahl
47f32d03cd
Fixed some light and blending functions for the true color mode
2016-06-02 14:49:03 +02:00
Magnus Norddahl
045bad1b52
Removed the need for the pixel_canvas_t typedef
2016-05-31 05:31:32 +02:00
Magnus Norddahl
8aabc26cd9
Created standalone rgba drawing functions
2016-05-30 05:52:15 +02:00