Commit graph

127 commits

Author SHA1 Message Date
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
fba0110073 Properly clamp some iterative snprintf()s. 2014-11-05 08:06:15 -08:00
Unknown W. Brackets
fee1ab98ba Add support for 24/8 textures in the GE debugger. 2014-09-14 11:13:03 -07:00
Henrik Rydgard
37e3cf362f Move vertexdecoder files into GPU/Common 2014-09-12 02:00:32 +02:00
Henrik Rydgard
7cf05e44a2 Add option to vertexdecoder to expand UVs to floats 2014-09-12 02:00:31 +02:00
Unknown W. Brackets
5d313d1af4 Fix crash in GE debugger when game quit.
Fixes #6856.
2014-09-07 20:38:51 -07:00
Unknown W. Brackets
4a615dc46c Support BGRA formats in the debugger previews. 2014-08-24 22:08:28 -07:00
Henrik Rydgard
1d7642fa48 Remove most mentions of the "_XBOX" define 2014-08-24 14:21:35 +02:00
Unknown W. Brackets
55403e42c2 Introduce a memory shutdown lock.
This allows the debugger to access memory in a safe way that should never
crash.
2014-07-19 23:30:19 -07:00
Unknown W. Brackets
95e4e04f8d Fix a crash in the GE debugger on matrix tab. 2014-06-16 00:36:16 -07:00
Unknown W. Brackets
f6649794df Respect max texture level in GE debugger preview. 2014-06-15 10:31:16 -07:00
Unknown W. Brackets
913914a4c1 Fix some type conversion warnings. 2014-06-15 10:01:54 -07:00
Unknown W. Brackets
d7e5b7956e Add buttons to select texture level in ge debugger. 2014-06-15 10:01:32 -07:00
Unknown W. Brackets
eaf3288304 Add debug interface for non-L0 texture preview. 2014-06-15 09:30:37 -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
fc7b5f3141 Make sure not to break when GE debugger closed.
Also, try to fix a might-be race condition.
2014-05-15 22:45:51 -07:00
Unknown W. Brackets
7fd7337911 Update GE lists when switching.
This uses a mutex, so it should be safe to do any time.  Really helps
debugging hung lists.
2014-04-11 23:50:20 -07:00
Unknown W. Brackets
a843cbd580 Shrink the very common sceKernelThread.h include. 2014-03-15 11:44:02 -07:00
Unknown W. Brackets
8f09a341df Fix a few leaks in the Windows UI code. 2014-02-14 21:08:24 -08:00
Henrik Rydgård
c158d0ad10 Merge pull request #5427 from Kingcom/ListCheckboxes
Use checkboxes in breakpoint list
2014-02-13 11:57:04 +01:00
Kingcom
2b7a601c17 Add checkboxes to GenericListControl, use them in CtrlBreakpointList 2014-02-13 10:24:42 +01:00
Henrik Rydgard
333580e3b2 Warning fixes 2014-02-10 09:56:52 +01: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
442b3171dc Typo. 2014-02-09 00:20:09 -08:00
Unknown W. Brackets
9e8e9ec62f Add a tab to show matrices as well. 2014-02-08 23:27:05 -08:00
Unknown W. Brackets
e7eca477b0 Add a tab to show vertex values to the GE debugger.
Should be pretty useful, especially for depth issues.
2014-02-08 22:03:29 -08:00
Unknown W. Brackets
cddd537f36 Minor tweak, no need for this check anymore. 2014-01-22 01:24:41 -08:00
Unknown W. Brackets
3a186a9d7f Show CLUT shift value in GE debugger. 2014-01-22 00:32:31 -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
Henrik Rydgard
d4eee74b54 SoftGPU: Prepare for mipmapping. Getting the uv deltas seems tricky though... 2013-12-10 15:33:59 +01:00
Unknown W. Brackets
1d9e833dda Format the tex mapping mode in the GE debugger. 2013-11-29 10:20:15 -08:00
Unknown W. Brackets
aa58cdeabe Add a format for texfiltering to the GE debugger. 2013-11-28 00:06:44 -08:00
Unknown W. Brackets
32f4a7594a Add bounds checks to columns accessors.
Hit a crash in one of these on a rare case, so better to check.
2013-11-27 23:53:18 -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
95d76c6641 Detach the GE debugger on close.
And attach in a few missing places, clean up a few comments.
2013-11-17 02:14:34 -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
Kingcom
0e61913839 Remove redundant != 0 checks 2013-11-05 11:34:53 +01:00
Kingcom
a972b5d0dc Correct use of GetAsyncKeyState 2013-11-05 11:29:55 +01:00
Unknown W. Brackets
991aa03273 A few more texture related formats. 2013-10-13 13:52:23 -07:00
Unknown W. Brackets
a90af9b519 Format a few more state values. 2013-10-13 13:52:22 -07:00
Unknown W. Brackets
1a3bba5ff7 Add a format for clearmode. 2013-10-13 13:52:22 -07:00
Unknown W. Brackets
428a8181e5 Format stencil and alpha tests differently.
One is the stored value on the right, the other is the vertex value on
the left.
2013-10-13 13:52:21 -07:00