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

2205 Commits

Author SHA1 Message Date
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
Logan McNaughton
c074a6cdec Fix a few GL errors
Check for ARB_buffer_storage instead of the function pointers

Image Textures also require ARB_compute_shader, which provides glMemoryBarrier
2017-01-31 21:06:10 -07:00
Logan McNaughton
9cf7d6e777 Rename function pointers 2017-01-31 21:05:58 -07:00
matto
2b4b82a7d2 Fixing compiling issue
cmath needs to be included explicitly, at least in gcc.
2017-01-30 22:56:34 -05:00
Sergey Lipskiy
e5089bcf7d Do not include opengl_ColorBufferReaderWithEGLImage.h 2017-01-30 17:28:36 +07:00
Francisco Zurita
a480f28fc2 Don't use glBindImageTexture when glTexStorage2D is not supported
glBindImageTexture requires an immutable texture object
2017-01-30 11:00:57 +07:00
Sergey Lipskiy
3b1dd92118 Correct TexrectCopyShader for GL versions that are not GLES 2.0 2017-01-30 11:00:42 +07:00
Sergey Lipskiy
4756b1eb74 Correct FrameBufferList::renderBuffer 2017-01-29 22:16:01 +07:00
Francisco Zurita
2c2d2e2d12 Get Android building again only for EGL so far. 2017-01-29 22:10:08 +07:00
Francisco Zurita
9b9910dfc1 Fix return value in ColorBufferReaderWithBufferStorage::readPixels
and ColorBufferReaderWithPixelBuffer::readPixels
2017-01-29 22:10:06 +07:00
Francisco Zurita
b5466c109d Correct issues in ColorBufferReaderWithEGLImage.
Disable its use for now.
2017-01-29 22:10:04 +07:00
Francisco Zurita
38bba9f804 Add missing include. 2017-01-29 22:10:01 +07:00
Francisco Zurita
71358f0edf Refactor gSPNeon.cpp 2017-01-29 22:09:59 +07:00
Francisco Zurita
669e925029 Fix typo in ImageFormat() ctor in Textures.cpp 2017-01-29 22:09:56 +07:00
Francisco Zurita
48cd94ec46 Add special version of to_string for Android. 2017-01-29 22:09:49 +07:00
Francisco Zurita
85fc5ec31f Fix GLFunctions for EGL. 2017-01-29 21:48:49 +07:00
Sergey Lipskiy
184ff8f017 Correct ColorBufferToRDRAM::_prepareCopy
Code cleanup.
2017-01-28 21:44:04 +07:00
Sergey Lipskiy
32ba7bd182 Fix CachedBind 2017-01-28 21:06:03 +07:00
Sergey Lipskiy
4ed95a4b18 Remove common\GLFunctions.h from MSVS project files. 2017-01-28 18:09:07 +07:00
Sergey Lipskiy
bfe3e265bb Remove defines for vertex attribute indices from gSP.h 2017-01-28 18:02:54 +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
c8bf408b57 Reset CachedBindFramebuffer when a frame buffer deleted. 2017-01-28 11:02:24 +07:00
Sergey Lipskiy
1e8ae2aab2 Correct source files list in mupen64plus-video-gliden64.mk 2017-01-28 10:12:01 +07:00
Sergey Lipskiy
ffe3dfc65e Remove fragment_shader_blender for R PI.
Content is moved to glsl_CombinerProgramBuilder.cpp
2017-01-28 10:11:59 +07:00
Sergey Lipskiy
ac2d57dad2 Remove common/GLFunctions.h 2017-01-28 10:11:56 +07:00