Commit Graph

828 Commits

Author SHA1 Message Date
raven02
c8431493be Fix black screen in non-buffered rendering mode 2013-07-03 20:02:26 +02: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
Henrik Rydgård
405ac236e6 Merge pull request #2580 from raven02/patch-5
Partially fix depth issues in multiple games
2013-07-02 12:24:13 -07:00
Henrik Rydgård
38895e0bfb Merge pull request #2569 from unknownbrackets/fbo-scale
Copy only a screen's worth of pixels from FBO to output
2013-07-01 08:36:06 -07:00
raven02
6a1b6407fd Fix depth issues in multiple games 2013-07-01 23:03:34 +08:00
Henrik Rydgård
9b84f05d16 Merge pull request #2568 from raven02/patch-4
HW/SW T&L: remove multiple with 2.0
2013-07-01 07:33:48 -07:00
Unknown W. Brackets
5bb16e7f40 Actually, mark BGR5650 as full alpha. 2013-06-30 23:58:10 -07:00
Unknown W. Brackets
94cbb5dcd1 Never use textureFullAlpha w/ framebuffer textures. 2013-06-30 23:56:24 -07:00
Unknown W. Brackets
cc36da061b These are in gstate_c, don't need externs. 2013-06-30 23:56:23 -07:00
Unknown W. Brackets
0e5f741a48 Properly scale FBOs on copy to output.
Fixes Tales of Destiny 2 and Star Ocean when buffered rendering is on.
Should only draw the top left 480x272.
2013-06-30 23:56:22 -07:00
Unknown W. Brackets
4bc7752eb5 Flip around the texture key to invalid faster. 2013-06-30 20:52:15 -07:00
Unknown W. Brackets
79116da82d Decode 16-bit textures a bit more directly.
Improves performance in God of War.
2013-06-30 20:36:53 -07:00
Unknown W. Brackets
386d51081c Optimize linked shader lookup in ApplyShader().
We already iterate all (skipping that with an if helps, though), and the
list of shaders in most games is pretty small.  Using a map is not gaining
much, and actually makes the whole thing slower.

Cuts from 9.84% time in Tales of Phantasia X (lots of flushes) to 1.85%.
2013-06-30 20:33:50 -07:00
raven02
fb07c6482c SW T&L: remove multiple with 2.0 2013-07-01 08:16:26 +08:00
raven02
7983bdb448 HW T&L: remove multiple with 2.0 2013-07-01 08:12:43 +08:00
Henrik Rydgård
f5da5f4cf6 Merge pull request #2544 from raven02/filtering-ui
Consolildate Texture filtering option
2013-06-30 00:11:12 -07:00
Henrik Rydgård
0d32163248 Merge pull request #2542 from unknownbrackets/fps-limit
Add an optional hack to force <= 60 FPS
2013-06-30 00:07:24 -07:00
raven02
5d275d7fe9 Consolildate Texture filtering option 2013-06-30 14:58:46 +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
Juliano do Amaral Chaves
d0aeff0d4b Update DisplayListInterpreter.cpp 2013-06-29 21:07:04 -03:00
oioitff
dc04584ca1 Add a new option to enable
Linear Filtering only for CGs.
2013-06-30 03:35:28 +08:00
Unknown W. Brackets
92ae7cb8e6 Do less memcpy when copying the framebuf to mem. 2013-06-28 22:27:04 -07:00
raven02
64de3c428e Minor cleanup 2013-06-28 21:43:12 +08:00
Henrik Rydgard
a95daf4647 Reduce logspam for some GE signals. doesn't seem to be a problem (although that might change if we paralellize). 2013-06-27 17:49:29 +02:00
Henrik Rydgard
604ad0181b Merge branch 'new-ui'. Still incomplete. Enable by setting NewUI=True in ppsspp.ini
Conflicts:
	UI/MenuScreens.cpp
