Commit graph

21438 commits

Author SHA1 Message Date
Henrik Rydgard
4c897ff853 Forgot to delete CheckFullHash duplicates 2017-02-20 00:21:54 +01:00
Henrik Rydgard
4652c6af28 Some member variable renaming to match the convention 2017-02-20 00:19:58 +01:00
Henrik Rydgard
f753573332 Unify HandleTextureChange 2017-02-20 00:13:21 +01:00
Henrik Rydgard
f15e25c4b5 Centralize SetTexture 2017-02-20 00:05:23 +01:00
Henrik Rydgard
e24e652b0d Prepare to unify SetTexture 2017-02-19 23:50:04 +01:00
Henrik Rydgard
aae2030a14 Unify Decimate() 2017-02-19 23:39:35 +01:00
Henrik Rydgard
d9c20fbaff Unify ApplyTexture 2017-02-19 23:25:09 +01:00
Henrik Rydgard
7890b61cc5 More work towards unifying ApplyTexture 2017-02-19 23:19:55 +01:00
Henrik Rydgard
f839f1944e Work towards unifying ApplyTexture 2017-02-19 23:07:00 +01:00
Henrik Rydgard
665ffe34ab Centralize DeleteTexture 2017-02-19 22:50:04 +01:00
Henrik Rydgard
dbafc6ef95 Centralize Texcache::Clear 2017-02-19 22:31:07 +01:00
Henrik Rydgard
91611832dc Vulkan crashfix 2017-02-19 22:02:44 +01:00
Henrik Rydgard
4364569cf4 Move TexCacheEntry outside the TextureCacheCommon class. Nested structs are annoying. 2017-02-19 18:53:30 +01:00
Henrik Rydgard
b14e10632d Take the mapping direction into account in AnalogTestScreen. Hopefully will solve #9300. 2017-02-19 14:33:59 +01:00
Henrik Rydgård
6bf06e75cc Merge pull request #9328 from hrydgard/homebrew-boot-argument
Fix first argument to homebrew to be the memory stick location.
2017-02-19 13:13:24 +01:00
Henrik Rydgård
8759cd1100 Merge pull request #9327 from hrydgard/file-io-excl
Implement sceIoCreate flag O_EXCL. Should fix #9322
2017-02-19 13:12:48 +01:00
Henrik Rydgård
4e5a70cf03 Merge pull request #9329 from hrydgard/shield-texture-fix
Assorted cleanup of GL texture handling. Fixes #9286
2017-02-19 13:12:02 +01:00
Henrik Rydgard
b75e299b4f Linux buildfix 2017-02-19 13:11:35 +01:00
Henrik Rydgard
387ad7e4d6 OpenGL DrawContext texture handling cleanup, fixing some bugs. 2017-02-19 12:25:37 +01:00
Henrik Rydgard
1c33ac8dc1 Fix even more confusion around 4-bit RGBA texture formats 2017-02-19 11:09:42 +01:00
Henrik Rydgard
b35493c726 Fix minor issue in gamesettings 2017-02-19 11:09:28 +01:00
Henrik Rydgard
eabcb22623 Refactor away SetImageData 2017-02-19 11:02:24 +01:00
Henrik Rydgard
6e83ef0a1b Fix the issue where the first argument to homebrew umd0:/EBOOT.PBP instead of their actual location on the memory stick. Fixes #9326 2017-02-19 10:27:26 +01:00
Henrik Rydgard
b0942cf40f Implement sceIoCreate flag O_EXCL. Should fix #9322 2017-02-19 10:05:17 +01:00
Henrik Rydgård
e42bce5568 Merge pull request #9325 from LunaMoo/UIvertical
Fix vertical layout on main screen.
2017-02-19 08:56:15 +01:00
LunaMoo
5ffef6d1ab Fix vertical layout on main screen. 2017-02-18 22:35:31 +01:00
Henrik Rydgard
d7238c39e9 Disable logic ops, the D3D11 debug layer says they don't work anyway.. 2017-02-18 12:17:51 +01:00
Henrik Rydgard
f868a0c4a1 D3D11: Fix crash with texture scaling enabled 2017-02-18 12:00:15 +01:00
Henrik Rydgard
fc1a1a810f Fix oversight that could cause crashes with shader blending in GL 2017-02-18 11:10:47 +01:00
Henrik Rydgard
bd6314325f Crashfix 2017-02-18 03:00:22 +01:00
Henrik Rydgard
b0cdcfca3c D3D11: Proper fix for DXT5 crash. May also help #9134. 2017-02-18 02:41:17 +01:00
Henrik Rydgard
badd3669ca Workaround for crash decoding DXT5 textures. This may be a clue to #9134 2017-02-18 02:32:33 +01:00
Henrik Rydgard
3713f4e6e6 D3D11: implement support for logic op blending when available 2017-02-18 02:14:26 +01:00
Henrik Rydgard
d41a7083fb Remove "Experimental" tag from D3D11 2017-02-18 02:13:52 +01:00
Henrik Rydgard
5a0ee6cc36 Add some plumbing to be able to reach DX11.1 features. 2017-02-18 01:54:28 +01:00
Henrik Rydgard
6a09d45aee D3D11: Add proper checks for B4G4R4A4 format support. Not yet using the checks. 2017-02-18 01:41:08 +01:00
Henrik Rydgard
584650a0c2 Initial preparations for logic op support 2017-02-18 01:41:08 +01:00
Henrik Rydgård
741a61e589 Merge pull request #9321 from hrydgard/d3d11-readback
D3D11 framebuffer readback
2017-02-18 00:56:33 +01:00
Henrik Rydgard
e8396b10f9 D3D11: Implement screenshots. 2017-02-18 00:43:02 +01:00
Henrik Rydgard
68ba3070bc D3D11: Add enough debug readback support to support savestate thumbnails 2017-02-18 00:27:32 +01:00
Henrik Rydgard
0e8aeaea3a D3D11: Implement basic framebuffer readback.
Also make debug interfaces more consistent.
2017-02-18 00:07:49 +01:00
Henrik Rydgard
522ac5c739 Add an escape route to D3D9 in case D3D11 fails to initialize. Cleanups. 2017-02-17 19:53:24 +01:00
Henrik Rydgard
b807442641 Fix another resource leak, and fix one of the last leak fixes :P 2017-02-17 19:41:06 +01:00
Henrik Rydgard
2fabe3e1c5 Fix a number of resource leaks, both D3D11-only and general.
Additionally, fix D3D11 BlitFramebuffer
2017-02-17 19:23:01 +01:00
Henrik Rydgard
13a3d179d5 Further minor D3D11 fixes 2017-02-17 18:43:27 +01:00
Henrik Rydgård
3481dae20a Merge pull request #9319 from hrydgard/d3d11-shader-blend
D3D11 shader blend and depal
2017-02-17 18:34:36 +01:00
Henrik Rydgard
061685678d State management fixes. DBZ toon shader effect now works. 2017-02-17 17:34:21 +01:00
Henrik Rydgard
b7f58a6704 D3D11 depal: Directly index into the texture using Load() instead of messing with samplers. 2017-02-17 17:15:00 +01:00
Henrik Rydgard
ba040559c1 Fix bugs. DBZ now shows outlines, though doesn't apply them correctly. 2017-02-17 17:00:35 +01:00
Henrik Rydgard
f8305e8e47 Windows: Add main menu item for Direct3D11 2017-02-17 16:04:00 +01:00