Commit Graph
885 Commits
Author SHA1 Message Date
Henrik Rydgard 444a39f32b Need to "dirty" framebuffers when updating them from memory. Should fix #2828 . 2013-07-18 20:01:22 +02:00
Henrik Rydgård 98524f3fe2 Merge pull request #2832 from raven02/patch-9
Remove !gstate.isFogEnabled()
2013-07-18 10:42:52 -07:00
Henrik Rydgard 1abd9ff2d3 Change the alpha test rounding offset to be just under half. Fixes some disappearing things.. 2013-07-18 19:19:52 +02:00
raven02 dfb5983816 Remove !gstate.isFogEnabled() 2013-07-18 23:41:08 +08:00
Henrik Rydgard b5d5291a58 Avoid unnecessary buffer flips even when buffered rendering is on. Speeds up buffered rendering in 30fps games. 2013-07-18 10:48:07 +02:00
Henrik Rydgard d76c45411d alpha test: fix typo, add back rounding offset 2013-07-18 01:02:21 +02:00
Henrik Rydgard edf5e13673 Undo a small difference introduced in #2814, should fix #2815 2013-07-17 23:12:46 +02:00
Henrik Rydgard 3e24949f8a Try different approach to rounding the inputs to the alpha test. Appears to fix some problems on PowerVR. 2013-07-17 23:03:21 +02:00
Henrik Rydgård 2034a7cc57 Merge pull request #2814 from raven02/patch-7
Use getScissor() function for setting scissorX1/Y1/X2/Y2
2013-07-17 13:29:54 -07:00
Henrik Rydgard 28ad8dc230 Lots of NewUI stuff (still experimental), fix back bug with x360 controllers 2013-07-17 22:27:50 +02:00
raven02 2e4e00329f Use getScissor() function for setting scissorX1/Y1/X2/Y2 2013-07-18 04:04:00 +08:00
Henrik Rydgård ff5dfcec13 Merge pull request #2786 from raven02/patch-6
New attempt to generate FBO using fb_stride
2013-07-17 11:45:13 -07:00
raven02 07e118b6a1 New attempt to generate FBO using fb_stride 2013-07-18 02:17:54 +08:00
Henrik Rydgard 81411a74ed Experimental: Make orientation change possible on Android. 2013-07-16 22:51:25 +02:00
tpu c525d2fb86 bugfix: params of textureCache_.Invalidate 2013-07-15 23:54:44 +08:00
raven02 3d8474a64a Fix missing title screens in Growlanser 2013-07-15 20:11:23 +08:00
raven02 167a56642b Consolidate culling test into non-clear mode 2013-07-15 00:10:43 +08:00
Henrik Rydgård b039768b2d Merge pull request #2772 from raven02/patch-4
Fix depth issues in multiple games
2013-07-14 06:36:21 -07:00
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