Search
lxdream.org :: lxdream/src/pvr2/glrender.c :: log
lxdream 0.9.1
released Jun 29
Download Now
filename src/pvr2/glrender.c
changeset1236:d93175c36387
authornkeynes
dateFri Feb 24 21:17:47 2012 +1000 (9 years ago)
permissions-rw-r--r--
last changeFactor video_width/video_height out into video_gl.c
Convert immediate-mode bits in video_gl.c into a structure for glDrawArray
Move setOrtho into defineOrthoMatrix in glutil.c
Rearrange various GL settings to keep a consistent state
file annotate diff log rss
1236:d93175c363879 yearsnkeynesFactor video_width/video_height out into video_gl.c
1233:06923d1020de9 yearsnkeynesFix non-shader rendering
1232:e5b12e2fe6ba9 yearsnkeynesRemove most of the remaining fixed-functionality in the shader rendering
1219:3966d3e553519 yearsnkeynesRemove unused pvr2_poly_texblend array
1207:f7ca985659c69 yearsnkeynesGen helper functions for uniform + attribute variables, along with the main
1205:a486ac64f34b9 yearsnkeynesReplace wordexp() with a hand-coded env-var substitution. More portable, and
1159:580436b01b6c10 yearsnkeynesImplement vertex array range support, and move buffer operations to gl_vbo.c
1156:d124a1c833cb10 yearsnkeynesAdd apple-specific GL context optimization
1154:5225c7c059ce10 yearsnkeynesAvoid rebinding textures unnecessarily (actually saves a surprising amount
1153:00e507e4025c10 yearsnkeynesRevert changes from r1151 that went in by accident (not ready from
1151:e1848ca9b5b110 yearsnkeynesUpdated pt_BR translation from Arthonis
1145:45674791c6ad11 yearsnkeynesIntroduce tile iterators to simplify processing of the tile lists
1140:7dc1c71ece7611 yearsnkeynesImplement fragment shader to support palette textures 'directly', and
1139:9af81878480b11 yearsnkeynesEliminate GL_REPLACE tex mode in favour of GL_MODULATE (by setting colour
1138:3bcb705a7ebc11 yearsnkeynesBind texture 0 instead of enabling/disabling texturing all the time
1137:4799d64b347811 yearsnkeynesChange forced-depth-function lists (autosort, punchout) to just set the
1136:078a2202958a11 yearsnkeynesEnsure stencil is disabled after use.
1135:68daed8f38af11 yearsnkeynesSet gl texture parameters at texture load time rather than render time.
1133:f3da7d810d5c11 yearsnkeynesPerform backface culling in scene preparation rather than leaving it to the
1132:1e074a98317c11 yearsnkeynesTurn on COLOR_SUM + FOG unconditionally, relying on scene setup to set
1130:5f56fc93111211 yearsnkeynesRefactor shader management to support multiple programs, which are all
1066:ddffe9d2b33212 yearsnkeynesNo-op merge lxdream-render to remove head (actually long since merged)
934:3acd3b3ee6d112 yearsnkeynesChange RAM regions to use static arrays rather than mmap regions, for a 2-3% performance gain. lxdream-mem
886:2bc6d2329cce13 yearsnkeynesFix texcache_init failing to clear texture_addr to -1
865:e10c081f4b8113 yearsnkeynesTidy up punchout handling slightly (doesn't really seem to need sorting...)
864:a90f3d5e57e113 yearsnkeynesCompute accurate shadow volume stencils
863:a5e5310061e213 yearsnkeynesInitial shadow volume implementation for opaque polygons (stencil isn't quite
856:02ac5f37bfc913 yearsnkeynesCompletely untested render-to-texture work in progress
847:2089244671d213 yearsnkeynesFog work-in-progress
736:a02d1475ccfd13 yearsnkeynesRe-indent everything consistently
687:6bdc2b7032ea13 yearsnkeynesChange colour params to float
684:95f2068235ef13 yearsnkeynesTweak far-clip-plane to cope with borderline vertexes
677:3ee62740ff8f13 yearsnkeynesRemove pvr2mmio.h include from pvr2.h (it's supposed to be moore or less private)
669:ab344e42bca913 yearsnkeynesCleanup most of the -Wall warnings (getting a bit sloppy...)
666:ea369bcf6def13 yearsnkeynesChange secondary colour to 3-components - makes osx happy and is probably more correct anyway
665:99ae9dc4cab713 yearsnkeynesMove glsl setup out of the drivers
655:31a4b664d48913 yearsnkeynesAdd support for mirrored textures
653:3202ff01d48e13 yearsnkeynesMerge lxdream-render branch (643:670) to trunk
651:95a9cf98785b13 yearsnkeynesEnsure depth buffer is unmasked before clearig lxdream-render
649:620c5c6496b513 yearsnkeynesUse maxz rather than minz for tri sorting (better results atm) lxdream-render
648:ef9aa5cba86f13 yearsnkeynesPut the 1/z back in for the moment lxdream-render
645:a7392098299c13 yearsnkeynesMore refactor work in progress - nearly done now lxdream-render
639:162ee7614b6013 yearsnkeynesMore render WIP - initial glrender.c lxdream-render
.