Commit graph

47 commits

Author SHA1 Message Date
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
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
ddd5b26e61 Buildfix 2013-09-22 16:37:22 +08: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
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
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
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
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
raven02
aea9ecae4b GLES : gstate_c.framebufChanged = true for sccisor as well 2013-09-20 01:48:43 +08:00
raven02
a3120e0bbf GLES: Add memory valid check for vertex address 2013-09-19 21:09:59 +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
Henrik Rydgård
8c9b593824 Merge pull request #3770 from unknownbrackets/softgpu
Crashes/cleanup in softgpu, fix a couple warnings, remove some unused gstate_c
2013-09-15 00:25:13 -07:00
Unknown W. Brackets
16fc684578 Don't clear the shader cache on savestate.
Well, it's small, but there should be no point.
2013-09-14 20:32:37 -07:00
Unknown W. Brackets
50e9e45d65 Check version in each DoState() func.
They bail on PointerWrap error or bad version.
2013-09-14 20:23:03 -07:00
Unknown W. Brackets
68f61e5071 Remove some unused gstate_c values. 2013-09-14 14:36:06 -07:00
Unknown W. Brackets
08b41df6a2 Change a few more log types. 2013-09-07 13:31:14 -07:00
Henrik Rydgard
8c88dff5a4 More log categories, use them (and existing ones). Improve log config. 2013-09-07 22:02:55 +02:00
raven02
a59c058bba Apply GL_QCOM_binning_control if available 2013-09-05 16:37:17 +08:00
raven02
4866a992ec Break if vertex count = 0 2013-09-04 17:14:49 +08:00
raven02
e0a9d8e1a6 Add BlockTransfer: to ERROR_LOG_REPORT 2013-09-04 16:58:52 +08:00
raven02
06feb621df Add memory check for srcBasePtr & dstBasePtr 2013-09-04 16:38:39 +08:00
raven02
a8a0afc2e1 Apply gstate.isAntiAliasEnabled() 2013-08-30 20:47:38 +08:00
Henrik Rydgard
a418dd0566 Spline: Don't create twice the number of triangles we need. 2013-08-30 10:25:37 +02:00
Unknown W. Brackets
f6d8767487 Fix #3385, bad alphatest flushing. 2013-08-30 00:44:06 -07:00
raven02
f94193731d Discard AA lines 2013-08-29 22:30:47 +08:00
raven02
762beae5e5 Minor fix to bool useNonBufferedRendering 2013-08-27 22:31:50 +08:00
Florent Castelli
c6932e2675 Use GEPrimitiveType everywhere instead of stupid integer 2013-08-25 19:51:06 +02:00
Unknown W. Brackets
8dbcf6572e Add some additional reporting. 2013-08-24 11:34:38 -07:00
Unknown W. Brackets
7f6cf3ec29 Add a few gstate accessors for texture type stuff. 2013-08-24 11:34:37 -07:00
Unknown W. Brackets
0a217a1254 Use accessors better for block transfers. 2013-08-24 11:34:36 -07:00
Unknown W. Brackets
6227fe0754 Add some reporting of spline issues. 2013-08-24 11:34:36 -07:00
Unknown W. Brackets
c141e94fe9 Use gstate.* accessors in a few more places. 2013-08-24 11:34:35 -07:00
Henrik Rydgard
955ad2a6e4 swap_control_tear doesn't seem to work out for our timing or something. Let's do regular vsync. 2013-08-24 11:56:41 +02:00
Henrik Rydgard
edb6e5a54c Fix fallthough bugs in isAlphaTestTriviallyTrue 2013-08-24 11:56:39 +02:00
Henrik Rydgård
06a2d94fd2 Need to flush on FINISH/SIGNAL apparently.. 2013-08-23 16:31:03 +02:00
raven02
7eefbf21f2 Fix Spline drawing for Metal Gear Solid Portable Ops 2013-08-23 21:35:02 +08:00
Henrik Rydgard
fc313b1ac9 Use the EXECUTE flag to avoid calling ExecuteOp when possible. Minor speedup. 2013-08-23 14:27:48 +02:00
Henrik Rydgard
a3fa3c9c2d Combine and sort the GPU command tables by purpose, make it flags for future flexibility.
Fix a couple of bugs while at it (logic ops were not flushing, if viewport was partially changed, it might not take).
2013-08-23 13:36:55 +02:00
Henrik Rydgard
772f9cc585 Adapt the basic spline code from the softgpu to the GL code.
Fixes (but not perfectly) games that make simple use of splines like LocoRoco.
(The locos are a little jagged)
2013-08-23 00:33:18 +02:00
Henrik Rydgard
3cd80e1c51 GLES: Discard "AA" lines, we can't do anything that makes sense with them anyway.
Should fix the "wireframe look" in one game, I can't test it though.
2013-08-21 20:45:22 +02:00
Henrik Rydgard
d9cd0d1fe9 Been meaning to rename DisplayListInterpreter->GLES_GPU forever 2013-08-20 22:34:47 +02:00
Renamed from GPU/GLES/DisplayListInterpreter.cpp (Browse further)