Henrik Rydgard
a599bf7500
Assorted warning fixes and cleanups
2013-07-06 11:09:19 +02:00
raven02
fb07c6482c
SW T&L: remove multiple with 2.0
2013-07-01 08:16:26 +08:00
Unknown W. Brackets
bf16c79b66
Cut down on estimated GPU cycle counts.
...
They are too high and cause problems for games.
2013-06-29 20:53:03 -07:00
oioitff
2fa9637818
Use a larger index buffer.
...
Fix crash for 7th Dragon 2020 at some certain places.
2013-06-21 23:42:09 +08:00
HuangKangJing
9e0fe6f1e6
Fixed a build error on 64-bit linux.
2013-06-14 14:24:04 +08:00
Henrik Rydgard
e809e39681
Mips interpreter: Use unions instead of ugly casts. Strict-aliasing builds now work, but needs more testing so I don't enable it yet. Also some aliasing fixes for TransformPipeline.
2013-06-11 21:44:37 +02:00
Henrik Rydgard
e7097ca95a
Fall back to software transform when hardware transform fails. Should help Mali devices.
...
This is done per shader so the speed hit should not be as bad as turning hw transform off entirely.
Displays a red error at the top of the screen so that we don't trigger this accidentally.
2013-06-06 10:09:37 +02:00
Henrik Rydgard
2221f221e3
Only create backing texture for DrawPixels when needed.
2013-06-05 23:03:23 +02:00
Unknown W. Brackets
d3e488400c
Multiply by the base color in ambient lighting.
...
JPCSP seems to do it this way. Fixes #1692 , and makes it consistent with
specular and diffuse, which seems right.
2013-06-04 22:54:19 -07:00
Henrik Rydgard
2d8632cd7a
Remove texture coordinate difference between HW and SW transform. Partly fixes #1963
2013-05-30 13:37:18 +02:00
Henrik Rydgard
5c1425f900
Detect clears, replace with glClear(). Needs more testing, disabled for now.
2013-05-09 09:47:39 +02:00
Unknown W. Brackets
a0e6917ee8
If unspecified, default normal to 0, 0, 1.
...
Fixes Trails in the Sky buttons and improves Kingdom Hearts lighting.
2013-05-04 13:23:50 -07:00
Henrik Rydgard
6d66577f17
Don't write to transformedvertex.color1[4], it doesn't exist.
2013-05-02 20:18:46 +02:00
Henrik Rydgard
5f1ed03165
Revert "Merge pull request #1324 from cinaera/pullreq" as it seems to break stuff, needs more testing.
...
This reverts commit a265569928
, reversing
changes made to 06999ae649
.
2013-04-21 21:09:02 +02:00
Henrik Rydgard
e877821cca
Turn off the single-strip optimization for software transform as it doesn't work yet.
2013-04-21 19:32:57 +02:00
Henrik Rydgard
b52d21bd4a
Don't use an index buffer for single triangle strips. Improve dirtying of proj matrices.
2013-04-20 23:37:07 +02:00
Henrik Rydgard
70bb4e1c85
Fudge GPU cycle estimates to let GoW runs fast and GTA smooth. See comments for the horrible details.
...
I hope this doesn't affect other games adversely.
2013-04-20 20:21:12 +02:00
BeaR
de7c1ef327
Correct ambient light
2013-04-18 17:36:20 +02:00
Henrik Rydgard
c04ce5a64e
Implement projective texture mapping. It's not used a great deal but good to have.
2013-04-17 21:41:47 +02:00
BeaR
8cc3f01b7b
Use correct state for lmode
2013-04-16 19:22:18 +02:00
BeaR
c9daf8df7b
Cleanup and fix vertex shader
2013-04-16 19:01:18 +02:00
BeaR
f7739ccdc2
Apply attenuation to ambient light
2013-04-15 19:11:26 +02:00
Henrik Rydgard
af06611691
Fix bug in ServerHostname found by MSVC's debug allocator. Sneak in a comment.
2013-04-14 10:04:07 +02:00
BeaR
38231ca60a
Fix SW spotlight
2013-04-13 17:52:16 +02:00
raven02
7be4ce1d86
Match SW T&L with hardware
2013-04-11 21:47:34 +08:00
BeaR
fa3a1fbd52
Add support for spotlights
2013-04-09 18:26:06 +02:00
niepodam
94c2f0cd9d
Fix build with gcc 4.8.0
2013-04-04 19:16:15 +02:00
BeaR
b3aa63f64f
Modifying shade mapping in HW and SW
2013-04-02 12:24:22 +02:00
raven02
6396324f57
Add few isEnabled() in GPUState for Alpha/Color/Lighting/Texture Test
2013-03-27 18:35:54 +08:00
Unknown W. Brackets
afbde31b42
Add some OpenGL related reporting errors.
2013-03-24 09:45:43 -07:00
Henrik Rydgard
055a11cbdb
Don't forget to free the vertex decoders..
2013-03-24 12:31:00 +01:00
Henrik Rydgard
d96c588288
Cache vertex decoders. No big boost now, but opens for optimizing them more, and lets us keep stats of the most common ones.
2013-03-24 12:28:42 +01:00
Henrik Rydgard
2351efc584
Cleanup IndexGenerator
2013-03-24 11:36:56 +01:00
raven02
81fe409748
Better match SW mode with HW one
2013-03-24 17:34:30 +08:00
Henrik Rydgard
57e82619ca
Fix some glitches that were caused by the MH glitch fix (wrong prim..). Also some cleanup.
2013-03-24 01:13:02 +01:00
Henrik Rydgard
38e7a9ed42
Fix bug in SW Transform where no UV would be generated if there was none in the vertices.
2013-03-23 14:30:55 +01:00
Henrik Rydgard
b4977610cc
Smarter draw call joining, fixing MH vertex glitches. Thanks bovine for identifying the issue.
2013-03-23 13:12:52 +01:00
Henrik Rydgard
d5035e80e4
Merge branch 'patch-10' of https://github.com/raven02/ppsspp into raven02-patch-10
...
Conflicts:
GPU/GLES/TransformPipeline.cpp
2013-03-22 20:34:49 +01:00
raven02
9c79814c0a
Remove disabled_ variable entirely
2013-03-22 23:58:13 +08:00
raven02
76ecaaff5f
Put Vec3 norm and bool hasNormal in better place
2013-03-22 22:58:37 +08:00
raven02
4809be7786
Fix missing/wrong color screen in Last Ranker/Digimon.World.Re.Digitize/Saint Seiya Omega
2013-03-22 22:03:05 +08:00
raven02
153bb28f81
Add hasNormal
2013-03-22 21:45:59 +08:00
raven02
3f0d8cba83
Fix black screen issue in SW T&L
2013-03-22 20:54:46 +08:00
raven02
0b6a762c1b
Typo
2013-03-16 21:05:41 +08:00
raven02
10e8dc2693
Flip in throughmode for SW T&L
2013-03-16 20:34:49 +08:00
Henrik Rydgard
cf458dba60
gpu: Add support for scissor rectangle
2013-03-15 22:24:16 +01:00
Henrik Rydgard
724a7c8c93
Revert latest fliptexture hack. This seems to work better.
2013-03-11 20:26:47 +01:00
raven02
9468c00f31
Add thoughmode for fliptexture
2013-03-10 21:13:23 +08:00
Unknown W. Brackets
de7ada1982
Fix some x64 type warnings.
2013-02-24 10:39:06 -08:00
Unknown W. Brackets
64c42ffaf2
Fix some warnings generated by clang.
2013-02-24 10:23:31 -08:00