Commit Graph

1146 Commits

Author SHA1 Message Date
Henrik Rydgard
9dc9c89918 Possible fix to bezier texture coordinate problem reported by CPkmn 2013-09-23 22:02:58 +02:00
Henrik Rydgard
bdbf6c5237 Enable (hopefully) correct beziers. Add full spline tesselation from JPCSP, disabled
Disabled real splines as it's way too slow, needs a complete rewrite. But works, except
for normal generation.
2013-09-23 20:29:34 +02:00
Unknown W. Brackets
f89ba75c38 Flag the texture on format/swizzle change. 2013-09-23 08:08:06 -07:00
Henrik Rydgard
171fe00383 More work on spline/bezier tesselation. Disabled for now, there are still issues. 2013-09-23 15:55:53 +02:00
raven02
e1f63f2e6d Set gstate_c.textureChanged = true; and | FLAG_EXECUTE for GE_CMD_TEXWRAP 2013-09-23 20:49:24 +08:00
Unknown W. Brackets
6a313ac204 Support flipped and not flipped buffers. 2013-09-22 22:37:37 -07:00
Unknown W. Brackets
4bc912c6db Detect tricks with depthbuffers and report them.
Tons of games share framebuffers though, but data is good...
2013-09-22 21:48:03 -07:00
Unknown W. Brackets
38a4f2112d More carefully log unknown GE commands.
Need FLAG_EXECUTE or they won't log, we were only getting the
ReapplyGfxState() ones before.  Let's skip 0 to not log those as well.
2013-09-22 21:01:53 -07:00
Unknown W. Brackets
6073317591 Support render res. above 1x in ge debugger. 2013-09-22 20:14:31 -07:00
Unknown W. Brackets
6af44910c1 Add an interface to return the current framebuffer. 2013-09-22 19:03:31 -07:00
Unknown W. Brackets
eabd8b5302 Add GPU debugging hooks to Host, not yet in use. 2013-09-22 08:14:55 -07:00
raven02
4bda275acd Try another attempt for reading framebuffer to memory and code cleanup 2013-09-22 17:03:39 +08:00
Henrik Rydgard
0c873fb1c3 Spline/Bezier: Fix UV generation issue. 2013-09-22 10:51:11 +02:00
raven02
ddd5b26e61 Buildfix 2013-09-22 16:37:22 +08:00
Henrik Rydgård
f6ca0bd90c Merge pull request #3849 from raven02/patch-21
Add reporting for unsupported GE commands (BJUMP/BOUNDINGBOX)
2013-09-22 01:32:33 -07:00
Henrik Rydgard
3e96b624a2 Bezier/Spline: Don't generate UVs if UVs are already specified in the control points 2013-09-22 10:21:15 +02:00
raven02
aa38dc238d Merge remote-tracking branch 'upstream/master' into patch-21
Conflicts:
	GPU/GLES/GLES_GPU.cpp
