Commit Graph

2224 Commits

Author SHA1 Message Date
LunaMoo
d3bfb5cbbc Refresh bloomHackEnable_ also on resolution change. 2017-03-29 17:57:50 +02:00
Henrik Rydgård
84d7d5b8df Merge pull request #9501 from unknownbrackets/ui-background
UI: Add simple support for a custom background
2017-03-29 11:11:43 +02:00
Henrik Rydgård
b0b72cd63e Merge pull request #9510 from xebra/fix_hwtess_gles
Fix hwtess gles
2017-03-28 13:17:32 +02:00
xebra
a7c3b2f599 Add warning "experimental" to hardware tessellation because may cause crash with GLES. 2017-03-28 19:51:25 +09:00
xebra
73a898df2a GLES:Fix again compatibility for instanced rendering. 2017-03-28 19:49:37 +09:00
Unknown W. Brackets
c9a5c00bf7 UI: Allow overriding colors in the ini. 2017-03-26 09:51:33 -07:00
Unknown W. Brackets
0a73828042 UI: Use theme colors in more places.
Hopefully everywhere.
2017-03-26 08:57:04 -07:00
Unknown W. Brackets
ed11b8a8bd UI: Add a message handler to update the bg image. 2017-03-26 07:52:47 -07:00
Unknown W. Brackets
8f4d1634ad UI: Add simple support for a custom background.
No UI.  Essentially, this is a cleaned up version of xiushudongfang's
implementation that supports all platforms, but no selection UI.
2017-03-26 07:52:46 -07:00
Henrik Rydgard
576c1b740a Buildfix non-Windows 2017-03-26 13:07:36 +02:00
Henrik Rydgård
c1b37bd2ad Merge pull request #9506 from xebra/fix_hwtess_gles
GLES:Fix compatibility checks for instanced rendering.
2017-03-26 12:08:20 +02:00
xebra
04e1e1a460 GLES:Fix compatibility checks for instanced rendering. 2017-03-26 19:00:20 +09:00
Unknown W. Brackets
562288b09c UI: Refactor game icon/bg loading.
This also default-initializes the atomic flags, which seems to fix a race
condition I was sometimes experiencing with missing icons.
2017-03-26 00:00:57 -07:00
Unknown W. Brackets
1fdf7c5373 UI: Skip game bg lookup without game.
This avoids trying to identify a file without a name.
2017-03-24 22:15:22 -07:00
Henrik Rydgård
33db883024 Merge pull request #9492 from unknownbrackets/frame-drops
Allow debug logging of frame drops
2017-03-24 20:37:18 +01:00
Unknown W. Brackets
01703f7ffc Core: Add UI option to enable frame drop logging. 2017-03-23 19:27:16 -07:00
LunaMoo
4a2677e0c6 Revert unintentional change from: 429bf5d8b3 2017-03-23 11:54:54 +01:00
Henrik Rydgård
22782b6439 UWP: Fix DPI calculations for touch. Implement back button support. 2017-03-23 10:02:29 +01:00
Henrik Rydgard
aa2177a4b5 UWP: Hide the graphics API from the logo screen, it's always D3D11 2017-03-23 10:02:29 +01:00
Henrik Rydgard
792dd1557c Improve StorageFileLoader enough to actually kind of work 2017-03-23 10:02:28 +01:00
Henrik Rydgard
d58ee6670e UWP: Fix audio sample rate, savestates, memory leak. 2017-03-23 10:02:28 +01:00
Henrik Rydgard
ff2b6b3fca Assorted cleanup, UWP memory map fixes. PSPFlower runs in both 32-bit and 64-bit. 2017-03-23 10:02:28 +01:00
Henrik Rydgard
4ced81b1df UWP: Hook up basic touch/mouse input. Start work on loading from a StorageFile. Getting closer to starting to boot a game 2017-03-23 10:02:28 +01:00
Henrik Rydgard
3c52570552 Add UWP projects and rough UWP entry point application based on the sample
Delete sample load, hook things up. It now builds but doesn't run

