Henrik Rydgård
6432451334
Merge pull request #4864 from unknownbrackets/io-minor
...
Implement some ioctl commands for disc0:/ files
2013-12-17 00:38:04 -08:00
Henrik Rydgard
3ed7c6d48f
SoftGPU: Display at correct aspect ratio independent of window size.
2013-12-17 09:02:54 +01:00
Unknown W. Brackets
183b4cb45c
Add a static method for creating PSPPointers.
...
This is still kinda ugly, but the assignment thing was just too ugly, I
couldn't do it anymore.
2013-12-16 23:50:52 -08:00
Henrik Rydgard
38f94ea0bf
Minor typo fix
2013-12-17 00:20:40 +01:00
Henrik Rydgard
f8312716f3
Only use dual source when actually needed.
...
Does generate a few more shaders but hopefully isn't a problem, should get rid of most of the slowdown in most games.
2013-12-16 23:44:28 +01:00
Henrik Rydgard
a9a15d5196
Don't use dual source when stencil disabled
2013-12-16 23:41:42 +01:00
Henrik Rydgard
068d4f0ee5
Another typo fix
2013-12-16 23:40:30 +01:00
Henrik Rydgard
0d2ec01e83
Switch CanReplaceAlphaWithStencil response to an enum
2013-12-16 23:24:32 +01:00
Henrik Rydgard
a8a48013f6
Don't use gl_FragColor when deprecated
2013-12-16 23:18:13 +01:00
Henrik Rydgard
40a0705b50
Typo fix checking the alpha func for src factors
2013-12-16 23:13:33 +01:00
Henrik Rydgård
34f2f5db98
When drawing the displayed FBO to the screen, always use bilinear.
...
Might want to make this an option in the future.
2013-12-16 16:04:08 +01:00
raven02
71d2ce3731
Replace -ve fogcoef[1] with -10000.0f
2013-12-16 22:45:21 +08:00
Henrik Rydgård
2871633e36
Merge pull request #4750 from unknownbrackets/ui-tweaks
...
Support pinning paths in the game browser
2013-12-16 06:08:05 -08:00
raven02
8306243b97
Check gstate.isSkinningEnabled() only
2013-12-16 20:44:13 +08:00
raven02
04f31c5e8e
Add gstate.isSkinningEnabled()
2013-12-16 20:42:45 +08:00
Henrik Rydgård
b6f8038a51
Fragment shader: Remove superfluous precision specifiers.
...
Also make sure to strip lowp/mediump/highp on desktop even for GL3.0-3.3.
2013-12-16 11:46:59 +01:00
Unknown W. Brackets
3f674f7ef6
Always update framebuffer tex sampling params.
...
Otherwise they are not always correct and cause glitches.
2013-12-15 18:23:47 -08:00
Unknown W. Brackets
b1d78020c4
softgpu: Keep track of frame dirty for frameskip.
...
But only when frameskip is enabled. Let's always draw in case of pixel
poking when it's off.
2013-12-15 14:32:04 -08:00
Henrik Rydgård
f8282d1dd3
Merge pull request #4847 from unknownbrackets/gpu-minor
...
Use #version 130 for OpenGL 3.0+ to support out
2013-12-15 14:17:28 -08:00
Unknown W. Brackets
9aa1b15569
softgpu: Fix black objects with bilinear filtering.
...
Dividing by 256 gives us a range of 0-253, and incorrectly gets zero for
some components (guessing alpha, primarily?) in some games.
Dividing by 255 has a speed hit, so a slight bias to the top left seems
like a decent performance compromise (and it's a very slight bias.)
2013-12-15 11:59:25 -08:00
Unknown W. Brackets
96d6f52a13
softgpu: Retain accuracy in depth for tests.
...
Fixes intro/menu issues in Phantasy Star Portable 1/2, and text in the
first, both of which now look correct.
2013-12-15 11:59:25 -08:00
Unknown W. Brackets
6ca5662b03
softgpu: Properly swizzle 16 bit textures.
...
Fixes for example the graphics in Fieldrunners.
2013-12-15 11:59:24 -08:00
Unknown W. Brackets
a2d91ee26d
softgpu: Don't mask out so much of fb stride.
...
Seems like anything from 4 is supported in 8888, most likely it just needs
to align to 16 bytes. Values above 1024 work, but e.g. 2044 seems buggy.
Fixes the map on Hexyz Force (rendered at 80 stride.)
2013-12-15 11:59:24 -08:00
Unknown W. Brackets
da1224bb57
softgpu: Use the display, not current, framebuffer.
...
Fixes blinking in save dialogs and probably other bugs.
2013-12-15 11:59:23 -08:00
Unknown W. Brackets
2f0c8c2877
softgpu: Attempt to implement GE_PROJMAP_UV.
...
Looks okay, not sure if it's fully correct.
2013-12-15 11:59:22 -08:00