Commit Graph

51 Commits

Author SHA1 Message Date
Henrik Rydgård 5aeef924d2 Implement vertex preview in the new Ge debugger 2024-12-12 23:36:29 +01:00
Henrik Rydgård 4020fd8ec5 Move the last of the vertex preview code to State.cpp 2024-12-12 19:26:33 +01:00
Henrik Rydgård 4b36664dd6 Move more things to State.cpp/h, break out some stuff into a function 2024-12-12 19:26:33 +01:00
Henrik Rydgård 0df2a40487 Remove the "GPUInterface" base class. Not really useful, GPUCommon is pretty much the same thing. 2024-12-02 11:12:14 +01:00
Henrik Rydgård f54d701a2e Decentralize the assert for AllocateAlignedMemory failures 2024-10-22 21:49:50 +02:00
Henrik Rydgård 9699be2110 RetroAchievements: Cleanup better on login failure 2024-09-26 01:09:56 +02: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 ae99b797d7 Remove some bad float suffixes 2023-01-02 22:30:01 +01:00
Kingcom 5109fd7cdc CMake: Correct build on Windows. 2021-02-15 06:09:12 -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 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 184ae2f93c GE Debugger: Fix type conversion warning. 2018-11-17 08:57:59 -08:00
xebra 5f9022ae14 [spline/bezier]minor fix 2018-10-07 23:54:29 +09:00
xebra ef53195ae8 [spline/bezier]Surround with namespace Spline. 2018-10-07 23:54:28 +09:00
xebra 10afcf2dbb [spline/bezier]Improve basic spline/bezier structures. 2018-10-07 23:54:26 +09:00
xebra 019e276798 [spline/bezier]Modify ControlPoints and fix VertexPreview. 2018-10-07 23:54:20 +09:00
xebra 0cb63318bc [spline/bezier]Fix to build for GE debugger. 2018-10-07 23:54:00 +09:00
Unknown W. Brackets e90ffdb8e1 GE Debugger: Fix tex preview race condition.
If we redraw the tex preview first, we need this for the VAO.  Oops.
2018-09-20 20:33:20 -07:00
Unknown W. Brackets 921727f163 GE Debugger: Fix preview crash.
In some cases on first draw (e.g. from a test), this might be null and
crash.  It was supposed to be the other program.
2018-08-05 17:12:46 -07:00
xebra 55b9daa736 GE Debugger:Fix indices memory allocation of bezier. 2018-06-27 01:25:08 +09:00
Unknown W. Brackets 03edd6129a GLES: Cut down on use of USING_GLES2. 2018-06-17 20:51:34 -07:00
Unknown W. Brackets 9aad4dc848 GE Debugger: Cleaned repetition in spline preview. 2018-06-06 05:59:14 -07:00
Unknown W. Brackets 1829902171 GE Debugger: Show bezier/spline in preview.
Ignoring some things about normals and colors since they don't matter.
2018-06-06 05:59:14 -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 a32ccd3eb8 GE Debugger: Fix preview when zooming.
Before, the coordinates were only right when scaled to fit.  When you
zoomed in and panned, it would show in the wrong place because it wasn't
accounting for the flipped backbuffer.
2017-12-23 01:31:04 -08:00
Henrik Rydgård 440e72d250 Clean up among the logs. Remove MASTER_LOG. 2017-03-06 13:10:23 +01:00
Unknown W. Brackets d920ffdcad Ignore upper bits of prim type.
This matches tests on what hardware does.
2016-04-10 13:11:55 -07:00
Unknown W. Brackets 23fc832813 gedbg: Add option to display CLUT preview.
This swaps the texture to the right.
2016-01-10 10:08:02 -08:00
Unknown W. Brackets 40eaa00351 Oops, left this wrong while debugging. 2015-12-20 08:59:04 -08:00
Unknown W. Brackets 49780eac24 Use VAOs in vertex preview drawing. 2015-12-19 09:18:30 -08:00
Unknown W. Brackets 1c61470d0c Blind Windows buildfix
Need to handle the vertex preview coordinates too.
2015-08-08 12:09:34 -04:00
Unknown W. Brackets a090b5853f Process UV rotation even in full transform. 2015-05-10 14:17:20 -07:00
Unknown W. Brackets 518cabd991 Correct vertex preview of throughmode rects.
The texture was not highlighted correctly, since we didn't normalize all
coords.
2015-02-25 21:25:49 -08:00
Henrik Rydgard ca512ea06a More minor cleanup. Update lang. 2015-02-03 21:59:36 +01:00
Peter Tissen 6f2962e0c3 make sure all the counters are increased by the correct value 2015-02-02 22:30:47 +01:00
Peter Tissen 4a150bead7 don't try to access past the number of vertices when drawing rectangles 2015-02-02 22:08:33 +01:00
Unknown W. Brackets 7f7bf937fc Scale UVs in through and non-through.
This also shows them scaled to the w/h in the vertex preview, which is
probably easier to read and matches positions.

Additionally, fixes textures drawn fully not being highlighted at all.
2015-01-03 17:16:16 -08:00
Unknown W. Brackets 913914a4c1 Fix some type conversion warnings. 2014-06-15 10:01:54 -07:00
Unknown W. Brackets 030b562eb9 Support render-to-offset within a framebuffer.
Fixes #6324.
2014-06-14 17:08:41 -07:00
Unknown W. Brackets a843cbd580 Shrink the very common sceKernelThread.h include. 2014-03-15 11:44:02 -07:00
Unknown W. Brackets 7380c5b664 Stop showing z = 1.0 for non through in debugger.
Oops.
2014-02-09 00:33:15 -08:00
Unknown W. Brackets db77dcd149 Fix some includes on Windows/etc. 2013-12-29 15:59:36 -08:00
Unknown W. Brackets 3f674f7ef6 Always update framebuffer tex sampling params.
Otherwise they are not always correct and cause glitches.
2013-12-15 18:23:47 -08:00
Unknown W. Brackets cdee644ddb Fix vertex preview at odd render resolutions.
Note that the Windows resolution menu no longer seems to send a resize
event?
2013-11-19 22:29:37 -08:00
Unknown W. Brackets 6d6dff6041 Fix vertex preview when framebuf is an odd size.
The previous stuff was wrong, just happened to work.
2013-11-17 15:05:11 -08:00
Unknown W. Brackets 5c08ab6bca Clean up no-inds rectange preview. 2013-11-17 13:27:51 -08: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