Reformat, add an event
2017-03-23 10:02:27 +01:00
Henrik Rydgard
35e2a5a7d1 Allow text input on some more platform in settings. See #9421 2017-03-22 21:50:42 +01:00
Henrik Rydgård
41a3370035 Merge pull request #9476 from unknownbrackets/ui-transform
UI: Make popups transition their button
2017-03-22 14:38:37 +01:00
Unknown W. Brackets
5f54726d03 http: Add an additional cancel check. 2017-03-22 00:06:02 -07:00
Unknown W. Brackets
abe4b750cc UI: Keep Back buttons consistent in http settings.
Also, prevent changing server port while serving.
2017-03-22 00:03:45 -07:00
Unknown W. Brackets
2faaf0a9fa http: Cancel remote server connects faster.
This way the UI doesn't appear to hang when you click cancel.
2017-03-22 00:03:08 -07:00
Unknown W. Brackets
52bcd78301 UI: Put developer tools Back in a standard place. 2017-03-21 23:59:59 -07:00
Unknown W. Brackets
07d2b4fb46 UI: Make popups transition their button. 2017-03-21 18:45:49 -07:00
Unknown W. Brackets
4fb8ac96ce UI: Zero initialize EventParams in typical usage.
Better to be safe.
2017-03-21 18:45:48 -07:00
Unknown W. Brackets
cbee412de4 UI: Make some tips less technical and simpler. 2017-03-21 18:01:00 -07:00
Henrik Rydgård
b4fa8ae82b Remove one tip, correct another. 2017-03-21 14:02:41 +01:00
Henrik Rydgård
70e6732430 Merge pull request #9470 from zminhquanz/master
Add warning simulate block transfer , setting info
2017-03-21 08:55:32 +01:00
zminhquanz
ea0aab9340 Add warning simulate block transfer , setting info
Add some games compatibility required buffered rendering and warning
required simulate block transfer set to on
2017-03-21 14:23:31 +07:00
Unknown W. Brackets
09dac5dfa3 UI: Fade PopupScreens out too. 2017-03-19 17:45:39 -07:00
Unknown W. Brackets
073e056369 UI: Allow overriding dialog logic on finish.
This seems cleaner.
2017-03-19 17:43:03 -07:00
Unknown W. Brackets
9f3415f43f UI: Ask linear child views to stay inside AT_MOST.
Fixes the DevMenu pop up in larger windows.
2017-03-19 16:36:21 -07:00
Unknown W. Brackets
a36ecb7065 UI: Track translate/scale/fade transform by screen.
This translates drawing, scissor, and touch to the transform.
2017-03-19 15:42:13 -07:00
Henrik Rydgård
e43435ab2d Merge pull request #9459 from duganchen/qt_assets_dir
Fix assets directory for non-mobile, non-Windows Qt builds
2017-03-19 17:14:37 +01:00
Dugan Chen
36a8f71a55 Qt apps on non-mobile, non-Windows platforms now see /usr/share/ppsspp/assets 2017-03-19 08:21:54 -07:00
Unknown W. Brackets
77fccdaa23 UI: Make the other report screen a dialog too. 2017-03-19 07:46:06 -07:00
Henrik Rydgard
9fa13c7c9d Make ReportScreen a dialog. Minor improvement to GE debugger. 2017-03-18 23:30:50 +01:00
Henrik Rydgard
908193e894 Rework Android lost/restore lifecycle again. Can autorotate screen without crashing again. Should help #9295 and maybe #8906. 2017-03-18 15:21:26 +01:00
Henrik Rydgard
378170d723 Add ability to tag objects in the gl_lost_manager 2017-03-18 13:55:15 +01:00
Henrik Rydgard
7c0761ef15 Buildfix 2017-03-18 11:11:27 +01:00
Henrik Rydgard
4f707a1022 Simplify logging code some more. Cleaner log output on Android. 2017-03-18 10:47:36 +01:00
Henrik Rydgård
1424713f62 Minor resource reorg 2017-03-17 12:35:27 +01:00
Henrik Rydgård
17a250df7a Always trigger gpu->Resized when exiting GameSettingsScreen.
Strangely, this does NOT help #9438.
2017-03-17 10:27:49 +01:00
Henrik Rydgård
09a3de1e66 Windows: Get rid of my private gold branch, simply gate behind a define instead. 2017-03-16 15:47:59 +01:00
Henrik Rydgård
b2677cfc63 Add tab to system info to show some build configuration flags
Would be nice if there was a way to automatically get them all ... there
might be with some CMake trickery?
2017-03-16 12:33:45 +01:00
Henrik Rydgård
f4a0c4504f Fixes to GPU system information. Fixes #9434 2017-03-16 09:48:10 +01:00
Henrik Rydgård
e17772b58d Merge pull request #9430 from unknownbrackets/input-state
Remove legacy InputState tracking
2017-03-15 10:16:14 +01:00
Unknown W. Brackets
9e390510df Remove legacy InputState. 2017-03-14 22:07:07 -07:00
Unknown W. Brackets
1ca40488f2 Use touch events for LogoScreen dismiss. 2017-03-14 22:07:04 -07:00
Unknown W. Brackets
2a745f86ac Switch to axis for accelerometer usage. 2017-03-14 22:07:03 -07:00
Henrik Rydgard
e37decc9a8 Warn if trying to run some games that are known to require buffered rendering with it not enabled. 2017-03-14 10:36:51 +01:00
Henrik Rydgård
7e007c3973 Merge pull request #9426 from unknownbrackets/input-state
Remove various legacy parts of the InputState
2017-03-14 09:34:57 +01:00
Unknown W. Brackets
2812ddcc86 Remove End/UpdateInputState and ButtonTracker.
No longer used for anything.
2017-03-13 22:58:38 -07:00
Unknown W. Brackets
02855e7abb Remove unused pad_buttons and old virtual_input.
GamepadEmu does this now.
2017-03-13 22:57:22 -07:00
Unknown W. Brackets
549169ad7f Remove legacy pad_buttons check.
BACK will already leave the dialog.
2017-03-13 22:50:28 -07:00
LunaMoo
429bf5d8b3 Use $(DefaultPlatformToolset)_xp for easier VS builds with different toolsets. 2017-03-13 21:40:08 +01:00
Henrik Rydgård
34acb8b708 Show in dev settings if PPSSPP was built using Jenkins (just a test for my internal ci build). 2017-03-13 13:55:29 +01:00
Henrik Rydgard
b0bd7e3c6f Minor changes for compatibility with VS2017 2017-03-12 17:33:00 +01:00
Henrik Rydgard
525df21751 Unbreak version check on Windows 2017-03-12 17:24:46 +01:00
Henrik Rydgård
537115f25c Merge pull request #9418 from xebra/cleanup_spline_bezier
GLES:Remove texture_half_float extension.
2017-03-12 17:09:24 +01:00
xebra
b9a9a509ae GLES:Remove texture_half_float extension. 2017-03-13 01:02:05 +09:00
Henrik Rydgård
586a0400cd Merge pull request #9416 from hrydgard/ui-generate-mipmap
Reintroduce mipmaps for images in the UI like screenshots (D3D11, OpenGL, D3D9)
2017-03-12 16:55:02 +01:00
Henrik Rydgard
8a8360ef96 Reintroduce mipmaps for images in the UI like screenshots (D3D11, OpenGL, D3D9) 2017-03-12 16:30:53 +01:00
Henrik Rydgård
cfb93a707c Merge pull request #9370 from fireballwayne/remoteiso
Remoteiso
2017-03-12 12:39:45 +01:00
Fireball Wayne
9ea7d347c1 Remoteiso better http header detection 2017-03-12 01:15:40 -05:00
Henrik Rydgard
9bb81a24c0 Fix bug where we'd reload the post shader information every frame. Fixes #9410 2017-03-11 12:25:43 +01:00
Fireball Wayne
88760b2f61 RemoteISO relax subdir restrictions 2017-03-11 01:53:16 -05:00
Fireball Wayne
c394b9e26c RemoteISO moved settings to connection screen. 2017-03-11 00:46:51 -05:00
Fireball Wayne
768da4b2ca RemoteIso backend changes requested 2017-03-11 00:46:50 -05:00
Fireball Wayne
ed046079a5 Function name change, additional comments, code cleanup for remote disc streaming 2017-03-11 00:46:50 -05:00
Fireball Wayne
ce7a93e24c remoteiso gui settings 2017-03-11 00:46:49 -05:00
Fireball Wayne
6dd0f7a152 Remoteiso Manual Mode Backend 2017-03-11 00:46:48 -05:00
Fireball Wayne
8853b72684 Resolve conflict on http::client get 2017-03-11 00:23:49 -05:00
Henrik Rydgård
85c8d9b806 Homebrew Store: Add support for cancelling downloads, fix progress bar. Fixes #9374 2017-03-06 16:03:05 +01:00
Henrik Rydgård
a895936913 More log cleanup. Fix resize issue: Fixes #9392 2017-03-06 13:50:22 +01:00
Henrik Rydgård
440e72d250 Clean up among the logs. Remove MASTER_LOG. 2017-03-06 13:10:23 +01:00
Henrik Rydgård
cfe2621604 LogManager: Hook up save/load, remove "long names" 2017-03-06 11:44:35 +01:00
Henrik Rydgård
50b722152a Fade in logoscreen from black, make it slightly faster. 2017-03-06 11:03:56 +01:00
Henrik Rydgård
a1941d8a81 It's enough to call net::Init/Shutdown in NativeInit/Shutdown. Remove other calls. 2017-03-06 10:51:28 +01:00
Henrik Rydgard
496ebf710a Add more sanity checks in png_load. 2017-03-05 12:35:13 +01:00
Henrik Rydgard
340f0cff2c Prepare for supporting manual screen rotation 2017-03-05 10:54:45 +01:00
xebra
7364dbea3b [spline/bezier]Implement hardware tessellation on D3D11. 2017-03-04 22:53:40 +09:00
Henrik Rydgard
b9b3a022fb Switch another enum to enum class 2017-03-02 12:36:54 +01:00
Henrik Rydgard
5b835839fa Make IdentifiedFileType a proper enum class 2017-03-02 12:29:03 +01:00
Henrik Rydgard
26a2d42731 Big mutex overhaul - remove our custom ones, make them non-recursive where possible 2017-02-28 11:40:29 +01:00
Henrik Rydgård
ba6ab0bd36 Buildfix, warning fix 2017-02-27 23:09:12 +01:00
Henrik Rydgard
50be4e72b2 Get rid of our own silly reimplementation of std::thread 2017-02-27 20:51:36 +01:00
Henrik Rydgard
5de190a45f D3D11: Move the responsibility for the swapchain out of the DrawContext so it can be used with differently-managed D3D like with UWP.
Minor cleanups.
2017-02-27 10:10:24 +01:00
xebra
f0606bd1c9 Fix the mistake at resolving conflicts. 2017-02-25 20:01:56 +09:00
xebra
257ca93d69 [spline/bezier]Oops, forgot. 2017-02-25 19:28:14 +09:00
xebra
7b72f87308 [spline/bezier]Add support for unsupported device about HW tess. 2017-02-25 19:28:13 +09:00
Henrik Rydgard
03dab0fdbd More UWP prep 2017-02-25 09:57:22 +01:00
Henrik Rydgard
fa80cfa4aa Additional UWP preparations 2017-02-25 09:57:14 +01:00
Henrik Rydgard
acde17e3ce Improvements to D3D11 detection and error handling. 2017-02-23 10:40:55 +01:00
Henrik Rydgard
85ce4ac219 Show the D3D11 choice on Windows Vista+ instead of Windows 8+. 2017-02-23 09:52:45 +01:00
Henrik Rydgard
615c357f1d Win32 start-from-command-line: Normalize slashes earlier in the process. The actual root cause of the issue from #9335. 2017-02-23 09:31:45 +01:00
Henrik Rydgard
900539e200 Fix #9340 (touch controls not always getting repositioned correctly) 2017-02-23 09:31:45 +01:00
Henrik Rydgard
b14e10632d Take the mapping direction into account in AnalogTestScreen. Hopefully will solve #9300. 2017-02-19 14:33:59 +01:00
Henrik Rydgard
b35493c726 Fix minor issue in gamesettings 2017-02-19 11:09:28 +01:00
LunaMoo
5ffef6d1ab Fix vertical layout on main screen. 2017-02-18 22:35:31 +01:00
Henrik Rydgard
d41a7083fb Remove "Experimental" tag from D3D11 2017-02-18 02:13:52 +01:00
Henrik Rydgard
522ac5c739 Add an escape route to D3D9 in case D3D11 fails to initialize. Cleanups. 2017-02-17 19:53:24 +01:00
Henrik Rydgard
2fabe3e1c5 Fix a number of resource leaks, both D3D11-only and general.
Additionally, fix D3D11 BlitFramebuffer
2017-02-17 19:23:01 +01:00
Henrik Rydgård
a99bad046b Merge pull request #9314 from hrydgard/unify-postproc
Unify postprocessing-related framebuffer code
2017-02-16 16:37:06 +01:00
Henrik Rydgard
5c918da774 Minor cleanups (combined two identical enums, misc) 2017-02-15 11:06:59 +01:00
Fireball Wayne
6bbbb11518 Remove net::init() 2017-02-14 19:16:52 -05:00
Fireball Wayne
a404138f82 Remember Last Remote ISO server 2017-02-14 19:16:51 -05:00
LunaMoo
89ef06936f Fix importing first cheat from database list 2017-02-14 21:47:43 +01:00
Henrik Rydgard
cbf24a9d78 Get rid of "AutoInit", instead always keep the network initialized.
See #9305
2017-02-14 13:12:02 +01:00
Henrik Rydgard
b5034c4e00 Hide the D3D11 backend if Windows version is older than Win8 2017-02-14 10:33:42 +01:00
Henrik Rydgard
5ee3b534ed More D3D11 improvements 2017-02-10 10:26:18 +01:00
Henrik Rydgard
02e7d371bd Enable selecting D3D11 on Windows 2017-02-08 17:35:53 +01:00
Henrik Rydgard
9dd3e18ed4 Fix two minor issues with D3D UI 2017-02-08 17:09:59 +01:00
Henrik Rydgard
a846c4f68f More assorted D3D11 fixes. The samplemask in SetBlendState was the problem. 2017-02-08 14:55:03 +01:00
Henrik Rydgard
9bdae8f32e DrawContext: Use uniform buffers on all platforms (simulated where necessary) 2017-02-08 12:55:58 +01:00
Henrik Rydgard
55aa879216 A lot of buildfixes 2017-02-06 16:16:43 +01:00
Henrik Rydgard
ad29974a56 Change when drawcontexts are allocated. Hook up backbuffer events to fix d3d9 resizing. 2017-02-06 11:40:16 +01:00
Henrik Rydgard
f00f7d2fb8 Remove some dependencies on the pD3DDevice globals 2017-02-05 20:36:00 +01:00
Henrik Rydgard
0b7f3720ae More FBO api cleanup 2017-02-04 22:25:34 +01:00
Henrik Rydgard
daee5c24e5 Work towards unifying the GL and DX FBO APIs 2017-02-04 22:25:34 +01:00
Henrik Rydgård
668023967d Merge pull request #9269 from xebra/hw_tess_gles4
Fix supporting gl_InstanceID.
2017-02-01 15:16:25 +01:00
xebra
bab28df768 Fix supporting gl_InstanceID with GameSettingsScreen. 2017-02-01 22:12:54 +09:00
Henrik Rydgård
dc19e113c5 Merge pull request #9265 from LunaMoo/ui_minor
Fix Game/Info screen lagginess and crash when moving a window.
2017-02-01 09:28:28 +01:00
xebra
918bee8801 Add support OES_texture_half_float. 2017-02-01 14:37:03 +09:00
LunaMoo
b15e927807 Fix lag generated by getting savegames on update()
Also clear otherChoices_ vector, fixes crash when moving a window.
2017-02-01 05:14:54 +01:00
xebra
6adddbbd38 [spline/bezier]Turn off Hardware Tessellation if device is unsupported. 2017-01-31 23:37:07 +09:00
Henrik Rydgard
20d9e60a67 Just some renaming. Start moving away from the "thin3d" name 2017-01-30 14:38:31 +01:00
Henrik Rydgard
acef9af5d4 Fix a bug in TextureUtil, may help #9248 2017-01-28 23:16:37 +01:00
Henrik Rydgard
245e3b9bd1 Increase alt speed max% to 1000 2017-01-28 22:34:10 +01:00
Henrik Rydgard
7182c34c1e Quick soft fadeout when menu background audio stops playing 2017-01-28 10:38:50 +01:00
Henrik Rydgård
6136123830 Save a small amount of GPU fillrate when controls are faded out 2017-01-26 11:10:33 +01:00
Henrik Rydgård
69b35a35be Show page size and WX Exclusive status in system info 2017-01-26 09:20:05 +01:00
Henrik Rydgård
ff9e1517c7 More bugfixes 2017-01-25 19:11:33 +01:00
Henrik Rydgård
528af8a939 Simplification around textures 2017-01-24 20:59:00 +01:00
Henrik Rydgård
8654d42528 DrawContext API change: introduce TextureDesc 2017-01-24 20:59:00 +01:00
Henrik Rydgård
d2c4cbacad Delete unnecessary form of CreateTexture 2017-01-24 20:58:59 +01:00
Henrik Rydgård
6a7d3a3910 Break out image file management from DrawContext (thin3d) 2017-01-24 20:58:59 +01:00
Henrik Rydgård
377561865a A little more D3D11, BlendFactor 2017-01-24 20:58:59 +01:00
Henrik Rydgard
d9acd27126 Rename GLES files to match the convention the other backends use. 2017-01-23 17:08:58 +01:00
xebra
2e7f2998c7 Exclusion control for options between spline/bezier quality and hardware tessellation. 2017-01-23 14:12:03 +01:00
xebra
95b534ef88 Update credit 2017-01-23 14:12:02 +01:00
xebra
192d8f3601 [spline/bezier]Add an option for hardware tessellation. 2017-01-23 14:12:02 +01:00
Henrik Rydgård
941d128248 Sneak in a minor game settings fix 2017-01-17 18:55:48 +07:00