Search
lxdream.org :: lxdream/src/pvr2/glrender.c :: log
lxdream 0.9.1
released Jun 29
Download Now
filename src/pvr2/glrender.c
changeset1275:83b15705cdde
authornkeynes
dateTue Mar 20 08:29:38 2012 +1000 (10 years ago)
permissions-rw-r--r--
last changeMore android WIP
- Implement onPause/onResume (although resume is not actually working yet)
- Implement BGRA => RGBA texture conversion (BGRA doesn't seem to work on the TFP)

Boot swirl is now displayed, albeit depth buffering seems to be broken.
file annotate diff log rss
1275:83b15705cdde10 yearsnkeynesMore android WIP
1257:e1314ad3e7cc10 yearsnkeynesFix have_shaders in glrender.c
1256:a9d29fe74bf310 yearsnkeynesMove glsl loading into common gl code, and set a display capability flag
1251:b8ab59d3975610 yearsnkeynesSupport depth component 16 as well as 24 (add capability flag for the available bits)
1242:67909902ede910 yearsnkeynesFix accidental change of sense for HAVE_OPENGL_FIXEDFUNC
1240:190df8a791ca10 yearsnkeynesImplement display output for the GLES2 case (no fixed function
1238:91bcb2dec4ef10 yearsnkeynesFix signature of dummy function version
1236:d93175c3638710 yearsnkeynesFactor video_width/video_height out into video_gl.c
1233:06923d1020de10 yearsnkeynesFix non-shader rendering
1232:e5b12e2fe6ba10 yearsnkeynesRemove most of the remaining fixed-functionality in the shader rendering
1219:3966d3e5535110 yearsnkeynesRemove unused pvr2_poly_texblend array
1207:f7ca985659c610 yearsnkeynesGen helper functions for uniform + attribute variables, along with the main
1205:a486ac64f34b10 yearsnkeynesReplace wordexp() with a hand-coded env-var substitution. More portable, and
1159:580436b01b6c11 yearsnkeynesImplement vertex array range support, and move buffer operations to gl_vbo.c
1156:d124a1c833cb11 yearsnkeynesAdd apple-specific GL context optimization
1154:5225c7c059ce11 yearsnkeynesAvoid rebinding textures unnecessarily (actually saves a surprising amount
1153:00e507e4025c11 yearsnkeynesRevert changes from r1151 that went in by accident (not ready from
1151:e1848ca9b5b111 yearsnkeynesUpdated pt_BR translation from Arthonis
1145:45674791c6ad12 yearsnkeynesIntroduce tile iterators to simplify processing of the tile lists
1140:7dc1c71ece7612 yearsnkeynesImplement fragment shader to support palette textures 'directly', and
1139:9af81878480b12 yearsnkeynesEliminate GL_REPLACE tex mode in favour of GL_MODULATE (by setting colour
1138:3bcb705a7ebc12 yearsnkeynesBind texture 0 instead of enabling/disabling texturing all the time
1137:4799d64b347812 yearsnkeynesChange forced-depth-function lists (autosort, punchout) to just set the
1136:078a2202958a12 yearsnkeynesEnsure stencil is disabled after use.
1135:68daed8f38af12 yearsnkeynesSet gl texture parameters at texture load time rather than render time.
1133:f3da7d810d5c12 yearsnkeynesPerform backface culling in scene preparation rather than leaving it to the
1132:1e074a98317c12 yearsnkeynesTurn on COLOR_SUM + FOG unconditionally, relying on scene setup to set
1130:5f56fc93111212 yearsnkeynesRefactor shader management to support multiple programs, which are all
1066:ddffe9d2b33213 yearsnkeynesNo-op merge lxdream-render to remove head (actually long since merged)
934:3acd3b3ee6d113 yearsnkeynesChange RAM regions to use static arrays rather than mmap regions, for a 2-3% performance gain. lxdream-mem
886:2bc6d2329cce14 yearsnkeynesFix texcache_init failing to clear texture_addr to -1
865:e10c081f4b8114 yearsnkeynesTidy up punchout handling slightly (doesn't really seem to need sorting...)
864:a90f3d5e57e114 yearsnkeynesCompute accurate shadow volume stencils
863:a5e5310061e214 yearsnkeynesInitial shadow volume implementation for opaque polygons (stencil isn't quite
856:02ac5f37bfc914 yearsnkeynesCompletely untested render-to-texture work in progress
847:2089244671d214 yearsnkeynesFog work-in-progress
736:a02d1475ccfd14 yearsnkeynesRe-indent everything consistently
687:6bdc2b7032ea14 yearsnkeynesChange colour params to float
684:95f2068235ef14 yearsnkeynesTweak far-clip-plane to cope with borderline vertexes
677:3ee62740ff8f14 yearsnkeynesRemove pvr2mmio.h include from pvr2.h (it's supposed to be moore or less private)
669:ab344e42bca914 yearsnkeynesCleanup most of the -Wall warnings (getting a bit sloppy...)
666:ea369bcf6def14 yearsnkeynesChange secondary colour to 3-components - makes osx happy and is probably more correct anyway
665:99ae9dc4cab714 yearsnkeynesMove glsl setup out of the drivers
655:31a4b664d48914 yearsnkeynesAdd support for mirrored textures
653:3202ff01d48e14 yearsnkeynesMerge lxdream-render branch (643:670) to trunk
651:95a9cf98785b14 yearsnkeynesEnsure depth buffer is unmasked before clearig lxdream-render
649:620c5c6496b514 yearsnkeynesUse maxz rather than minz for tri sorting (better results atm) lxdream-render
648:ef9aa5cba86f14 yearsnkeynesPut the 1/z back in for the moment lxdream-render
645:a7392098299c14 yearsnkeynesMore refactor work in progress - nearly done now lxdream-render
639:162ee7614b6014 yearsnkeynesMore render WIP - initial glrender.c lxdream-render
.