Gillou68310
c8a25914bc
Fix wrong buffer height in PostProcessor
2021-06-05 21:06:32 +07:00
fzurita
c39df6b8c2
Fix issues with post processing and scaling changes
2020-12-20 18:38:20 +07:00
fzurita
895401f981
Cleanup unneeded code
2020-12-17 17:57:37 +07:00
gizmo98
4981503bfc
Code refactor: add vi status constants
2020-10-29 16:55:37 +07:00
Sergey Lipskiy
25b270492e
Revert "Don't use glGetTexLevelParameteriv to determine texture size"
...
This reverts commit b31e510932
.
2019-11-30 15:31:43 +07:00
fzurita
b31e510932
Don't use glGetTexLevelParameteriv to determine texture size
2019-11-29 15:56:22 +07:00
Sergey Lipskiy
2d712f2ae0
Rewrite textures loading and mapping:
...
- use RiceVideo method for texture size calculation.
RiceVideo uses the same method for texture dumping.
- rewrite texture mapping.
Texture Clamp-Wrap-Mirror implemented in shaders.
Problem explanation:
https://github.com/gonetz/GLideN64/issues/1885#issuecomment-485136358
Fixed various glitches with HD textures, #1885
2019-06-19 19:02:52 +07:00
Sergey Lipskiy
ae67c77c9d
Replace direct call of Postprocessor methods by list of available postprocessing functions.
2018-09-09 16:41:37 +07:00
Sergey Lipskiy
9705f5d520
Implement FXAA
2018-09-09 16:36:09 +07:00
Sergey Lipskiy
1e97355882
Code refactor: remove duplication of code in PostProcessor.cpp
2018-09-09 15:34:32 +07:00
Logan McNaughton
e80577e105
Allow non-0 default framebuffer
2018-05-22 08:25:24 -06:00
Logan McNaughton
cb90bb95ed
Cleanup FB Texture caching code
2018-02-26 21:15:51 +07:00
Sergey Lipskiy
26623cec1f
Code cleanup: fix issues in GLideN64 found by static code analyser.
2017-11-18 22:07:27 +07:00
Sergey Lipskiy
d035c4da56
Fix compilation on Android.
2017-10-27 13:42:02 +07:00
Sergey Lipskiy
bc1f2d37d4
Code cleanup: remove commented code for blur post filter.
...
It will not be refactored.
2017-10-24 20:36:08 +07:00
Sergey Lipskiy
9a17040010
Rewrite PostProcessor buffer initialization.
2017-03-16 18:50:15 +07:00
Sergey Lipskiy
0775d28065
Remove FrameBuffer::m_scaleY
2017-03-16 18:50:15 +07:00
Sergey Lipskiy
827b6bb9cd
Code refactor: replace graphics::ObjectHandle() by graphics::ObjectHandle::null
2017-02-22 16:45:27 +07:00
Francisco Zurita
5fd16a73b7
Fix GLES 2.0 texture initialization errors
2017-02-14 00:00:08 -05:00
Francisco Zurita
1319687f86
Replace ANDROID macro definition with OS_ANDROID
2017-02-09 20:38:27 +07:00
Sergey Lipskiy
e232ae9e09
Rename InternalColorFormatParam RGBA to InternalColorFormatParam RGBA8.
2017-02-05 20:07:13 +07:00
Sergey Lipskiy
df4a81bfea
Add special Parameter classes to make parametrs usage more safe.
2017-01-28 16:52:09 +07:00
Sergey Lipskiy
80ed169e24
Remove use of OpenGL.h
2017-01-22 20:43:05 +07:00
Sergey Lipskiy
4e459c7645
Change type of CachedTexture name to graphics::ObjectHandle
2017-01-21 19:48:02 +07:00
Sergey Lipskiy
0887dda647
Rewrite post-processor gamma correction and orientation correction.
...
TODO: Bloom.
2017-01-18 22:39:10 +07:00
Sergey Lipskiy
e83c3489a3
Replace OGLVideo by DisplayWindow
...
Replace OGLRender by GraphicsDrawer
2017-01-16 20:56:11 +07:00
Sergey Lipskiy
5e67d79ae7
Implement Context::blitFramebuffers
2017-01-14 17:08:02 +07:00
Sergey Lipskiy
efdead07e8
Rewrite post-processor to use OGLRender::copyTexturedRect
2017-01-14 14:44:53 +07:00
Sergey Lipskiy
43e8aef6ea
Remove old-style code.
2017-01-09 11:21:06 +07:00
Sergey Lipskiy
c39b639d7c
Remove unused shaders related files.
2017-01-08 20:31:38 +07:00
Sergey Lipskiy
b285ed2501
Init FrameBuffer in PostProcessor
2017-01-02 22:56:47 +07:00
Sergey Lipskiy
eff724e420
Use gfxContext in PostProcessor
2017-01-02 00:30:48 +07:00
Sergey Lipskiy
3eb11aac82
setTextureParameters WIP
2017-01-01 21:59:54 +07:00
Sergey Lipskiy
599f7b1e93
Make separate vertex shaders for triangles and rects.
2016-12-31 19:29:50 +07:00
Sergey Lipskiy
64ef19bd10
Disable cull face for post processor.
...
Fixed CBFD hangs when you step on this part with Post filters enabled #1292
2016-12-12 17:02:08 +07:00
Francisco Zurita
7ca4d0430b
Workaround for devices where glBlitFrameBuffer produces output upside
...
down.
2016-11-04 20:27:55 +07:00
Francisco Zurita
9ebbcfc4a3
Fix issue where the PostProcessor class would sometimes be reconstructed.
2016-05-28 18:27:50 -04:00
Sergey Lipskiy
70ede8237e
Fix postprocessor when native resolution factor and AA enabled.
2016-05-14 18:11:45 +06:00
Sergey Lipskiy
d571587531
Fix postprocessor when native resolution factor is used.
2016-05-13 23:29:35 +06:00
Sergey Lipskiy
de388cbc56
Remove FrameBuffer::m_postProcessed field since it became useless after PostProcessor modifications.
...
Fixed pga european tour: gauge not working properly (fb effect) #325
2016-05-13 00:06:25 +06:00
Sergey Lipskiy
0e24e6d1e8
Fix post-processing with GLES2
2016-05-05 16:40:16 +06:00
Sergey Lipskiy
fcf7c051a2
PostProcessor: do not copy original texture if AA is off.
2016-04-02 18:58:31 +06:00
Sergey Lipskiy
427806ac23
Rewrite PostProcessor: do not modify original buffer, use special frame buffer instead.
...
Fixed dual heroes: incorrect colors in menu #926
2016-04-02 18:56:07 +06:00
Sergey Lipskiy
a4e5d58459
Fix scissor for post-processor.
...
Fixed buck bumble: bars on top and bottom of the screen (regression) #919
2016-03-31 17:52:01 +06:00
Sergey Lipskiy
7549e04157
Move calculations from drawLLETriangle to vertex shader.
2016-03-19 14:02:49 +06:00
gonetz
a9d1df5694
Move gamma correction to post processor.
2016-01-16 19:48:19 +06:00
gonetz
330603e2b6
PostProcessor refactor: - rename process() to doBlur(). - move Blur() init and destroy to separate functions.
2016-01-16 19:48:18 +06:00
Sergey Lipskiy
5e5a48e1e0
Make shaders GL ES 3.1 conformant.
...
Fixed issue #573
2015-06-10 18:57:13 +06:00
Sergey Lipskiy
92450d3acf
Fix PostProcessor compatibility with Android.
2015-05-30 22:39:19 +06:00
Sergey Lipskiy
e62e81c0e2
Code refactor: move some shaders utility functions to separate files.
2015-05-20 11:32:10 +06:00