Commit graph

9796 commits

Author SHA1 Message Date
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
3890c80b1a Fix compile error for msvc 2016-12-01 08:59:47 +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
1bed6feadc Detach poly renderer from r_main 2016-12-01 00:42:14 +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
a7a779dd31 Fix race condition 2016-11-30 08:32:05 +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
Magnus Norddahl
284a99f204 Merge branch 'gl_swframebuffer' into qzdoom 2016-11-29 22:16:58 +01:00
Magnus Norddahl
00387a7211 Add bounds check to palette upload buffer size 2016-11-29 22:16:40 +01:00
alexey.lysiuk
d837f9ab93 Fixed compilation of drawergen on macOS 2016-11-29 22:25:13 +02:00
Magnus Norddahl
8433c37e47 Merge pull request #4 from edward-san/qz_gccclangfix
- Fixed GCC/Clang compiler errors and warnings.
2016-11-29 19:59:47 +01: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
Rachael Alexanderson
015151d0f4 Merge branch 'master' of https://github.com/raa-eruanna/QZDoom 2016-11-28 20:30:40 -05:00
Rachael Alexanderson
17c4c4a384 - Fixed: Linker now searches for r_drawerasm.obj in the proper place. This probably broke on Mac and Linux. :( 2016-11-28 20:29:57 -05:00
Magnus Norddahl
0bb179c0c2 Remove the silly sleep again 2016-11-29 01:55:45 +01:00
Rachael Alexanderson
37078f7fef - Fixed: CMake now asks DrawerGen to drop its output into the build folder instead of the source folder. Fixes a linker error. 2016-11-28 19:48:44 -05:00
Magnus Norddahl
1ac0fd1a90 Add a silly sleep 2016-11-29 01:19:20 +01:00
Magnus Norddahl
f808bcb8d2 Remove llvm_cpu cvar 2016-11-28 23:57:55 +01:00
Magnus Norddahl
09891291c2 Remove empty constructor 2016-11-28 17:34:32 +01:00
Magnus Norddahl
e9e7839133 Create drawergen tool 2016-11-28 17:31:56 +01:00
Magnus Norddahl
ccafe27b22 Merge remote-tracking branch 'origin/ssao' into qzdoom 2016-11-28 02:33:41 +01:00
Magnus Norddahl
bea113a908 Fix tonemap texture filtering (black screen) regression 2016-11-28 02:32:57 +01:00
Rachael Alexanderson
dcd389f696 Merge branch 'master' of https://github.com/rheit/zdoom 2016-11-27 11:55:05 -05:00
alexey.lysiuk
0488b18f8f Fixed junk character(s) left after removing portion of string
See http://forum.zdoom.org/viewtopic.php?t=54379
2016-11-27 16:33:25 +01:00
Christoph Oelckers
2e99681ced - fixed: When trying to calculate the damage for a blasted actor hitting another one, the velocity checks used the signed values, causing totally random damaging effects depending on the direction the objects were moving. This bug had been present in the original Hexen source as well. 2016-11-27 16:26:31 +01:00
Magnus Norddahl
057060022a Merge remote-tracking branch 'gzdoom/master' into ssao 2016-11-27 09:59:57 +01:00
Magnus Norddahl
1a16776dff Plane texturing adjustments 2016-11-27 04:39:33 +01:00
Magnus Norddahl
6417c1a7a3 Rewrite PrepWall and PrepLWall, plus make them aware of pixel centers 2016-11-27 00:43:32 +01:00
Magnus Norddahl
547973c8ba Rewrite OWallMost and WallMost to contain no build code 2016-11-26 23:28:21 +01:00
Magnus Norddahl
c37ce1fdbc Add plane clipping to the triangle drawer 2016-11-26 10:49:29 +01:00
Magnus Norddahl
8bbb63e913 Add portal plane clipping 2016-11-26 09:01:58 +01:00
Magnus Norddahl
70181f4146 Always access args.uniforms directly instead of first creating a TriUniforms variable 2016-11-26 07:35:04 +01:00
Magnus Norddahl
62188d1ea5 Change the line portal shape to be determined by the same code that decides the shape of other walls 2016-11-26 07:06:10 +01:00
Rachael Alexanderson
383a59259a Revert "Merge commit 'refs/pull/122/head' of https://github.com/coelckers/gzdoom"
This reverts commit 71b4f57058, reversing
changes made to 449d4963ae.
2016-11-25 21:02:18 -05:00
Magnus Norddahl
cc3ac9ea05 Line portal rendering 2016-11-25 23:44:55 +01:00
Magnus Norddahl
eaa15f2b74 Render other sector portal types 2016-11-25 20:19:35 +01:00
Magnus Norddahl
864358389e Implement portal recursion limit 2016-11-25 18:15:48 +01:00