2013-09-22 16:08:44 +08:00
Henrik Rydgard
5fcc96828a Actually generate those poor-quality normals on splines and beziers 2013-09-22 10:01:46 +02:00
raven02
67b7ed53c7 Log which GE command get called 2013-09-22 15:55:53 +08:00
Henrik Rydgard
d7ae3f88a1 Do Beziers more correctly (although still not tesselating properly).
Snow now visible in SSX.
2013-09-22 09:52:46 +02:00
Henrik Rydgard
01def3b6cc Missed these 2013-09-21 23:44:11 +02:00
Henrik Rydgard
82e5787bbe Preparation for proper spline/bez: Convert control points to a simple format.
The bezier/spline code will no longer need to handle morph and splines,
when it's finally written. This is done by pre-skinning in software and
pre-decoding to get rid of the morph.
2013-09-21 23:37:14 +02:00
Henrik Rydgard
c733f7a7ab Curious about what games use morph, so let's report. 2013-09-21 21:22:13 +02:00
Henrik Rydgard
5bdb9e976b Track copies of framebuffers in ram created through sceDmacMemcpy, so that we can display them.
Fixes MotoGP while also, in effect, committing #3859.
Removes the horrifying ramDisplayFramebufferPtr hack.
2013-09-21 18:53:55 +02:00
raven02
bdb9bcb27a Keep using the old report format 2013-09-21 10:13:30 +08:00
raven02
ed6e4b7764 Simplify the exact match return condition by inverse it . 2013-09-21 09:56:32 +08:00
raven02
83bac402c4 Replace them with GE_CMD_UNKNOWN_XX 2013-09-20 21:10:32 +08:00
raven02
c7f830f575 Simplify AA lines 2013-09-20 14:41:52 +08:00
raven02
010c2a087e Add WARN_LOG_REPORT_ONCE for unknown GE commands 2013-09-20 14:30:33 +08:00
raven02
f4b097ca49 Set GE_CMD_SCISSOR1/2 with FLAG_EXECUTE 2013-09-20 14:16:17 +08:00
raven02
ec00b335f2 Add WARN_LOG_REPORT_ONCE for unsupported BJUMP/BOUNDINGBOX 2013-09-20 14:04:45 +08:00
The Dax
66d328175c Fix stupid typo. 2013-09-19 16:10:18 -04:00
The Dax
9dbcc282ff USING_GLES2 platforms: Fix build and fix a warning on Android. 2013-09-19 16:06:39 -04:00
Henrik Rydgård
7de9da10d4 Merge pull request #3833 from raven02/patch-16
Regression fix : Revert #3754
2013-09-19 12:00:27 -07:00
Henrik Rydgård
93f73be0bd Merge pull request #3800 from raven02/patch-10
Attach CLUT framebuffer only in buffered mode while memory mode should ...
2013-09-19 11:45:21 -07:00
Henrik Rydgård
36fe1efcc6 Merge pull request #3840 from raven02/patch-19
Should be in VRAM so | 0x04000000
2013-09-19 11:41:33 -07:00
raven02
aea9ecae4b GLES : gstate_c.framebufChanged = true for sccisor as well 2013-09-20 01:48:43 +08:00
raven02
568a93d938 Should be in VRAM so | 0x04000000 2013-09-20 01:28:14 +08:00
raven02
a3120e0bbf GLES: Add memory valid check for vertex address 2013-09-19 21:09:59 +08:00
raven02
5d2efda98f Regression fix : Revert #3776 2013-09-19 12:24:07 +08:00
danyalzia
f1ca139444 Fixes Drawing size in non-buffered 2013-09-18 12:24:27 +05:00
Henrik Rydgård
2de4db3e31 Merge pull request #3818 from unknownbrackets/headless
Headless - use auto compare, just build test list in test.py
2013-09-17 09:08:20 -07:00
Unknown W. Brackets
abe805b62a Prevent a buffer overflow on bad shader. 2013-09-17 08:40:20 -07:00
The Dax
c499719967 Put the removed include back, but only for Visual Studio 2012. 2013-09-17 10:27:06 -04:00
The Dax
156bc2613a Remove unnecessary include. 2013-09-17 10:27:06 -04:00
The Dax
d102baacd0 Prep PPSSPP for Visual Studio 2013. 2013-09-17 10:27:06 -04:00
raven02
b918dfdd98 Attach CLUT in buffered mode only while memory mode should be more accurate itself 2013-09-17 09:55:52 +08:00
Ced2911
b7aa10efc7 [gpu] move GetIndexBounds to common 2013-09-16 17:04:06 +02:00
raven02
8c3a89019b GE_BLENDMODE_ABSDIFF : Replace it using GL_MAX 2013-09-16 20:48:33 +08:00
Henrik Rydgard
83f39fdaa6 Report the combination of bezier/spline + morph/skinning to see if it happens 2013-09-16 09:01:20 +02:00