Commit Graph

691 Commits

Author SHA1 Message Date
Unknown W. Brackets
a5efb85ab7 SaveState: Show warning on old / long use state.
Using save states instead of in game saves causes bugs in games, and
preserves bugs from bad settings and old PPSSPP versions.

This tells users when they might be affected.
2018-06-14 18:29:55 -07:00
Unknown W. Brackets
b3c21517b0 Qt: Allow for larger screen sizes. 2018-06-09 16:36:41 -07:00
Unknown W. Brackets
a448ef536b Qt: Toggle fullscreen like on all other platforms. 2018-06-09 16:36:41 -07:00
Unknown W. Brackets
82b6cda5ef Qt: Return correct refresh rate.
Although, should probably update it if the screen changes, meh.
2018-06-09 16:36:41 -07:00
Unknown W. Brackets
a676721683 Qt: Remove bundled assets reader.
It was no longer being used or linked, so it just meant the assets were missing.
With this removed, the assets (lang inis, shaders, etc.) are available again.

Fixes #9831 - likely broken since #9061, which stopped using the qrc.
2018-06-09 10:47:53 -07:00
Unknown W. Brackets
ec398cbb1f Qt Debugger: Remove texture viewer.
No longer worked anyway.  Being replaced by WebSocket debugger.
2018-06-06 05:58:10 -07:00
Unknown W. Brackets
cf33e852ef Qt Debugger: Remove memory viewer.
Being replaced by WebSocket based debugger.
2018-06-06 05:58:10 -07:00
Unknown W. Brackets
28cabd578a Qt Debugger: Remove display list debugger.
Being replaced with WebSocket based debugger.  Was disabled and not
working anyway, and hardcoded some GL so a barrier to Vulkan.
2018-06-06 05:58:10 -07:00
Unknown W. Brackets
c3213ade25 Qt Debugger: Remove disassembly.
Being replaced by WebSocket based debugger which is better maintained.
2018-06-06 05:58:09 -07:00
Unknown W. Brackets
18f0168b63 Qt Debugger: Remove VFPU dialog.
Being replaced by new WeBsocket based debugger with better maintenance.
2018-06-06 05:58:09 -07:00
vnctdj
9db485b98d Allow showing version only for Qt 2018-05-09 21:23:04 +02:00
Henrik Rydgård
80df926265 Qt: Set window title asynchronously. Should fix #10674 2018-03-03 08:56:56 +01:00
Henrik Rydgård
448e8fb49a Split out QtHost.h from HostTypes.h 2018-03-03 08:46:12 +01:00
Henrik Rydgård
ebb819b5cc Qt: Don't call SDL_PumpEvents from the emu thread. Fixes #10660 2018-03-01 08:46:22 +01:00
Henrik Rydgård
5f8118b82b Separate T3DCreate* into its own header to avoid including Windows.h etc in some cases. 2018-02-25 10:27:59 +01:00
Unknown W. Brackets
4b8d8c875d Qt: Remove old texture debug API.
No one's testing it and it's not the best way.  We have a better
implemented API and should use it instead.
2018-02-19 09:09:35 -08:00
Unknown W. Brackets
cdf378d20c GLES: Prevent race condition on shutdown.
emuThreadState might become STOPPED before the last frame has been run,
which can cause WaitUntilQueueIdle to hang.

