Commit graph

24063 commits

Author SHA1 Message Date
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
Leo
8e8c21fa0b Added new Natural Colors PP shader (removed blur) (#10782)
Add Natural Colors shader with removed blur.
2018-03-24 20:51:38 +01:00
Henrik Rydgård
84203e8d3d
Merge pull request #10785 from unknownbrackets/skipdraw
GPU: Count clears during frameskip
2018-03-24 19:11:47 +01:00
Unknown W. Brackets
1b8297de31 GPU: Count clears during frameskip.
This allows the GoW hack to still work during frameskip.
Fixes #10668.
2018-03-24 10:58:24 -07:00
Henrik Rydgård
73df7d31db Remove "experimental" tag from Hardware Tessellation 2018-03-24 17:37:17 +01:00
Henrik Rydgård
2a565199b3
Merge pull request #10780 from aliaspider/temp
Libretro port.
2018-03-24 16:28:10 +01:00
Henrik Rydgård
4f8e2adf76 Remove some unnecessary logging. Fixes #10753 2018-03-24 16:10:21 +01:00
Henrik Rydgård
8fe5223dd0
Merge pull request #10781 from hrydgard/preserve-config
Android: Reload the config after getting storage permission, and ask immediately.
2018-03-24 14:18:37 +01:00
aliaspider
d1711c5aa4 nits. 2018-03-24 13:39:05 +01:00
Henrik Rydgård
fb15208777 Android: Reload the config after getting storage permission, and ask immediately. Should help #10670 2018-03-24 12:52:51 +01:00
aliaspider
0af6d573bb remove all usage of __LIBRETRO__ 2018-03-24 12:45:20 +01:00
aliaspider
c4f7790618 Libretro port. 2018-03-24 12:44:53 +01:00
aliaspider
686717eb71 add missing include. 2018-03-24 11:40:16 +01:00
aliaspider
ed12b95091 Windows/Vulkan: use the width and height arguments in ReinitSurface when
provided.
2018-03-24 11:09:55 +01:00