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

2229 Commits

Author SHA1 Message Date
Sergey Lipskiy
66fed934c5 Fix typo in UTextureSize uniform.
Fixed work of 3 point filtering with GLES 2.0
2017-02-10 14:42:05 +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
Logan McNaughton
cebd2e92b7 Make cmake work with mingw 2017-02-09 20:49:41 +07:00
Francisco Zurita
1319687f86 Replace ANDROID macro definition with OS_ANDROID 2017-02-09 20:38:27 +07:00
Francisco Zurita
c53dc0a6c0 Remove macros checking for GL version and use runtime checks instead. 2017-02-09 20:38:26 +07:00
Logan McNaughton
9c16d1e75c Make compatible with apitrace in Debug mode 2017-02-08 12:33:38 +07:00
Logan McNaughton
acff19e66c Force disable fragment depth writing in GLES2 2017-02-08 12:33:31 +07:00
Logan McNaughton
a7ecc8534b Fix function loading on Raspberry Pi 2017-02-07 08:24:48 -07:00
Sergey Lipskiy
8004dc200d Fix errors caused by commit ca7da5418e : Disable RectBuffer optimization for bufferStorage. 2017-02-07 16:58:50 +07:00
Sergey Lipskiy
5093d6153f Add missing wglext.h 2017-02-07 16:07:12 +07:00
Sergey Lipskiy
683e22c3b3 Correct shaders generation when hw light is enabled. 2017-02-07 11:50:00 +07:00
Sergey Lipskiy
6c9211a38f Simplify passing numlights vertex attribute in UnbufferedDrawer. 2017-02-07 11:12:04 +07:00
Sergey Lipskiy
0732b207a6 Code cleanup: remove commented code in BufferedDrawer 2017-02-07 10:55:35 +07:00
Sergey Lipskiy
ca7da5418e Disable RectBuffer optimization for bufferStorage.
Remove some code duplication.
2017-02-07 10:33:12 +07:00
Sergey Lipskiy
7e360c613d Correct buffer target in BufferedDrawer::_updateBuffer 2017-02-07 10:09:35 +07:00
Sergey Lipskiy
3f855ffb63 Replace internal color format parameters on formats supported by GLES2. 2017-02-07 09:49:09 +07:00
Francisco Zurita
0c6564f3c1 Improve check for "ShaderProgramBinary" 2017-02-07 09:43:37 +07:00
Logan McNaughton
5d51242252 A few GL fixes 2017-02-06 11:29:23 +07:00
Francisco Zurita
62f1903a15 Add Android GLES 2 build 2017-02-05 20:26:53 +07:00
Sergey Lipskiy
403c60cfea Convert texture format returned by GLideNHQ for GLES2. 2017-02-05 20:26:40 +07:00
Francisco Zurita
bca968fdd3 Fix noise texture in GLES 2.0 2017-02-05 20:07:46 +07:00
Francisco Zurita
341f9848bb Fix monochrome shaders for GLES2 2017-02-05 20:07:17 +07:00
Sergey Lipskiy
15f90a0699 Use GL_RGBA instead of GL_RGBA8 for GLES2. 2017-02-05 20:07:15 +07:00
Sergey Lipskiy
e232ae9e09 Rename InternalColorFormatParam RGBA to InternalColorFormatParam RGBA8. 2017-02-05 20:07:13 +07:00
Francisco Zurita
874b410ee1 Don't use macro to determine if GL_NUM_EXTENSIONS exists 2017-02-05 20:07:02 +07:00
Francisco Zurita
3d95dbdb03 Fix shader compilation error in GLES 2 2017-02-05 19:29:24 +07:00
Francisco Zurita
0898d8d0c4 Check for pixel read buffer implementation before trying to make one 2017-02-05 19:29:01 +07:00
Francisco Zurita
4a330b98a8 Fix linker error when compiling GLES 2 2017-02-05 19:17:11 +07:00
Sergey Lipskiy
c1bba2afe6 Request core GL profile. 2017-02-05 18:41:49 +07:00
Sergey Lipskiy
a625225323 VBO implementation.
Thanks to Logan McNaughton for help.
2017-02-05 18:41:06 +07:00
Logan McNaughton
dddb3ae1f7 Fix error PBO code 2017-02-04 21:24:03 -07:00
Logan McNaughton
d5052c0c70 Improve PBO writer performance 2017-02-05 10:19:01 +07:00
Sergey Lipskiy
7fe2b40cad Remove rudiments of old code for RPI. 2017-02-04 22:51:54 +07:00
Sergey Lipskiy
f832894965 Change format for zLUT and palette image textures.
It is now the same as for GLES 3.
2017-02-04 22:44:41 +07:00
Sergey Lipskiy
dc35b3a0fe ZlutTexture and PaletteTexture do nothing if image textures not supported. 2017-02-04 22:44:31 +07:00
Sergey Lipskiy
210c9ea64a Do not attach depth buffer to frame buffer if same depth buffer already attached. 2017-02-03 21:28:06 +07:00
Sergey Lipskiy
9edd5a5f18 Fix compilation on Windows. 2017-02-03 21:10:08 +07:00
Sergey Lipskiy
355c261dc7 Correct buffer target parameters for GLES2 2017-02-03 17:37:54 +07:00
Sergey Lipskiy
c07231a825 Correct check for image textures support in TextureManipulationObjectFactory classes. 2017-02-03 17:29:12 +07:00
Logan McNaughton
4456d43daf Remove need for USE_DEPTH_RENDERBUFFER 2017-02-03 10:27:37 +07:00
Logan McNaughton
cd17543447 Faster noise emulation 2017-02-03 10:23:55 +07:00
Francisco Zurita
da315520a6 Re-add GLES 3.x to Android makefile.
Eventually we need to merge this with the EGL version
2017-02-02 01:45:18 -05:00
Francisco Zurita
72da07ac17 Fix check for support of fragment depth write. 2017-02-02 01:30:59 -05:00
Logan McNaughton
2075842d31 Improve extension checks 2017-02-01 07:45:25 -08:00
Logan McNaughton
60cd646bd0 A few cleanups and support for ARB_texture_storage 2017-02-01 07:35:39 -08:00
Logan McNaughton
4a7c1ebf04 Add support for EXT_buffer_storage 2017-02-01 07:19:23 -08:00
Sergey Lipskiy
c2b3fc13eb Disagle hw lighting for Rects. 2017-02-01 14:51:22 +07:00
Sergey Lipskiy
dbb827efc1 Do not call glUseProgram(0) directly in DisplayWindowMupen64plus::_swapBuffers() 2017-02-01 14:26:46 +07:00
Logan McNaughton
302f20fa3a Fix EGL build on non-Android devices 2017-01-31 21:07:45 -07:00
Logan McNaughton
3207b91259 Fix Image Textures on devices < GL4.2 2017-01-31 21:06:10 -07:00