Commit Graph
2056 Commits
Author SHA1 Message Date
Unknown W. Brackets 8c4d99270f Report unsupported vertex formats, initialize.
Initializing mostly so warnings are happy.
2013-07-07 20:31:06 -07:00
Unknown W. Brackets 2c873ce1e8 Don't even need this var anymore. 2013-07-07 20:31:05 -07:00
Unknown W. Brackets 9608067ca2 Cleanup initialization order. 2013-07-07 20:31:04 -07:00
Unknown W. Brackets a32cf817ff Fix some minor warnings. 2013-07-07 20:31:04 -07:00
Henrik Rydgard 76c3f16b5c Merge branch 'patch-8' of https://github.com/raven02/ppsspp into raven02-patch-8 2013-07-07 14:40:24 +02:00
Henrik Rydgard 1256d5528d Use EXT_swap_control_tear when available to ensure that VSync never slows things down (tears instead if it can't keep up, better than stuttering) 2013-07-07 11:25:18 +02:00
raven02 8cf50d62fb Fix texture misalignment & distortion in multiple games 2013-07-07 12:17:52 +08:00
raven02 f79cf0afd5 Revert c8431493be 2013-07-07 06:53:33 +08:00
Henrik Rydgard 79110638c9 Unbreak things (silly mistake in last commit, remove *2.0 factor which just can't be right) 2013-07-06 22:50:06 +02:00
Henrik Rydgard 9928bd762c Specify alphacolorref as highp 2013-07-06 22:44:18 +02:00
Henrik Rydgård c71ae64454 Merge pull request #2648 from raven02/patch-4
Fall back to use region instead of viewport to estimate drawing size
2013-07-06 13:13:33 -07:00
Henrik Rydgard cc58e34cf8 Remove legacy key mapping and associate devices with keys (DInput has been left behind for now, will be fixed up soon). Saving is broken, will be fixed soon. 2013-07-06 20:45:44 +02:00
raven02 e318e49061 Apply scissor() , Last Ranker need it to render correctly 2013-07-07 00:47:25 +08:00
raven02 5ecaf4b8bc SW : revert multiple with 2.0 2013-07-06 22:48:24 +08:00
raven02 23a22a4931 HW : revert multiple with 2.0 2013-07-06 22:47:35 +08:00
raven02 e362bc8357 Fall back to use region instead of viewport to estimate framebuffer drawing size 2013-07-06 22:37:37 +08:00
Henrik Rydgard a599bf7500 Assorted warning fixes and cleanups 2013-07-06 11:09:19 +02:00
Henrik Rydgard 25392cd408 More android buildfixin' 2013-07-06 00:40:01 +02:00
Henrik Rydgård 0eadfdcf62 Merge pull request #2621 from arnastia/master
Improved PSP memory update code (ReadFramebuffersToMemory)
2013-07-05 14:00:59 -07:00
arnastia b5cc23d018 Try to guess GPU to differentiate pixel type to request in glReadPixels(); changed ConvertFromRGBA8888 to iterate linearly. 2013-07-05 02:31:31 +01:00
arnastia 7747fc9ca7 Some changes around pixel format conversion, should work on all cards and Android/OpenGL ES devices now (only fully tested on Nvidia); commenting and code cleanup. 2013-07-04 15:24:37 +01:00
raven02andHenrik Rydgård 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
arnastia 5a1071f157 Framebuffers are now read to system memory every third frame (done in Framebuffer::DecimateFBOs()). 2013-07-02 14:10:20 +01:00
arnastia 796800adfd CPUConvert is now FramebuffersCPUConvert; allocated memory addressed by fb_address is now used in packing code for both OpenGL and OpenGL ES; some code cleanup, most of it pixel format conversion code. 2013-07-02 14:08:59 +01:00
arnastia 2e5e5e7a62 Pixel format switch (should work for both ATI/AMD and Nvidia);
Code cleanup;
Update submodules.
2013-07-01 21:51:24 +01:00
arnastia 7824f3c09f Merge remote-tracking branch 'upstream/master' 2013-07-01 18:59:44 +01:00
arnastia 5099140813 Fixed rendering glitch caused by calling ReadFramebuffersToMem for unfinished framebuffers (non-displayed framebuffers are now read at the beginning of next frame);
Fix reversed pixel format for 32-bit textures on Nvidia cards.
2013-07-01 18:35:38 +01: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
arnastia 9696948a60 Pixels should now be read correctly on ATI cards (tested on ATI Mobility Radeon HD5165); Visual artifacts on blank areas after rendering second quad remain. 2013-07-01 13:22:19 +01: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