Commit Graph
4348 Commits
Author SHA1 Message Date
Henrik Rydgard fa80cfa4aa Additional UWP preparations 2017-02-25 09:57:14 +01:00
Henrik Rydgard f5fa238e22 More minor changes to make GPU and native build on UWP later 2017-02-24 20:26:38 +01:00
Henrik Rydgard fcbc20f240 Small changes to make Common and Core build under my preliminary UWP setup. 2017-02-24 18:59:41 +01:00
Henrik Rydgard 89ac1a5c4a Minor D3D11 scissor fix 2017-02-24 12:33:27 +01:00
Henrik Rydgård f065f100ee Merge pull request #9352 from LunaMoo/upscalingStuff
Minor workaround for 5xBR
2017-02-23 23:04:36 +01:00
Henrik Rydgard b1971d266b Protect Unswizzle from bad alignment of the destination. Might help #9134 2017-02-23 23:03:01 +01:00
LunaMoo d6c2944aac Minor workaround for 5xBR,
Also screen scaling filter for upscaling filters that also happen to use postShaderAtOutputResolution_.
2017-02-23 22:54:50 +01:00
Henrik Rydgard 98763655e7 Plug a memory leak in the GLES texture cache. Fixes #9089 2017-02-23 22:41:13 +01:00
Henrik Rydgard 8eb668ea59 D3D11: Enable pixel depth rounding. GL: Fix a crash bug 2017-02-23 20:40:53 +01:00
Henrik Rydgård c355947bca Merge pull request #9350 from hrydgard/d3d11-postproc
D3D11 postprocessing shaders
2017-02-23 20:39:28 +01:00
Henrik Rydgard 86f0be7724 Another shader function replacement 2017-02-23 20:29:53 +01:00
Henrik Rydgard 79bd01efb8 D3D11: Add support for viewing the depth and stencil buffers in the GE debugger 2017-02-23 16:27:26 +01:00
Henrik Rydgard ccef648d3d Complete implementation of post shaders for D3D11. All work except 5x scale one which looks wrong. 2017-02-23 14:51:05 +01:00
Henrik Rydgard 731026c199 D3D11: Can now switch post shader at runtime, and won't crash if they fail to translate correctly. 2017-02-23 12:42:28 +01:00
Henrik Rydgard f1e015f577 Basic postshader translation to D3D11 works. On-the-fly switching seems broken though. 2017-02-23 12:42:28 +01:00
Henrik Rydgard e7612c13da Initial work on post-shader translation for D3D11 2017-02-23 12:42:24 +01:00
Henrik Rydgard 900539e200 Fix #9340 (touch controls not always getting repositioned correctly) 2017-02-23 09:31:45 +01:00
Henrik Rydgard 95aec3ac76 Fix D3D9 crash (made a mistake with locking) 2017-02-22 18:27:46 +01:00
Henrik Rydgard 0954ecf28c D3D11: Expand 16-bit texture formats to 32-bit if they are not supported, like on Windows 7. Part of issue #9317 2017-02-22 17:31:01 +01:00
Henrik Rydgard f24b1495ba Assorted texture format cleanup, prep for supporting D3D11 on Win7 2017-02-22 16:23:04 +01:00
Henrik Rydgard b94ad12aea D3D9: Use D3DLOCK_DISCARD when updating whole textures, may be a small speedup 2017-02-21 11:35:06 +01:00
Henrik Rydgard f772066c54 Remove some unnecessary error handling paths 2017-02-21 11:29:51 +01:00
Henrik Rydgard 06cf449719 Delete some broken DX9 code. 2017-02-21 11:11:38 +01:00
Henrik Rydgard e16e1b6d7e GL: If possible, use glCopyImageSubData instead of glBlitFramebuffer to copy depth buffers 2017-02-21 11:10:44 +01:00
Henrik Rydgard 78abf7453c Add some comments and a sanity check, fix a minor leak 2017-02-21 10:58:21 +01:00
Henrik Rydgard 4c6ca76681 D3D11: Fix texture loading crash on 32-bit platforms 2017-02-20 10:15:41 +01:00
Henrik Rydgard 195eb94c8e Texcache: Keep pointers to entries instead of full entries in the map. 2017-02-20 00:45:07 +01:00
Henrik Rydgard ca9050af12 These should be deleted too. 2017-02-20 00:36:37 +01:00
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 Rydgard 387ad7e4d6 OpenGL DrawContext texture handling cleanup, fixing some bugs. 2017-02-19 12:25:37 +01:00
Henrik Rydgard eabcb22623 Refactor away SetImageData 2017-02-19 11:02:24 +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