Commit Graph
27588 Commits
Author SHA1 Message Date
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
sum2012 9b7e5566d1 Add more information for "Not support this patcher" 2013-12-17 05:36:55 +08:00
Unknown W. Brackets 90b649c9fc Clean up error handling for umd9660 ioctls. 2013-12-16 07:55:46 -08:00
Unknown W. Brackets 23ba2cec2f Implement ioctl command 0x01020001.
Not sure what might use this...
2013-12-16 07:55:45 -08:00
Henrik Rydgård 0cd1c3ad92 Update native 2013-12-16 16:21:10 +01:00
Henrik Rydgård 1ef531ec9c Add some infrastructure to handle screen resizes that don't lose the device 2013-12-16 16:19:40 +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
Henrik Rydgård 7de41a3527 Merge pull request #4856 from raven02/patch-17
Replace -ve fogcoef[1] with -10000.0f
2013-12-16 06:55:57 -08: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
Henrik Rydgård 9201587961 PCMain.cpp: Allow forcing pixel resolution on the command line.
Small optimization in gfx_es2
2013-12-16 14:06:24 +01:00
Henrik Rydgård 5f4f1a24b3 Merge pull request #4854 from raven02/patch-16
Ignore software skinning for anti-aliasing only
2013-12-16 04:53:25 -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
Henrik Rydgård 1325946369 Add "PPSSPP" definition so we can make PCMain.cpp usable for other things
Yeah this is ugly (see the native change)
2013-12-16 11:08:39 +01:00
Unknown W. Brackets fd734ee9e5 Update native (texture clamping fix.) 2013-12-16 01:25:37 -08:00
Henrik Rydgård 15b66eaae7 Merge pull request #4852 from unknownbrackets/gpu-minor
Always update framebuffer tex sampling params
2013-12-16 01:04:05 -08:00
Henrik Rydgård ee4ef1a218 Merge pull request #179 from unknownbrackets/aticlampbug
Fix ATIClampBug being true on NVIDIA/etc. cards
2013-12-16 01:03:52 -08:00
bollu 094bc01848 fixed Qt build 2013-12-16 08:15:18 +05:30
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 50bd9d74d1 Fix ATIClampBug being true on NVIDIA/etc. cards.
I assume the logic was inversed by accident.
2013-12-15 18:20:15 -08:00
bollu fc1da7c796 Merge branch 'master' of https://github.com/hrydgard/ppsspp into improvedTilControls 2013-12-16 07:16:05 +05:30
sum2012 34ae0e6686 Revert "Add def for Visual Studio"
This reverts commit 38fb300d25.
2013-12-16 08:39:39 +08:00
sum2012 38fb300d25 Add def for Visual Studio 2013-12-16 08:37:26 +08:00
sum2012 7e2af3e9aa Fix windows build 2013-12-16 08:28:54 +08:00
Henrik Rydgård 0116aa0293 Merge pull request #4850 from unknownbrackets/softgpu
softgpu: Keep track of frame dirty for frameskip
2013-12-15 14:37:00 -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
Henrik Rydgård bcc3c17541 Merge pull request #4849 from unknownbrackets/softgpu
Fix a bunch of things in softgpu (save dialogs, swizzle, bilinear, depth)
2013-12-15 14:13:34 -08:00
Unknown W. Brackets 9e9c6c0719 Allow auto frameskip to skip > 1 frame. 2013-12-15 13:27:16 -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 0c7e9b9849 headless: default to single core.
Was zero before, causing divide by zero issues.
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 f7bad51cc7 Clip in PPGe, fixing issues in softgpu.
We were just drawing wrong, so softgpu was correct.
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
Unknown W. Brackets 0043950770 Use #version 130 for OpenGL 3.0+ to support out.
Otherwise it just gives errors on cards that support dual source blending.
2013-12-15 08:32:22 -08:00
Henrik Rydgård 9c545eea82 Merge pull request #4842 from raven02/patch-13
Set float for gstate.getStencilTestRef() * (1.0f / 255.0f);
2013-12-15 06:16:24 -08:00
raven02 7f828a6b66 Set float for gstate.getStencilTestRef() * (1.0f / 255.0f); 2013-12-15 21:40:14 +08:00
Henrik Rydgård 1d7cffe805 Merge pull request #4840 from raven02/patch-12
Regression fix #4837
2013-12-15 03:54:55 -08:00
raven02 29f7d4cb5f Regression fix #4837 2013-12-15 19:54:06 +08:00
Henrik Rydgard 214cc01976 Fix bugs in stencil2alpha, fix bugs in glsl 3 support, enable dual source blending where available
The stencil2alpha bug fixes fix some glows in Wipeout, dual source fixes the rest.
2013-12-15 12:49:13 +01:00
Henrik Rydgard 3cde4921ae Have the shader generators generate modern GLSL if available.
This opens up to use other modern features like dual source alpha later.
2013-12-15 11:23:27 +01:00
Henrik Rydgård 24885ad28d Merge pull request #4837 from raven02/patch-11
Write 0 to outposAddr when before return ATRAC_ERROR_ALL_DATA_DECODED
2013-12-15 01:11:07 -08:00