Henrik Rydgard
198e230cdc
Re-add uniform location checks even though they aren't needed
...
Spec says that setting uniform -1 does nothing.
2013-12-02 23:35:49 +01:00
Henrik Rydgård
7c7c4aaadc
Add "u_time" uniform to postprocessing shaders.
2013-12-02 17:24:55 +01:00
Sacha
c71186b35a
Partial Stretch: This setting is needed on other devices too.
2013-11-28 14:59:17 +10:00
Unknown W. Brackets
ac8edb4282
Support reversed buffer formats in the ge debugger.
...
So that it doesn't show garbage under the softgpu.
2013-11-17 02:14:34 -08:00
Henrik Rydgård
4cf2b99316
Merge pull request #4529 from raven02/patch-19
...
Fix Summon Night 5 shadow breaking
2013-11-17 02:09:22 -08:00
raven02
312f290bde
Fix typo
2013-11-15 10:24:32 +08:00
raven02
8af2e66bd5
This seems to be better
2013-11-14 19:33:20 +08:00
Aapo Rantalainen
c2586523fe
Maemo5: added !defined(MAEMO) as !defined(MEEGO_EDITION_HARMATTAN)
2013-11-13 18:23:18 +02:00
raven02
fe15d88cd8
Fix Summon Night 5 shadow breaking
2013-11-13 22:42:16 +08:00
raven02
7c6a4cf87e
Attempt for another matching framebuffer logic
2013-11-10 10:38:33 +08:00
Henrik Rydgard
502cbc170a
Revert "Another attempt to sizing framebuffer based on fmt"
...
This reverts commit c0e8893560
.
2013-11-07 15:29:11 +01:00
raven02
c0e8893560
Another attempt to sizing framebuffer based on fmt
2013-11-07 10:56:41 +08:00
raven02
5b228d5fe4
Attempt to go back to thevery original finding a matching framebuffer logic
2013-11-01 22:00:34 +08:00
Henrik Rydgard
b9c908ba3f
Update post-processing shaders to work again after removing u_viewproj.
...
Initialize some uninitialized variables.
2013-10-31 00:07:55 +01:00
Henrik Rydgård
07a868910e
Add a temporary hack option that may help debugging the wipeout glow.
...
It reduces the glow problem by a lot but is obviously incorrect.
2013-10-30 22:47:36 +01:00
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
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