Commit graph

38 commits

Author SHA1 Message Date
Magnus Norddahl
7ffab207cb Move rgba drawers to be dispatched by r_draw_tc 2016-12-05 09:22:45 +01:00
Magnus Norddahl
8a12d040de Merge remote-tracking branch 'zdoom/master' into qzdoom
# Conflicts:
#	src/r_draw.cpp
#	src/r_draw.h
2016-12-05 08:22:04 +01:00
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
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
27b432a930 Improve crash handling in drawers 2016-10-12 13:25:05 +02:00
Magnus Norddahl
78415461b9 Removed old SSE macros and drawers 2016-10-07 06:56:20 +02:00
Magnus Norddahl
584220edf0 Move DrawerCommandQueue to its own file 2016-10-07 04:01:38 +02:00
Magnus Norddahl
e05ed47fee Remove C++ and SSE drawers 2016-10-04 01:36:26 +02: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
raa-eruanna
004c7de89b Part 1 of code merge 2016-09-14 04:03:39 -04:00
Magnus Norddahl
f56250b910 Remove premultiplied alpha 2016-08-14 05:10:34 +02:00
Magnus Norddahl
abef073ea4 Implemented sloped planes for true color mode 2016-08-09 01:17:45 +02:00
Magnus Norddahl
13ef9a834c Compile fix for gcc/clang 2016-06-30 13:56:53 +02:00
Magnus Norddahl
d1617fcdf0 GCC compile fixes 2016-06-30 13:45:06 +02:00
Magnus Norddahl
200d357b0d Linear filtering bug fix 2016-06-27 11:43:24 +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
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
7a0c801a18 Added mipmapping to wallscan 2016-06-22 08:23:16 +02:00
Magnus Norddahl
ca9d8e580e Increase command queue memory pool to 16 MB and make it flush if its exhausted 2016-06-22 00:51:16 +02:00
Magnus Norddahl
e294906d69 Voxel support in true color mode 2016-06-22 00:22:06 +02:00
Magnus Norddahl
4142b6ed1b GCC compile fix 2016-06-21 22:03:34 +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
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
3089043b07 Fixed typo 2016-06-17 08:28:30 +02:00
Magnus Norddahl
fee8650357 Add r_multithreaded and fix color issue 2016-06-17 08:02:41 +02:00
Magnus Norddahl
77c4786b9d Minor code cleanup 2016-06-14 23:05:20 +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