1
0
mirror of https://github.com/blawar/GLideN64.git synced 2024-07-04 10:03:36 +00:00
Commit Graph

73 Commits

Author SHA1 Message Date
Sergey Lipskiy
57ad2e96c6 Fix DepthBufferList::clearBuffer() for image textures. 2018-10-17 15:52:53 +07:00
Sergey Lipskiy
f2ba87c241 Force clear depth buffer, if there is no corresponding color buffer for it.
Fixed GoldenEye Multiplayer - 3&4 player not rendering #1173
2018-10-17 15:52:52 +07:00
Sergey Lipskiy
5538c7b4bb Add support for frame buffers, which are inside of some other frame buffer.
Fixed Superbowling: black screen in menu and game #116
2018-10-17 15:52:51 +07:00
Logan McNaughton
e80577e105 Allow non-0 default framebuffer 2018-05-22 08:25:24 -06: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
18e9a73eba Cache SpecialFeatures check 2018-04-07 11:30:33 +07:00
Logan McNaughton
9c73fb27b1 Remove Image Texture requirement for some shaders 2018-04-07 11:30:33 +07:00
Joe Mattiello
9497a9b868 Add iOS system ifdefs and gles includes 2018-03-31 10:54:20 +07:00
Logan McNaughton
cb90bb95ed Cleanup FB Texture caching code 2018-02-26 21:15:51 +07:00
Sergey Lipskiy
ee60040a78 Rewrite debug logging 2017-06-25 15:02:36 +07:00
Sergey Lipskiy
21aa51fcd5 Reduce VI.height use in DepthBuffer 2017-03-16 18:50:14 +07:00
Sergey Lipskiy
dd11326115 Rewrite buffer height calculation. 2017-03-16 18:50:14 +07:00
Sergey Lipskiy
89406ddd1c Code cleanup: remove unused move constructor for DepthBuffer 2017-02-27 21:02:57 +07:00
Sergey Lipskiy
873a830d88 Always render to FBO, even when frame buffer emulation is disabled. 2017-02-25 14:08:26 +07:00
Sergey Lipskiy
827b6bb9cd Code refactor: replace graphics::ObjectHandle() by graphics::ObjectHandle::null 2017-02-22 16:45:27 +07:00
Sergey Lipskiy
151fdf5ecc Remove code to clear depth image textures.
Depth image textures cleared by GraphicsDrawer::drawRect, as on N64.
2017-02-17 15:54:16 +07:00
Francisco Zurita
8b08bddb91 Common implementation of N64 depth compare for Full GL and GLES
Also, fix small typo.
2017-02-17 15:54:13 +07:00
Sergey Lipskiy
d7407d58f9 Minor code cleanup. 2017-02-12 16:10:58 +07:00
Sergey Lipskiy
b9453474b6 Fix initialization of multisample textures. 2017-02-12 16:05:02 +07:00
Logan McNaughton
1f74b9c821 Disable N64 Depth Compare if Image Textures are unsupported
Also disable fragment depth writing in GLES2
2017-02-09 21:54:44 +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
f64136ff3b Remove OpenGL from DepthBuffer. 2017-01-21 18:55:14 +07:00
Sergey Lipskiy
f147927af9 Remove OpenGL use from FrameBuffer 2017-01-21 16:35:00 +07:00
Sergey Lipskiy
e83c3489a3 Replace OGLVideo by DisplayWindow
Replace OGLRender by GraphicsDrawer
2017-01-16 20:56:11 +07:00
Sergey Lipskiy
09a5b414c4 Remove FBOTextureFormats usage 2017-01-16 20:56:01 +07:00
Sergey Lipskiy
43e8aef6ea Remove old-style code. 2017-01-09 11:21:06 +07:00
Sergey Lipskiy
dcf1065957 Add textureIndices parameters 2017-01-08 17:49:47 +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
84b7050339 Use gfxContext in DepthBuffer 2017-01-01 22:00:15 +07:00
Sergey Lipskiy
3eb11aac82 setTextureParameters WIP 2017-01-01 21:59:54 +07:00
Logan McNaughton
ad77e3db52 Remove some GLES3_1 ifdefs 2016-11-22 12:59:15 +07:00
Sergey Lipskiy
be6179cbcc Revert 263ddf4 because it does not work properly on old PC cards. 2016-11-14 20:45:32 +07:00
Sergey Lipskiy
263ddf4baa Use glTexStorage2DMultisample instead of glTexImage2DMultisample for OpenGL.
The same code with GLES3X.
2016-11-13 11:42:14 +07:00
Francisco Zurita
478344ab5f Fix some issues with multisampling which were causing GL errors 2016-11-04 20:05:23 +07:00
Francisco Zurita
472c31986c Fix GL Errors in Pokemon Stadium 2 minigames.
Graphics became corrupt when the GL errors happened. With this change,
graphics no longer become corrupt.
2016-11-03 18:25:18 +07:00
Francisco Zurita
df366f0f6b Fix verious GL errors in GLES 3.1 mode and Mario tennis. 2016-10-29 19:50:44 +07:00
Sergey Lipskiy
f426d61881 Correct depth buffer attachment.
Fixed Link's portrait is missing in the pause screen #1134
2016-09-26 17:15:47 +07:00
Sergey Lipskiy
8dad84cc39 Fix set current depth buffer.
Fixed depth issues in Toy Story 2.
2016-09-19 11:50:05 +07:00
Sergey Lipskiy
32172d30af Fix depth buffer clear for aux buffers. 2016-09-11 18:08:03 +07:00
Francisco Zurita
f55a4aee8f Fixes some depth issues in Android 2016-07-23 12:42:36 -04:00
Francisco Zurita
60c5756ead Fixes corrupt graphics in PowerVR 2016-07-11 10:01:52 +06:00
Logan McNaughton
1cbbea8183 Enable Framebuffer Emulation on the Raspberry Pi
renderbuffer code was written by gonetz, not me
2016-06-26 17:40:14 +06:00
Sergey Lipskiy
4c4b1bf57d Code refactor: move struct FBOTextureFormats to separate files. 2016-06-20 15:16:15 +06:00
Sergey Lipskiy
86fbea9edc Code refactor: replace NULL by nullptr. 2016-06-10 12:40:18 +06:00
Sergey Lipskiy
020144d6fd Disable scissoring when blit internal buffers. 2016-05-14 18:15:54 +06:00
Sergey Lipskiy
a08af7003f Fix DepthBuffer::copyDepthBufferTexture when AA is enabled. 2016-05-09 18:11:30 +06:00