Commit Graph
39166 Commits
Author SHA1 Message Date
Henrik Rydgård 467599cf56 Merge pull request #230 from hrydgard/thin3d
Thin3d - the thinnest wrapper around D3D9 and GL around
2014-08-23 10:51:22 +02:00
Henrik Rydgard 308b13fdf0 Set the right ortho matrix for the backend (although doesn't seem to matter too much for 2D) 2014-08-23 10:49:40 +02:00
Henrik Rydgard e01a97649a Merge branch 'thin3d' of github.com:hrydgard/ppsspp into thin3d 2014-08-23 10:48:03 +02:00
Henrik Rydgard 4231af2c0f Disable OpenGL debug log output 2014-08-23 10:47:32 +02:00
Henrik Rydgård 2faf15f2e6 Merge pull request #6767 from unknownbrackets/thin3d
Buildfix Linux
2014-08-23 10:44:06 +02:00
Henrik Rydgård b7da82eebb Merge pull request #6762 from unknownbrackets/fpu-rounding
Handle fpu rounding mode at least in jits
2014-08-23 10:43:22 +02:00
Henrik Rydgard 49602416cf More thin3d minor fixes 2014-08-23 10:31:23 +02:00
Henrik Rydgard 7f4758baae Provide more info to thin3d d3d init 2014-08-23 10:20:57 +02:00
Henrik Rydgard 6f96004381 Thin3d D3D: More system information, other minor fixes 2014-08-23 10:20:27 +02:00
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