Search
lxdream.org :: lxdream :: changelog
lxdream 0.9.1
released Jun 29
Download Now

9 years agoBind texture 0 instead of enabling/disabling texturing all the time
nkeynes [Sun, 24 Oct 2010 15:15:27 +1000]  tree
Bind texture 0 instead of enabling/disabling texturing all the time
(marginally faster, but also simpler)
src/pvr2/glrender.c
src/pvr2/rendsort.c


9 years agoChange forced-depth-function lists (autosort, punchout) to just set the
nkeynes [Sun, 24 Oct 2010 13:40:52 +1000]  tree
Change forced-depth-function lists (autosort, punchout) to just set the
depth once at the start of the list
Remove unused parameter from render_set_tsp_context
src/pvr2/glrender.c
src/pvr2/pvr2.h
src/pvr2/rendsort.c


9 years agoEnsure stencil is disabled after use.
nkeynes [Sun, 24 Oct 2010 13:10:53 +1000]  tree
Ensure stencil is disabled after use.
src/pvr2/glrender.c


9 years agoSet gl texture parameters at texture load time rather than render time.
nkeynes [Sun, 24 Oct 2010 11:50:17 +1000]  tree
Set gl texture parameters at texture load time rather than render time.
(This does mean that if the texture is used with variant parameters it will be
loaded multiple times). 3-4% faster this way
src/pvr2/glrender.c
src/pvr2/pvr2.h
src/pvr2/texcache.c


9 years agoDump more information with --gl-info, and print it a little more nicely
nkeynes [Fri, 22 Oct 2010 20:55:32 +1000]  tree
Dump more information with --gl-info, and print it a little more nicely
src/display.h
src/drivers/video_glx.c
src/drivers/video_nsgl.m
src/drivers/video_null.c
src/main.c
src/pvr2/gl_sl.c
src/pvr2/glutil.c
src/pvr2/glutil.h


9 years agoPerform backface culling in scene preparation rather than leaving it to the
nkeynes [Wed, 20 Oct 2010 17:56:59 +1000]  tree
Perform backface culling in scene preparation rather than leaving it to the
GL - this is a huge performance win, at least on the 9400M - changing cull
state appears to be very expensive, whereas the CPU needed to do the same
job is only just barely measurable.
src/pvr2/glrender.c
src/pvr2/rendsort.c
src/pvr2/scene.c
src/pvr2/scene.h


9 years agoTurn on COLOR_SUM + FOG unconditionally, relying on scene setup to set
nkeynes [Tue, 19 Oct 2010 22:43:10 +1000]  tree
Turn on COLOR_SUM + FOG unconditionally, relying on scene setup to set
appropriate empty values when disabled - this is a minor performance win
src/pvr2/glrender.c
src/pvr2/scene.c


9 years agoAdd missing files for the randmath test, and update .hgignore
nkeynes [Wed, 06 Oct 2010 08:47:13 +1000]  tree
Add missing files for the randmath test, and update .hgignore
.hgignore
test/randmath.c
test/random.dat


9 years agoRefactor shader management to support multiple programs, which are all
nkeynes [Fri, 17 Sep 2010 20:08:50 +1000]  tree
Refactor shader management to support multiple programs, which are all
defined in the shaders.glsl, rather than split up into one file per
fragment.
src/Makefile.am
src/Makefile.in
src/pvr2/fragment.glsl
src/pvr2/gl_sl.c
src/pvr2/glrender.c
src/pvr2/glutil.h
src/pvr2/shaders.glsl
src/pvr2/vertex.glsl
src/tools/genglsl.c


9 years agoAdd undocumented option --gl-info to dump out the GL identification and extension list
nkeynes [Fri, 17 Sep 2010 20:05:34 +1000]  tree
Add undocumented option --gl-info to dump out the GL identification and extension list
src/main.c
src/pvr2/glutil.c


.