Commit Graph

27001 Commits

Author SHA1 Message Date
e4d3b5f626 OGL: Only create bad shader files in Dump when compile failed
Warnings are still logged.
2018-02-25 18:03:58 +10:00
a3674e3f73 Merge pull request #6396 from spycrab/qt_osx_theme
CMake/OSX: Fix missing QMacStylePlugin
2018-02-24 15:44:43 -08:00
941ddfb830 Merge pull request #6397 from spycrab/qt_osx_icon
Qt/OSX: Fix icon
2018-02-24 12:20:31 -08:00
7f3c1a2de4 Qt/OSX: Fix icon 2018-02-24 21:12:22 +01:00
5ddbb3459b CMake/OSX: Fix missing QMacStylePlugin 2018-02-24 18:48:29 +01:00
15b23270b2 Merge pull request #6391 from gwicks/android-reloverlay
Android: Make on-screen joysticks center on the initial touch input.
2018-02-24 18:33:26 +01:00
e7ed4857b1 Merge pull request #6380 from Linktothepast/gameinis
Gameini updates.
2018-02-23 19:44:44 -08:00
b66f96c617 Merge pull request #6042 from stenzek/videocommon-pipelines
VideoCommon pipelines ("Abstract Pipeline")
2018-02-23 09:18:19 -08:00
a62343bd4f Merge pull request #6394 from stenzek/macos-resize
OGL: Call GLInterface->Update() on window resize
2018-02-24 01:19:33 +10:00
2ba8f67feb OGL: Call GLInterface->Update() on window resize
macOS in particular requires the context be updated manually when the window
is resized.
2018-02-23 22:27:10 +10:00
c08f6f0c53 Merge pull request #6393 from leoetlino/warning-fixes
Qt: Warning fixes
2018-02-22 18:13:09 +01:00
1e6dc196aa Qt: Fix warning about parentheses
The original code had parentheses placed in weird locations IMO, which
even caused compilers to issue warnings.
2018-02-22 17:55:16 +01:00
f1f2bd9c94 Qt: Fix warning about array initialisation 2018-02-22 17:54:58 +01:00
fd063bdc31 Qt: Use std::abs instead of abs
...since <cmath> is included, not <math.h>. May or may not fix
https://bugs.dolphin-emu.org/issues/10906
2018-02-22 17:54:19 +01:00
fec6bb4d56 VideoBackends: Add AbstractShader and AbstractPipeline classes 2018-02-22 22:02:34 +10:00
31111ef143 D3D: Remove state stack from tracker, set explicitly instead 2018-02-22 19:40:55 +10:00
e18c7b1c33 D3D: Support state tracking of compute shaders 2018-02-22 19:11:27 +10:00
e8ff2b2006 D3D: Support compiling compute shaders 2018-02-22 19:11:25 +10:00
aaea515d71 GLUtil: Drop now-unused attributeless VAO helpers 2018-02-22 19:09:28 +10:00
052d78bcb1 OGL: Log warnings from shader compiles, even if it compiled successfully 2018-02-22 19:08:54 +10:00
3fd4142f36 OGL: Track state of last bound vertex array object
This reduces the overhead of calling glBindVertexArray() every time
RestoreAPIState() is called, even when it is redundant.
2018-02-22 19:08:52 +10:00
b28236611d Android: Make on-screen joysticks center on the initial touch input. 2018-02-21 20:36:03 -05:00
fca9c28f38 Merge pull request #6392 from lioncash/iostream
Qt: Remove unnecessary <iostream> includes
2018-02-21 13:48:48 -08:00
abfaff8ca9 Qt: Remove unnecessary <iostream> includes
<iostream> injects a static constructor into the translation units that
it's included into. This is trivially avoidable in these cases.
2018-02-21 16:38:08 -05:00
619f98b97b Merge pull request #6389 from spycrab/fix_wiimote
Fix emulated Wiimotes
2018-02-20 21:37:30 +01:00
de1af2e45d Fix emulated Wiimotes 2018-02-20 20:41:29 +01:00
9d3d31a8e8 Merge pull request #6387 from mahdihijazi/fix_build_no
Android: Use the git rev-list --count for versionCode
2018-02-20 10:42:22 +01:00
f9445bb119 IOS: Remove ec_wii functions 2018-02-19 20:34:06 +01:00
5e5c9e1772 IOSC: Add Sign
Equivalent of IOSC_GenerateCertificate + IOSC_GeneratePublicKeySign.

