Commit Graph

815 Commits

Author SHA1 Message Date
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
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
Unknown W. Brackets
cd213e655b Add some debug code for finding textures. 2013-06-22 10:35:34 -07:00
Unknown W. Brackets
390f0d79fc Add a copy path to ConvertColors RGBA8888.
It's not actually ever called this way, but I'd rather not let someone get
confused if they try to.
2013-06-22 10:16:38 -07:00
Unknown W. Brackets
88fbe6c1b5 Clear lastBoundTexture when binding a null one. 2013-06-22 10:15:30 -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
Henrik Rydgård
cc705c72eb Revert "Support tex level factor 000001 (fixed at 0, that is, mipmapping off)"
This reverts commit eaede89761.

Conflicts:
	GPU/GLES/TextureCache.cpp
2013-06-21 10:02:57 +02:00
Sacha
2570268393 Remove 'BLACKBERRY10' define as it is now the minimum OS requirement. 2013-06-21 15:40:52 +10:00
Henrik Rydgard
916184d2f4 Optimize the most common light type, directional, by doing the normalization beforehand. May shorten some shaders below Mali's limit with luck. 2013-06-20 23:30:21 +02:00
Henrik Rydgard
34e6b72599 Fix nomip check bug 2013-06-20 23:06:05 +02:00
Henrik Rydgard
2694343243 Another attempt at reusing bigger framebuffers. Doesn't solve everything but hopefully won't break much like the last attempt. 2013-06-20 22:19:20 +02:00
Henrik Rydgard
eaede89761 Support tex level factor 000001 (fixed at 0, that is, mipmapping off) 2013-06-20 21:57:09 +02:00
Henrik Rydgård
283f382aff Revert "Attempted workaround for issue #2308. Needs plenty of testing! Fixes black screens in GTA when pausing for example."
This reverts commit f2b7096bdf.
2013-06-20 01:26:18 +02:00
Henrik Rydgard
f2b7096bdf Attempted workaround for issue #2308. Needs plenty of testing! Fixes black screens in GTA when pausing for example. 2013-06-19 23:55:36 +02:00
Henrik Rydgard
8f9562cde4 Remove gl enum hacks in texturecache (doesn't seem to work, get bad log output on adreno) 2013-06-19 12:42:04 +02:00