Commit graph

52 commits

Author SHA1 Message Date
Henrik Rydgård
11819e87cf PauseAction readbacks now work again 2024-12-05 00:36:49 +01:00
Henrik Rydgård
e01ca5b057
Logging API change (refactor) (#19324)
* Rename LogType to Log

* Explicitly use the Log:: enum when logging. Allows for autocomplete when editing.

* Mac/ARM64 buildfix

* Do the same with the hle result log macros

* Rename the log names to mixed case while at it.

* iOS buildfix

* Qt buildfix attempt, ARM32 buildfix
2024-07-14 14:42:59 +02:00
Henrik Rydgård
80c6dbfdfe Minor: bugfix in texreplacer, darker alpha chessboard in texture viewer 2023-12-28 19:46:36 +01:00
Nemoumbra
a4fe83ea20 Stop some UI elements from opening when the game's not loaded 2023-12-14 01:40:46 +03: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
19970df430 GE Debugger: Add option to track pixel in preview. 2022-09-24 12:23:02 -07:00
Unknown W. Brackets
2479d52202 Global: Reduce includes of common headers.
In many places, string, map, or Common.h were included but not needed.
2022-01-30 16:35:33 -08:00
Unknown W. Brackets
39d3b4d933 Debugger: Centralize context menu handling.
This deduplicates a bit, but more importantly keeps all the IDs together.
2021-10-07 19:48:13 -07:00
Unknown W. Brackets
7119011363 Windows: Correct some variable init warnings. 2021-02-15 11:59:45 -08:00
Kingcom
5109fd7cdc CMake: Correct build on Windows. 2021-02-15 06:09:12 -08:00
Unknown W. Brackets
da2e722794 Windows: Fix some format warnings. 2021-02-14 10:30:10 -08:00
Henrik Rydgård
0e3a84b4a8 Move most GPU things to Common.
It works after the move, on Windows and Android at least.

Deletes the D3DX9 shader compiler loader, which was not used.
2020-10-04 23:39:02 +02:00
Henrik Rydgård
9e41fafd0d Move math and some file and data conversion files out from native to Common.
Buildfixing

Move some file util files

Buildfix

Move KeyMap.cpp/h to Core where they belong better.

libretro buildfix attempt

Move ini_file

More buildfixes
2020-10-04 09:12:46 +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
Henrik Rydgård
767b1e45b2 Fix the build - there's a Vec3 name collision, fixed it using a namespace. 2019-10-22 22:58:10 +02:00
Unknown W. Brackets
03edd6129a GLES: Cut down on use of USING_GLES2. 2018-06-17 20:51:34 -07:00
Unknown W. Brackets
3c5816e2aa GE Debugger: Allow enable/disable of prim preview. 2017-12-23 02:16:43 -08:00
Unknown W. Brackets
c55db7a496 GE Debugger: Keep prim preview on pan/zoom. 2017-12-23 01:57:03 -08:00
Unknown W. Brackets
092cbc2343 GE Debugger: Allow image export from previews.
This allows exporting textures and half-drawn surfaces.
2017-12-21 15:45:52 -08:00
Henrik Rydgard
f4b1152b00 Pick some safe changes from the android gradle branch (including windows CMake fixes) 2016-12-05 16:52:03 +01:00
Unknown W. Brackets
2916298695 gedbg: Add scaled 16-bit z support. 2016-01-20 22:11:02 -08:00
Unknown W. Brackets
580a641942 gedbg: Shrink on dbl click after all.
Makes sense for this to go to the original size.
2016-01-10 10:10:43 -08:00
Unknown W. Brackets
6ebbf2cb72 gedbg: Allow grow and shrink to fit. 2016-01-10 09:25:54 -08:00
Unknown W. Brackets
39d1dd3a01 Initialize this in case it's never used. 2015-12-20 09:28:58 -08:00
Unknown W. Brackets
5fe802c4e9 Use VAOs in GE debugger drawing. 2015-12-19 09:18:29 -08: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
aaa8350591 Windows: Fix some remaining ASLR issues 2015-07-15 22:25:24 +02:00
Unknown W. Brackets
fee1ab98ba Add support for 24/8 textures in the GE debugger. 2014-09-14 11:13:03 -07:00
Unknown W. Brackets
4a615dc46c Support BGRA formats in the debugger previews. 2014-08-24 22:08:28 -07:00
Unknown W. Brackets
fcc77f525f Implement some basic vertex previews on prim.
3D doesn't work correctly (sometimes it does...)  2D should be working.
2013-11-17 13:27:50 -08:00
Unknown W. Brackets
ac8edb4282 Support reversed buffer formats in the ge debugger.
So that it doesn't show garbage under the softgpu.
2013-11-17 02:14:34 -08:00
Unknown W. Brackets
d5af703a5a Add a stub for a vertex preview. 2013-10-13 13:52:21 -07:00
Unknown W. Brackets
3af88b1e4e Show the stencil buffer properlyish in ge debugger. 2013-10-06 22:17:55 -07:00
Unknown W. Brackets
6e3c741d83 Capture the cursor while dragging, oops. 2013-10-06 22:17:52 -07:00
Unknown W. Brackets
d5513c3b58 Delete SimpleGLWindow near where it's new'd.
This makes it clearer and more foolproof.
2013-10-06 22:17:51 -07:00
Unknown W. Brackets
83548041e2 Handle WM_PAINT in ge debugger, cleanup. 2013-10-06 22:17:50 -07:00
Unknown W. Brackets
ff0ac74154 Make it possible to pan the texture while zoomed. 2013-10-05 18:30:31 -07:00
Unknown W. Brackets
f4b657d3e9 Double click in ge dbg to toggle shrink-to-fit. 2013-10-05 18:14:29 -07:00
Unknown W. Brackets
f5ee058fbc Oops, fix debug build. 2013-09-28 12:21:20 -07:00
Unknown W. Brackets
da1d700904 Attempt to support rendering depth/stencil.
But no interface yet.  I can't tell if it works, I just get black...
2013-09-28 02:38:05 -07:00
Unknown W. Brackets
2a75ad2ebf Ignore framebuffer alpha in preview, often 0. 2013-09-27 23:52:06 -07:00
Unknown W. Brackets
ba289c1e73 Show alpha in textures in the GE debugger. 2013-09-27 23:36:23 -07:00
Unknown W. Brackets
d734b59904 Add a preview for the current texture as well. 2013-09-27 22:46:09 -07:00
Kingcom
443f9bdfd5 Fix spaces 2013-09-24 20:11:42 +02:00
Kingcom
312f957963 Change how SimpleGLWindow is constructed and move it to the resource file 2013-09-24 20:06:25 +02:00
Unknown W. Brackets
6a313ac204 Support flipped and not flipped buffers. 2013-09-22 22:37:37 -07:00
Unknown W. Brackets
47b43e997f Support 16 bit buffers in the GE debugger too. 2013-09-22 22:25:55 -07:00
Unknown W. Brackets
0ad5bcf1df Center the display on top of the checkerboard. 2013-09-22 20:40:13 -07:00
Unknown W. Brackets
4021acd3f8 Draw a checkerboard pattern behind the image. 2013-09-22 20:36:58 -07:00