Commit Graph
23807 Commits
Author SHA1 Message Date
Unknown W. Brackets 0bed77ed0d Buildfix Linux. 2014-08-23 01:20:26 -07:00
Henrik Rydgard 75b7ccd739 Clean up D3DX loader a little 2014-08-23 10:01:03 +02:00
Henrik Rydgard 0f973a3276 Get it running on Android again 2014-08-23 09:48:08 +02:00
Henrik Rydgard 7708558c2f Remove a comment, add some checks. 2014-08-23 09:47:30 +02:00
Henrik Rydgård 1179d29323 Merge pull request #231 from unknownbrackets/thin3d
Fix Android/Linux compilation
2014-08-23 09:38:16 +02:00
Unknown W. Brackets 8c35e4b5fc Fix some type conversion warnings. 2014-08-23 00:35:14 -07:00
Unknown W. Brackets 110f640ca8 Fix Linux/Android compilation. 2014-08-23 00:35:13 -07:00
Unknown W. Brackets e9b5e6f277 armjit: Maintain rounding mode throughout jit. 2014-08-22 19:57:50 -07:00
Henrik Rydgard 1556234825 Bit more d3d stuff. Can't get depth right, pretty sure it's the projection matrix calc. 2014-08-23 01:52:46 +02:00
Henrik Rydgard a758917919 D3d cleanups and improvements 2014-08-22 22:16:46 +02:00
Henrik Rydgard 00d5793f7d D3D9: Don't crash on bad vertex formats. 2014-08-22 21:27:27 +02:00
Henrik Rydgard 1401de50dc Thin3d: Minor shader cleanup 2014-08-22 21:26:46 +02:00
Henrik Rydgard e2ecbb7a4d Convert more UI code to Thin3D 2014-08-22 20:55:18 +02:00
Henrik Rydgard e539c7009f Hook up DX9 backend. Not really working though, it seems. 2014-08-22 20:55:12 +02:00
Henrik Rydgard 92c3775d95 Start hooking up D3D 2014-08-22 20:55:04 +02:00
Henrik Rydgard 808f05da89 (Partially) slip thin3d underneath DrawBuffer. 2014-08-22 20:54:53 +02:00
Henrik Rydgard ff5df25135 Add Thin3d support to draw_text (Qt not touched) 2014-08-22 20:54:28 +02:00
Henrik Rydgard a1ff7a4488 Thin3D: Add APIName query. Swizzle texture colors in D3D.
(not sure whether it's best done in the shader or in the texture data...)
2014-08-22 20:54:27 +02:00
Henrik Rydgard ecb33f005e Thin3D now actually draws some stuff 2014-08-22 20:54:27 +02:00
Henrik Rydgard 8774fcad94 Some more thin3d 2014-08-22 20:54:26 +02:00
Henrik Rydgard 54b298a63e More Thin3D work (textures etc) 2014-08-22 20:54:26 +02:00
Henrik Rydgard 29a60b5952 Thin3d: Add cull mode, other fixes 2014-08-22 20:54:25 +02:00
Henrik Rydgard bf41d05dfc Switch to Thin3DTexture. GL still works, d3d still broken. 2014-08-22 20:54:25 +02:00
Henrik Rydgard 1251b6df79 Thin3d: Add some untested texturing stuff 2014-08-22 20:54:25 +02:00
Henrik Rydgard a0f7f877e2 Fix vertex declarations. Hook up some more of D3D9 (doesn't work yet) 2014-08-22 20:54:24 +02:00
Henrik Rydgard 40b67e27cf Crashfix 2014-08-22 20:54:24 +02:00
Henrik Rydgard a9b5fe44bf Slip thin3d underneath DrawBuffer/UI 2014-08-22 20:54:23 +02:00
Henrik Rydgard c1bc4215f2 Thin3D: A thin OpenGL/D3D9 wrapper for basic rendering.
Only the OpenGL implementation actually works yet.
2014-08-22 20:54:23 +02:00
Unknown W. Brackets 925557ed47 x86jit: Maintain the rounding mode always.
This should be less often than doing it per block that uses fpu, unless
the game doesn't use fpu much at all.
2014-08-22 09:53:00 -07:00
Henrik Rydgård f8a4236d58 Merge pull request #6679 from unknownbrackets/gpu-blend
Handle doubled alpha blending using premultiplication
2014-08-22 10:06:24 +02:00
Unknown W. Brackets fb6b3f94bb Add a frontend option for GEB saves.
May also affect performance, so can be disabled for that.
2014-08-22 00:35:02 -07:00
Unknown W. Brackets 1fcbb7bbd4 armjit: Respect the rounding mode for mul/etc. 2014-08-22 00:32:01 -07:00
Unknown W. Brackets ab13b36484 x86jit: Implement cvt.w.s.
Not really used that often, anyway, but easy enough and good for testing
that we set the rounding mode correctly.
2014-08-22 00:01:06 -07:00
Unknown W. Brackets dc91dc1ce8 x86jit: Support fpu rounding modes for mul, etc.
Fixes Gods Eater Burst loading PSP savedata, but can no longer load old
savedata.
2014-08-21 23:59:55 -07:00
Henrik Rydgard dfbb0bdea2 Hack: Return -1 specifically for trying to load SFO's as modules. Works around #6748
Will test properly later and return the correct value but this should be zero-impact.
2014-08-21 10:34:56 +02:00
Henrik Rydgard cea002e39a Update GLEW with GL4.4 support 2014-08-21 10:21:37 +02:00
Sacha 14d2fa9a39 Drop the thread from Qt audio loop. Makes exit cleaner.
Probably needs to be reworked or replaced with SDL it seems.
2014-08-21 03:46:00 +10:00
Henrik Rydgård d52c87d82c Merge pull request #6722 from sum2012/wwe
check for duplicated stack addresses by JimLee168
2014-08-20 16:34:02 +02:00
Sacha d08f65bf03 For some reason x86 was compiling ArmEmitter 2014-08-20 22:44:55 +10:00
Henrik Rydgård 0fe929e491 Merge pull request #6757 from sum2012/patch-2
small test.py update
2014-08-20 14:33:07 +02:00
sum2012 bcfa6a98c2 small test.py update
Mention PPSSPPHeadless should be better
2014-08-20 20:28:37 +08:00
Sacha 97e93f48fd Clean up LitPool code and re-enable flushing in AsmJit 2014-08-20 18:29:37 +10:00
Henrik Rydgård 02bbd86ff1 Merge pull request #6747 from sum2012/patch-1
Update Readme.md
2014-08-20 00:35:01 -07:00
Henrik Rydgård 1189d51f70 Merge pull request #6756 from xsacha/litpool
Enable LitPool for ARMv6.
2014-08-20 00:34:39 -07:00
Sacha 7691e0e0b5 Enable LitPool for ARMv6.
Was originally disabled because vertex JIT wasn't flushing but it now does.
2014-08-20 17:25:58 +10:00
Henrik Rydgård cb2f50bf98 Merge pull request #6755 from unknownbrackets/clut-fix
Convert all CLUT entries ever loaded
2014-08-19 22:40:16 -07:00
Unknown W. Brackets 1e057a76b5 Convert all CLUT entries ever loaded.
Some games reuse previously loaded bytes, like World Neverland.  We
displayed bad colors in these cases when we don't convert all the entries.

Technically, this means we're hashing less than used in these cases, but if
we hash more we will get lots of false cache misses.

Fixes #6752.
2014-08-19 22:31:09 -07:00
sum2012 d722b2669c typo 2014-08-19 21:04:38 +08:00
sum2012 a9b5df5fd7 Update Readme.md 2014-08-19 21:02:12 +08:00
Unknown W. Brackets 7f61da2e5a Add a hack for Silent Hill games.
Either way has different problems, but it sounds like this will work
better for Silent Hill.  Probably still rendering wrong, unfortunately.
2014-08-18 23:20:49 -07:00