Commit Graph

424 Commits

Author SHA1 Message Date
Henrik Rydgard
13c2905f05 Buildfix (typo) 2013-03-15 23:24:13 +01:00
Henrik Rydgard
c8379e3db5 Allow display addresses within RAM, draw the pixels at end of frame. 2013-03-15 22:50:35 +01:00
Henrik Rydgard
cf458dba60 gpu: Add support for scissor rectangle 2013-03-15 22:24:16 +01:00
Henrik Rydgard
bef3ef7fac Fix aspect ratio in unbuffered mode 2013-03-15 21:22:17 +01:00
Henrik Rydgard
1f5b6b7f59 Logging changes and cleanup 2013-03-15 21:01:57 +01:00
Henrik Rydgard
363522fdab gpu: unbind stuff that might get deleted 2013-03-11 22:22:22 +01:00
Henrik Rydgard
724a7c8c93 Revert latest fliptexture hack. This seems to work better. 2013-03-11 20:26:47 +01:00
Henrik Rydgard
de469e77a4 Fix silly typo breaking alpha test in many cases. Make some log VERBOSE. 2013-03-11 19:40:47 +01:00
Henrik Rydgard
14b35c8d2d Turning off alpha test on GREATER than 0 and LESS than 255 wasn't safe. Only GEQUAL and LEQUAL, duh! 2013-03-11 19:29:13 +01:00
Henrik Rydgard
1732d40da9 Make sure to zero-initialize vfb->fbo if buffered rendering off. 2013-03-11 18:51:46 +01:00
Henrik Rydgard
ac47d74d7b Remove obviously useless alpha tests. May help speed on mobile GPUs a little. 2013-03-11 18:43:36 +01:00
Henrik Rydgard
3727d1837d Safety check to prevent a crash in Wipeout on Android. However, something is broken if we get here. 2013-03-11 18:24:29 +01:00
Sacha
e916af3755 Revert pull 910, fix for numerous games, frameskip 2013-03-11 12:02:31 +10:00
Henrik Rydgard
654620cb66 Adreno doesn't like negations when using discard, apparently.. 2013-03-10 16:01:00 +01:00
raven02
9468c00f31 Add thoughmode for fliptexture 2013-03-10 21:13:23 +08:00
raven02
b18ee61676 Always clear since vbo is first created 2013-03-09 21:56:32 +08:00
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
5da0897fe3 Fix black screen in non-buffered rendering mode 2013-03-08 22:51:04 +08:00
raven02
ec6e45e3bd Use GL_TRUE for glstate.colorMask.set 2013-03-08 22:13:40 +08:00
raven02
8eedc89ad7 Remove frame hack for flickering issue 2013-03-08 19:29:17 +08:00
Henrik Rydgard
d4603136f0 Minor stuff: Fake-implement sceKernelReferThreadProfiler, make sure GPU frame dump logging gets output by not sending it to G3D. 2013-03-04 22:15:39 +01:00
Henrik Rydgard
fcfea6343a Add some lowp annotations to the vertex shader 2013-03-03 23:57:29 +01:00
Henrik Rydgard
4474adee1d Fix frameskip + unbuffered 2013-03-03 13:21:06 +01: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
raven02
b862841dd4 Put PPGeDraw into CalculateFPS() and add enableColorDoubling alias 2013-03-03 15:33:03 +08:00
Unknown W. Brackets
f2b3d6fb50 Buildfix, should be in GLES. 2013-03-02 13:17:04 -08: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
e15df27c4a New isAlphaBlendEnabled() & isDitherEnabled() 2013-02-27 22:37:17 +08:00
raven02
ecb4de09a6 Put ditherenable & alphaBlendEnable as function 2013-02-27 22:36:09 +08:00
Unknown W. Brackets
347eb253dc Oops, will crash if we remove the end? 2013-02-25 14:04:47 -08:00
raven02
b36782a064 Fix shadow abormal in FF Type-0 2013-02-26 00:41:37 +08:00
raven02
65e6b90f7c Add DirtyUniform(DIRTY_COLORMASK) 2013-02-25 05:59:53 +08:00
raven02
d99ca71a47 Add u_colormask and use it in enableColorTest 2013-02-25 05:45:35 +08:00
Unknown W. Brackets
de7ada1982 Fix some x64 type warnings. 2013-02-24 10:39:06 -08:00
Unknown W. Brackets
64c42ffaf2 Fix some warnings generated by clang. 2013-02-24 10:23:31 -08:00
Henrik Rydgård
a680bed1d2 Merge pull request #778 from raven02/patch-2
Fix characters disappearance in Saint Seiya Omega
2013-02-24 02:14:09 -08:00
raven02
24debfd259 Add !(gstate.zmsk & 1); to depthMask and remove duplicate GE_CMD_MATERIALUPDATE (exists in line69) 2013-02-24 17:50:05 +08:00
Unknown W. Brackets
65467bae1f Flush on any clutaddr change, even just upper.
Fixes ClaDun black boxes, wrong colors in game.
2013-02-23 23:25:32 -08:00
raven02
5105c6cd93 Add glstate.stencilTest.disable(); 2013-02-24 02:44:52 +08:00
raven02
6b22266a00 Add glstate.depthTest.disable(); 2013-02-24 02:18:18 +08:00
raven02
b1db09b84f Add missing glClearColor(0,0,0,1); 2013-02-24 02:17:16 +08:00
raven02
cee27a9db6 Group GE_CMD_CLUTFORMAT 2013-02-24 02:05:06 +08:00
raven02
8e550d9578 Set float for glstate.depthRange.set(0.0f, 1.0f) 2013-02-23 23:26:58 +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
44e2a69258 gpu: Clean up "Clear" mode handling. 2013-02-21 21:52:12 +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 Rydgard
7995d1418c Safer float->u16 cast. 2013-02-21 19:10:30 +01:00