Commit Graph

3899 Commits

Author SHA1 Message Date
Unknown W. Brackets
5b970d76e3 Use SSE2 in the texture hashing function.
Speeds it up significantly, but only when it's called a lot.
2013-05-04 21:39:12 -07:00
Unknown W. Brackets
02c88b9517 Add a secondary texture cache again.
This time, only used when invalidations happen several times, but not
too often, and still hashes the entire texture.
2013-05-04 20:33:31 -07:00
Unknown W. Brackets
608f469b54 Minor cleanup to tex hash and clut check. 2013-05-04 19:16:52 -07:00
Peter Thoman
e7b382dc57 __forceinline doesn't make a measureable difference here, so no need to make the code nonstandard 2013-05-05 01:49:16 +02:00
Peter Thoman
f49cc04c7d Merge branch 'master' of https://github.com/hrydgard/ppsspp
Conflicts:
	Windows/resource.h
2013-05-05 01:38:47 +02:00
Peter Thoman
bfe1cb9ca2 Added bicubic texture filtering and hybrid bicubic texture filtering options 2013-05-05 01:27:15 +02:00
Unknown W. Brackets
353528b63d When displaying an FBO, pick the most recent used.
Fixes flicker in Jewel Summoner, and black screen in Shadow of Destiny.
2013-05-04 15:36:24 -07: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 Rydgård
5c2b337526 Merge pull request #1652 from PeterTh/master
Add Texture Deposterization
2013-05-03 08:06:27 -07:00
Sacha
279158a010 Buildfix (Harmattan and Blackberry): stdlib is required for abs(int). 2013-05-04 00:32:25 +10:00
Peter Thoman
3ede2b69cb Drop std:: from bind in deposterize, I want to avoid breaking builds again if at all possible 2013-05-03 16:26:02 +02:00
Peter Thoman
3c2ee6bd65 Added texture deposterization option 2013-05-03 16:26:02 +02:00
Sacha
ac9f271078 Buildfix. Was meant to be from unsigned int to u8. 2013-05-04 00:08:38 +10:00
Sacha
e0ef9a9505 Buildfix (all C++0x compilers). Drop the std::, do a static_cast for narrowing conversion as required by C++0x spec. 2013-05-04 00:06:41 +10:00
Peter Thoman
f4f0a958d3 Applied loop tiling/strip mining to algorithms where it makes sense 2013-05-03 14:38:24 +02:00
Peter Thoman
fa8250ba12 Avoid scaling empty and flat textures 2013-05-03 13:35:24 +02:00
Peter Thoman
75bbe9df9f Clean up (and slightly speed up) blinear scaling 2013-05-03 13:17:36 +02:00
Henrik Rydgård
655e7dbfbb Merge pull request #1640 from PeterTh/master
Texture scaling improvements
2013-05-03 01:37:39 -07:00
Henrik Rydgård
1a6c5daf0c Merge pull request #1646 from unknownbrackets/texcache
Minor texture cache optimizations + blend fix
2013-05-03 01:35:20 -07:00
Peter Thoman
7d2fd0ea31 Removed Bilinear texture filtering option 2013-05-03 10:29:29 +02:00
Unknown W. Brackets
9537be9ebb Don't double src alpha when it's not safe to do so.
Fixes LittleBigPlanet vignette.
2013-05-03 01:10:59 -07:00
Unknown W. Brackets
df65bb40ac Avoid copying a tex if the PSP format is perfect. 2013-05-03 01:02:00 -07:00
Unknown W. Brackets
57c7b21640 Convert colors before applying clut, not after.
No reason to build it wrong and fix it afterward.
2013-05-03 00:12:42 -07:00
Sacha
8cb0423f32 Avoid name collision with ThreadPool on Windows hosts. Fixes all Linux/Unix cross-compiles from Windows, including Harmattan and Blackberry. 2013-05-03 16:31:53 +10:00
Peter Thoman
edf94091db Final Hybrid scaling adjustments & remove debug output 2013-05-03 02:51:07 +02:00