Commit Graph
91 Commits
Author SHA1 Message Date
Unknown W. Brackets 40e3e8e930 Use a gstate enum, report unhandled blend mode. 2013-09-14 07:36:43 -07: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
Henrik Rydgard 8c88dff5a4 More log categories, use them (and existing ones). Improve log config. 2013-09-07 22:02:55 +02:00
raven02 a1aac79224 Toggle option "Disable Stencil Test" & "Always Depth Write" 2013-09-05 21:49:26 +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 6624bb8100 Add depthTest along with stencilTest since depth Fail/ZPass test used . 2013-09-03 21:26:06 +08:00
raven02 0de4b415f4 Use glBlendFuncB for dstAlpha 2013-08-29 01:20:23 +08:00
Henrik Rydgård 9667b9e316 Merge pull request #3387 from raven02/patch-19
Use stenciltest for glblendFuncSeparate()
2013-08-26 05:55:01 -07:00
raven02 2442c24aee Use stenciltest for glblendFuncSeparate()
1
2013-08-26 17:49:59 +08:00
raven02 f49a2f7fa0 GLES: Skip GE_LOGIC_COPY for logic ops 2013-08-26 15:48:57 +08:00
Henrik Rydgard 554ca84556 Revert "More alpha hackery. This is starting to get embarrassing, really need to fix those tests."
This reverts commit 97a6921000.
2013-08-25 13:24:52 +02:00
Henrik Rydgard 97a6921000 More alpha hackery. This is starting to get embarrassing, really need to fix those tests. 2013-08-25 13:12:31 +02:00
Unknown W. Brackets c141e94fe9 Use gstate.* accessors in a few more places. 2013-08-24 11:34:35 -07: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 416f0c56e8 Experiment: Use glBlendFuncSeparate to not change dest alpha when blending.
Fixes Persona blending issues.
2013-08-22 19:14:04 +02:00
raven02 a3cd8743ba Scisscor small fix 2013-08-22 22:21:03 +08:00
Henrik Rydgard d9cd0d1fe9 Been meaning to rename DisplayListInterpreter->GLES_GPU forever 2013-08-20 22:34:47 +02:00
Henrik Rydgard f4c05392e2 GLES: Disable logic op while alpha blend is enabled. Having them both enabled at the same time makes no sense, and this seems like the safest possible fix for #3220 as logic op usage is rare. 2013-08-18 13:00:14 +02:00
raven02 9f0ca16df7 boolean fix 2013-08-15 03:21:42 +08:00
raven02 6465402283 Logic Ops: code cleanup 2013-08-06 22:14:30 +08:00
Henrik Rydgard 2f1e6f81bb Android buildfix 2013-08-06 11:24:48 +02:00
raven02 ecf43c7ea9 Fix lookup table 2013-08-06 16:46:35 +08:00
raven02 1fb77f5fec Use lookup table 2013-08-06 16:30:58 +08:00
raven02 6992eba90a Add remaining opcodes 2013-08-06 16:25:33 +08:00
raven02 c9c1a75869 Fix opcode/glLogicOp type 2013-08-06 16:14:36 +08:00
raven02 5c4af8908e Add context for logicOps 2013-08-06 16:03:27 +08:00
raven02 fd40bf7ada Use gstate.isClearModeDepthWriteEnabled/ColorMask/AlphaMask() 2013-08-03 14:55:45 +08:00
neobrain 6926926267 GPU/Math3D: Change Vec3 to allow for arbitrary component base types. 2013-07-29 22:26:41 +02:00
neobrain 0ed6e93b22 GPU/Math3D: Replace ambiguous Vec3 constructors with static methods returning a new Vec3 object.
Possibly fixes a bug or two because the old code was using the constructors incorrectly.
2013-07-29 22:26:41 +02:00
raven02 9cfe48dd33 Float code cleanup 2013-07-29 17:12:02 +08:00
raven02 b35e89f646 Fix rear mirror in Ridge Racer 2 2013-07-27 18:45:48 +08:00
raven02 380b51dc6d Revert clamp to zero and use another attempt fix 2013-07-27 18:20:07 +08:00
raven02 087cb8b5e0 Clamp vpX0/vpY0 to zero when negative value retured 2013-07-27 06:24:59 +08:00
raven02 cffb397fbf Fall the depth test to the simplest and correct one 2013-07-25 00:01:00 +08:00
Unknown W. Brackets b2927213c7 Use stencil GE state accessors. 2013-07-21 19:45:04 -07:00
Unknown W. Brackets abd9dc6137 Use the light computation/type GE accessors. 2013-07-21 19:44:30 -07:00
raven02 100d336fb2 Remove _ suffix and hide the GPU mode on GLES2 2013-07-22 04:17:54 +08:00
raven02 87fc81e56d Consolidate Rendering Mode 2013-07-21 23:17:42 +08:00
raven02 dfb5983816 Remove !gstate.isFogEnabled() 2013-07-18 23:41:08 +08:00
Henrik Rydgard edf5e13673 Undo a small difference introduced in #2814, should fix #2815 2013-07-17 23:12:46 +02:00
raven02 2e4e00329f Use getScissor() function for setting scissorX1/Y1/X2/Y2 2013-07-18 04:04:00 +08:00
raven02 167a56642b Consolidate culling test into non-clear mode 2013-07-15 00:10:43 +08:00
raven02 bee66bdb4d Fix depth issues in multiple games 2013-07-14 03:24:29 +08:00
Henrik Rydgård fbe8a19143 When alpha mask is off, don't write to stencil if stencil is off (as
alpha and stencil are shared on the PSP, when neither are on nothing
should be written to the stencil channel). thanks unknown.
2013-07-03 17:57:33 +02:00
raven02 d43a2f4d06 Fix stencil issue in MotoGP 2013-07-03 08:39:45 +08:00
raven02 6a1b6407fd Fix depth issues in multiple games 2013-07-01 23:03:34 +08:00
Henrik Rydgard 2694343243 Another attempt at reusing bigger framebuffers. Doesn't solve everything but hopefully won't break much like the last attempt. 2013-06-20 22:19:20 +02:00
Henrik Rydgård 17e084d77e Fix objects showing through road in Ridge Racer. Clears can set whether
to affect depth or not, need to respect that bit. Fixes #1712.
2013-05-08 11:29:24 +02:00
Unknown W. Brackets d412cf5c64 Approximate better with two fixed blend colors.
Having one be constant, or having a nearby blend, is better than fixing
both to 1.0 or 0.0.
2013-05-01 08:00:52 -07:00