2013-06-27 16:28:38 +02:00
Henrik Rydgard
f93de8be51 Quick Android/GLES2 buildfix. The new read framebuffer code was not OpenGL ES friendly. 2013-06-26 23:23:16 +02:00
Henrik Rydgård
ed47eac63d Merge pull request #2381 from thedax/hdRemasterSupport
Add preliminary support for PS3 PSP HD Remasters.
2013-06-26 14:13:01 -07:00
The Dax
0d8833500f Fix incorrect comment. 2013-06-26 16:02:53 -04:00
The Dax
6b35340265 ..And another. 2013-06-26 16:02:53 -04:00
The Dax
695f7eeec5 Fix more style issues, and abstract most of the init code from MemMap.cpp. 2013-06-26 16:02:52 -04:00
The Dax
7ade9f6ceb Remove old TODOs. Re-enable FastRunLoop for HD Remasters. 2013-06-26 16:02:52 -04:00
The Dax
8ab734d516 Restructure the hack to be more correct, and add support for double texture coordinates. Fixes #2314.
Also address various coding style issues.
2013-06-26 16:02:52 -04:00
The Dax
96401eae1e Make the hack less intrusive, but there's a chicken and egg problem: Memory::Init is called before LOAD_PSP_ISO, so I'm slightly perplexed on how to proceed at the moment. 2013-06-26 16:02:52 -04:00
The Dax
f8d309ec99 Add HD Remaster support. It's a HUGE hack right now, and needs to be properly rewritten so that allocation and stuff work better. This is based off the work of BlackDaemon, and I added in the auto check to switch the code on/off depending on if the game is a remaster or not. It does not affect or break any games that I know of. 2013-06-26 16:02:52 -04:00
arnastia
98b9acf0d3 Add FramebuffersToMem option to allow disabling of reading framebuffer contents to memory (defaults to false). 2013-06-26 01:32:48 +01:00
arnastia
4fa30ce6ec Add support for reading framebuffers to memory.
Signed-off-by: arnastia <arnastia@gmail.com>
2013-06-25 13:50:35 +01:00
Henrik Rydgård
3f114f32db Merge branch 'nearest_filtering' of https://github.com/AdmiralCurtiss/ppsspp into AdmiralCurtiss-nearest_filtering
Conflicts:
	ffmpeg
	lang
2013-06-24 22:51:46 +02:00
Henrik Rydgard
8aca797f21 Fix silly light direction math bug (probably no effect mostly). 2013-06-24 20:48:31 +02:00
Henrik Rydgard
f3c227041d Only set uniform variables as dirty when there's a difference in value. 2013-06-24 19:25:22 +02:00
Henrik Rydgard
afb596f3c3 Reorder things a little in VertexShaderGenerator. Strangely solves a specular lighting issue I saw. 2013-06-24 19:11:04 +02:00
Henrik Rydgard
6a9e6ce5fe Simplify vertex shaders a little more in the common case of directional lights. 2013-06-24 00:29:30 +02:00
Admiral H. Curtiss
802fa0de4c Merge remote-tracking branch 'upstream/master' into nearest_filtering 2013-06-23 23:16:48 +02:00
Admiral H. Curtiss
fe132af9ec Renamed Nearest and Linear Filtering to Force Nearest/Linear Filtering.
Made sure that both options aren't active at the same time.
2013-06-23 22:39:32 +02:00
Admiral H. Curtiss
505f8559c1 Added a "Nearest Filtering" option for testing. 2013-06-23 21:56:07 +02:00
Unknown W. Brackets
8c7dfdb0f7 Iterate over vfbs_ using size_t not iter.
This way we know for sure that our erase()s are safe.
2013-06-23 08:51:35 -07:00
Unknown W. Brackets
03cab6edf7 Centralize destruction of FBOs, use std::vector. 2013-06-23 08:19:36 -07:00
Henrik Rydgard
fcd9168ff9 Change vfbs_ back to a list for now. 2013-06-23 17:10:55 +02:00
Henrik Rydgard
67ef7fea3e Various FBO-related fixes, hopefully reducing or removing the related crashes... 2013-06-23 17:05:59 +02:00
Henrik Rydgard
23ee9b8cd5 Add "Take Screenshot" to Windows version. Writes to "screenshots" subdirectory. No smart file naming yet. 2013-06-22 22:28:48 +02:00