This is copied from ec_wii/MakeAPSigAndCert.
2018-02-19 20:34:06 +01:00
b3c7874a3a IOSC: Add GetDeviceId and GetDeviceCertificate 2018-02-19 20:34:06 +01:00
f3c63b3108 IOSC: Load built-in key entries directly from keys.bin
Preliminary commit for merging ec_wii into IOSC.
2018-02-19 20:34:06 +01:00
1f4ddea5f7 IOSC: Change misc_data to a u32
It's always 4 bytes long, so let's just make it a u32.
2018-02-19 20:34:05 +01:00
e01fe46068 Merge pull request #6367 from stenzek/gl-flush
OGL: Use explicit flush instead of GL_SYNC_FLUSH_COMMANDS_BIT
2018-02-19 16:26:35 +01:00
93c502fef8 Merge pull request #6330 from stenzek/resizing
Improve handling of surface change/resize events in graphics backends
2018-02-20 01:19:45 +10:00
0dddaf9d7d Android: Update renderer surface before resuming emulation
Previously, this could cause a race condition which resulted in the
Vulkan backend attempting to acquire a swap chain image from a now
non-existant surface. By ensuring the backend knows about the surface
before a frame is presented, this race does not happen.
2018-02-20 01:15:55 +10:00
de632fc9c8 Renderer: Handle resize events on-demand instead of polling
We now differentiate between a resize event and surface change/destroyed
event, reducing the overhead for resizes in the Vulkan backend. It is
also now now safe to change the surface multiple times if the video thread
is lagging behind.
2018-02-20 01:15:55 +10:00
5baf3bbe2e OGL: Clear backbuffer before presenting instead of at start of frame 2018-02-20 01:11:40 +10:00
456c2f42c3 Merge pull request #6316 from stenzek/videocommon-viewport
Move guest viewport conversion to VideoCommon
2018-02-20 01:01:06 +10:00
c1b39ecc58 BPFunctions: Move upscaling of scissor rect to VideoCommon 2018-02-20 00:49:32 +10:00
5359396099 BPFunctions: Move GX viewport conversion to VideoCommon 2018-02-20 00:49:32 +10:00
135ac2a7a8 Android: Use the git rev-list --count for versionCode 2018-02-19 15:33:46 +01:00
a2d2a0a356 Merge pull request #6384 from jeffythedragonslayer/master
Jit64: fixed some signed to unsigned integer warnings
2018-02-19 15:28:06 +01:00
be1a7366a4 Merge pull request #6225 from gwicks/android-game-settings
Android: Implement user game-specific settings overrides.
2018-02-19 15:19:57 +01:00
4876b9d8e0 Merge pull request #6362 from spycrab/qt_indicators
Qt/Mapping: Implement indicators
2018-02-18 11:45:12 -08:00
caf721fb3f Jit64: fixed some signed to unsigned integer warnings 2018-02-16 17:41:16 -05:00
e19922c5de Android: Implement game-specific settings overrides UI 2018-02-16 13:47:52 -05:00
6a609e6e3c Merge pull request #6352 from stenzek/fogrange
PixelShaderGen: Implement table-based fog range as in software renderer
2018-02-15 16:14:29 +01:00
340ee8fff8 PixelShaderGen: Implement table-based fog range as in software renderer 2018-02-15 22:19:21 +10:00
e7d0aae5be Merge pull request #6335 from stenzek/membp
Jit64: Fix incorrect PC in PPC state during fastmem trampoline
2018-02-15 11:13:52 +01:00
ec54b421a4 Qt/Mapping: Implement indicators 2018-02-15 05:01:44 +01:00