Commit graph

54 commits

Author SHA1 Message Date
Magnus Norddahl
584220edf0 Move DrawerCommandQueue to its own file 2016-10-07 04:01:38 +02:00
Magnus Norddahl
c1e859dbca Added codegen for column drawers 2016-10-07 03:38:43 +02:00
Magnus Norddahl
e05ed47fee Remove C++ and SSE drawers 2016-10-04 01:36:26 +02:00
Magnus Norddahl
9c8f841858 Merge branch 'llvmcompiler' into qzdoom 2016-10-03 23:22:28 +02:00
Magnus Norddahl
28bb5da181 Hooked up LLVM wall drawers 2016-09-30 07:27:25 +02:00
raa-eruanna
7cbaf80a2a - Okay - so - last commit didn't actually fix anything. I think for now, it's better to turn off multi-threading by default until this can be fixed. r_multithreading has been changed to false by default, and is now saved in the user's .ini. 2016-09-29 12:49:10 -04:00
raa-eruanna
d58da58aee - fixed: Prevents too many drawer thread commands from queueing up. Previously, drawing too many columns (which was accumulated by amassing a huge number of sprites) would crash the game. 2016-09-29 12:20:32 -04:00
Magnus Norddahl
e5f3c119cd Codegen all DrawSpan variants 2016-09-29 04:01:42 +02:00
Magnus Norddahl
bfa291b02f Create LLVMDrawers class as the external interface to the drawers 2016-09-29 02:10:14 +02:00
Magnus Norddahl
3aea3a0bee Fully implemented codegen for DrawSpan 2016-09-28 18:49:39 +02:00
Magnus Norddahl
f9a7186550 Improve DrawSpan codegen enough to do the simple shade for 64x64 flats 2016-09-27 22:54:37 +02:00
Magnus Norddahl
3dd8b593b6 Use LLVM to JIT the code for one of the drawer functions 2016-09-26 09:00:19 +02:00
raa-eruanna
004c7de89b Part 1 of code merge 2016-09-14 04:03:39 -04:00
Magnus Norddahl
abef073ea4 Implemented sloped planes for true color mode 2016-08-09 01:17:45 +02:00
Magnus Norddahl
200d357b0d Linear filtering bug fix 2016-06-27 11:43:24 +02:00
Magnus Norddahl
8f38d3af99 Replaced the bicubic interpolation filter with a simple sharpening filter 2016-06-27 10:49:15 +02:00
Magnus Norddahl
6c037fa249 Throwing templates at the code redundancy problem in drawers 2016-06-26 21:23:32 +02:00
Magnus Norddahl
928e8e0d43 Improved linear filtering performance by adding a lookup table 2016-06-26 12:53:10 +02:00
Magnus Norddahl
4fd127651d Fixed fuzz drawer crash 2016-06-26 06:54:32 +02:00
Magnus Norddahl
7705463966 Improved linear filtering of walls
Fixed some crash bugs
Added mipmap and filtering options to the display menu
2016-06-25 10:33:35 +02:00
Magnus Norddahl
8ec420a597 Added support for more texture filtering control 2016-06-24 19:05:04 +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
db4cba239a Renamed member variable to make it compile with gcc 2016-06-22 00:27:12 +02:00
Magnus Norddahl
e294906d69 Voxel support in true color mode 2016-06-22 00:22:06 +02:00
Magnus Norddahl
f81042b3e2 Fix warning generated by gcc 2016-06-21 22:10:04 +02:00
Magnus Norddahl
c235de5c22 Native mipmap support to FTexture 2016-06-21 21:55:08 +02:00
Magnus Norddahl
d15af1524c Added mipmap support for floor and ceiling 2016-06-21 09:38:47 +02:00
Magnus Norddahl
c1b5ba5b90 Added SSE versions of bilinear filtering 2016-06-21 06:22:43 +02:00
Magnus Norddahl
c70aa1fe99 Added bilinear filtering 2016-06-20 08:24:02 +02:00
Magnus Norddahl
6daeb5a158 Blend mode fixes 2016-06-20 02:36:54 +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
e7cdcd9c0a Change to one pass rendering to remove fuzz artifact 2016-06-18 05:20:34 +02:00
Magnus Norddahl
4ef2fb3cdb Fixed multithreaded rendering issue with the fuzz effect 2016-06-17 14:45:52 +02:00
Magnus Norddahl
822bbd5b9a Fuzz (invisibility) adjustments 2016-06-17 13:40:23 +02:00
Magnus Norddahl
f53e468f3f Fixed fill column rgba drawers 2016-06-17 12:38:00 +02:00
Magnus Norddahl
fee8650357 Add r_multithreaded and fix color issue 2016-06-17 08:02:41 +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
0f0859b0b2 Special colormap support for when no hw accel is available 2016-06-12 22:54:23 +02:00
Magnus Norddahl
350857a9f6 Fixed fuzz effect when using multiple cores 2016-06-12 19:19:44 +02:00
Magnus Norddahl
42efc7334e Fix missing particles in true color mode 2016-06-12 00:50:43 +02:00
Magnus Norddahl
5ae8e9e8c2 Fix missing colormap lookup 2016-06-11 16:17:30 +02:00
Magnus Norddahl
d5331e6095 Wallscan fix 2016-06-10 22:22:40 +02:00
Magnus Norddahl
07571da98c Improved how threaded rendering is handled 2016-06-10 18:43:49 +02:00
Magnus Norddahl
27156eb60a Linux compile fixes and missing variable declarations 2016-06-10 16:32:47 +02:00
Magnus Norddahl
103a6baac5 Support for drawing in multiple passes 2016-06-10 15:57:31 +02:00