Commit Graph

14 Commits

Author SHA1 Message Date
Henrik Rydgard
b52d21bd4a Don't use an index buffer for single triangle strips. Improve dirtying of proj matrices. 2013-04-20 23:37:07 +02:00
Henrik Rydgard
2351efc584 Cleanup IndexGenerator 2013-03-24 11:36:56 +01:00
Henrik Rydgard
57e82619ca Fix some glitches that were caused by the MH glitch fix (wrong prim..). Also some cleanup. 2013-03-24 01:13:02 +01:00
Henrik Rydgard
b4977610cc Smarter draw call joining, fixing MH vertex glitches. Thanks bovine for identifying the issue. 2013-03-23 13:12:52 +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
e15b580df6 Avoid using an element buffer in more cases. 2013-01-20 22:42:38 +01: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 Rydgård
3e8561ab5b ge: fix bug with indexed primitives 2012-12-27 23:45:06 +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 Rydgard
aabbbe9be4 IndexGenerator: fix triangle fans 2012-12-22 00:57:42 +01:00
Henrik Rydgard
6b3ac02dae Now not flushing at every drawcall by mistake... 2012-12-21 22:52: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
4eeab83389 Add IndexGenerator.cpp/h which will later be used to combine small draw calls into large indexed draw calls, for better performance. 2012-12-21 17:50:22 +01:00