Commit graph

3936 commits

Author SHA1 Message Date
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
raven02
b3bac26265 Only zeroize dst alpha when both stencil and depth testing disabled. 2013-09-15 14:10:57 +08:00
raven02
ecdc82fb19 Zeroize destination alpha as well when stencil test disabled. 2013-09-15 12:49:28 +08: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
26f935bbe5 Bypass vertex decoder z scaling.
Everything is compared against the u16 value.  This should be correct for
throughmode at least.
2013-09-14 15:48:11 -07:00
Unknown W. Brackets
68f61e5071 Remove some unused gstate_c values. 2013-09-14 14:36:06 -07:00
Unknown W. Brackets
7b2dea4429 Use accessors for offsetx/y. 2013-09-14 11:06:48 -07:00
Unknown W. Brackets
40e3e8e930 Use a gstate enum, report unhandled blend mode. 2013-09-14 07:36:43 -07:00
raven02
8ccaa733b9 Use and applu new bool , doShadeMapping 2013-09-14 14:29:37 +08:00
raven02
ef2399d5b3 Use GE state accessor more often : gstate.isSkinningEnabled() 2013-09-14 14:11:25 +08:00
raven02
772329a553 Place in the two frames skip logic for FB to memory 2013-09-13 22:05:00 +08:00
raven02
0046357170 Fix some missing/black screens in FBO to memory mode 2013-09-12 05:50:03 +08:00
raven02
f687d704f9 Few fbo check for fbo_bind() 2013-09-12 04:59:36 +08:00
Henrik Rydgård
d617a1079d Merge pull request #3691 from raven02/patch-20
Add and apply gstate.getTextureDimension(level)
2013-09-11 13:23:14 -07:00
Henrik Rydgard
91f9161d76 Fix some bugs found in reports in the Android crash reporting console 2013-09-11 22:21:32 +02:00
raven02
50edfb75d0 Add reporting for color test function 2013-09-10 09:20:50 +08:00
Henrik Rydgård
74418c13bf Merge pull request #3646 from raven02/patch-17
Toggle option "Disable Stencil Test" & "Always Depth Write"
2013-09-09 00:06:00 -07:00
raven02
89b2913455 Render-to-texture : Add | 0x04000000 to address 2013-09-09 06:20:54 +08:00
raven02
65564725e8 Render-to-texture : Update game list comments 2013-09-08 19:44:36 +08:00
raven02
de1264d239 Apply gstate.getTextureDimension(level) 2013-09-08 16:08:31 +08:00
Unknown W. Brackets
c3839a53e5 Fix some minor warnings. 2013-09-07 22:40:08 -07:00
Unknown W. Brackets
ca1168df3c Enable the G3D log on Windows by default. 2013-09-07 13:43:07 -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
b932f908d3 Make it invalid for subarea texture 2013-09-07 18:48:10 +08:00
Henrik Rydgård
8db3213ca2 Merge pull request #3666 from unknownbrackets/gpu-minor2
Don't ignore the low bits of the framebuf pointer
2013-09-07 02:10:25 -07:00
Unknown W. Brackets
2e8b475789 Don't ignore the low bits of the framebuf pointer. 2013-09-07 02:01:01 -07:00
Unknown W. Brackets
37c7b1a5c1 Check texture format changes even for renders. 2013-09-06 23:40:23 -07:00
Unknown W. Brackets
f1eb152913 Revert "Delete wrong format framebuffers instead."
This reverts commit b56c9e5533.

It was slowing down Kingdom Hearts a lot in certain areas.
2013-09-06 23:35:10 -07:00
Unknown W. Brackets
b56c9e5533 Delete wrong format framebuffers instead. 2013-09-06 11:02:33 -07:00
Unknown W. Brackets
69e4b3487b Reuse framebuffers on format change. 2013-09-06 10:56:43 -07:00
raven02
a1aac79224 Toggle option "Disable Stencil Test" & "Always Depth Write" 2013-09-05 21:49:26 +08:00
raven02
a59c058bba Apply GL_QCOM_binning_control if available 2013-09-05 16:37:17 +08:00
Henrik Rydgård
20f6e4b0de Merge pull request #3640 from raven02/patch-12
Fix issue #2758 Tactics Ogre: Map flickering
2013-09-05 01:22:02 -07:00
Unknown W. Brackets
f5375b794b Fix dumb missing nullcheck. 2013-09-05 01:17:37 -07:00
raven02
7f5b87361e Fix issue #2758 Tactics Ogre: Map flickering 2013-09-05 15:07:48 +08:00
raven02
557b721a87 Change to gstate.getDepthTestFunction() 2013-09-05 13:57:12 +08:00
Henrik Rydgard
b054f1d6e0 Revert "Add depthTest along with stencilTest since depth Fail/ZPass test used ."
This reverts commit 6624bb8100.
2013-09-04 13:31:58 +02:00
raven02
4866a992ec Break if vertex count = 0 2013-09-04 17:14:49 +08:00
raven02
bf5741a1f4 Continue previous prim command when it was a STRIP or FAN 2013-09-04 17:12:53 +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
6624bb8100 Add depthTest along with stencilTest since depth Fail/ZPass test used . 2013-09-03 21:26:06 +08:00
Henrik Rydgard
9dcd67fc31 Pass the new sha1/md5 test. 2013-09-03 00:36:55 +02:00
raven02
b523c74686 Minor fix the ERROR_LOG_REPORT_ONCE in ReadColor1() 2013-09-02 19:39:26 +08:00
raven02
0bc3fd58d2 Use gstate.getNumBoneWeights() 2013-09-02 17:19:15 +08:00
raven02
ebcccdbb6f Add DEC_U8A_2 2013-09-02 14:47:15 +08:00
Henrik Rydgård
f349efbe14 Merge pull request #3549 from raven02/patch-35
Render-to-texture : Add affected game list as reference
2013-09-01 15:06:47 -07:00
Henrik Rydgård
2a04c36d03 Merge pull request #3541 from raven02/patch-34
Better Bezier Patch fix
2013-09-01 15:03:58 -07:00