Henrik Rydgård
8b431b39ba
Wrap the display globals in a struct ( #16998 )
...
* Wrap the display globals in a struct
Makes it easier to search/replace these, for future refactorings.
* Some renaming
* Qt buildfix, also fix the Qt build on Mac (got broken with battery changes)
* Attempt at buildfixing ios
* UWP buildfix
2023-02-25 13:09:44 +01:00
Unknown W. Brackets
f44852bb18
Global: Cleanup virtual/override specifiers.
...
Also missing virtual destructors, hidden non-overrides, etc.
2022-12-10 21:13:36 -08:00
Unknown W. Brackets
3cc628beb4
GE Debugger: Copy images optionally with alpha.
...
Although, lots of apps don't support this.
2022-09-24 11:43:52 -07:00
Henrik Rydgård
025bcb1673
Introduce Path, start using it all over the place.
...
Still lots left to convert!
Convert GetSysDirectory to return Path.
More buildfixing
Remove unnecessary Path( constructors
2021-05-13 10:39:16 +02:00
Unknown W. Brackets
8a8328c431
Common: Move ColorConv to a more appropriate place.
2021-05-01 11:20:05 -07:00
Unknown W. Brackets
28a4057115
GPU: Rotate screenshot framebuffer per display.
2021-02-19 22:57:34 -08:00
Unknown W. Brackets
e4ad514e42
Qt: Remove Qt-specific screenshot path.
2020-10-18 20:46:09 -07:00
Henrik Rydgård
4f43cff5ca
Move fileutil, net, image loaders, ui to Common. ( #13506 )
...
* Move and rename file_util/fd_util to Common/File/FileUtil and DirListing
Let's also move net while we're at it.
Move the ZIM/PNG loaders over to Common.
Move the UI framework into Common
iOS buildfix
* Buildfix
* Buildfixes
* Apple buildfix
* This typo again..
* UWP buildfix
* Fix build of PPSSPPQt, such as it is (it's not in good condition...)
* Guess what? Another buildfix.
2020-10-04 20:48:47 +02:00
Henrik Rydgård
989e353482
Common.h shouldn't include Log.h.
...
Buildfixes
More buildfixes. Move JSON code to common.
2020-10-04 11:42:14 +02:00
Henrik Rydgård
0fcc0994b4
Recategorize some logging, in preparation for what's to come.
2020-08-15 11:51:22 +02:00
Henrik Rydgård
c5e0b799d9
Remove category from _assert_msg_ functions. We don't filter these by category anyway.
...
Fixes the inconsistency where we _assert_ didn't take a category but
_assert_msg_ did.
2020-07-19 20:33:25 +02:00
orbea
c8c7889f0f
cmake: Improve building with the system libpng.
...
This also now requires at least libpng16 instead of libpng17.
v2: Require libpng17 on arm platforms.
v3: Fix the android and windows travis builds.
2020-03-22 18:43:51 -07:00
Henrik Rydgård
eb3faf5370
Fix some further static analysis warnings
2019-06-18 01:08:25 +02:00
Unknown W. Brackets
554a85e6d8
GE Debugger: Save with alpha for PNGs.
2017-12-21 23:47:49 -08:00
Unknown W. Brackets
b56aceb227
Core: Allow more formats for screenshot.
...
This allows depth and stencil formats too, so we can use for debugger
export.
2017-12-21 16:39:01 -08:00
Unknown W. Brackets
79dc857527
Core: Refactor screenshot saving.
...
So we can reuse the actual saving.
2017-12-21 15:44:49 -08:00
Henrik Rydgård
440e72d250
Clean up among the logs. Remove MASTER_LOG.
2017-03-06 13:10:23 +01:00
Henrik Rydgard
37646d67b7
Don't crash when trying to take screenshots outside a game.
2017-03-05 20:18:37 +01:00
Henrik Rydgard
fcbc20f240
Small changes to make Common and Core build under my preliminary UWP setup.
2017-02-24 18:59:41 +01:00
Henrik Rydgard
f1c96c056d
Move all the GL/D3D9 FBO code into thin3d.
2017-02-06 11:40:16 +01:00
Unknown W. Brackets
4d0c457ddc
Cleanup display vs. output screenshot terminology.
2016-09-25 16:35:43 -07:00
Unknown W. Brackets
fa0e88f1b7
Add a flag to use the display vfb for screenshots.
...
This fixes proportions of reporting, savestate screenshots, and TAS
recording for PS1 ports, mainly.
2016-09-25 16:32:18 -07:00
Chris Burgener
7d089a0f76
Clean up various files
2016-09-03 19:23:17 -04:00
Unknown W. Brackets
6151f8ef9f
Allow taking screenshots with a clamped size.
...
Sometimes 10x is a little on the big side.
2016-06-12 07:09:01 -07:00
Henrik Rydgard
7cb6192005
Rename the TransformPipeline files to DrawEngine, and GLES_GPU to GPU_GLES
2016-04-10 10:31:42 +02:00
Henrik Rydgard
e611915a52
Rename some GPU classes and enums to fix some consistency issues between the backends.
2016-04-10 10:21:48 +02:00
Unknown W. Brackets
76ed1e10c4
Limit savestate screenshots to top left of screen.
...
Sometimes framebuffers have extra stuff outside, we don't need that in the
screenshot. Fixes #8552 .
2016-02-07 00:04:12 -08: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
869260087c
Fix screenshots to be right side up, not crash.
2015-11-02 19:43:36 -08:00
Henrik Rydgard
1c67de0c21
We don't need a third set of sized integer typedefs, get rid of it.
2015-09-06 19:10:08 +02:00
Henrik Rydgard
31961eace9
Color conv attempt 2. Start consolidating simple color conversion functions in a single header+cpp.
2015-04-08 22:52:46 +02:00
Andrey Bondrov
e898200c19
Free flipbuffer
2015-03-04 03:21:38 +10:00
Andrey Bondrov
f81ec4ce65
Keep Qt UI screenshots in RGB888 format, just convert the buffer properly
2015-03-04 02:53:33 +10:00
Andrey Bondrov
168ab06266
Fix image format for screenshots with Qt UI
2015-03-04 02:16:47 +10:00
Henrik Rydgard
cae58cafee
Revert "Merge pull request #7361 from hrydgard/color-conv-centralize"
...
This reverts commit f1b57dabf5
, reversing
changes made to 41001637ce
.
2015-01-22 19:53:32 +01:00
Henrik Rydgard
4d1c1e41f3
Optimize and consolidate color conversion a bit
2015-01-20 17:32:55 +01:00
Henrik Rydgard
2623a48b4a
Centralize color conversion functions in Common/ColorConv.
2015-01-20 17:32:54 +01:00
Unknown W. Brackets
d0b6a3a339
Oops, fix a mistake in the screenshot func.
...
How did I lose the return?
2015-01-01 10:50:33 -08:00
Unknown W. Brackets
7ecff0acd6
Support more screenshot framebuffer formats.
2014-12-31 16:17:23 -08:00
Unknown W. Brackets
7b4d152cc0
Log something when screenshot fails.
...
For savestates as well as user-triggered.
2014-12-31 09:41:00 -08:00
Unknown W. Brackets
d254ec7088
Write screenshots using unicode-aware apis on win.
2014-12-28 20:39:57 -08:00
Unknown W. Brackets
306786db60
Oops, ignore DX9 on non-Windows.
...
This probably had broken Qt before, whoops.
2014-12-20 23:31:16 -08:00
Unknown W. Brackets
2dd9b10c8d
Take screenshots with savestates.
2014-12-20 23:14:46 -08:00