Commit Graph

368 Commits

Author SHA1 Message Date
raven02
d3413681e5 Fix texture stretched vertically in HW T&L 2013-02-20 20:32:18 +08:00
Henrik Rydgard
eb130db387 Fix sign of depth in "Through" projection matrix. Thanks xele02. Fixes ToE, Dissidia, etc. 2013-02-20 00:13:18 +01:00
Henrik Rydgard
67272ec271 Scale Z to 0...1 in through mode.
(alternatively, could try setting through mode depth range to 65536..0)
2013-02-19 21:38:19 +01:00
Henrik Rydgård
d72d59f4b8 Merge pull request #742 from raven02/patch-2
Minor cleanup and use byte(b)/short(s)/float(p)
2013-02-19 11:43:42 -08:00
Henrik Rydgård
d47c9fa999 Merge pull request #744 from raven02/truecolor
Toggle 32 bit truecolor in option , default true
2013-02-19 11:42:36 -08:00
raven02
c0dc85b99d Toggle 32 bit truecolor in option , default true
Update Core/Config.cpp
2013-02-20 02:10:35 +08:00
raven02
2745bb4f14 pos[0]/[1] are signed while pos[2] is unsigned in 2D transform 2013-02-20 01:37:19 +08:00
raven02
9e38174b14 Clamp pos[2] when transform 2D only 2013-02-20 01:11:26 +08:00
raven02
2ed1b9ee0b Minor cleanup and use byte(b)/short(s)/float(p) 2013-02-20 00:20:00 +08:00
raven02
9eaf58773b Add 8 bit for weight type 1 2013-02-19 22:55:46 +08:00
raven02
5ba1775572 pos[2] larger than 65535 is clamped to 65535 and not 0 2013-02-19 22:39:38 +08:00
oioitff
83b2849192 pos[2] is limited between 0 and 65535
fix the black screen issue for Toaru Majutsu no Index, and Toaru Kagaku no Railgun.
2013-02-19 19:17:15 +08:00
Henrik Rydgard
7c91802e3c Add some infrastructure to be used for frameskipping 2013-02-19 00:45:26 +01:00
Henrik Rydgard
f8058e4bae Disable warning for bad prefix as it floods in Wipeout Pulse. Cleanups. 2013-02-19 00:45:25 +01:00
Unknown W. Brackets
d8b1ea22f5 Cleanup some warnings and reuse some vars. 2013-02-18 08:34:51 -08:00
Sacha
7f2e13c82a Fix framebuffer init. Why was it like that? 2013-02-18 23:55:41 +10:00
Xele02
0fefca672d Add 2 step mode for display list : Go to selected line and go to next draw using selected texture 2013-02-17 21:43:44 +01:00
raven02
45e4919fe9 Change .f to .0f etc. 2013-02-17 21:26:23 +08:00
raven02
2bf958b06f Stylish the case DEC_U8_2/DEC_U16_2/DEC_FLOAT_2 2013-02-17 20:50:17 +08:00
Xele02
2a6af9b8a3 Add displayList debug dialog 2013-02-17 01:28:43 +01:00
Henrik Rydgard
0eabc80c3e Small optimizations and fixes to vertex decoder 2013-02-16 09:28:55 +01:00
Henrik Rydgard
c695d8dbf1 Yet another UV fix 2013-02-15 20:17:47 +01:00
raven02
d1784ab9f6 Fix HW T&L crash in FF type-0 2013-02-15 22:49:13 +08: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
Henrik Rydgard
36f49706e0 Add option to stretch to display (turns off the black bars fixing the aspect ratio). 2013-02-13 18:21:21 +01:00
Henrik Rydgård
46dea73ea4 Merge pull request #686 from unknownbrackets/savestates
Clear the shader ids when clearing the cache
2013-02-13 02:26:22 -08:00
Unknown W. Brackets
3503d4ed68 Clear the shader ids when clearing the cache. 2013-02-13 02:10:51 -08:00
Henrik Rydgård
3f85b56b75 Merge pull request #679 from raven02/patch-1
Use enableColorTest for colortest
2013-02-13 00:16:11 -08:00
Xele02
5654a7eae5 DrawSpline hack to draw something. 2013-02-13 01:03:02 +01:00
raven02
26f37277f4 Use enableColorTest for colortest 2013-02-13 07:57:15 +08:00
Henrik Rydgard
ddfcf79fcd Correct aspect ratio, adding black borders when necessary. 2013-02-12 22:09:41 +01:00
Henrik Rydgard
5ace14dd30 Log level adjustments 2013-02-12 22:09:40 +01:00
Henrik Rydgard
0982a29293 Some texturecache code cleanup. Fix missing DIRTY_AMBIENT.
The latter fixes the blinking caustics in the tunnel in Vineta K in Wipeout Pure.
And surely other things.
2013-02-12 21:01:53 +01:00
Henrik Rydgard
6965b82c62 Set lastBoundTexture when creating a new one. 2013-02-12 20:12:08 +01:00
Henrik Rydgard
174b9749d7 Minor speedup to 16-bit texture color conversion. 2013-02-12 19:17:38 +01:00
Henrik Rydgård
156e22f9d2 Merge pull request #669 from raven02/master
Fix SW transform in Kidou_Senshi_Gundam_AGE_Universe_Accel
2013-02-12 08:03:06 -08:00
Henrik Rydgård
0bea5be5a5 Merge pull request #671 from unknownbrackets/texcache
Check the entire texture again, fixes wrong tex
2013-02-12 08:02:41 -08:00
Unknown W. Brackets
8e51ce1beb Check the entire texture again, fixes wrong tex.
Not sure why, but only on Android.  Also faster on Windows.
2013-02-12 07:55:44 -08:00
raven02
f5431dcb8b Fix SW transform in Kidou_Senshi_Gundam_AGE_Universe_Accel 2013-02-12 22:43:41 +08:00
Unknown W. Brackets
5486d0a3c1 Don't crash if currentList is NULL. 2013-02-12 01:12:32 -08:00
Unknown W. Brackets
fb7cabcccf Fix some missing GPUCommon state. 2013-02-12 01:06:11 -08:00
Unknown W. Brackets
5a20d9fc2a Clear vertex cache on savestates.
Just so it's an easy way.  We can remove later when we're sure.
2013-02-12 01:00:52 -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
Henrik Rydgard
f0c632131e Flush the draw buffer less. Default aniso to 0 on mobile, 8 on PC/the rest. 2013-02-11 19:03:11 +01:00