Commit graph

211 commits

Author SHA1 Message Date
Henrik Rydgard
726de7086d Fix postprocessing shaders on Tegra 2013-10-22 15:56:07 +02:00
Henrik Rydgard
cae2934c70 Buildfix 2013-10-22 13:40:51 +02:00
Henrik Rydgard
7d8aed096a Add proper support for upscaling shaders, add Spline36 upscaling
Spline36 isn't as amazing as I had hoped heh. And it will need work to
work in GLSL ES. Anyway...

This also renames u_texcoordDelta to u_texelDelta to fit in with u_pixelDelta.
2013-10-22 12:18:49 +02:00
Henrik Rydgard
492fcb261b Reset viewport in CopyDisplayToOutput. Fixes flickering video in non-1:1 resolutions in some games. 2013-10-22 11:19:06 +02:00
Henrik Rydgard
0dd0948f81 The built-in draw2d shader doesn't need a version number specified 2013-10-21 00:42:46 +02:00
Unknown W. Brackets
edb4472927 Fix some formatting warnings. 2013-10-19 14:57:45 -07:00
Henrik Rydgard
80702109f5 Move gpu vendor detection to native with the rest of the gl init.
Also disable vertical layout for mainscreen entirely.
2013-10-16 00:48:44 +02:00
Unknown W. Brackets
9cbb1cb8d3 Warning fix. 2013-10-13 09:34:54 -07:00
Henrik Rydgard
e54107033d Don't crash on post-shader compile errors. 2013-10-13 12:06:55 +02:00
Henrik Rydgard
e0b19decca Add generic "PostShader" functionality, replacing FXAA (it's one of them).
Replaces #4018, sorry DanyalZia :)
2013-10-12 02:05:55 +02:00
Henrik Rydgård
ae94e5c078 Must reset lastShader after swtiching shaders outside the "framework". 2013-10-10 20:11:57 +02:00
Henrik Rydgård
95fda8dffa Set line width in constructor too. 2013-10-09 19:01:28 +02:00
raven02
23b817f86c Use glLineWidth/glPointSize to specify the width of rasterized lines and size of points. 2013-10-09 19:01:21 +02:00
Henrik Rydgård
39d28c27e2 Update native with gl shutdown fix (helps orientation change).
This also adds some logging that helped me figure things out.
2013-10-09 16:09:16 +02:00
Henrik Rydgård
6d6ea77df2 Add comments (speedup plans for GLES) and reformat a bit (no changes) 2013-10-09 11:56:46 +02:00
Henrik Rydgård
df29da0b13 GLES3: Use glTexStorage2D for (possibly) more efficient texture uploading 2013-10-08 15:00:48 +02:00
Unknown W. Brackets
3af88b1e4e Show the stencil buffer properlyish in ge debugger. 2013-10-06 22:17:55 -07:00
Unknown W. Brackets
d49ad5f114 Use an accessor for depth/frame addresses. 2013-10-06 22:17:53 -07:00
Unknown W. Brackets
dcdf730407 Fix a possibly wrong framebuffer pointer. 2013-10-05 17:19:52 -07:00
Unknown W. Brackets
a5e9c3b10a Get stencil/depth reading for ge debugger.
Possibly works on NVIDIA only...
2013-10-05 17:19:17 -07:00
Sacha
424a24366c Buildfix for Symbian. 2013-10-05 02:51:56 +10:00
Henrik Rydgard
bfd30886b7 Save a few GL calls per frame on Tegra using NV_draw_texture 2013-10-01 16:22:55 +02:00
Henrik Rydgård
add0350b56 Merge pull request #3967 from raven02/patch-17
Quick fix FF4 CC missing title text in framebuffer-to-memory mode
2013-09-30 03:39:47 -07:00
Unknown W. Brackets
d7622869a9 Warning fix. 2013-09-29 20:28:19 -07:00
raven02
50de251aa2 Fix few crashes when vfb->fbo is null when using GE debugger 2013-09-29 13:03:36 +08:00
raven02
6c1017c45e Render-to-texture : Remove no longer valid game list comments 2013-09-29 10:52:29 +08:00
Henrik Rydgard
a5d30d2f02 Enable FXAA on mobile. Hopefully the buildbot will copy the shader, too... 2013-09-28 23:51:10 +02:00
danyalzia
1aa3c39f77 Do not read through PBOs 2013-09-29 00:17:19 +05:00
Unknown W. Brackets
da1d700904 Attempt to support rendering depth/stencil.
But no interface yet.  I can't tell if it works, I just get black...
2013-09-28 02:38:05 -07:00
Unknown W. Brackets
14efcbcc9b Add an interface to grab the depth/stencil buffers.
Not sure yet how to show in UI, not well tested...
2013-09-28 02:23:07 -07:00
Henrik Rydgard
b10e2bce3c Add FXAA antialiasing on non-mobile. Works best when render resolution = window size. 2013-09-26 12:41:59 +02:00
Unknown W. Brackets
6a313ac204 Support flipped and not flipped buffers. 2013-09-22 22:37:37 -07:00
Unknown W. Brackets
4bc912c6db Detect tricks with depthbuffers and report them.
Tons of games share framebuffers though, but data is good...
2013-09-22 21:48:03 -07:00
Unknown W. Brackets
6073317591 Support render res. above 1x in ge debugger. 2013-09-22 20:14:31 -07:00
Unknown W. Brackets
6af44910c1 Add an interface to return the current framebuffer. 2013-09-22 19:03:31 -07:00
raven02
4bda275acd Try another attempt for reading framebuffer to memory and code cleanup 2013-09-22 17:03:39 +08:00
Henrik Rydgard
5bdb9e976b Track copies of framebuffers in ram created through sceDmacMemcpy, so that we can display them.
Fixes MotoGP while also, in effect, committing #3859.
Removes the horrifying ramDisplayFramebufferPtr hack.
2013-09-21 18:53:55 +02:00
Henrik Rydgård
7de9da10d4 Merge pull request #3833 from raven02/patch-16
Regression fix : Revert #3754
2013-09-19 12:00:27 -07:00
raven02
568a93d938 Should be in VRAM so | 0x04000000 2013-09-20 01:28:14 +08:00
raven02
5d2efda98f Regression fix : Revert #3776 2013-09-19 12:24:07 +08:00
The Dax
d102baacd0 Prep PPSSPP for Visual Studio 2013. 2013-09-17 10:27:06 -04:00
Henrik Rydgård
b33f309228 Merge pull request #3767 from raven02/patch-7
Attemp to fix Kingdom Heart , Valkyrie Profile & Tales Of Phantasia
2013-09-15 16:03:15 -07:00
Henrik Rydgard
cc6681cd0b Compile Ced's DX9 GPU on Windows. Not hooked up yet.
This needs work, has several problems that must be fixed to run on Windows.

Ced, you'll have to fix up your xb project file a bit, sorry.
2013-09-15 12:52:44 +02:00
raven02
cda902f02a Attemp to fix Kingdom Heart , Valkyrie Profile & Tales Of Phantasia 2013-09-15 18:00:56 +08:00
raven02
772329a553 Place in the two frames skip logic for FB to memory 2013-09-13 22:05:00 +08:00
raven02
0046357170 Fix some missing/black screens in FBO to memory mode 2013-09-12 05:50:03 +08:00
raven02
f687d704f9 Few fbo check for fbo_bind() 2013-09-12 04:59:36 +08:00
Henrik Rydgard
91f9161d76 Fix some bugs found in reports in the Android crash reporting console 2013-09-11 22:21:32 +02:00
Henrik Rydgard
8c88dff5a4 More log categories, use them (and existing ones). Improve log config. 2013-09-07 22:02:55 +02:00
Henrik Rydgård
8db3213ca2 Merge pull request #3666 from unknownbrackets/gpu-minor2
Don't ignore the low bits of the framebuf pointer
2013-09-07 02:10:25 -07:00