Sergey Lipskiy
3bfebd0910
Remove allocated frame buffer if its color depth is less then necessary.
...
Fixed Majora's Mask screen turns red #790
Problem description:
the game allocates 8bit aux frame buffer when enter to subscreen.
When screen shrink effect started, the game allocates 16bit buffer on the same address.
Since plugin already had buffer allocated, it reused that buffer. Since the buffer's
texture had only red component, whole screen turned red.
Fix: create new buffer if color depth of existing buffer is less than necessary.
2016-08-28 16:00:50 +07:00
Sergey Lipskiy
69870ad397
Do not use software depth render when fb emulation is off.
2016-08-28 15:22:07 +07:00
Sergey Lipskiy
a5d3ff9393
Do not correct VI width and height in CFB mode.
...
Fixed MAME64 incorrect menu #861
2016-08-28 14:56:10 +07:00
orbea
e16e485bcf
LICENCE is spelled LICENSE
2016-08-27 10:58:30 -07:00
Sergey Lipskiy
232d35d182
Do not update noise texture when it is not initialized.
2016-08-27 18:45:49 +07:00
Sergey Lipskiy
10c8878a34
Correct GUI options names and tooltips.
...
Update translation files.
2016-08-27 13:05:00 +07:00
Sergey Lipskiy
1fca5c5187
Correct MSVS project files.
2016-08-27 12:00:42 +07:00
Logan McNaughton
05d2f150da
GLSL Improvements
2016-08-24 15:16:53 +07:00
Logan McNaughton
c9e1f95890
Fix potential segfault in isExtensionSupported
...
glGetStringi can return 0 if there is an error getting the value. If "name" is 0 (happens in RetroArch using GLES3 for whatever reason), then the strcmp segfaults.
2016-08-24 15:14:02 +07:00
Sergey Lipskiy
871c42e8c6
Use old version of OGLVideo::isExtensionSupported if GL_NUM_EXTENSIONS is not defined.
...
Fixed GL_NUM_EXTENSIONS is not available on GLES2 #1092
2016-08-23 17:27:21 +07:00
Sergey Lipskiy
1557d519af
Rewrite OGLVideo::isExtensionSupported
...
Code taken from wareya/GLideN64.
2016-08-19 16:05:47 +07:00
Sergey Lipskiy
21f46db869
Update translation files.
2016-08-17 20:23:53 +07:00
Sergey Lipskiy
ba434bab04
Fix OGLVideo::_setBufferSize():
...
make widescreen hack working when fb emulation disabled.
2016-08-17 16:34:23 +07:00
gizmo98
03c87712cd
rpi/pandora: add -DARM_ASM definition
2016-08-16 22:11:42 +07:00
Francisco Zurita
b81fb23363
Fix CBFD lighting in Android
2016-08-16 22:07:51 +07:00
Francisco Zurita
74b21d712c
Optional fragment based writing of depth
2016-08-16 21:32:27 +07:00
Francisco Zurita
bd04064b6b
Fix issues with shader storage and HW lighting in Android
...
The cause was that we were loading the shader cache before we loaded any
microcodes through GBI. With this change, shader storage will now store
wether it's possible to do HW lighting based on GBI status.
2016-08-16 16:33:30 +07:00
Francisco Zurita
69720ba7f8
Set the default location for all GLUniform types to -1
...
This prevents accidently setting a uniform that we never retrieved a
location for. This fixes GL errors in at least UniformSet.cpp
2016-08-15 17:57:59 +07:00
Francisco Zurita
adf0f5cf45
Fix double shutdown of the plugin.
...
video.stop() is also being called in RomClose
2016-08-15 17:57:59 +07:00
Francisco Zurita
320c524a2a
Fix GL error due to incorrect monochrome internal format.
...
This was cauding a GL error in DepthBufferToRDRAM::init()
2016-08-15 17:57:59 +07:00
Francisco Zurita
8f615b9aaf
Fix GL error due to setting a uniform that was not located.
2016-08-15 17:57:59 +07:00
Francisco Zurita
c17b1f2e11
Don't allow different OpenGL versions to share shader cache.
2016-08-15 17:54:51 +07:00
Logan McNaughton
4bcf330759
Remove dead code (glActiveTexture)
2016-08-04 21:25:10 -06:00
Sergey Lipskiy
c7c90cb7eb
Add widescreen hack support to gSPProcessVertex4
...
Fixed Widescreen hack broken #1078
2016-08-04 12:25:07 +07:00
baptiste0602
6f0b6ba9c6
Update GLideN64.custom.ini
...
update INI version and remove "detectcfb" entries
2016-08-03 15:55:29 +07:00
Francisco Zurita
a5c0674570
Fix shader compilation error in GLES 3.0 mode.
2016-08-03 15:30:41 +07:00
Francisco Zurita
f55a4aee8f
Fixes some depth issues in Android
2016-07-23 12:42:36 -04:00
Francisco Zurita
149c0c517e
Enable compiler vectorization in android make file.
2016-07-22 14:34:56 +06:00
Logan McNaughton
e0d8830b2a
Another fix for FBE on Raspberry Pi
2016-07-21 10:57:17 +06:00
Francisco Zurita
51b8547eba
Fix __VEC4_OPT issue for CBFD in gSPCBFDVertex.
...
This fixes incorrect lighting with VEC4_OPT enabled in CBFD.
2016-07-20 01:45:11 -04:00
Sergey Lipskiy
cd1b134ddc
Add legacy blending option:
...
Use old, fixed functionality based method for emulation of N64 blending modes.
2016-07-17 11:15:02 +06:00
Sergey Lipskiy
c786cb9572
Remove version check for custom ini file.
2016-07-16 21:49:37 +06:00
Sergey Lipskiy
30d6d127aa
Fix update shader render state when texrect drawer enabled.
...
Fixed excite bike new gx issue #1046
2016-07-16 19:53:14 +06:00
Sergey Lipskiy
0263eb34f7
Fix array bound write error in renderTriangles.
2016-07-13 17:32:22 +06:00
Sergey Lipskiy
feb446c3f8
Fix checksum calculation for mip-mapped textures.
2016-07-13 17:14:29 +06:00
Sergey Lipskiy
0ffaf66de0
Minor _calculateCRC optimization.
2016-07-12 15:46:07 +06:00
Sergey Lipskiy
d1749518ca
Add tile format and size to texture checksum calculation.
2016-07-11 21:50:37 +06:00
Logan McNaughton
da2d580d59
Simplify cmake and fix a typo
2016-07-11 01:21:14 -06:00
Logan McNaughton
a20dc97a5a
Fixes menu on Castlevania and Rayman 2 with FBE enabled on Raspberry Pi
...
Probably fixes other FBE issues as well
2016-07-11 10:05:52 +06:00
Stefan
1d56091c59
GLideN64.custom.ini: update config version
2016-07-11 10:03:33 +06:00
Francisco Zurita
60c5756ead
Fixes corrupt graphics in PowerVR
2016-07-11 10:01:52 +06:00
gizmo98
a845be6086
OPT: Add description
2016-07-09 22:03:14 +02:00
Stefan
b3bc8ce689
cmake: seperate optimization options
2016-07-09 19:03:47 +02:00
Logan McNaughton
f2babed36d
Fix some more graphical glitches with FBE on the Raspberry Pi
...
See https://github.com/RetroPie/RetroPie-Setup/pull/1563
2016-07-08 16:42:22 +06:00
Sergey Lipskiy
f48ab4828d
Code cleanup: remove unused function textureCRC
2016-07-08 12:47:25 +06:00
Logan McNaughton
2bc803dd14
Add optimized CRC calculator when OPT is on
2016-07-08 00:20:13 -06:00
Logan McNaughton
b234daf505
Add NEON code to cmake system
2016-07-07 14:03:31 +06:00
Francisco Zurita
76962e975e
Add Android make files.
2016-07-07 11:27:51 +06:00
Francisco Zurita
7386a036ce
Port glN64 for Android NEON optimizations
2016-07-06 11:00:40 +06:00
Francisco Zurita
62ec0cb821
Fixes crash at GoldenEye startup
2016-07-06 10:54:27 +06:00