Commit graph

40 commits

Author SHA1 Message Date
raven02
dca1d4fb1d Bit clean up the SetRenderFrameBuffer() 2013-03-09 13:46:11 +08:00
Unknown W. Brackets
d75657e6b2 Re-enable the flicker hack for Dissidia, etc.
This is still needed for several games, including at least Dissidia,
Echochrome, and Final Fantasy Tactics.

This reverts commit 8eedc89ad7.
2013-03-08 10:37:33 -08:00
raven02
8eedc89ad7 Remove frame hack for flickering issue 2013-03-08 19:29:17 +08:00
Henrik Rydgard
bc15617392 Make un-buffered rendering much smarter, removing flicker.
This turns it into a very viable option for many games. You do lose some FX
but it can as a result even be used as a workaround for the massive glow
in Wipeout...
2013-03-03 13:00:21 +01:00
Henrik Rydgard
516ca8a0c4 Merge branch 'master' into armjit-fpu
Conflicts:
	Core/MIPS/ARM/ArmJit.h
	Core/MIPS/x86/CompVFPU.cpp
	GPU/GLES/Framebuffer.cpp
2013-02-28 23:56:28 +01:00
raven02
5105c6cd93 Add glstate.stencilTest.disable(); 2013-02-24 02:44:52 +08:00
raven02
b1db09b84f Add missing glClearColor(0,0,0,1); 2013-02-24 02:17:16 +08:00
raven02
689da2c577 Add glClearColor(0,0,0,1); 2013-02-23 18:22:55 +08:00
raven02
dd90e93403 glClearColor(0,0,0,1); 2013-02-23 16:23:24 +08:00
Henrik Rydgard
94bb98d477 Enable color and depth buffer write before clearing. 2013-02-22 22:15:42 +01:00
Henrik Rydgard
28979e9250 Some work toward better FBO handling. Fixes some things, breaks some things.. 2013-02-21 21:37:19 +01:00
Henrik Rydgård
d47c9fa999 Merge pull request #744 from raven02/truecolor
Toggle 32 bit truecolor in option , default true
2013-02-19 11:42:36 -08:00
raven02
c0dc85b99d Toggle 32 bit truecolor in option , default true
Update Core/Config.cpp
2013-02-20 02:10:35 +08:00
Henrik Rydgard
e32721c72a Merge branch 'master' into armjit-fpu
Conflicts:
	Core/MIPS/MIPSVFPUUtils.cpp
	Core/MIPS/x86/CompVFPU.cpp
	GPU/GLES/VertexDecoder.cpp
2013-02-19 00:50:33 +01:00
Sacha
7f2e13c82a Fix framebuffer init. Why was it like that? 2013-02-18 23:55:41 +10:00
Xele02
2a6af9b8a3 Add displayList debug dialog 2013-02-17 01:28:43 +01:00
Henrik Rydgard
048cf35922 More ARMJit FPU work - some instructions and optimizations. 2013-02-14 00:02:09 +01:00
Henrik Rydgard
36f49706e0 Add option to stretch to display (turns off the black bars fixing the aspect ratio). 2013-02-13 18:21:21 +01:00
Henrik Rydgard
ddfcf79fcd Correct aspect ratio, adding black borders when necessary. 2013-02-12 22:09:41 +01:00
Henrik Rydgard
87c9aa99c2 Let's specify MAX_LOD whether it works or not on gles 2... 2013-02-10 12:13:35 +01:00
Henrik Rydgard
ec7dd1f5b1 Merge branch 'master' into framebuffer-texture 2013-02-02 13:42:44 +01:00
Henrik Rydgard
78906531f9 Try the buffer clearing optimization on mobile again. Let me know if this causes black screens that weren't there before. 2013-02-02 12:38:25 +01:00
Henrik Rydgard
a0c0d6a977 Initial support for texturing from framebuffers. 2013-02-01 00:18:23 +01:00
raven02
d29245d007 Fix viewport resize 2013-01-31 19:19:45 +08:00
Henrik Rydgard
64a376516e Move all the framebuffer management out into its own file. 2013-01-30 21:09:53 +01:00
Henrik Rydgard
85afa9c036 Always specify all buffers for clearing. Missing one hurst, one extra doesn't. 2013-01-14 20:44:10 +01:00
Henrik Rydgard
7390f2b5f6 Some realtime profiling stuff. Enable FZ (flush-to-zero) mode. 2013-01-11 00:13:39 +01:00
Henrik Rydgard
9db065a979 add #version to the framebuffer drawing shader for compat 2012-12-21 11:24:38 +01:00
Henrik Rydgard
6e32b30afd DisplayDrawer->FramebufferManager 2012-12-01 10:17:34 +01:00
Sacha
3c903dda24 Improve portability to future platforms. Make use of new USING_GLES2 define throughout PPSSPP. Also use ARM definition where suitable. Remove some redundancy with includes. 2012-11-26 13:25:14 +10:00
Henrik Rydgard
4b67f22072 Fixes to usage of gl state stuff 2012-11-25 17:21:23 +01:00
Florent Castelli
56175bc505 Defer blend, cull and depth test changes to draw command
Avoid unnecessary state changes and reduces the amount of OpenGL calls.
It also puts all the interesting logic at the same place, reducing the
complexity a little.
2012-11-24 15:19:29 +01:00
Henrik Rydgard
b964516669 Fix clear mode, turn Alpha Test back on 2012-11-23 12:43:31 +01:00
Henrik Rydgard
4a49b8ee36 Workaround for motogp setting a bogus framebuffer address. 2012-11-19 23:53:38 +01:00
Henrik Rydgard
8b67975a47 GL: Framebuffer management using FBOs. Fixes flicker in Lumines and many others. 2012-11-19 23:29:14 +01:00
Henrik Rydgard
91e1cce17e Some reorg in preparation for FBO work 2012-11-19 21:23:29 +01:00
Henrik Rydgard
e37a1fb1d3 Add internal 2D drawing library that goes through the Ge emulation for portability.
To be used for things like sceUtility* and other overlays like FPS and stats.
2012-11-18 13:04:49 +01:00
Sacha
41f5abab31 PPSSPP ported to Blackberry10
Now builds on Playbook and Dev Alpha
Make emulator more compatible with other OS (case sensitivity, defines, includes)
Uses Android's code paths and backend
2012-11-05 23:09:49 +10:00
Henrik Rydgard
64cc573703 Switch to "GPL 2.0 or later" for various reasons. I wrote most of the code I imported from Dolphin (which is GPL2-but-not-later), so it should be OK. 2012-11-04 23:24:00 +01:00
Henrik Rydgard
4f7ad15758 Add snapshot of the whole source code. 2012-11-01 16:19:01 +01:00