Sergey Lipskiy
b897c449a1
Fix shader texture uniforms update for GLES2.
...
Fixed issue #586 .
Thanks Gillou68310 for the hint.
2015-06-23 22:19:11 +06:00
Sergey Lipskiy
12bc0c928d
Add blend mode for explosions in Vigilante 8.
2015-06-19 12:08:18 +06:00
Sergey Lipskiy
d5a0f20098
Implement special case when 8bit auxiliary I buffer is used as 8bit IA texture.
...
Fixed Turok 3 Incorrect Shadows #543
2015-06-19 10:53:30 +06:00
Sergey Lipskiy
3f7d868f9e
Fix mipmaping when mip-map emulation disabled in settings.
...
Most detailed tiles will always be used.
2015-06-18 14:51:43 +06:00
Sergey Lipskiy
a3ddc4ce3e
Correct mipmap shader again.
2015-06-18 14:14:11 +06:00
Sergey Lipskiy
db38b2f9ea
Fix compilation on Android.
2015-06-18 11:55:34 +06:00
Sergey Lipskiy
74afd9f114
Fix getTextureShiftScale for case of one-level mip-map.
...
Fixed guard rail in Banjo Kazooie, #158
2015-06-17 22:58:03 +06:00
Sergey Lipskiy
1dc2bd1a56
Fix compilation on Linux.
2015-06-17 18:21:11 +06:00
Sergey Lipskiy
2199dd4290
Correct Lod calculaton and mipmaping.
...
Fixed issue #571 and probably other mip-map relating issues.
2015-06-17 16:10:03 +06:00
Sergey Lipskiy
5f42da74cd
Correct min_lod load.
2015-06-17 16:02:09 +06:00
Sergey Lipskiy
27149064e0
Correct load to TMEM functions: wrap tmem address in case of overflow.
...
Necessary for issue #571
2015-06-17 16:02:06 +06:00
Sergey Lipskiy
a13e6322d9
Code cleanup: correct class TextDrawer definition.
2015-06-16 20:41:13 +06:00
Sergey Lipskiy
68941f6cbe
Optimize frame buffer copy to RDRAM:
...
read from pixel buffer one time per pixel.
Old code does 4 reads from the pixel buffer per pixel.
The optimization makes color buffer read circa 4 times faster.
Thanks Lars Bishop for finding the sources of the problem and for suggested solution.
2015-06-16 19:43:15 +06:00
Sergey Lipskiy
7ee974f213
Remove debug calls of isGLError() from FrameBufferToRDRAM::CopyToRDRAM.
2015-06-16 19:40:56 +06:00
Sergey Lipskiy
eb23f38934
New fix for issue #563 . It does not break CBFD work.
2015-06-14 23:29:33 +06:00
Sergey Lipskiy
48959f0702
Revert "Correct coronas emulation in Perfect Dark."
...
This reverts commit 36fbcd5eac
.
Reverted commits causes issues in CBFD. Need another approach.
2015-06-14 22:57:53 +06:00
Sergey Lipskiy
5e56691dcf
Fix compilation of depth_compare_shader_float for GL ES 3.1
...
Note: the shader does not work properly yet on Android
2015-06-10 23:23:53 +06:00
Sergey Lipskiy
e4b440ea1d
Fix compilation of shadow_map_fragment_shader_float for GL ES 3.1
...
Note: the shader does not work properly yet on Android
2015-06-10 23:23:37 +06:00
Sergey Lipskiy
c2476e892e
Remove debug calls of isGLError() from NoiseTexture::update().
2015-06-10 22:46:55 +06:00
Sergey Lipskiy
5e5a48e1e0
Make shaders GL ES 3.1 conformant.
...
Fixed issue #573
2015-06-10 18:57:13 +06:00
Sergey Lipskiy
563f167447
Correct FBOTextureFormats::init()
...
Now GLES2 setup should be compatible with all GLES2 devices.
2015-06-09 22:35:26 +06:00
Sergey Lipskiy
5e114a7a83
Fix compilation with gcc, issue #572
2015-06-09 16:54:57 +06:00
Sergey Lipskiy
e3dcba03f6
Minor correction in GetCI16RGBA functions.
...
Make calculations a bit more optimal and clear.
2015-06-05 00:07:51 +06:00
Sergey Lipskiy
847245350b
Add debugPrint function for VisualStudio debug output.
2015-06-04 22:19:50 +06:00
Sergey Lipskiy
36fbcd5eac
Correct coronas emulation in Perfect Dark.
...
Fixed issue #563 .
2015-06-04 22:17:04 +06:00
Sergey Lipskiy
4b6df9bd10
Fix possible crash in texturedRectDepthBufferCopy.
2015-06-04 16:41:15 +06:00
Sergey Lipskiy
7ce35bfeee
Enable gl_FragDepth correction for GLES.
2015-06-02 21:05:59 +06:00
Sergey Lipskiy
a25c85b3f2
Hack depth buffer attachment for GLES2. Need proper fix.
2015-06-02 18:57:54 +06:00
Sergey Lipskiy
1653069329
Correct FBO texture formats for different GL versions.
2015-06-02 18:57:24 +06:00
Sergey Lipskiy
9a991ba550
Correct FrameBufferList::renderBuffer for GLES2
2015-06-01 23:58:57 +06:00
Sergey Lipskiy
e1000add03
Fix compilation warning in Keys.cpp
2015-06-01 14:50:07 +06:00
Sergey Lipskiy
37b5a38486
Enable texture_filter_anisotropic for GLES.
2015-06-01 14:50:04 +06:00
Sergey Lipskiy
c9f62a55e8
Disable fog blend for some GLES2 GPU, which can not parse that part of fragment shader.
...
Currently disabled for PowerVR and Adreno GLES2 GPU.
GLES3 Adreno GPU free of that limitation and thus fog blend
will not disabled for them.
2015-06-01 14:49:59 +06:00
Sergey Lipskiy
f000cf4154
Log info about GL version.
2015-06-01 13:35:58 +06:00
ptitSeb
9b33b71f36
Trying to get xbrz compiling under GCC >= 5
2015-05-31 18:26:17 +02:00
ptitSeb
f953e235c4
Pandora support
2015-05-31 18:26:08 +02:00
Sergey Lipskiy
6b67ba3a57
Fix 3point texture filtering for GLES2.
2015-05-31 14:13:27 +06:00
Sergey Lipskiy
910c5de1bf
Enable post-processor for GLES2.
2015-05-30 22:40:14 +06:00
Sergey Lipskiy
92450d3acf
Fix PostProcessor compatibility with Android.
2015-05-30 22:39:19 +06:00
Sergey Lipskiy
be5695bea7
Make TextDrawer compatible with Android.
2015-05-30 20:38:53 +06:00
Sergey Lipskiy
83d74af29d
Fix compilation warnings in TextDrawer.cpp
2015-05-30 20:38:52 +06:00
Sergey Lipskiy
1ce07a2205
Switch to newer versions of libpng and libz.
2015-05-30 20:38:51 +06:00
Sergey Lipskiy
ecf4c79e66
make gln_wcscat static to avoid link issues.
2015-05-30 20:38:50 +06:00
Sergey Lipskiy
1751c75e8a
Fix compilation on Linux.
2015-05-30 20:38:37 +06:00
Sergey Lipskiy
b2c86c8cde
Merge pull request #565 from purplemarshmallow/ini_update
...
add settings for Bio F.R.E.A.K.S.
2015-05-29 22:01:19 +05:00
purplemarshmallow
b73fb10442
maintain correct aspect ratio when changing window size in mupen64plus
2015-05-29 22:56:52 +06:00
Sergey Lipskiy
65df8335f6
Move osal_files.h and txWidestringWrapper.h from inc to osal subfolder.
2015-05-29 20:51:39 +06:00
Sergey Lipskiy
87b80b1383
Remove config.generalEmulation.enableLOD usage for GLES2.
...
GLES2 mipmap shader can't calculate LOD, but it does useful comparisons,
so it is useful to use it regardless of config option.
2015-05-29 20:51:33 +06:00
Sergey Lipskiy
701ebad2ab
Fix _cutLastPathSeparator()
...
Add Android implementation.
2015-05-29 20:51:23 +06:00
Sergey Lipskiy
2b0db06858
Add Android compatible wrapper for wcscat and wchar_t* constant strings.
2015-05-29 20:51:19 +06:00