Sergey Lipskiy
|
c33d8555b2
|
Make N64DepthCompare setting independent off enableFragmentDepthWrite one.
|
2017-02-17 17:14:45 +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
|
b6067bb90d
|
Call glMemoryBarrier before polygon draw when N64DepthCompare enabled.
|
2017-02-17 15:53:46 +07:00 |
|
Francisco Zurita
|
fae25a494a
|
Implemented Async buffer copies for GLES2 using EGLImage
Run time loading of the library used this implementation:
e5f5d8fa1c/imagine/src/base/android/privateApi
|
2017-02-14 00:10:49 -05:00 |
|
Francisco Zurita
|
ab0e472014
|
Add compiler macro to produce backtrace on GL Error for all GL functions
This will also log the function name and the error number when the GL
error happens.
|
2017-02-14 09:57:08 +07:00 |
|
Francisco Zurita
|
ac815ee595
|
Fix multisampling in Adreno devices
In GLES blits between multisampled and not multisampled framebuffers must
have the same source and destination coords.
|
2017-02-13 16:41:27 +07:00 |
|
Sergey Lipskiy
|
42bad7958a
|
Set texture size for TexrectDrawer shader. It is necessary for GLES2.
|
2017-02-13 16:24:28 +07:00 |
|
Sergey Lipskiy
|
276018a2fc
|
Refactor TexrectDrawer.
|
2017-02-12 22:21:20 +07:00 |
|
Francisco Zurita
|
0e8e71639b
|
Implement generic copy color to RDRAM for GLES2 devices
Async copy is not supported for GLES2 devices unless using EGL Image
extension which has platform independent implementations
|
2017-02-12 14:40:01 +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
|
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 |
|
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
|
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 |
|
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 |
|
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
|
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
|
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 |
|
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 |
|