Commit graph

88 commits

Author SHA1 Message Date
raven02
b64edadb1b Fix missing menu button and character in The Legend Of Heroes - Trails In The Sky 2013-02-06 04:26:24 +08:00
Henrik Rydgard
bf7ad9e1c9 Also don't convert 16-bit bone weights to float. Fixes a bug from the last similar change. 2013-02-05 18:02:10 +01:00
Henrik Rydgard
bdc467769e Some shader and vertex format optimizations 2013-02-05 01:37:00 +01:00
Henrik Rydgard
bf51291527 Don't translate bone weights to floats unnecessarily. Minor optimization to ApplyShader, pushing it down the profile from 2% to 0.5% in Wipeout. 2013-02-04 23:10:40 +01:00
Henrik Rydgard
ce059eedf5 Disable non-through RotateUV, according to Raven02 it seems it's not needed although I have my doubts :) 2013-02-03 21:46:31 +01:00
Henrik Rydgard
2bacf8071f Fix RotateUV. Apparently the rules are reversed in through mode. 2013-02-03 12:27:52 +01:00
Henrik Rydgard
366583d34f Align some vertex arrays to page size. It's said to possibly be beneficial. 2013-01-29 00:48:13 +01:00
Henrik Rydgard
4f8cdb8370 Delete now-unnecessary (hopefully) sanity check 2013-01-28 19:29:12 +01:00
Henrik Rydgard
4773f20fad Fix spiky polygon glitches with vertex cache in Dissidia and maybe more. 2013-01-28 19:05:38 +01:00
Henrik Rydgard
8b180513cb Assorted GPU cleanup/fixing (fbo, vbo draw type) 2013-01-26 21:39:36 +01:00
Unknown W. Brackets
6e403be006 Skip a double map lookup.
Profiler says this was taking extra time.  Only saves 0.23%.
2013-01-26 11:36:45 -08:00
Henrik Rydgard
8a32779150 Misc GPU stats etc changes 2013-01-25 18:29:14 +01:00
Henrik Rydgard
e04f5156ee Fix a few graphics issues, optimize shader ID generation (fewer shaders) 2013-01-22 22:03:41 +01:00
Xele02
77af8f4727 Change cast which break build on linux 2013-01-21 01:25:48 +01:00
Henrik Rydgard
3b8ea62b05 Cannot cache vertices when morph is enabled. 2013-01-20 22:48:29 +01:00
Henrik Rydgard
e15b580df6 Avoid using an element buffer in more cases. 2013-01-20 22:42:38 +01:00
Henrik Rydgard
611fb3536f Try to use glDrawArrays in more situations, saving us a buffer. Misc. 2013-01-20 21:52:54 +01:00
Henrik Rydgard
1b1a275dcc GPU "dirty" optimization, wip vertexcache 2013-01-20 13:15:46 +01:00
Henrik Rydgard
04860322f4 Merge branch 'master' into vertexcache 2013-01-20 11:30:11 +01:00
raven02
139932f7a0 Revert color0 to be original 2013-01-20 12:41:47 +08:00
Henrik Rydgard
201e1ea0bc Vertex caching now works for HW transform + VBO, not including RECTANGLE primitives yet. 2013-01-19 19:22:15 +01:00
Henrik Rydgard
8ff96bbcd8 Defer vertex decoding until flush. Track draw calls so that they can be cached later. 2013-01-19 17:05:50 +01:00
Henrik Rydgard
3931323f5b Commented out the wrong half of the RotateUVs check... 2013-01-14 21:41:39 +01:00
Henrik Rydgard
7271e3fcd5 Fix fog and stencil buffer clearing. The latter fixes the sky in MotoGP. 2013-01-14 20:44:11 +01:00
Henrik Rydgard
590d94da9f Add basic stencil test functionality, shadows work in Wipeout. update native.
This is not the whole story though, the PSP is being tricky by sharing the dest alpha and stencil.
2013-01-12 17:21:07 +01:00
Henrik Rydgard
6c9d28205d Disable the LoggingDeadline. Uncomment if you want to use it. 2013-01-12 12:52:00 +01:00
Henrik Rydgard
5a2fc722f6 VBO buffer rotation. Helps a little on my Nexus S but perf is still bad. 2013-01-11 19:03:16 +01:00
raven02
4e683911c7 Fix alpha blending for SW transform 2013-01-10 22:21:28 +08:00
Henrik Rydgard
b6d7127734 VBO should be optional for SW transform too. 2013-01-10 13:08:04 +01:00
Henrik Rydgard
479d1f5111 Draw using VBO. Add option, make default true. 2013-01-10 12:54:36 +01:00
Henrik Rydgard
0183a407dd Fix RECTANGLE rotation in the other direction too. 2013-01-07 09:52:47 +01:00
Henrik Rydgard
a1bf5a2a10 Save on gl[Enable/Disable]VertexAttribArray calls. 2013-01-06 23:50:05 +01:00
Henrik Rydgard
f8ae18a130 "Fix" bezier the old way (puzzle bobble works again at least). 2013-01-04 09:54:19 +01:00
raven02
39d3b767d9 Fix ambient color in SW Transform 2013-01-01 23:15:27 +08:00
raven02
753e9b3b16 Fix SW lighting 2013-01-01 13:44:40 +08:00
Henrik Rydgård
e2cc226d0d Just some cleanup of GPU code 2012-12-28 20:54:00 +01:00
Henrik Rydgård
c1041cfff2 Apparently RECTANGLES shouldn't flip that way. 2012-12-26 09:23:15 +01:00
Henrik Rydgård
1b35964445 Add support for rotated UVs of flipped RECTANGLES. Avoid using indexed
draws when unnecessary.
2012-12-26 08:54:33 +01:00
Henrik Rydgård
d95dbca9be Cleanup GPU init/shutdown a bit 2012-12-25 22:42:19 +01:00
Henrik Rydgård
7c64f9c61e Tiny optimization - only init the vertex decoder on vertex type change 2012-12-25 22:39:37 +01:00
Henrik Rydgård
9dce8b09a4 Move vertex arrays from globals to heap. 2012-12-25 22:39:37 +01:00
Henrik Rydgård
d21647bbb9 Split code from GLES_GPU to TransformDrawEngine, cleanup 2012-12-25 22:39:37 +01:00
raven02
fb3649ea97 Remove flush() 2012-12-24 21:34:02 +08:00
raven02
9af2325be5 Fix massive corrupted graphic in FF Type-0 2012-12-23 22:52:00 +08:00
Henrik Rydgard
6b3ac02dae Now not flushing at every drawcall by mistake... 2012-12-21 22:52:09 +01:00
Henrik Rydgard
d663e28bde More work and optimization. Still not quite there. 2012-12-21 21:49:09 +01:00
Henrik Rydgard
3b114eb24a More work on indexed draws. Not combining yet. 2012-12-21 19:16:17 +01:00
Henrik Rydgard
2e9daa5f89 All drawing is now indexed lists, through IndexGenerator. 2012-12-21 18:46:15 +01:00
Henrik Rydgard
4c23d668e1 Cleanup and reorganize gpu code a little 2012-12-21 16:50:14 +01:00
Henrik Rydgard
19391541fb HW transform: Fix too-harsh lighting 2012-12-20 23:47:19 +01:00