Commit graph

130 commits

Author SHA1 Message Date
raven02
6396324f57 Add few isEnabled() in GPUState for Alpha/Color/Lighting/Texture Test 2013-03-27 18:35:54 +08:00
Unknown W. Brackets
afbde31b42 Add some OpenGL related reporting errors. 2013-03-24 09:45:43 -07:00
Henrik Rydgard
055a11cbdb Don't forget to free the vertex decoders.. 2013-03-24 12:31:00 +01:00
Henrik Rydgard
d96c588288 Cache vertex decoders. No big boost now, but opens for optimizing them more, and lets us keep stats of the most common ones. 2013-03-24 12:28:42 +01:00
Henrik Rydgard
2351efc584 Cleanup IndexGenerator 2013-03-24 11:36:56 +01:00
raven02
81fe409748 Better match SW mode with HW one 2013-03-24 17:34:30 +08: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
38e7a9ed42 Fix bug in SW Transform where no UV would be generated if there was none in the vertices. 2013-03-23 14:30:55 +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
d5035e80e4 Merge branch 'patch-10' of https://github.com/raven02/ppsspp into raven02-patch-10
Conflicts:
	GPU/GLES/TransformPipeline.cpp
2013-03-22 20:34:49 +01:00
raven02
9c79814c0a Remove disabled_ variable entirely 2013-03-22 23:58:13 +08:00
raven02
76ecaaff5f Put Vec3 norm and bool hasNormal in better place 2013-03-22 22:58:37 +08:00
raven02
4809be7786 Fix missing/wrong color screen in Last Ranker/Digimon.World.Re.Digitize/Saint Seiya Omega 2013-03-22 22:03:05 +08:00
raven02
153bb28f81 Add hasNormal 2013-03-22 21:45:59 +08:00
raven02
3f0d8cba83 Fix black screen issue in SW T&L 2013-03-22 20:54:46 +08:00
raven02
0b6a762c1b Typo 2013-03-16 21:05:41 +08:00
raven02
10e8dc2693 Flip in throughmode for SW T&L 2013-03-16 20:34:49 +08:00
Henrik Rydgard
cf458dba60 gpu: Add support for scissor rectangle 2013-03-15 22:24:16 +01:00
Henrik Rydgard
724a7c8c93 Revert latest fliptexture hack. This seems to work better. 2013-03-11 20:26:47 +01:00
raven02
9468c00f31 Add thoughmode for fliptexture 2013-03-10 21:13:23 +08:00
Unknown W. Brackets
de7ada1982 Fix some x64 type warnings. 2013-02-24 10:39:06 -08:00
Unknown W. Brackets
64c42ffaf2 Fix some warnings generated by clang. 2013-02-24 10:23:31 -08:00
Henrik Rydgard
28979e9250 Some work toward better FBO handling. Fixes some things, breaks some things.. 2013-02-21 21:37:19 +01:00
Unknown W. Brackets
d8b1ea22f5 Cleanup some warnings and reuse some vars. 2013-02-18 08:34:51 -08:00
Henrik Rydgard
0eabc80c3e Small optimizations and fixes to vertex decoder 2013-02-16 09:28:55 +01:00
raven02
6b27985796 Fix missing character in FF Type-0 in SW T&L 2013-02-15 18:43:37 +08:00
Henrik Rydgard
dfbb7debca Try to make SW t&l more similar to HW t&l. 2013-02-15 00:31:40 +01:00
Henrik Rydgard
2301a3b49e Flip texcoord vertically when texturing from FBO to compensate for OpenGL coordinate systems 2013-02-15 00:31:39 +01:00
Unknown W. Brackets
d0ab1c8ffc Set VertexReader's vtype_ to prevent oddness. 2013-02-14 08:32:37 -08:00
Xele02
5654a7eae5 DrawSpline hack to draw something. 2013-02-13 01:03:02 +01:00
raven02
f5431dcb8b Fix SW transform in Kidou_Senshi_Gundam_AGE_Universe_Accel 2013-02-12 22:43:41 +08:00
Unknown W. Brackets
b548fe0aa6 Don't mark unreliable, just rehash each time.
This improves perf significantly without the bugs.
2013-02-12 00:17:12 -08:00
Unknown W. Brackets
1e1979b786 Simply don't cache < 100 verts for now.
Fixes wrong vertexes in a number of games.
2013-02-12 00:02:53 -08:00
Unknown W. Brackets
485bcac757 Actually, these are draws. Increase to 24. 2013-02-11 23:41:31 -08:00
Unknown W. Brackets
7d2c5c5041 Fix vai->numFrames never incrementing.
This made it never cache... oops.
2013-02-11 23:38:29 -08:00
Unknown W. Brackets
634b9112e4 Cache vertexes based on frames not draws. 2013-02-10 14:20:57 -08:00
Sacha
b817e3bf26 Update max to std::max 2013-02-10 23:01:18 +10:00
Henrik Rydgard
6b3ddae554 Fix UV error introduced in previous commit 2013-02-06 21:38:19 +01:00
Henrik Rydgard
6f9347178b Let's not declare vertex arrays as RELIABLE for now. 2013-02-06 20:45:25 +01:00
Henrik Rydgard
aaf00e047b Don't convert texcoords to float either. 2013-02-06 20:30:10 +01:00
Henrik Rydgard
8749ad0cb9 Warning fixes, very minor updates to shader generators. 2013-02-06 19:04:28 +01:00
Henrik Rydgard
0ca279e81d Don't hash vertex buffers every frame (TCP-style backoff up until every 16th)
Saves quite a bit time otherwise spent in CityHash, blowing the dcache every time.
2013-02-06 00:43:37 +01:00
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