Commit graph

24076 commits

Author SHA1 Message Date
Unknown W. Brackets
09e307b097 arm64jit: Update rounding mode on thread switch.
Since fcr31 is per-thread, we must update jit state when it changes.
This also fixes the rounding mode on load state and jit/interp switch.
2018-04-01 10:12:32 -07:00
Unknown W. Brackets
7d3fac2b4b arm64jit: Fix a case of R() on unmapped.
But this probably means a game crash anyway...

Attempting to fix #10843.
2018-03-31 22:34:05 -07:00
Unknown W. Brackets
4fbb68d505 arm64jit: Update some comments. 2018-03-31 21:03:23 -07:00
Henrik Rydgård
170b600835 Oops, fix mistake in #10834 2018-03-29 16:21:58 +02:00
Henrik Rydgård
1b39b4b16c
Merge pull request #10833 from hrydgard/texcache-fb-fix
When binding a framebuffer to a texcache entry, delete its texture. Should help #10823
2018-03-29 16:01:22 +02:00
Henrik Rydgård
c2d5ce6c3e
Merge pull request #10834 from hrydgard/vulkan-shader-cache-renderpasses
Include renderpass definition in Vulkan shader cache entries, should make it more effective again.
2018-03-29 15:00:34 +02:00
Henrik Rydgård
d160292f54 Include renderpass definition in Vulkan shader cache entries, should make it more effective again. 2018-03-29 14:36:04 +02:00
Henrik Rydgård
c41273d333 When binding a framebuffer to a texcache entry, delete its texture. Should help #10823 2018-03-29 13:29:09 +02:00
Henrik Rydgård
385a482000
Merge pull request #10828 from webgeek1234/master
More libretro fixes
2018-03-29 10:05:58 +02:00
Aaron Kling
955652cc35 Libretro needs core staticly linked even on Android 2018-03-28 18:16:56 -05:00
Henrik Rydgård
01be9ff8cf
Merge pull request #10827 from webgeek1234/master
Fix libretro compile for gles platforms
2018-03-28 23:31:29 +02:00
Aaron Kling
cafd7339d7 Fix libretro compile for gles platforms 2018-03-28 14:15:39 -05:00
Henrik Rydgård
ff0e0df61d
Merge pull request #10821 from hrydgard/opengl-texture-wrap-fix
OpenGL: Fix texture wrapping of render targets.
2018-03-28 13:22:08 +02:00
Henrik Rydgård
01d81ffa72 OpenGL: Fix texture wrapping of render targets. 2018-03-28 11:23:41 +02:00
Unknown W. Brackets
b2941014f2
Merge pull request #10816 from hrydgard/fix-restore-pause-screen
Android: Properly restore savestate screenshots on the Pause screen on task switching away and back.
2018-03-27 22:51:20 -04:00
Henrik Rydgård
8d0285dedd Android: Properly restore screenshots on the Pause screen on task switching away and back.
Basically plumbs through DeviceLost/DeviceRestored to view elements and
into ManagedTexture.
2018-03-27 23:11:10 +02:00
Henrik Rydgård
6505f7762c GCC buildfix (can't use things without definitions in templates).
Could also have included base/logging.h but meh.
2018-03-27 16:28:33 +02:00
Henrik Rydgård
d125fa00e1 Make sure the renderpass cache hashmap is never accessed from the main thread at runtime. Should help #10811 2018-03-27 14:45:41 +02:00
Henrik Rydgård
29de4b5a18
Merge pull request #10809 from libretro/master
Libretro: add D3D11 support / fix GL context reset.
2018-03-27 09:23:30 +02:00
Leo
c637023cd6 Fixed the new shader error on OpenGL ES (#10799)
* Fixed the new shader error on OpenGL ES

* Fixed Natural Color PP shader error on OpenGL ES

* Updated to match the changes.

* Delete naturalA.vsh
2018-03-26 21:28:32 +02:00
Henrik Rydgård
cb020f65bd
Merge pull request #10804 from unknownbrackets/texhash
TexCache: unit test the quick tex hash
2018-03-26 21:27:50 +02:00
Henrik Rydgård
0130e75852
Merge pull request #10801 from unknownbrackets/sdl-shutdown
Fix shutdown segfault in SDL, fix headless
2018-03-26 21:10:48 +02:00
aliaspider
bb64390632 Libretro: update Makefiles. 2018-03-26 17:52:35 +01:00
aliaspider
4202ae58bd Libretro: style nits. 2018-03-26 17:37:34 +01:00
aliaspider
5a9ce3bc19 Libretro: set cache_context to true, fixes GL and D3D11 context reset. 2018-03-26 17:21:11 +01:00
aliaspider
dc490b3fc6 Libretro: msvc build fix. 2018-03-26 15:08:34 +01:00
Henrik Rydgård
a153181e4a Don't leave "reduceHash_" uninitialized. Probably won't help #10796 though.. 2018-03-26 12:33:36 +02:00
Unknown W. Brackets
2f26fdff27 TexCache: unit test the quick tex hash.
Just a few sample cases to make sure it's behaving correctly.
2018-03-25 18:52:16 -07:00
aliaspider
808bf8e681 Libretro: add experimental D3D11 support. 2018-03-25 23:07:02 +01:00
aliaspider
4d1503666a Libretro: update libretro.h 2018-03-25 23:05:47 +01:00
Henrik Rydgård
f39897cfa5 Don't forget to initialize.. fixes #10802 2018-03-26 00:05:29 +02:00
Unknown W. Brackets
0366e05c44 Headless: Quick update to use render thread. 2018-03-25 14:49:22 -07:00
Unknown W. Brackets
0d10bb8515 SDL: Fix shutdown ordering.
This fixes the segfault on quit.
2018-03-25 14:19:02 -07:00
Unknown W. Brackets
7abf9baf38 SDL: Use wstrings in Windows API calls. 2018-03-25 14:18:31 -07:00
Henrik Rydgård
a944afc7c3
Merge pull request #10797 from unknownbrackets/headless
Headless: Add simple GL thread handling
2018-03-25 18:56:15 +02:00
Unknown W. Brackets
2c493f3633 Headless: Add simple GL thread handling.
Because of the way headless works and runs tests, it was a lot simpler to
use a separate thread (unlike elsewhere) for the GL rendering.  Hopefully
this difference doesn't bite us later.
2018-03-25 09:47:56 -07:00
Unknown W. Brackets
68930a4291
Merge pull request #10788 from hrydgard/remove-texture-update
Remove the remains of updating texture contents instead of recreating.
2018-03-25 12:07:08 -04:00
LunaMoo
296481703f Quick try on fixing new shader for mobiles that are less forgiving. 2018-03-25 16:54:41 +02:00
Henrik Rydgård
e3b1b9d6d1
Merge pull request #10792 from hrydgard/haptic-feedback-override
Android: Have haptic feedback ignore the global setting, but default to off.
2018-03-25 16:49:00 +02:00
Henrik Rydgård
043ba41b08 PPSSPPSDL: Throttle refresh rate when in menu. Fixes #10445 2018-03-25 15:34:01 +02:00
Henrik Rydgård
d40ebbf8cb Remove the bad orientation hack. Seems the Nexus 5X bug is fixed.
I suppose other devices might also have the bug, but meh... platform bugs :(

Should help #10779
2018-03-25 15:14:15 +02:00
Henrik Rydgård
74230452da
Merge pull request #10791 from hrydgard/postshader-display-name-fix
Show chosen postshader display name properly, plus some additional bugfixes
2018-03-25 15:09:50 +02:00
Henrik Rydgård
4a3692161b Show chosen postshader display name properly, plus some additional bugfixes. Fixes #10790 2018-03-25 14:42:48 +02:00
Henrik Rydgård
188ed07d77 Android: Have haptic feedback ignore the global setting, but default to off. 2018-03-25 13:42:57 +02:00
Henrik Rydgård
f9555da05b When listing post-shaders, use the "name" specified in the ini as default, when looking up translations. 2018-03-25 11:53:11 +02:00
Henrik Rydgård
f967e206b8 Remove the last remains of the idea that textures can be efficiently updated instead of recreated. Accidentally fixes #10697 somehow.
Also this is good for terminology, no more confusion with the texture
replacement facility :)
2018-03-25 10:50:37 +02:00
Henrik Rydgård
b0a22fb5c7 Redirect the user to download the D3D9 runtime if D3D9 is not available and they don't want to switch to OpenGL.
Maybe should also update the messagebox text somehow...
2018-03-25 00:46:48 +01:00
Henrik Rydgård
0843e2cb98 Fix updating light constants when light type changes (we handle dir/pos lights differently). Fixes #10132 2018-03-25 00:21:03 +01:00
gouchi
3fedaede1c Libretro: Declare TARGET_ARCH for ARM before the include flags 2018-03-24 23:08:22 +01:00
aliaspider
4113ba74f2 libretro: msvc build fix. 2018-03-24 22:47:12 +01:00