Commit Graph

239 Commits

Author SHA1 Message Date
Henrik Rydgard
da1a04be8d Make the workqueue slightly safer. Put g_gameInfoCache on the heap.
Cherry-picked from #8592
2016-02-28 12:39:47 +01:00
LunaMoo
6061ad7579 Some improvements, comments and polishing. 2016-01-17 09:21:12 +01:00
Henrik Rydgard
e11d0a7e1c Minor GPU interface cleanup 2016-01-06 23:49:02 +01:00
Unknown W. Brackets
aa0055cea7 Track the running GPU backend separate from config.
This way we can change the config directly when we want to save a new
setting, rather than having hacks to use a temp var.
2016-01-05 22:37:28 -08:00
Unknown W. Brackets
6c38b22467 Fix crashes when running games, tests, etc.
Need the graphicsContext value to stick around.
2016-01-03 11:05:36 -08:00
Unknown W. Brackets
f5d1a77155 Cut out a couple unused includes. 2015-12-19 19:58:56 -08:00
Henrik Rydgard
5d6d4a08f4 Change approach somewhat to avoid adding drawing code in the screen manager. 2015-11-18 14:18:35 +01:00
Henrik Rydgard
758ec5a027 Avoid clearing the backbuffer before actually doing any rendering to fbo on every frame - instead, clear when stretching the framebuffer into place. May save quite a bit of bandwidth on tiler GPUs with naive GL drivers. 2015-11-18 12:13:35 +01:00
Henrik Rydgard
22f71f1e9a Show simple info about currently playing audio in on-screen Debug Statistics 2015-10-28 21:20:20 +01:00
Henrik Rydgard
7f4e473e8c Add new shader viewing tool 2015-10-14 18:10:21 +02:00
Henrik Rydgard
39145252e3 Windows: Add the ability to turn on GL_ARB_debug_output via a hidden config option 2015-10-11 11:52:40 +02:00
Henrik Rydgard
77b40c2ee4 Fix #6541 where no error message was displayed when loading a non-existent save state through mapped hotkey 2015-10-04 10:18:32 +02:00
Henrik Rydgard
8996f58693 Generate save state IDs for homebrew using the elf or directory name where applicable. 2015-09-25 19:27:40 +02:00
Henrik Rydgard
c757931779 Android: Combine the two Java Eclipse projects into one.
Should make it easier to get ndk-gdb going, which I've always had crazy issues with with library projects.
2015-09-10 18:51:48 +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
b22850720d Move the CheckGPUFeatures call to the Resize check 2015-09-06 00:13:46 +02:00
Henrik Rydgard
0237b84efd Reduce use of #ifdef USING_GLES2 some more 2015-09-05 23:09:06 +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
Unknown W. Brackets
c4ea4e36d7 Let's use pixel_x[y]res directly.
There are many paths where this is actually zero still.
2015-07-16 07:29:55 -07:00
Unknown W. Brackets
c033162abb Use pixelWidth/pixelHeight for Auto (1:1) res.
By definition, it ought to be 1 PSP pixel for each host pixel.

The old way was accounting for dpi (thanks xperia64.)
2015-07-15 21:31:34 -07:00
Unknown W. Brackets
bf14ad4667 Add a shortcut key for the devmenu.
This is useful when you don't have touch or mouse, only keyboard/pad.
2015-07-05 16:09:29 -07:00
vnctdj
d4d91fc831 Consistently use *sc for the Screen i18n category 2015-07-02 00:50:07 +02:00
vnctdj
70d9e6cecb Consistently use *err for the Error i18n category 2015-07-01 23:34:50 +02:00
Henrik Rydgard
2e26a4798e Scale the frame profiler graph dynamically 2015-05-24 23:45:37 +02:00
Henrik Rydgard
26624709f7 Hook up the frame profiler to a few measurements 2015-05-24 23:45:36 +02:00
Henrik Rydgard
18655d14a4 Release PSP buttons when losing gameplay focus, fixes part 1 of #7758, and part 2 of #7758 on Windows only. 2015-05-21 10:49:47 +02:00
Henrik Rydgard
ee81c7f1a1 Rotate controls along with the display. Only rotates d-pad and analog stick, but easy to add more buttons if desired. 2015-05-15 18:49:54 +02:00
Unknown W. Brackets
2b0e0c547d Fix glInvalidateFramebuffer in EmuScreen. 2015-03-14 16:01:43 -07:00
Unknown W. Brackets
8f7e98f484 Keep Windows devices from sleeping while playing. 2015-03-01 08:29:11 -08:00
Mike
0653946acb fix for crash opening directory 2015-02-28 16:05:13 -08:00
Henrik Rydgard
ca512ea06a More minor cleanup. Update lang. 2015-02-03 21:59:36 +01:00
Henrik Rydgard
682ef7d083 Add a focus style to the little screenshot previews to make keyboard navigation less confusing 2015-02-02 10:09:00 +01:00
Henrik Rydgard
001eda39e0 Add really primitive save preview on "Next Slot". Improve pause screen layout a little. 2015-02-01 18:04:50 +01:00
Henrik Rydgard
86cee103f3 Add audio debug stats dev tool. Increase audio buffer low watermark a bit, hopefully helping #7370. 2015-01-29 12:56:17 +01:00
Henrik Rydgard
3d8e30e4c7 Fix #6898 - buttons could disappear in non-buffered rendering 2015-01-04 18:00:59 +01:00
Henrik Rydgard
87d221e069 Android: Ignore back-button events from other devices than Default if the back button is mapped.
Update native.

Should help #7254.
2015-01-02 16:43:08 +01:00
Henrik Rydgard
0cbff84489 Draw "OSM" as a view. ES 3.0: Tell tilers to discard depth/stencil of the backbuffer.
Also, don't even bind the UI texture unless there's UI to draw (probably negligible optimization).
2014-12-31 20:43:28 +01:00
Henrik Rydgard
2e675c7b0b Move GamePauseScreen into its own file 2014-12-22 10:48:17 +01:00
Unknown W. Brackets
2412466065 Allow an analog to press a button in any direction.
This is the only remaining case in #4391, so fixes #4391.
2014-12-21 18:50:07 -08:00
Unknown W. Brackets
c52b73393b Try default constructors for Symbian. 2014-12-20 23:39:44 -08:00
Unknown W. Brackets
3f0b759746 Switch to std::function for savestate callbacks. 2014-12-20 22:23:26 -08:00
Henrik Rydgård
a074c06f68 Merge pull request #7183 from Bigpet/pergamesettings
per game settings
2014-12-18 23:25:50 +01:00
Henrik Rydgård
cd573cf731 Merge pull request #7063 from Pulfer/axis-swap
Add a hotkey to swap D-pad and left analog stick keys
2014-12-18 23:15:28 +01:00
Peter Tissen
be3389fdef added optional per-game settings
call button 'game settings' only when modifying game-only settings
make the user confirm deleting settings
2014-12-16 00:14:11 +01:00
Henrik Rydgard
de86b4c51c Fix controls disappearing in non-buffered rendering in some games 2014-12-14 01:40:52 +01:00
Henrik Rydgard
75a9420b21 Reduce the number of places we include JitCommon.h. Update native. 2014-12-12 23:49:08 +01:00
Andrey Bondrov
5201f03720 Add a hotkey to swap D-pad and left analog stick keys 2014-11-07 22:40:53 +10:00
Henrik Rydgard
02a89306d1 Warning fixes, sprintf->snprintf 2014-09-13 23:51:07 +02:00
Henrik Rydgard
9734fd1c1a Turn off scissor when rendering controls overlay 2014-09-13 21:52:10 +02:00