It's simpler just to wait until StopThread() is called, since it now is.
This will line up properly with run_.
2018-02-11 11:40:11 -08:00
Unknown W. Brackets
a85a88e112 SDL: Apply shutdown race condition fix. 2018-02-10 16:55:50 -08:00
Henrik Rydgård
20eb566665 Minor Qt cleanup, force OpenGL since we don't yet support Vulkan in Qt 2018-02-08 11:19:48 +01:00
Henrik Rydgård
87cc586c08 Qt: Fix emuthread management to exit cleanly without hanging 2018-02-07 16:43:49 +01:00
Henrik Rydgård
903abe8779 Qt: Prevent some race conditions on shutdown by deleting emugl. 2018-02-04 13:54:10 +01:00
Henrik Rydgård
583c20991f Qt: Some cleanup and fixes. Still not working correctly with gl-render-manager. 2018-02-04 13:42:04 +01:00
Henrik Rydgård
98cfaef6ec Rough fix for threaded GL for Qt. 2018-01-31 12:05:18 +01:00
Henrik Rydgård
51f467a7b3 Kill off the GL state cache 2018-01-27 15:10:17 +01:00
Unknown W. Brackets
56835fc017 Qt: Fix OpenGL init.
Needs to check extensions before creating thin3d, as others do.
2017-12-26 16:04:19 -08:00
Unknown W. Brackets
766b40aad8 GPU: Reset GPUBackend on graphics init.
This way, when using a port that doesn't support Vulkan, it doesn't just
silently use upside down GL, etc.
2017-12-26 16:02:55 -08:00
Unknown W. Brackets
ebce6da223 UI: Remove auto-download options.
See previous commit removing actual functionality.
2017-12-25 11:20:26 -08:00
Henrik Rydgård
740d0504ad Move QtMain.cpp and PCMain.cpp to more sensible locations. Native isn't standalone anymore... 2017-12-19 18:04:26 +01:00
Henrik Rydgård
7d0fc9ce65 Rework GL lost-device to work more like Vulkan. Gets rid of gl_lost manager etc. 2017-12-07 15:05:59 +01:00
Henrik Rydgård
c12f17134b Links from the UI: Change from http:// to https:// wherever possible. 2017-11-14 12:53:36 +01:00
Unknown W. Brackets
661b2a3aa8 UI: Make GPU events more consistent. 2017-04-27 20:03:50 -07:00
Unknown W. Brackets
9e390510df Remove legacy InputState. 2017-03-14 22:07:07 -07:00
Ettore Atalan
e5462ad003 Update ppsspp_de.ts
Updated and almost completed German translation.
2017-03-11 23:52:06 +01:00
Henrik Rydgard
55aa879216 A lot of buildfixes 2017-02-06 16:16:43 +01:00
Henrik Rydgard
f1c96c056d Move all the GL/D3D9 FBO code into thin3d. 2017-02-06 11:40:16 +01:00
Henrik Rydgård
837ce9085c Merge pull request #9281 from zminhquanz/UIWindows
Add Github choose in help
2017-02-05 16:22:50 +01:00
zminhquanz
99ce8d343b Typo fix 2017-02-05 20:19:30 +07:00
zminhquanz
beaa03c0ad Add Github choose in help
Make more convenient if you contact github quickly
2017-02-05 20:16:22 +07:00
Henrik Rydgard
1a149ba02d Final tweak to the cleaned up FBO api before moving it to thin3d. Buildfixes. 2017-02-04 22:25:34 +01:00
Henrik Rydgard
bd4436c6eb Centralize EstimatePerVertexCost and Execute_BlockTransferStart 2017-01-23 17:22:17 +01:00
latot
cb1e01f380 clean double end statements 2016-12-03 12:25:05 -03:00
latot
7047ad2271 fix sscanf types 2016-12-02 22:46:52 -03:00
Florent Castelli
6ab5243101 qmake: Remove!
25% of the build systems have been removed.
2016-10-17 23:45:22 +02:00
Florent Castelli
cb4d0732df qt: Remove qrc files 2016-10-17 23:45:21 +02:00
Florent Castelli
a9da49a653 qt: Remove translations as a workaround 2016-10-17 23:45:21 +02:00
Florent Castelli
f02e2b59b0 qt: Build Qt frontend with CMake. Requires Qt5. 2016-10-17 23:45:21 +02:00
Henrik Rydgård
6cee9429cc Qt lang buildfix 2016-10-14 23:18:34 +02:00
Henrik Rydgard
486963487b Move unix-icons out of assets 2016-10-14 22:38:33 +02:00
Florent Castelli
94d57f4573 maemo: Remove! 2016-10-12 13:13:09 +02:00
Florent Castelli
70593d1004 android: Change preprocessor define to standard __ANDROID__
ANDROID is only standard to the old Makefile buildsystem, not the platform.
2016-10-12 11:14:09 +02:00
Florent Castelli
4145b60a0e symbian: Remove! 2016-10-11 18:49:08 +02:00
Florent Castelli
373db56a16 blackberry: Remove! 2016-10-11 17:40:32 +02:00
Henrik Rydgard
6d0d36bf91 Update version to 1.3 2016-09-17 15:22:31 +02:00
Unknown W. Brackets
30e99206c9 UI: Add a generic word wrapper class. 2016-07-04 16:03:22 -07:00
Unknown W. Brackets
27d135d48a Decouple save states from UI.
It's the UI's job to decide how and what things are displayed, not Core's.
This also reduces reasons for linkage issues.
2016-05-27 21:25:05 -07:00
Unknown W. Brackets
7258f8cae3 Qt: Default to 2x PSP window size. 2016-05-21 10:43:24 -07:00
Unknown W. Brackets
ba908b7b1e Qt: Use new window size config settings.
It's no longer tied directly to render resolution.
2016-05-21 09:58:58 -07:00
Unknown W. Brackets
b7224e269c Qt: Remove CPU core option from menu.
We've removed on Windows too, and this fixes a build error.
2016-05-13 23:56:16 -07:00
Unknown W. Brackets
5dbac165f4 Qt, gcc, and Symbian buildfixes. 2016-05-08 14:10:07 -07:00
Unknown W. Brackets
9280bb3eda Merge pull request #8715 from unknownbrackets/tex-replace
Initial texture replacement support
2016-05-01 09:58:16 -07:00
Unknown W. Brackets
c30287c4e5 Another buildfix for Qt, linking issue.
This is a bit of a hack, but it resolves the linking issue that only
seems to happen in the Qt build system.
2016-05-01 09:17:55 -07:00
Henrik Rydgard
ffe4c266ef Add CodeBlockCommon base class to remove further arch-specificity in JitBlockCache
Remove unused ArmThunk.
2016-05-01 11:40:00 +02:00
Unknown W. Brackets
9039dd606f Move TextureReplacer to Core.
Probably makes more sense here after all.
2016-05-01 00:30:40 -07:00
Unknown W. Brackets
bf39e61458 Setup initial structure for texture replacements. 2016-04-30 13:44:31 -07:00
thesource
1cd89a019c Build fix for linux using Qt build tools. Corrects gcc version detection. Before patch some lines in g++ --vesrion output could be incorrectly recognized as version 4.6 and therefore keyword "override" would be declared as macro despite being known to compiler. This was leading to compile error. Should fix #8695. 2016-04-21 12:31:56 +03: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
96273c6616 Turn off Vulkan in CMake-based and Qt-based builds, for now 2016-03-20 19:30:39 +01:00
Henrik Rydgard
8c9f3b9509 Update version numbers to 1.2.2, more README fixes 2016-03-19 19:29:12 +01:00
Henrik Rydgard
52eca3d211 Update version to 1.2.1 2016-02-17 18:20:49 +01:00
Henrik Rydgard
09e558c74b Update version numbers to 1.2.0 2016-02-14 12:36:28 +01:00
zhyk
2151327999 Fix Qt building on MacOS X 10.10 and later. 2016-02-10 23:36:41 +08:00
LunaMoo
6061ad7579 Some improvements, comments and polishing. 2016-01-17 09:21:12 +01:00
LunaMoo
e4271fe1bc Integrate stretching options into display layout editor. 2016-01-17 09:18:41 +01:00
Unknown W. Brackets
d2701d72bd One more Qt buildfix. 2015-11-04 22:02:05 -08:00
Henrik Rydgard
05880763a5 Qt buildfix 2015-11-04 23:02:59 +01:00
Sacha
cbe248d89d Fix compile error.
We arent allowing for cross-compiling at all by checking headers so this is only a temporary solution. Probably no mobile platform wants glew, which is what we had before the define was removed.
2015-11-01 20:21:56 +10:00
Henrik Rydgard
dd6ebabdc8 Further Qt buildfix 2015-11-01 01:09:15 +01:00
Henrik Rydgard
f2431dcf7a More Qt buildfixes 2015-11-01 00:41:35 +01:00
Sacha
bbc4f64999 MIPS: Fix build so we can compile this again. 2015-10-29 02:46:43 +00:00
Henrik Rydgard
edafa9bc17 Centralize the GPU state conversion functions 2015-10-24 23:49:05 +02:00
Henrik Rydgard
92389a4966 Use a common ShaderId class. Start moving shader ID code to GPU/Common 2015-10-24 23:24:06 +02:00
Henrik Rydgard
91e576449f Update version numbers to 1.1.1 2015-10-12 19:57:19 +02:00
Henrik Rydgard
dd8647bf3a Update version to 1.1 2015-10-04 15:46:29 +02:00
Henrik Rydgard
5ff5cf1ac7 Add compat.ini as a dependency to our various build systems 2015-09-27 11:50:23 +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
a5d7b32bfe MSVC buildfix, remove color.h 2015-09-19 12:32:57 +02:00
Henrik Rydgård
94ac552fff Another Qt buildfix 2015-09-19 12:06:17 +02:00
Henrik Rydgård
89ca8f035b Qt buildfix 2015-09-19 11:33:28 +02:00
Henrik Rydgård
c219793803 Remove the old UI texture class 2015-09-19 11:05:00 +02:00
Henrik Rydgård
ca0a6dc7f9 Remove native audio mixer (Unused in PPSSPP) and stb_vorbis 2015-09-19 10:43:58 +02:00
Henrik Rydgård
df47f41db6 Remove scoped_ptr (now unique_ptr), midi 2015-09-19 10:26:27 +02:00
Henrik Rydgård
45e3b7122b Remove some unused code (error_context, fastlist, stats) 2015-09-19 10:15:24 +02:00
sergiobenrocha2
18f452ff29 Ops fix this. 2015-09-16 01:59:22 -03:00
sergiobenrocha2
86051a8f3c Less derp :) 2015-09-16 01:06:56 -03:00
sergiobenrocha2
5ec87f3459 Improve detection of for shared libs in both sdl and Qt (zlib, libzip, snappy and glew). 2015-09-16 00:59:31 -03:00
Unknown W. Brackets
85533dad6e Native merge part 2: update build files.
And a couple minor stragglers.
2015-09-06 13:06:57 -07:00
Henrik Rydgård
7c71855f5d Symbian / Qt buildfixes 2015-09-06 16:03:36 +02:00
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
d822cbf60b Move fbo.cpp/h from native into PPSSPP 2015-09-06 13:13:37 +02:00
Unknown W. Brackets
ba15718db3 Track hovering in GE debugger to show pixel value.
This works for texture, framebuffer, depth, and stencil.

