Henrik Rydgard
ab3468ea02
Move native/gfx_es2/gl_state.cpp/h into GPU/GLES/GLStateCache.cpp/h
2015-09-06 13:45:17 +02:00
Henrik Rydgard
08735b806f
Remove silly use of gstate.SetVSyncInterval
2015-09-06 13:36:33 +02:00
Henrik Rydgard
d822cbf60b
Move fbo.cpp/h from native into PPSSPP
2015-09-06 13:13:37 +02:00
Henrik Rydgard
72ae497350
Remove glstate usage except in the GPU implementation. Prepare for moving it into PPSSPP.
2015-09-06 12:42:15 +02:00
Henrik Rydgard
cfe4c033b9
Update native with FBO bugfixes (caused blackscreen in buffered mode)
2015-09-06 12:41:01 +02:00
Henrik Rydgård
1fd6cf1cc5
Merge pull request #7942 from hrydgard/gpu-feature-cleanup
...
Partial cleanup of GPU feature detection
2015-09-06 10:13:25 +02:00
Henrik Rydgard
43f0ec47db
Update native
2015-09-06 10:04:40 +02:00
Henrik Rydgård
257b64fc9e
Merge pull request #7943 from unknownbrackets/gpu-feature-cleanup
...
Add a couple few more cleanups
2015-09-06 10:02:21 +02:00
Unknown W. Brackets
63da81513b
A few more misc GLES runtime cleanups.
2015-09-05 16:45:17 -07:00
Unknown W. Brackets
764539f814
Clean up GLES logic used in shader gen.
2015-09-05 16:44:17 -07:00
Unknown W. Brackets
fb7c71e41d
Simplify NV blit logic.
2015-09-05 16:28:59 -07:00
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
0237b84efd
Reduce use of #ifdef USING_GLES2 some more
2015-09-05 23:09:06 +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
5b2ffd1434
Fix some naming, remove NV_draw_texture, move decisions out
2015-09-05 22:11:28 +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
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
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 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 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
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
afb82e3998
Add axis event listener to the analog test screen.
2015-08-28 01:24:38 +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
Henrik Rydgard
7e3292d275
Minor optimization
2015-08-26 18:46:55 +02:00
Henrik Rydgard
bf6aef44cd
Oops, didn't finish the D3D code
2015-08-26 17:45:21 +02:00
Henrik Rydgard
d89da71057
Get rid of a division in the vertex shader by precomputing the inverse.
2015-08-26 17:40:06 +02:00
Henrik Rydgard
5dbc8abd94
experiment: Add a different offset that unknown found during testing, plus remove rounding of through mode depth (which should already be rounded)
2015-08-26 17:28:34 +02:00