Search
lxdream.org :: lxdream/src/pvr2/glrender.c :: log
lxdream 0.9.1
released Jun 29
Download Now
filename src/pvr2/glrender.c
changeset1219:3966d3e55351
authornkeynes
dateMon Feb 13 21:43:22 2012 +1000 (8 years ago)
permissions-rw-r--r--
last changeRemove unused pvr2_poly_texblend array
Support GL_MAX_TEXTURE_UNITS and GL_MAX_IMAGE_TEXTURE_UNITS
Protected against undefined GL_STACK_OVERFLOW
file annotate diff log rss
1219:3966d3e553518 yearsnkeynesRemove unused pvr2_poly_texblend array
1207:f7ca985659c68 yearsnkeynesGen helper functions for uniform + attribute variables, along with the main
1205:a486ac64f34b8 yearsnkeynesReplace wordexp() with a hand-coded env-var substitution. More portable, and
1159:580436b01b6c9 yearsnkeynesImplement vertex array range support, and move buffer operations to gl_vbo.c
1156:d124a1c833cb9 yearsnkeynesAdd apple-specific GL context optimization
1154:5225c7c059ce9 yearsnkeynesAvoid rebinding textures unnecessarily (actually saves a surprising amount
1153:00e507e4025c9 yearsnkeynesRevert changes from r1151 that went in by accident (not ready from
1151:e1848ca9b5b19 yearsnkeynesUpdated pt_BR translation from Arthonis
1145:45674791c6ad9 yearsnkeynesIntroduce tile iterators to simplify processing of the tile lists
1140:7dc1c71ece769 yearsnkeynesImplement fragment shader to support palette textures 'directly', and
1139:9af81878480b10 yearsnkeynesEliminate GL_REPLACE tex mode in favour of GL_MODULATE (by setting colour
1138:3bcb705a7ebc10 yearsnkeynesBind texture 0 instead of enabling/disabling texturing all the time
1137:4799d64b347810 yearsnkeynesChange forced-depth-function lists (autosort, punchout) to just set the
1136:078a2202958a10 yearsnkeynesEnsure stencil is disabled after use.
1135:68daed8f38af10 yearsnkeynesSet gl texture parameters at texture load time rather than render time.
1133:f3da7d810d5c10 yearsnkeynesPerform backface culling in scene preparation rather than leaving it to the
1132:1e074a98317c10 yearsnkeynesTurn on COLOR_SUM + FOG unconditionally, relying on scene setup to set
1130:5f56fc93111210 yearsnkeynesRefactor shader management to support multiple programs, which are all
1066:ddffe9d2b33211 yearsnkeynesNo-op merge lxdream-render to remove head (actually long since merged)
934:3acd3b3ee6d111 yearsnkeynesChange RAM regions to use static arrays rather than mmap regions, for a 2-3% performance gain. lxdream-mem
886:2bc6d2329cce12 yearsnkeynesFix texcache_init failing to clear texture_addr to -1
865:e10c081f4b8112 yearsnkeynesTidy up punchout handling slightly (doesn't really seem to need sorting...)
864:a90f3d5e57e112 yearsnkeynesCompute accurate shadow volume stencils
863:a5e5310061e212 yearsnkeynesInitial shadow volume implementation for opaque polygons (stencil isn't quite
856:02ac5f37bfc912 yearsnkeynesCompletely untested render-to-texture work in progress
847:2089244671d212 yearsnkeynesFog work-in-progress
736:a02d1475ccfd12 yearsnkeynesRe-indent everything consistently
687:6bdc2b7032ea12 yearsnkeynesChange colour params to float
684:95f2068235ef12 yearsnkeynesTweak far-clip-plane to cope with borderline vertexes
677:3ee62740ff8f12 yearsnkeynesRemove pvr2mmio.h include from pvr2.h (it's supposed to be moore or less private)
669:ab344e42bca912 yearsnkeynesCleanup most of the -Wall warnings (getting a bit sloppy...)
666:ea369bcf6def12 yearsnkeynesChange secondary colour to 3-components - makes osx happy and is probably more correct anyway
665:99ae9dc4cab712 yearsnkeynesMove glsl setup out of the drivers
655:31a4b664d48912 yearsnkeynesAdd support for mirrored textures
653:3202ff01d48e12 yearsnkeynesMerge lxdream-render branch (643:670) to trunk
651:95a9cf98785b12 yearsnkeynesEnsure depth buffer is unmasked before clearig lxdream-render
649:620c5c6496b512 yearsnkeynesUse maxz rather than minz for tri sorting (better results atm) lxdream-render
648:ef9aa5cba86f12 yearsnkeynesPut the 1/z back in for the moment lxdream-render
645:a7392098299c12 yearsnkeynesMore refactor work in progress - nearly done now lxdream-render
639:162ee7614b6012 yearsnkeynesMore render WIP - initial glrender.c lxdream-render
.