Sergey Lipskiy
|
6b4ae04f5e
|
Rewrite polygons drawing in N64 depth compare mode.
Fixed #1418: Various regressions since PR2.0 with N64 depth compare enabled
|
2017-03-16 14:56:20 +07:00 |
|
Logan McNaughton
|
07a84a9973
|
Add missing GLSL extension
|
2017-03-14 20:25:27 -06:00 |
|
Sergey Lipskiy
|
b3906b2402
|
Revert "Rename opengl_ColorBufferReaderWithBUfferStorage.h/cpp"
This reverts commit 58ddf8822c .
|
2017-03-11 13:20:59 +07:00 |
|
Sergey Lipskiy
|
8ea0cddbec
|
Disable texcoord attribs for fillrect.
Fixed fillrects in Pokemon Stadium 2.
|
2017-03-11 12:46:40 +07:00 |
|
Sergey Lipskiy
|
9e7826bd1a
|
Fix viewport set in DisplayWindowMupen64plus::_swapBuffers()
Fixed Native resolution factor seems broken #1404
|
2017-03-09 13:11:59 +07:00 |
|
Sergey Lipskiy
|
72fef1d9a9
|
Fix compile and link on MAC_OS_X
|
2017-03-03 17:41:18 +07:00 |
|
Logan McNaughton
|
0dc261813a
|
Hacky fix for RPi depth issues
|
2017-02-28 12:11:06 -07:00 |
|
Sergey Lipskiy
|
62e414ce8a
|
Up shader storage version.
|
2017-02-28 15:48:17 +07:00 |
|
Sergey Lipskiy
|
eebdd32932
|
Replace rectAttrib::color by uniform.
|
2017-02-28 15:48:14 +07:00 |
|
Sergey Lipskiy
|
3fab248808
|
Up ShaderStorageFormatVersion.
|
2017-02-25 14:08:20 +07:00 |
|
Francisco Zurita
|
f773ddb001
|
Silence clang warning.
|
2017-02-25 01:09:24 -05:00 |
|
Francisco Zurita
|
58ddf8822c
|
Rename opengl_ColorBufferReaderWithBUfferStorage.h/cpp
This allow compilation with clang in Anroid Studio with Windows. This file
name was too long for some reason.
|
2017-02-25 00:59:56 -05:00 |
|
Sergey Lipskiy
|
827b6bb9cd
|
Code refactor: replace graphics::ObjectHandle() by graphics::ObjectHandle::null
|
2017-02-22 16:45:27 +07:00 |
|
Logan McNaughton
|
c42c1a4a4b
|
Disable async color buffer copies on non-android GLES2
|
2017-02-21 13:41:57 +07:00 |
|
Sergey Lipskiy
|
8767a82dfc
|
Implement vsync for Zilmar-specs build.
|
2017-02-20 15:56:46 +07:00 |
|
Francisco Zurita
|
c68a092207
|
Fix GLSL compilation error with PowerVR devices.
|
2017-02-20 01:29:10 -05:00 |
|
Sergey Lipskiy
|
b5652e3309
|
Remove uMSAAScale uniform.
|
2017-02-19 21:14:42 +07:00 |
|
Sergey Lipskiy
|
5d0ea0a6f5
|
Add MonochromeFragmentShader for MSAA textures.
|
2017-02-19 21:08:11 +07:00 |
|
Sergey Lipskiy
|
8544673e96
|
Minor optimization in CombinerProgramUniformFactory::buildUniforms
|
2017-02-19 20:36:29 +07:00 |
|
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 |
|