Henrik Rydgård
7e27bd9dc9
Framebuffer draws: Get rid of the u_viewproj uniform matrix.
2013-10-30 22:47:36 +01:00
danyalzia
950c961dbc
Shader Improvements and cleanup
...
Added sharpen shader
Added support for bloom and sharpen shader
cleanup
cleanup
2013-10-30 00:33:21 +05:00
Henrik Rydgård
5408a06e6c
Merge pull request #4274 from unknownbrackets/fb-minor
...
Detach framebuffers when texcache match fails, properly
2013-10-27 00:53:44 -07:00
Unknown W. Brackets
8b64a2c70c
Fix unlikely case in DrawPixels().
...
If linesize doesn't match, also use convBuf.
2013-10-26 08:35:52 -07:00
Unknown W. Brackets
f9352ad0b8
Update fbos even if they're not the display.
...
But only when coming from a video or other safe source, to ensure we don't
hurt speed. Although, might be interesting to do it always?
With the previous commit, fixes #4273 .
2013-10-26 00:36:37 -07:00
Unknown W. Brackets
7aa70b473b
Set the viewport properly on video frame draw.
...
Fixes #3771 , video frames being drawn at the wrong size at non-1x.
2013-10-26 00:32:03 -07:00
Henrik Rydgård
5705acba04
Cleanup
2013-10-23 16:10:58 +02:00
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