]>
git.rm.cloudns.org Git - xonotic/darkplaces.git/log
Rudolf Polzer [Mon, 14 Feb 2011 20:00:44 +0000 (21:00 +0100)]
fix AVFrame struct
Rudolf Polzer [Sun, 13 Feb 2011 17:51:13 +0000 (18:51 +0100)]
add missing header file
Rudolf Polzer [Sun, 13 Feb 2011 17:51:13 +0000 (18:51 +0100)]
more lavf stuff
Rudolf Polzer [Sun, 13 Feb 2011 17:38:39 +0000 (18:38 +0100)]
more lavc fixes
Rudolf Polzer [Sun, 13 Feb 2011 17:26:29 +0000 (18:26 +0100)]
support formatoptions
Rudolf Polzer [Sun, 13 Feb 2011 17:24:42 +0000 (18:24 +0100)]
Merge branch 'master' into divVerent/libavcodec
eihrul [Fri, 11 Feb 2011 22:23:27 +0000 (22:23 +0000)]
always force a flush on copy to texture
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10841
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Fri, 11 Feb 2011 19:20:12 +0000 (19:20 +0000)]
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10840
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Fri, 11 Feb 2011 18:59:09 +0000 (18:59 +0000)]
added iris adaptation experiment
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10839
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Wed, 9 Feb 2011 09:35:12 +0000 (09:35 +0000)]
removed unmaintained CgGL rendering path
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10838
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Wed, 9 Feb 2011 09:20:05 +0000 (09:20 +0000)]
variables referring to cg in a way that is used by both CGGL and D3D9
paths are now called hlsl instead
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10837
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Wed, 9 Feb 2011 09:13:34 +0000 (09:13 +0000)]
fix an error in the HLSL shader (unintentional use of mix rather than lerp function)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10836
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Wed, 9 Feb 2011 08:27:05 +0000 (08:27 +0000)]
GL20 path now uses same shader as GLES2 (albeit with the precision
modifiers disabled), this means vertex attrib arrays instead of the
legacy pointers... one side effect is that colors are no longer clamped
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10835
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Wed, 9 Feb 2011 07:02:14 +0000 (07:02 +0000)]
revised SDL iOS instructions again now that SDL has GLES2 support
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10834
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Wed, 9 Feb 2011 02:04:58 +0000 (02:04 +0000)]
fixed iOS rendering (set the vertex attribute bindings before attaching the shaders to the program)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10833
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Wed, 9 Feb 2011 02:04:03 +0000 (02:04 +0000)]
changed the fs_userdir on iOS
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10832
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Tue, 8 Feb 2011 18:25:42 +0000 (18:25 +0000)]
added GLES2 GLSL shader, work in progress (no warnings/errors in basic usage)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10831
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Tue, 8 Feb 2011 18:23:47 +0000 (18:23 +0000)]
DPiOS almost works now...
Side effects: had to change the internalformat hints on the GL texture formats, because values 3 and 4 are not supported on GLES, using GL_RGB and GL_RGBA instead (same meaning).
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10830
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Tue, 8 Feb 2011 09:24:19 +0000 (09:24 +0000)]
Ooops, forgot to update the description so the cvar makes more sense
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10829
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Tue, 8 Feb 2011 09:24:03 +0000 (09:24 +0000)]
Fix a typo with declaration of the cvar and default it to off so it can be decided upon by games specifically
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10828
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Tue, 8 Feb 2011 09:23:58 +0000 (09:23 +0000)]
Add smoothing to the viewheight so that things such as crouching have a smooth transition - implemented in the engine because it's the best way to do it.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10827
d7cf8633 -e32d-0410-b094-
e92efae38249
eihrul [Mon, 7 Feb 2011 23:07:10 +0000 (23:07 +0000)]
add missing thread files to vcprojs
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10826
d7cf8633 -e32d-0410-b094-
e92efae38249
eihrul [Mon, 7 Feb 2011 14:56:47 +0000 (14:56 +0000)]
factor out thread interface from dpsoftrast
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10825
d7cf8633 -e32d-0410-b094-
e92efae38249
eihrul [Mon, 7 Feb 2011 10:26:04 +0000 (10:26 +0000)]
add dpsoftrast to some missing targets
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10824
d7cf8633 -e32d-0410-b094-
e92efae38249
eihrul [Mon, 7 Feb 2011 07:07:56 +0000 (07:07 +0000)]
ensure dynamic textures get updated even if they are currently bound
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10823
d7cf8633 -e32d-0410-b094-
e92efae38249
eihrul [Mon, 7 Feb 2011 06:37:54 +0000 (06:37 +0000)]
fix for span endpoint interpolation
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10822
d7cf8633 -e32d-0410-b094-
e92efae38249
eihrul [Mon, 7 Feb 2011 05:49:54 +0000 (05:49 +0000)]
clamping for FlatColor shader (to fix gl_flashblend)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10821
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Mon, 7 Feb 2011 03:55:13 +0000 (03:55 +0000)]
made GLES2 gl call wrappers compile again
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10820
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Mon, 7 Feb 2011 03:45:51 +0000 (03:45 +0000)]
added qglVertexAttrib and other missing functions on GLES2 path
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10819
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Mon, 7 Feb 2011 03:32:23 +0000 (03:32 +0000)]
added RENDERPATH_GLES2
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10818
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Sun, 6 Feb 2011 22:24:38 +0000 (22:24 +0000)]
I don't think anyone needs my user files for the xcode project
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10817
d7cf8633 -e32d-0410-b094-
e92efae38249
eihrul [Sun, 6 Feb 2011 12:47:26 +0000 (12:47 +0000)]
fixed missing break statement
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10816
d7cf8633 -e32d-0410-b094-
e92efae38249
eihrul [Sun, 6 Feb 2011 12:44:54 +0000 (12:44 +0000)]
implemented scissoring of triangles and extra necessary blendmode for xonotic hud
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10815
d7cf8633 -e32d-0410-b094-
e92efae38249
eihrul [Sun, 6 Feb 2011 10:46:59 +0000 (10:46 +0000)]
committing missing function prototype
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10814
d7cf8633 -e32d-0410-b094-
e92efae38249
eihrul [Sun, 6 Feb 2011 07:51:29 +0000 (07:51 +0000)]
band interlacing option (vid_soft_interlace)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10813
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Sun, 6 Feb 2011 05:35:14 +0000 (05:35 +0000)]
updated readme for iOS compilation with instructions on how to modify SDL to use OpenGL ES 2.0 (as required by darkplaces)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10812
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Sun, 6 Feb 2011 03:25:42 +0000 (03:25 +0000)]
iOS support closer to working
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10811
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Sun, 6 Feb 2011 02:58:52 +0000 (02:58 +0000)]
remove a couple unused declarations
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10810
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Sun, 6 Feb 2011 02:58:13 +0000 (02:58 +0000)]
iOS support in progress - accommodating GLES...
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10809
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Sun, 6 Feb 2011 02:14:51 +0000 (02:14 +0000)]
changed use of GL_ARB_fragment_shader and friends to the core GL 2.0
functionality instead, for better GL ES 2.0 compatibility
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10808
d7cf8633 -e32d-0410-b094-
e92efae38249
eihrul [Sat, 5 Feb 2011 13:29:09 +0000 (13:29 +0000)]
correctly copy in all of quadelement3s to quadelement3i
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10807
d7cf8633 -e32d-0410-b094-
e92efae38249
eihrul [Sat, 5 Feb 2011 12:22:27 +0000 (12:22 +0000)]
ensure UndoCommand wraps properly at 0
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10806
d7cf8633 -e32d-0410-b094-
e92efae38249
eihrul [Sat, 5 Feb 2011 00:28:14 +0000 (00:28 +0000)]
remove errant debugging code... again
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10805
d7cf8633 -e32d-0410-b094-
e92efae38249
eihrul [Sat, 5 Feb 2011 00:26:14 +0000 (00:26 +0000)]
attempted fix for VC compile errors
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10804
d7cf8633 -e32d-0410-b094-
e92efae38249
eihrul [Sat, 5 Feb 2011 00:20:48 +0000 (00:20 +0000)]
remove debugging code
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10803
d7cf8633 -e32d-0410-b094-
e92efae38249
eihrul [Sat, 5 Feb 2011 00:19:12 +0000 (00:19 +0000)]
optimized MultiplyVaryingBGRA8 and VaryingBGRA8
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10802
d7cf8633 -e32d-0410-b094-
e92efae38249
eihrul [Fri, 4 Feb 2011 22:22:31 +0000 (22:22 +0000)]
use short indices when available instead of int (fixes xonotic console weirdness)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10801
d7cf8633 -e32d-0410-b094-
e92efae38249
eihrul [Fri, 4 Feb 2011 21:55:45 +0000 (21:55 +0000)]
clear scissor fix
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10800
d7cf8633 -e32d-0410-b094-
e92efae38249
eihrul [Fri, 4 Feb 2011 20:28:42 +0000 (20:28 +0000)]
more fine-grained locking amongst backend threads
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10799
d7cf8633 -e32d-0410-b094-
e92efae38249
eihrul [Fri, 4 Feb 2011 14:36:31 +0000 (14:36 +0000)]
distribute draw calls based on bounding box
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10798
d7cf8633 -e32d-0410-b094-
e92efae38249
eihrul [Thu, 3 Feb 2011 21:15:16 +0000 (21:15 +0000)]
only force flushing on a texture update if a texture is already bound (for quake)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10797
d7cf8633 -e32d-0410-b094-
e92efae38249
eihrul [Thu, 3 Feb 2011 11:37:13 +0000 (11:37 +0000)]
nearest filtering fix
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10796
d7cf8633 -e32d-0410-b094-
e92efae38249
eihrul [Thu, 3 Feb 2011 09:14:53 +0000 (09:14 +0000)]
USE_SDL define
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10795
d7cf8633 -e32d-0410-b094-
e92efae38249
eihrul [Thu, 3 Feb 2011 09:05:39 +0000 (09:05 +0000)]
detect whether dpsoftrast is being built with SDL
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10794
d7cf8633 -e32d-0410-b094-
e92efae38249
eihrul [Thu, 3 Feb 2011 08:33:03 +0000 (08:33 +0000)]
threading and more SSE2 optimizations for dpsoftrast
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10793
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Wed, 2 Feb 2011 18:44:36 +0000 (18:44 +0000)]
added xcode project for building DarkPlaces on iOS using SDL 1.3
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10792
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Wed, 2 Feb 2011 18:35:57 +0000 (18:35 +0000)]
don't use MacOSX-specific code with __IPHONEOS__ defined
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10791
d7cf8633 -e32d-0410-b094-
e92efae38249
eihrul [Tue, 1 Feb 2011 14:14:04 +0000 (14:14 +0000)]
implemented Texture_UpdatePartial
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10790
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Mon, 31 Jan 2011 06:05:54 +0000 (06:05 +0000)]
also apply volume.value to ambient sounds (is this really right?)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10789
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Mon, 31 Jan 2011 04:40:45 +0000 (04:40 +0000)]
enable mod_bsp_portalize by default
enable r_shadow_realtime_world_compileportalculling by default
this is intended to restore lost rtworld performance, however it may not
be optimal on some q3bsp maps
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10788
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Mon, 31 Jan 2011 03:37:10 +0000 (03:37 +0000)]
default gl_nopartialtextureupdates to 0 because it hurts fps a lot
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10787
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Mon, 31 Jan 2011 03:33:06 +0000 (03:33 +0000)]
clean up the Compile as C and Compile as C++ options on the files in the projects, thanks to Willis for advice on how to make this a project setting rather than a per file setting.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10786
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Mon, 31 Jan 2011 00:57:09 +0000 (00:57 +0000)]
fix compilation of dpsoftrast.c in MSVC - it doesn't seem to like initializers on __m128 variables - and set it to compile as C++ in wgl build (like all other files in wgl build)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10785
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Sun, 30 Jan 2011 21:52:03 +0000 (21:52 +0000)]
added dpsoftrast to project files
added x64 build mode but it does not compile yet (dpsoftrast issues)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10784
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Sun, 30 Jan 2011 20:15:44 +0000 (20:15 +0000)]
sv_status_privacy: also apply to CCREQ_PLAYER_INFO
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10783
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Sun, 30 Jan 2011 17:29:37 +0000 (17:29 +0000)]
added SDL 1.3 support
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10782
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Sat, 29 Jan 2011 22:19:48 +0000 (22:19 +0000)]
Squashed commit of the following:
commit
5c70a0cf78ecde6a1da9fe73516f8d2fe2251c81
Author: terencehill <piuntn@gmail.com>
Date: Mon Jan 24 00:39:13 2011 +0100
Fix a bunch of typos
Signed-off-by: terencehill <piuntn@gmail.com>
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10781
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Sat, 29 Jan 2011 22:05:24 +0000 (22:05 +0000)]
Squashed commit of the following:
commit
4eece1a8617ec2e21dbc8732af65727792e432fb
Author: terencehill <piuntn@gmail.com>
Date: Thu Jan 13 17:26:51 2011 +0100
Color directories with blue when using autocompletion in the console. Improves readability.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10780
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Sat, 29 Jan 2011 14:08:38 +0000 (14:08 +0000)]
update copyright year
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10779
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Sat, 29 Jan 2011 10:14:13 +0000 (10:14 +0000)]
prevent a segfault in case a bsp file has zero nodes (happens on broken input to q3map2)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10778
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Sat, 29 Jan 2011 08:32:32 +0000 (08:32 +0000)]
fix a crash on edict_num(32767)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10777
d7cf8633 -e32d-0410-b094-
e92efae38249
eihrul [Sat, 29 Jan 2011 07:13:28 +0000 (07:13 +0000)]
added _USE_MATH_DEFINES for weird MSVC problem
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10776
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Sat, 29 Jan 2011 00:08:39 +0000 (00:08 +0000)]
fix a C++ error
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10775
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Fri, 28 Jan 2011 23:56:56 +0000 (23:56 +0000)]
fix some C++ warnings
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10774
d7cf8633 -e32d-0410-b094-
e92efae38249
eihrul [Fri, 28 Jan 2011 22:31:05 +0000 (22:31 +0000)]
optimized VertexColor shader
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10773
d7cf8633 -e32d-0410-b094-
e92efae38249
eihrul [Fri, 28 Jan 2011 22:07:29 +0000 (22:07 +0000)]
don't report texture compression support in softrast renderpath
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10772
d7cf8633 -e32d-0410-b094-
e92efae38249
eihrul [Fri, 28 Jan 2011 15:19:29 +0000 (15:19 +0000)]
ensure cull face state is committed in softrast path
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10771
d7cf8633 -e32d-0410-b094-
e92efae38249
eihrul [Fri, 28 Jan 2011 09:52:15 +0000 (09:52 +0000)]
fix clipping and backface culling bugs
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10770
d7cf8633 -e32d-0410-b094-
e92efae38249
eihrul [Fri, 28 Jan 2011 05:21:59 +0000 (05:21 +0000)]
faster attribute interpolation in ProcessTriangles
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10769
d7cf8633 -e32d-0410-b094-
e92efae38249
eihrul [Fri, 28 Jan 2011 04:01:12 +0000 (04:01 +0000)]
more texturing optimizations
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10768
d7cf8633 -e32d-0410-b094-
e92efae38249
eihrul [Fri, 28 Jan 2011 02:35:28 +0000 (02:35 +0000)]
removing one more reciprocal...
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10767
d7cf8633 -e32d-0410-b094-
e92efae38249
eihrul [Fri, 28 Jan 2011 02:19:24 +0000 (02:19 +0000)]
switch usage of reciprocals back to division (precision is way too low)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10766
d7cf8633 -e32d-0410-b094-
e92efae38249
eihrul [Fri, 28 Jan 2011 01:31:11 +0000 (01:31 +0000)]
SSE2 blending optimizations
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10765
d7cf8633 -e32d-0410-b094-
e92efae38249
eihrul [Thu, 27 Jan 2011 23:09:23 +0000 (23:09 +0000)]
delay backface culling till after near plane test
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10764
d7cf8633 -e32d-0410-b094-
e92efae38249
eihrul [Thu, 27 Jan 2011 21:48:02 +0000 (21:48 +0000)]
fix mipedgetc typo
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10763
d7cf8633 -e32d-0410-b094-
e92efae38249
eihrul [Thu, 27 Jan 2011 14:55:30 +0000 (14:55 +0000)]
replace some divisions with reciprocals
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10762
d7cf8633 -e32d-0410-b094-
e92efae38249
eihrul [Thu, 27 Jan 2011 14:19:05 +0000 (14:19 +0000)]
added in some basic polygon offset compatibility (though using w buffer units)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10761
d7cf8633 -e32d-0410-b094-
e92efae38249
eihrul [Thu, 27 Jan 2011 13:34:01 +0000 (13:34 +0000)]
fix accessing of bottom mip level in Texture2DVaryingBGRA8
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10760
d7cf8633 -e32d-0410-b094-
e92efae38249
eihrul [Thu, 27 Jan 2011 12:21:23 +0000 (12:21 +0000)]
ProcessTriangles SSE2 optimizations
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10759
d7cf8633 -e32d-0410-b094-
e92efae38249
eihrul [Wed, 26 Jan 2011 23:24:48 +0000 (23:24 +0000)]
try to keep inter-span variables for texturing in sse registers
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10758
d7cf8633 -e32d-0410-b094-
e92efae38249
eihrul [Wed, 26 Jan 2011 15:45:07 +0000 (15:45 +0000)]
remove unneeded "fast" case for nearest filtering
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10757
d7cf8633 -e32d-0410-b094-
e92efae38249
eihrul [Wed, 26 Jan 2011 15:35:52 +0000 (15:35 +0000)]
SSE2 opts for nearest filtering
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10756
d7cf8633 -e32d-0410-b094-
e92efae38249
eihrul [Wed, 26 Jan 2011 14:55:04 +0000 (14:55 +0000)]
fix for lightmap glow path to use one less multiply
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10755
d7cf8633 -e32d-0410-b094-
e92efae38249
eihrul [Wed, 26 Jan 2011 14:44:45 +0000 (14:44 +0000)]
SSE2 optimized lightmap shader
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10754
d7cf8633 -e32d-0410-b094-
e92efae38249
eihrul [Wed, 26 Jan 2011 13:40:21 +0000 (13:40 +0000)]
SSE2 optimized Texture2DVaryingBGRA8
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10753
d7cf8633 -e32d-0410-b094-
e92efae38249
eihrul [Wed, 26 Jan 2011 13:00:02 +0000 (13:00 +0000)]
initial obfuscation of ProcessTriangles with SSE2 code for testing
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10752
d7cf8633 -e32d-0410-b094-
e92efae38249
eihrul [Wed, 26 Jan 2011 12:24:09 +0000 (12:24 +0000)]
only respect vid_soft variable if SSE2_PRESENT is defined
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10751
d7cf8633 -e32d-0410-b094-
e92efae38249
eihrul [Wed, 26 Jan 2011 12:15:42 +0000 (12:15 +0000)]
added SSE2_PRESENT define
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10750
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Wed, 26 Jan 2011 11:48:27 +0000 (11:48 +0000)]
change DPSOFTRAST default texture filter to linear, it hurts fps some
but looks substantially better
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10749
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Wed, 26 Jan 2011 11:46:12 +0000 (11:46 +0000)]
optimized SHADERMODE_LIGHTSOURCE to do some early-out checks
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10748
d7cf8633 -e32d-0410-b094-
e92efae38249