Commit Graph
9567 Commits
Author SHA1 Message Date
Henrik Rydgård c4e65870ae Merge pull request #2747 from raven02/patch-2
Tweak FBO sizing in FF crisis core/Last Ranker/Kingdom Heart
2013-07-14 06:27:19 -07:00
raven02 bee66bdb4d Fix depth issues in multiple games 2013-07-14 03:24:29 +08:00
raven02 925714ab39 Better attempt to calc FBO size using viewport , scissor & region all together 2013-07-13 20:26:04 +08:00
The Dax 93e1404056 Remove dead code. 2013-07-11 15:51:45 -04:00
Henrik Rydgard 4c913c097e new attempt at sizing the framebuffers, similar to what raven02 said 2013-07-10 21:59:43 +02:00
PGGB eaa8813d44 Remove relative gl_common.h include directives 2013-07-10 19:28:15 +02:00
Henrik Rydgard bf1e07661a Cheap HW transform solution for raven02's texture scaling fix. 2013-07-10 01:23:35 +02:00
raven02 78f85db1bb Use multiplies instead of divide 2013-07-10 02:55:08 +08:00
raven02 dca4b1eef3 Fix Render-to-texture sizing in SW T&L 2013-07-10 02:17:47 +08:00
Henrik Rydgård 6cb966a5fe Fix a warning found by the new version of xcode 2013-07-08 23:28:24 +02:00
Henrik Rydgård 605cf26621 Revert part of 76c3f16b5c, forcing all
framebuffers to 512x512 just can't be the right thing to do and breaks
Dangan Ronpa badly.
2013-07-08 10:16:36 +02:00
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