Commit graph

18507 commits

Author SHA1 Message Date
Unknown W. Brackets
2d0635c3e6 Cut out a bit more USING_GLES2. 2015-09-05 16:28:46 -07:00
Henrik Rydgard
b22850720d Move the CheckGPUFeatures call to the Resize check 2015-09-06 00:13:46 +02:00
Henrik Rydgard
1c0158bfe6 Further reduce the use of ifdef USING_GLES2 and friends. 2015-09-05 23:39:10 +02:00
Henrik Rydgard
6566949ab5 Centralize some gles shims 2015-09-05 23:38:19 +02:00
Henrik Rydgard
0237b84efd Reduce use of #ifdef USING_GLES2 some more 2015-09-05 23:09:06 +02:00
Henrik Rydgard
67e22c29c2 Add another GPU bug flag 2015-09-05 23:08:36 +02:00
Henrik Rydgard
186d624ef3 Cleanup of FBO+blit flags. Requires the change in native to stop lying. 2015-09-05 22:40:45 +02:00
Henrik Rydgard
6934d31090 ARB_framebuffer_object no longer lies 2015-09-05 22:40:11 +02:00
Henrik Rydgard
5b2ffd1434 Fix some naming, remove NV_draw_texture, move decisions out 2015-09-05 22:11:28 +02:00
Henrik Rydgard
2b24f76d34 Fix some naming, remove NV_draw_texture, move decisions out 2015-09-05 22:08:46 +02:00
Henrik Rydgard
f524049277 Move more GPU feature checks upfront. Re-check when exiting settings menu. 2015-09-05 21:23:58 +02:00
Henrik Rydgard
a71be3f75f Start moving GPU feature compatibility decisions to startup
(and a single, cache-friendly flag field)
2015-09-05 19:58:47 +02:00
Henrik Rydgard
3b3461e7ab Start moving compatibility decisions out of native 2015-09-05 19:57:52 +02:00
Henrik Rydgard
86a02fed61 Minor cleanup 2015-09-05 19:42:58 +02:00
Henrik Rydgård
825662d06e Update native 2015-09-02 10:23:18 +02:00
Jonas Höglund
a78d71029a Use DEVICE_ID_ANY for the NK_BACK key in default mappings 2015-09-02 10:23:18 +02:00
Jonas Höglund
06fadd5cad Set DPad keys in native for UI navigation
Complements the update to the key repeat logic in native.  Also renames
UpdateConfirmCancelKeys to UpdateNativeMenuKeys since even before this commit,
the function also set the TabLeft and TabRight keys.
2015-09-02 10:23:18 +02:00
Jonas Höglund
5bb2f20493 Use KeyDef for Confirm/Cancel/TabLeft/TabRight keys 2015-09-02 10:23:18 +02:00
Jonas Höglund
0a6ab528ea Move KeyDef and AxisPos to native 2015-09-02 10:23:18 +02:00
Henrik Rydgård
da38466d29 Minor logging cleanup on non-android unix 2015-09-02 10:18:00 +02:00
Henrik Rydgård
79989d00d5 Merge pull request #285 from FireyFly/linux-controller-fix
Linux controller fix
2015-09-02 10:16:26 +02:00
Henrik Rydgård
ff3bb35d15 Merge pull request #7937 from potmdehex/indentation
Fix indentation
2015-09-01 12:30:55 +02:00
potmdehex
3d7d4b090f Replace tabs with space 2015-09-01 19:13:51 -07:00
John Åkerblom
d4741c2d50 Fix indentation 2015-08-31 20:12:21 -07:00
Henrik Rydgard
08b340f423 More D3D hackery: Take inverted Z in proj matrix into account.
Also, *2 breaks it for no good reason so don't do that.
2015-08-30 22:45:24 +02:00
Henrik Rydgård
9bf5d40084 Merge pull request #7936 from unknownbrackets/arm64-minor
arm64: Avoid overflow in imm math
2015-08-30 22:13:59 +02:00
Unknown W. Brackets
9b94266c4a arm64: Avoid overflow in imm math. 2015-08-30 13:00:18 -07:00
Henrik Rydgård
037b9cfdc4 Merge pull request #7935 from unknownbrackets/ui-tweaks
Allow audio to be enabled in the menu
2015-08-30 19:08:10 +02:00
Unknown W. Brackets
58b5a74748 Allow audio to be enabled in the menu.
Previously, if it was disabled at first, enabling it wouldn't work - you
still would not get the audio.
2015-08-30 10:05:13 -07:00
Henrik Rydgard
2509451280 Upgrade project file to VS 2015 2015-08-30 15:08:57 +02:00
Henrik Rydgard
356d35e58b Some warning fixes 2015-08-30 15:08:31 +02:00
Henrik Rydgård
bbde0919d8 Merge pull request #7925 from FireyFly/analog-testscreen-fix
Add axis event listener to the analog test screen.
2015-08-30 13:45:29 +02:00
Henrik Rydgard
33ff7e2075 Update submodules. Fix in native for #7931 2015-08-30 12:59:46 +02:00
Henrik Rydgard
96a08b3393 Quick workaround for rendering bug caused by layout bugs.. 2015-08-30 12:58:06 +02:00
Henrik Rydgård
12884eceb9 Merge pull request #7920 from hrydgard/vshader-depth-round
Round depth values to 16-bit precision to match the PSP's 16-bit depth buffer
2015-08-30 11:30:12 +02:00
Jonas Höglund
5f2f9160f8 Introduce DEVICE_ID_ANY, update operator == for KeyDef to match 2015-08-29 21:52:53 +02:00
Henrik Rydgård
e99ba8682a Merge pull request #7930 from aroulin/x64-emitter-rcp
x64Emitter: add RCPPS and RCPSS SSE instructions
2015-08-29 21:12:13 +02:00
Henrik Rydgard
488c62e534 This makes slightly more sense than the last commit. 2015-08-29 20:38:19 +02:00
Henrik Rydgard
7b0a31ade5 Adjust D3D depth calculations to get them to match OpenGL as close as I can get it. 2015-08-29 17:43:09 +02:00
Jonas Höglund
a57a838c93 Update key repeat logic to use provided DPad keys
Implements a SetDPadKeys function akin to the Confirm/Cancel/TabLeft/TabRight
keys, and uses this vector of DPad keys to decide whether a KeyInput is a DPad
key or not.  Rewrites the held-key release logic in such a way that it still
ignores the deviceId, to handle the Ouya quirk where repeated events have
deviceId 0.
2015-08-28 20:51:33 +02:00
Jonas Höglund
32617ae17c Use KeyDef for Confirm/Cancel/TabLeft/TabRight keys 2015-08-28 17:05:11 +02:00
Jonas Höglund
e1d3a7421b Move KeyDef and AxisPos to native 2015-08-28 16:51:07 +02:00
Jonas Höglund
afb82e3998 Add axis event listener to the analog test screen. 2015-08-28 01:24:38 +02:00
Henrik Rydgard
a75c4d283d GL: Check for ARB_conservative_depth 2015-08-27 19:28:10 +02:00
Henrik Rydgard
76eacf32f4 Change the offset to 0.0 2015-08-27 18:02:45 +02:00
Henrik Rydgard
2b7d08e3af Also apply the GT fix in D3D, doh 2015-08-27 18:01:00 +02:00
Henrik Rydgard
fd18f14508 Fix GT and hopefully other games that got a black screen 2015-08-27 17:58:41 +02:00
Henrik Rydgård
c671b075d8 Merge pull request #7924 from sum2012/win32_color_depth
Add back  color depth check from last commit
2015-08-27 15:13:05 +02:00
sum2012
39d814b214 Add back color depth check from f3e0029285
But in driver error.
2015-08-27 20:26:04 +08:00
Henrik Rydgard
f3e0029285 Remove probably outdated and unnecessary color depth check 2015-08-26 23:56:38 +02:00