Commit Graph
2056 Commits
Author SHA1 Message Date
Unknown W. Brackets 7349de55d1 Fix some initialization/sprintf warnings. 2013-09-01 01:15:07 -07:00
Unknown W. Brackets dc9b5156d9 Cleanup comment (broke savestates anyway.) 2013-09-01 00:52:25 -07:00
raven02 d86d782ecd Apply auto-gen mipmapping to WIN32 2013-09-01 08:28:09 +08:00
Henrik Rydgård 746a23fd71 Merge pull request #3419 from raven02/patch-21
Uncomment out //if (pos)
2013-08-31 08:05:21 -07:00
Henrik Rydgård 7e96e2cee3 Merge pull request #3460 from raven02/patch-27
Use glBlendFuncB for dstAlpha
2013-08-31 08:04:18 -07:00
raven02 a8a0afc2e1 Apply gstate.isAntiAliasEnabled() 2013-08-30 20:47:38 +08:00
raven02 7f080b9958 Add isAntiAliasEnabled() 2013-08-30 20:46:36 +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
Unknown W. Brackets 655a7b4973 Check for a stencil test when ignoring alphatest. 2013-08-29 22:14:51 -07:00
Henrik Rydgard 766731db8e Add back the default case to the triviallytrue functions. 2013-08-29 20:39:23 +02:00
Henrik Rydgård 9fbfcacbc6 Merge pull request #3470 from raven02/patch-28
Discard AA lines
2013-08-29 09:11:12 -07:00
Henrik Rydgård 5e3270060f Merge pull request #3471 from raven02/patch-29
Fix FF2 issue #2857
2013-08-29 08:43:07 -07:00
raven02 2737c809db Fix Bezier patch 2013-08-29 23:19:38 +08:00
raven02 65d836c5dd Fix FF2 issue #2857 2013-08-29 22:50:31 +08:00
raven02 f94193731d Discard AA lines 2013-08-29 22:30:47 +08:00
Unknown W. Brackets 15a0f39fa1 Return yet more errors while inside interrupts. 2013-08-28 23:15:13 -07:00
Unknown W. Brackets 211c2bd955 Refuse a few more waits w/ dispatch/intr disabled. 2013-08-28 22:35:05 -07:00
raven02 0de4b415f4 Use glBlendFuncB for dstAlpha 2013-08-29 01:20:23 +08:00
raven02 0b98f1f71b Should keep default case 2013-08-28 15:10:40 +08:00
raven02 0f55a6e042 Add GE_COMP_NEVER for alpha/color test to return false. 2013-08-28 14:33:15 +08:00
Henrik Rydgard dcc63fd716 PowerVR: work around what appears to be a driver bug with equality test + discard, but not completely sure that discard isn't just broken.
If this change breaks something, it was probably already broken, and it's PVR-only.
2013-08-28 00:12:49 +02:00
Henrik Rydgard dd667156f5 Oops 2013-08-27 22:14:13 +02:00
Henrik Rydgard 711d3ff52c Speedup a few 2D games on mobile by eliminating the alpha test in some conditions
That is, if there's no depth testing/writing, and the alpha equation will produce the same result as the alpha test (when the alpha test is >= 0 or != 0 and the blend func is safe), we turn off the alpha test.
2013-08-27 21:48:03 +02:00
Henrik Rydgard 6360fcb0ae Add some stats to get some idea of much alpha tested drawing we do.
Turns out it's one hell of a lot and we really should fix this by
checking both vertices and textures to deduce when we can just skip
alpha testing safely, probably quite often.

I care about this because alpha testing drawing is very expensive
on some mobile chips.
2013-08-27 21:01:17 +02:00
raven02 762beae5e5 Minor fix to bool useNonBufferedRendering 2013-08-27 22:31:50 +08:00
Henrik Rydgård bba0e290a1 Merge pull request #3441 from raven02/patch-23
softgpu : use switch case for texture format
2013-08-27 02:29:11 -07:00
raven02 d66f049d22 GLES SW: inline with HW using 0,0,1 ; 2013-08-27 16:52:17 +08:00
raven02 eca79d35a7 softgpu : use switch case for texture format 2013-08-27 16:26:01 +08:00
raven02 bfd60e95a4 softgpu: Use switch case for different texture mapping mode 2013-08-27 16:15:53 +08:00
raven02 7612335992 Minor fix 'useBufferedRendering' bool variable 2013-08-27 15:11:55 +08:00
Henrik Rydgard 55aa3d13c7 Win32: Switch to a UNICODE build. This took quite a bit of fixing. 2013-08-26 19:00:16 +02:00
raven02 b2a033b7e0 Add RROR_LOG_REPORT for vertices without position 2013-08-26 22:09:43 +08:00
raven02 c0eaa665d5 Uncomment out //if (pos) 2013-08-26 21:24:37 +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
Henrik Rydgård 21c5121129 Merge pull request #3389 from raven02/patch-20
GLES: Skip GE_LOGIC_COPY for logic ops
2013-08-26 00:50:06 -07:00
raven02 f49a2f7fa0 GLES: Skip GE_LOGIC_COPY for logic ops 2013-08-26 15:48:57 +08:00
Florent Castelli c6932e2675 Use GEPrimitiveType everywhere instead of stupid integer 2013-08-25 19:51:06 +02: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
Henrik Rydgård 2d89323fc2 Merge pull request #3357 from raven02/patch-15
Regession fix character shadow stretch in FF Crisis core
2013-08-25 03:01:58 -07:00
Henrik Rydgård 29426dc175 Merge pull request #3381 from raven02/patch-18
Mipmapping only enable when texture scaling disabled
2013-08-25 01:00:35 -07:00
Henrik Rydgård 3d0ad08dd2 Merge pull request #3375 from thedax/master
Fix hang in Project Diva 2nd in single-threaded mode.
2013-08-25 01:00:17 -07:00
raven02 0ea10d96b1 Attempt to use scissor to render correct shadowing in Mortal Kombat/FF CC 2013-08-25 14:52:18 +08:00
raven02 284a3a7b44 Mipmapping only enable when texture scaling disabled 2013-08-25 14:43:03 +08:00
The Dax 4d9eb24f29 Fix hang in Project Diva 2nd in single-threaded mode. Doesn't seem to affect other games, but I don't have every game in existence, so there could be one or two out there that might break from this. 2013-08-24 21:13:34 -04:00
Henrik Rydgård 99c1ab38d7 Merge pull request #3224 from raven02/patch-5
softgpu : Fix depth issue in FF Type-0
2013-08-24 16:10:33 -07:00
Unknown W. Brackets 6e8d318322 Bugger typo. 2013-08-24 11:36:01 -07:00
Unknown W. Brackets 8dbcf6572e Add some additional reporting. 2013-08-24 11:34:38 -07:00