Importantly, allows debugging the actual depth values present.
2015-08-23 09:25:05 -07:00
Henrik Rydgard
2430c283a5 More GPU cleaning, removing uses of GPUState.h where not needed.
Want to get rid of direct accesses to GPUState in modules that may be reused in
my future next-gen backends, that will reformat display lists into command lists that will
then be optimized and executed, out of sync with the real GPUState.

Candidate modules that may be reused in full are Framebuffer and Depal, possibly TextureCache to some degree.
2015-07-29 12:37:49 +02:00
Henrik Rydgård
0763dbc641 Cleanup and comments in sceGe.cpp 2015-07-24 19:52:42 +02:00
Unknown W. Brackets
da827d9ef0 Move file loader code into directories.
Not making sense to put these all in the same fiel anymore.
2015-07-02 20:58:53 -07:00
Jan Beich
e58ffeb3f8 build/qmake: not every Unix wants libdl/librt
/usr/bin/ld: cannot find -ldl
2015-05-26 15:20:11 +03:00
Jan Beich
2a53666d79 build/qmake: only use bundled zlib headers without system-zlib 2015-05-26 15:20:11 +03:00
Jan Beich
d408d61137 build/qmake: allow downstream to override linguisttools path 2015-05-26 15:20:11 +03:00
Unknown W. Brackets
7269574a10 Add structure for NEON color conversion funcs. 2015-05-17 16:04:41 -07:00
Henrik Rydgard
a19ea78b4b Consolidate the texture scaler code. 2015-04-08 22:52:49 +02:00
Henrik Rydgard
1285ae4a61 Add ColorConv.cpp/h to a bunch of project files 2015-04-08 22:52:46 +02:00
Henrik Rydgard
058499e5bf De-dupe the spline code 2015-04-08 21:44:54 +02:00
Henrik Rydgard
0c9f541a43 Move depalettize-shader generator to Common 2015-03-01 11:15:27 -08:00
Henrik Rydgard
8c8e5de89d Update version number to 1.0.1 2015-02-26 21:05:06 +01:00
daniel229
937dc2a231 Include path in Qt/Core.pro. 2015-02-15 19:16:34 +08:00
Henrik Rydgard
f94e7170f6 Update version numbers to 1.0 2015-02-01 21:17:43 +01: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
7faddd6100 Consolidate the two TextureScaler copies into one.
Also lets us clean up ColorConv slightly.
2015-01-20 17:32:55 +01:00
Henrik Rydgard
4d1c1e41f3 Optimize and consolidate color conversion a bit 2015-01-20 17:32:55 +01:00
Unknown W. Brackets
db898aff23 Add a NEON method to apply the volume. 2015-01-11 14:23:41 -08:00
Gabriel
3859b4713a Pass -D SDL when SDL is used
Update the Qt build to use the same define
so that common files can use it.
2014-12-19 00:06:39 +01:00
Sacha
10f6db27ca Add Mips CPU Detection. 2014-11-19 08:51:15 +10:00
xSacha
57e4088216 Introduce fake vertex decoder JIT as well.
Compiles and links on CI20 but gets unknown crash in GL driver.
2014-11-13 17:10:29 +10:00
Sacha
c421617c84 Fix Qt build by building Arm disassembler for all platforms. 2014-11-13 00:55:00 +10:00
Sacha
a0086f6412 Introduce a Fake JIT for generic builds. 2014-11-13 00:09:51 +10:00
Sacha
1ba9103cef Better support for new archs. 2014-11-11 22:55:49 +10:00
beaumanvienna
ce5edeb589 merged with upstream / amended SDL2 multi monitor support 2014-10-15 22:33:38 +02:00
beaumanvienna
fadedee75f amendments for: global variable 'fullscreenCLI'/move on top timer/Qt fullscreen code 2014-09-24 23:24:23 +02:00
beaumanvienna
3db5420beb dual head support for Qt reworked / --fullscreen for Qt / fullscreen top most 2014-09-23 22:33:25 +02:00
beaumanvienna
2bc6864222 dual head support for Qt reworked / --fullscreen for Qt / fullscreen top most 2014-09-23 22:27:18 +02:00
beaumanvienna
eb0ca946e9 dual head support (SDL_VIDEO_FULLSCREEN_HEAD) for Qt and SDL2 2014-09-22 20:07:03 +02:00
xsacha
1ab398aafb Merge pull request #6927 from Bigpet/displwnd
comment out display list debug window
2014-09-21 22:47:07 +10:00
Bigpet
7a109ebf0b comment out display list debug window
comment out the display list debug window in the QT version
because it's not maintained and currently causes compilation
errors because it was not updated to deal with the new GPU
backend
2014-09-19 15:18:17 +02:00
Henrik Rydgard
a4ae0f951a Move spline generation to SplineCommon, make SplineDX9.cpp identical to Spline.cpp (merge later somehow) 2014-09-13 15:13:34 +02:00
Henrik Rydgard
19a9c4481f Move GLES' SoftwareTransform to Common 2014-09-13 13:27:42 +02:00
Henrik Rydgard
37e3cf362f Move vertexdecoder files into GPU/Common 2014-09-12 02:00:32 +02:00
Sacha
8978182a41 Qt buildfix. 2014-09-10 06:02:42 +10:00
Unknown W. Brackets
94c1271761 Add an experiment with using a texture for tests.
Using an option for now so it's easy to test, if it works well we can
maybe remove the option.
2014-09-07 10:04:57 -07:00
Henrik Rydgard
215abfb951 Some cleanup in /Common 2014-09-06 10:47:25 +02:00
Sacha
8edf25552f Fix issue with LoadSymbolMap filename 2014-08-27 05:16:06 +10:00
Unknown W. Brackets
0bed77ed0d Buildfix Linux. 2014-08-23 01:20:26 -07:00
Henrik Rydgard
ec129c3823 Add missing dot to Qt version string 2014-08-19 00:08:48 +02:00
Henrik Rydgard
bf709790c4 Update version to 0.9.9.1 2014-08-18 22:35:25 +02:00
Sacha
3e42aae5b0 Fix Symbian build in Travis.
Add a 'no_assets' option to Qt that allows building without pre-compiled assets inside the binary.
GCC has issues with high memory usage when compiling the assets file, so this is used as a workaround for Travis.
2014-08-18 02:00:22 +10:00
Sacha
404766ce33 Qt: Change target name to ppsspp by default.Install icons and desktop file on Linux. Use a different builddir than SDL by default.
Should help distros packaging ppsspp. Note: if you currently use PPSSPPQt, you will need to move the config dir from PPSSPPQt to ppsspp.
For distro packagers, you can now use PREFIX and DESTDIR for installs.
2014-08-05 17:57:17 +10:00
Sacha
b7982729b0 Qt: Allow building with system ffmpeg. Also update b.sh to set cmake and qmake flags in case --qt is at the end of the arguments. 2014-08-05 17:00:16 +10:00
Sacha
e48f812584 Make sure OSX compiles out of the box. 2014-07-25 14:41:52 +10:00
Sacha
45263fdc0f Fix up a few minor issues. Spacing/tabs/names 2014-07-25 03:59:51 +10:00
Sacha
1fc526d40f Combine the low and highmem atlas in to one. Add this to the buildatlas script (it's just a diff).
Used USING_QT_UI but technically win32_ui should use this too?
2014-07-25 03:50:58 +10:00
Sacha
7745ba264a Sailfish: define override since it is stuck on gcc 4.6.4. Compiles now. 2014-07-25 01:55:20 +10:00
Sacha
6ce3765b12 Sailfish: More compatibility with SailFish OS. It also needs stddef where Maemo does.
Set packaging by default for iOS with b.sh.
2014-07-24 23:20:09 +10:00
Sacha
027aca960b Qt: Update b.sh to support Qt/Symbian. 2014-07-24 16:34:46 +10:00