Commit graph

2421 commits

Author SHA1 Message Date
Henrik Rydgård
8037eaa456 Further dark magic, no pun intended. Now for the menu bar. 2023-01-12 00:41:25 +01:00
Henrik Rydgård
62e5a5dfc3 Rudimentary support for Windows Dark Mode. Still undocumented for Win32 apps, so ugly. 2023-01-12 00:41:25 +01:00
Henrik Rydgård
3bb260784c
Merge pull request #16725 from hrydgard/windows-ui-refresh-rate
Windows: Adjust window sleep interval in idle menus to refresh rate
2023-01-05 13:26:27 +01:00
Henrik Rydgård
14f45e3b44 Check for valid fields calling EnumDisplaySettings 2023-01-05 13:07:36 +01:00
Unknown W. Brackets
88489bf4cc Debugger: Fix out of bounds read for unsized copy. 2023-01-04 21:42:46 -08:00
Henrik Rydgård
e37be42a6c Windows: Adjust window sleep interval in idle menus to refresh rate
For smoother scroll animations if you have a high refresh rate monitor.
2023-01-04 16:33:00 +01:00
Henrik Rydgård
d750ffbc6b
Merge pull request #16701 from unknownbrackets/debugger-memview
Debugger: Allow copy of byte range from memview
2023-01-04 10:03:29 +01:00
Henrik Rydgård
ae99b797d7 Remove some bad float suffixes 2023-01-02 22:30:01 +01:00
Unknown W. Brackets
7c099dc764 Debugger: Allow copy of byte range from memview. 2023-01-01 23:02:12 -08:00
Unknown W. Brackets
bba748d627 Debugger: Handle memview select right click better.
Shouldn't reset if you click inside.  Also should basically ignore
modifiers, that's how it normally behaves.
2023-01-01 22:49:04 -08:00
Unknown W. Brackets
a7101b128f Debugger: Allow memview select with keyboard. 2023-01-01 22:37:53 -08:00
Unknown W. Brackets
f66818ba80 Debugger: Allow selecting a range in memory view. 2023-01-01 22:28:29 -08:00
Unknown W. Brackets
f8064c6763 Debugger: Cleanup memview members.
Was fairly inconsistent.  This code has not changed a lot in a long time,
so let's just do a single cleanup pass before some changes.
2023-01-01 21:47:39 -08:00
Henrik Rydgård
40386bca08
Merge pull request #16688 from unknownbrackets/debugger
Debugger: Correct check of pending list item
2022-12-31 19:39:28 +01:00
Unknown W. Brackets
bfc659ab5f Debugger: Correct check of pending list item.
Since updating is async now, setting the check state should be too.
2022-12-31 09:58:24 -08:00
Unknown W. Brackets
94a7a32234 Debugger: Correct errors in breakpoint create. 2022-12-30 15:07:02 -08:00
Unknown W. Brackets
49f6c461ad Reporting: Fix some header includes.
Particularly in Common, avoid including Core/Reporting.h.
2022-12-27 14:58:20 -08:00
Henrik Rydgård
8b0fc95489 Windows: Stop input device before main thread.
Appears to help an occasional shutdown crash.
2022-12-27 10:31:54 +01:00
Henrik Rydgård
e209227be1 Delete dead code path (initialize EGL from C++ on Android) 2022-12-20 23:17:51 +01:00
Unknown W. Brackets
15908856dd Build: Cleanup MSVC project files.
Remove some files that don't exist anymore, add some other platform
files for convenience.
2022-12-19 10:13:43 -08:00
Henrik Rydgård
a8985d8dda Windows: Fix shutdown order (stop the main thread before the window gets destroyed) 2022-12-11 10:02:21 +01:00
Unknown W. Brackets
1810692236 Global: Cleanup some type/range checks. 2022-12-10 21:13:37 -08:00
Unknown W. Brackets
9cfcbc46e6 Global: Cleanup initialization/pointer checks.
Cleaning up a lot of cases of uninitialized data, unchecked return values
for failures, and similar.
2022-12-10 21:13:36 -08:00
Unknown W. Brackets
a7b7bf7826 Global: Set many read-only params as const.
This makes what they do and which args to use clearer, if nothing else.
2022-12-10 21:13:36 -08: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
Henrik Rydgård
4ec1e2a175 Some minor initialization fixes, and one potential crash found by static analysis 2022-12-10 11:28:19 +01:00
Henrik Rydgård
8bd6621c40 Remove postprocessing option from desktop menu (doesn't support multi-shader) 2022-12-07 11:57:28 +01:00
Henrik Rydgård
a87cf02dbf Rename "Display layout editor" to "Display Layout && Effects" 2022-11-24 22:43:49 +01:00
Henrik Rydgård
d73196c7d6 Split up the GPU config change notifications 2022-11-21 15:14:20 +01:00
Henrik Rydgård
41c812651d
Merge pull request #16347 from unknownbrackets/softgpu-skin
Always skin in decode for software transform and rendering
2022-11-06 20:21:02 +01:00
Henrik Rydgård
519db766b6 Change "Rendering Mode" to just a "Skip buffer effects" checkbox. Reuse translations. 2022-11-06 19:26:56 +01:00
Unknown W. Brackets
66472c39ce GPU: Use skinned position always in bounding check.
Meanwhile, move to a flag on decoder options instead of global check.
2022-11-06 08:23:31 -08:00
Henrik Rydgård
fb250c4b29 More multiview work 2022-10-27 11:05:58 +02:00
Unknown W. Brackets
299033929a GE Debugger: List verts on bounding box command. 2022-10-22 16:05:29 -07:00
Unknown W. Brackets
1b5e5e2556 Windows: Improve reporting of WASAPI errors. 2022-10-15 21:23:49 -07:00
Unknown W. Brackets
416265431b GE Debugger: Display if tex is framebuf.
Rather than guessing based on size, let's show explicitly.
2022-10-10 22:35:42 -07:00
Unknown W. Brackets
a4bd0af3f2 GE Debugger: Use a modern GL context.
Note: still a separate context from Draw, since it's drawn to an entirely
separate window.

This stops RenderDoc from getting angry.
2022-10-10 22:13:16 -07:00
Unknown W. Brackets
fb6b2514f2 GE Debugger: Remove ancient unecessary GL calls. 2022-10-10 21:59:54 -07:00
Unknown W. Brackets
6a5824031d Windows: Retain log console on graphics restart.
It's a small thing but I always use -l and it annoys me when I restart.
2022-10-09 21:42:04 -07:00
Unknown W. Brackets
4d5e6f53bb GE Debugger: Reset on shutdown.
Previously, it kept showing the last frame, which made it seem like it was
still stepping.
2022-10-09 21:25:20 -07:00
Herman Semenov
29b87e0c0b
Merge branch 'master' into master 2022-10-03 07:49:13 +00:00
Unknown W. Brackets
ac335ad61a armips: Update to UTF-8/c++17 armips. 2022-09-30 19:48:14 -07:00
lainon
3cdf72b68b Better readability and optimization insertion into container by replacing 'insert' -> 'emplace', 'push_back' -> 'emplace_back' 2022-09-30 12:35:28 +03:00
lainon
b304551747 Code readability, vec reserve() and remove excess c_str() 2022-09-30 12:31:32 +03:00
lainon
fec708489a Correct cleaning string and remove unused vars 2022-09-30 12:26:30 +03:00
Henrik Rydgård
f8f52565b9 Remove redundant call to SetMenu 2022-09-29 21:36:20 +02:00
Henrik Rydgård
d31f129407 Add hidden ini file setting that you can use to hide the menu bar.
Windows-only. Useful together with some video recording software.

Might make some actual UI later.
2022-09-29 18:51:21 +02:00
Henrik Rydgård
9c63973c9a Minor debugger fix 2022-09-26 11:21:40 +02:00
Unknown W. Brackets
19970df430 GE Debugger: Add option to track pixel in preview. 2022-09-24 12:23:02 -07: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