1
0
mirror of https://github.com/blawar/GLideN64.git synced 2024-07-02 09:03:37 +00:00
Commit Graph

48 Commits

Author SHA1 Message Date
Sergey Lipskiy
5072ec8ee8 Fix anisotropic filtering.
Fixed #2527 Is anisotropic filtering always ON
2021-07-22 22:17:07 +07:00
Rosalie Wanders
ddec3866a7 Implement cross-platform max MSAA level detection 2020-12-26 10:23:54 +07:00
fzurita
895401f981 Cleanup unneeded code 2020-12-17 17:57:37 +07:00
S2S
3df3df9964 Make glBlendFuncSeparate() available 2020-06-14 11:51:33 +07:00
Sergey Lipskiy
1cfdb4787d Use hybrid filter for upscale buffer copy and plain bilinear filter for downscale one.
Related to PR #2242
2020-05-10 15:56:09 +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
86a227308e Implement copy depth to main depth buffer. It is necessary for correct work of some Reshade shaders. 2019-09-27 19:33:18 +07:00
Sergey Lipskiy
9705f5d520 Implement FXAA 2018-09-09 16:36:09 +07:00
Logan McNaughton
6ddaba8ec5 Remove FB Attachment caching 2018-05-08 16:27:37 +07:00
Logan McNaughton
c9cf91e8da Add support for ext_shader_framebuffer_fetch 2018-04-16 11:32:35 +07:00
Logan McNaughton
c01c0d5166 use gl_LastFragDepthARM and glTextureBarrier 2018-04-13 21:24:56 +07:00
Logan McNaughton
bdb0f7ca94 Emulate GL_DEPTH_CLAMP for GLES 2018-03-23 21:52:06 +07:00
Logan McNaughton
958758b37a Remove PixelWriteBuffer
And a few other small fixes
2018-03-09 20:32:56 +07:00
Logan McNaughton
91ab96d514 Fix FB attachment caching when texture is deleted 2018-03-09 20:32:34 +07:00
Sergey Lipskiy
365838eddc Fixed problem with combiners shaders generation:
Parts of shaders code created on start. Some parts depend on config options.
When config changed with GUI shaders updated but code parts not updated.
Thus new shaders do not correspond to current state of config.
2017-10-29 16:49:05 +07:00
Sergey Lipskiy
1266ced083 Code cleaup: remove unused MonochromeCombiner. 2017-09-24 18:51:02 +07:00
Sergey Lipskiy
d89e48df46 Add TextDrawer::setTextColor method. 2017-06-25 15:07:02 +07:00
Sergey Lipskiy
276018a2fc Refactor TexrectDrawer. 2017-02-12 22:21:20 +07:00
Sergey Lipskiy
2483903b74 Refactor TextDrawer: remove direct use of OpenGL
Remove DummyTextDrawer.
2017-02-12 14:27:26 +07:00
Sergey Lipskiy
e011ee56b5 Fix internal texture formats for GLES 2.0 2017-02-10 16:58:17 +07:00
Sergey Lipskiy
403c60cfea Convert texture format returned by GLideNHQ for GLES2. 2017-02-05 20:26:40 +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
5ba4588752 Rewrite ColorBufferToRDRAM 2017-01-25 20:58:05 +07:00
Sergey Lipskiy
57d600fc86 Remove OpenGL from DepthBufferToRDRAM 2017-01-23 21:20:36 +07:00
Sergey Lipskiy
80ed169e24 Remove use of OpenGL.h 2017-01-22 20:43:05 +07:00
Sergey Lipskiy
663f696d8f Remove direct calls of glBindTexture and GL_UNPACK_ALIGNMENT related functions. 2017-01-22 18:10:52 +07:00
Sergey Lipskiy
84b96aabd1 Add Context::bindImageTexture 2017-01-21 18:44:56 +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
e594808301 Implement ContextImpl::isSupported 2017-01-17 21:39:52 +07:00
Sergey Lipskiy
e83c3489a3 Replace OGLVideo by DisplayWindow
Replace OGLRender by GraphicsDrawer
2017-01-16 20:56:11 +07:00
Sergey Lipskiy
809987b515 Implement GraphicsDrawer::_initStates() 2017-01-16 20:56:04 +07:00
Sergey Lipskiy
a30c317c4b Implement FramebufferTextureFormats 2017-01-16 20:55:57 +07:00
Sergey Lipskiy
5e67d79ae7 Implement Context::blitFramebuffers 2017-01-14 17:08:02 +07:00
Sergey Lipskiy
52aa260153 Move GraphicsDrawer and TextDrawer interfaces to OpenGLContext 2017-01-12 22:22:53 +07:00
Sergey Lipskiy
fa3e7a0584 GraphicsDrawer WIP 2017-01-11 17:07:20 +07:00
Sergey Lipskiy
0d8458d6b1 Implement UnbufferedDrawer 2017-01-10 22:22:42 +07:00
Sergey Lipskiy
dd57479838 Add Drawer class to replace OGLRender WIP 2017-01-10 22:22:32 +07:00
Sergey Lipskiy
f650e5e54b Implement TexrectDrawer shaders in SpecialShadersFactory. 2017-01-08 20:23:38 +07:00
Sergey Lipskiy
7af25b2452 Rewrite shader cache 2017-01-08 17:49:53 +07:00
Sergey Lipskiy
6ef2431e19 Rewrite NoiseTexture 2017-01-08 17:49:42 +07:00
Sergey Lipskiy
60813209f7 CombinerProgram initial work 2017-01-03 21:57:46 +07:00
Sergey Lipskiy
daf6646b97 BufferManipulationObjects 2: createRenderbuffer, initRenderbuffer 2017-01-02 22:40:41 +07:00
Sergey Lipskiy
cf5e9d8ed2 BufferManipulationObjects WIP 2017-01-02 21:00:49 +07:00
Sergey Lipskiy
3eb11aac82 setTextureParameters WIP 2017-01-01 21:59:54 +07:00
Sergey Lipskiy
eb7b640aa0 Use InitTextureParams struct instead of separate parameters. 2016-12-31 19:30:22 +07:00
Sergey Lipskiy
d6a9e4cc39 Add TextureManipulationObjectFactory 2016-12-31 19:30:11 +07:00
Sergey Lipskiy
365b116c57 Start Graphics content implementation. First step: init , destroy , createTexture, deleteTexture 2016-12-31 19:30:05 +07:00