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

1469 Commits

Author SHA1 Message Date
purplemarshmallow
02644151ca add async fb settings
async mode is now default
2015-10-17 18:20:59 +02:00
purplemarshmallow
c661ace24e Replace RSP.DList by OGLVideo::getBuffersSwapCount()
RSP.DList does not count the dlists, it counts the buffer swaps.
Thus it is replaced by counter in OGLVideo.
2015-10-17 21:20:50 +06:00
Sergey Lipskiy
9a6272c2c3 Merge pull request #757 from sergiobenrocha2/master
Missing -ldl (dlsym).
2015-10-16 23:52:01 +06:00
Sergey Lipskiy
4cea4bf292 Remove unused uTexMask uniform from TextureBlock. 2015-10-13 09:31:22 +06:00
sergiobenrocha2
e772e6ea56 Missing -ldl (dlsym). 2015-10-12 20:01:22 -03:00
Sergey Lipskiy
495e0c7b90 Merge pull request #756 from lioncash/gbi
GBI: Minor cleanup
2015-10-12 20:32:25 +06:00
Sergey Lipskiy
98f5c05ccc Revert "Add check that glGetProgramBinary is available."
Revert wrong and useless change.

This reverts commit 42243d2620.
2015-10-12 20:11:59 +06:00
Sergey Lipskiy
0afa5c4c57 Merge pull request #755 from lioncash/framebuffer
Framebuffer/DepthBuffer: Minor initializer list changes
2015-10-11 22:25:25 +06:00
Sergey Lipskiy
42243d2620 Add check that glGetProgramBinary is available. 2015-10-11 21:58:06 +06:00
Sergey Lipskiy
df0093de43 Up ShaderStorageFormatVersion because of changes in vertex shader. 2015-10-11 21:32:17 +06:00
Sergey Lipskiy
b626e97b40 Rename CombinersCacheFormatVersion constant to ShaderStorageFormatVersion. 2015-10-11 21:28:42 +06:00
Sergey Lipskiy
c6d37ca273 Fix texture coordinates calculation for frame buffer textures:
if texture coordinate wrapping is enabled, manually wrap texture offset by texture mask.

Fixed issue #734
2015-10-11 21:23:21 +06:00
Sergey Lipskiy
a1fb1f2e32 Revert "Don't wrap fb texture coordinates when clamp is on."
This solution is wrong. It causes regression in Mario Tennis, #734

This reverts commit 586af36bfa.
2015-10-11 21:23:14 +06:00
Lioncash
b6c18d2565 FrameBuffer/DepthBuffer: Add missing class members to constructor initializer lists 2015-10-10 14:05:18 -04:00
Lioncash
c98dd06b95 GBI: Move command flushing to a private function
Gets rid of redundancy
2015-10-10 13:40:49 -04:00
Lioncash
b3d0fc9113 GBI: Replace _isDigit with isdigit 2015-10-10 13:34:47 -04:00
Lioncash
b5213567f4 GBI: Move initial microcode search to its own function 2015-10-10 13:32:17 -04:00
Lioncash
41a9969087 FrameBuffer: Correct initialization list order 2015-10-10 12:34:23 -04:00
Sergey Lipskiy
a978fa83ba Fix "Error: selected processor does not support ARM mode `rev16 r3,r3'" 2015-10-10 14:39:50 +06:00
Sergey Lipskiy
7303ce4286 Ask for numBinaryFormats only if GL_NUM_PROGRAM_BINARY_FORMATS defined.
Fixed compilation for GL ES 2.
2015-10-10 14:20:02 +06:00
Sergey Lipskiy
9cff8d2674 Add support for async buffer copy mode in GUI.
copyFrameCheckBox replaced by by radio buttons.
Tooltip text corrected.
2015-10-09 23:08:31 +06:00
Sergey Lipskiy
a07835b790 Add support for async color buffer read in mupen64plus settings. 2015-10-09 23:08:28 +06:00
Sergey Lipskiy
2483f03159 Add CopyToRDRAM modes to Config: disable, sync, async.
copyToRDRAM option can take 'async' value.
copyDepthToRDRAM is still sync mode only.
2015-10-09 23:08:21 +06:00
Sergey Lipskiy
23de60b500 Re-implement async color buffer read.
Color buffer read in async mode is 7 times faster than sync read on my video card.
2015-10-09 23:06:06 +06:00
AmbientMalice
2b942b8d40 Update GLideN64.custom.ini : set copyDepthToRDRAM option for games, which need it. 2015-10-09 23:01:03 +06:00
gizmo98
ac963fd387 cmake: add missing osal lib
Fix "undefined symbol: osal_is_directory" error.
2015-10-09 22:39:52 +06:00
gizmo98
aca3a53ac0 Use ARM macro "__arm__" instead of "ARM_ASM" 2015-10-09 22:39:52 +06:00
gizmo98
ae3da6cc0a rpi: add platform specific fullscreen option
-create _getDisplaySize() and add rpi’s platform specific code
-use screen resolution if fullscreen=1
2015-10-09 22:39:51 +06:00
gizmo98
c92f5fc9d9 rpi: disable framebuffer emulation
There is a black screen if frame buffer emulation is used: #605
2015-10-09 22:39:50 +06:00
gizmo98
6d2ce678d5 rpi: fix cmake files
-Add test for raspberry pi’s broadcom bcmhost dir.
-Add test for raspbian packages freetype, zlib and png.
-Remove keyword PRIVATE because there is a „cannot find lPRIVATE“ error.
2015-10-09 22:39:50 +06:00
gizmo98
cf9907f51b cmake: add gcc version check
C++11 features like std::map::emplace need gcc version >= 4.8.
2015-10-09 22:39:49 +06:00
Sergey Lipskiy
257348092b Merge pull request #751 from lioncash/oob
GlideNUI: Fix an out of bounds access in Settings.cpp
2015-10-09 22:31:10 +06:00
Sergey Lipskiy
e0007cca14 Merge pull request #752 from matthewharvey/shader_storage_extra_check
Adding check that there is at least one binary format for shader cach…
2015-10-09 22:29:36 +06:00
matto
e126a51f6f Adding check that there is at least one binary format for shader cache support
There is one implementation that supports the get_program_binary
extension, but doesn't provide any actual formats. (it's Mesa)
In any case this is probably a good check to have.
2015-10-08 23:04:05 -04:00
Lioncash
1c972fee9f GlideNUI: Fix an out of bounds access in Settings.cpp 2015-10-08 13:52:15 -04:00
Sergey Lipskiy
a12c9e7464 Change shaders storage format: add information about config options used on
the moment of storage creation.
If user changes option(s), which changes the way of shaders creation then
shaders storage have to be reset.
2015-10-08 22:54:43 +06:00
Sergey Lipskiy
f267ca36fc Rename [save/load]CombinersCache() methods to [save/load]ShadersStorage() ones. 2015-10-08 22:54:40 +06:00
Sergey Lipskiy
4cc253db62 Add "Enable shaders storage" checkbox to GUI. 2015-10-08 22:54:38 +06:00
Sergey Lipskiy
f59840250c Enable shaders storage by default. 2015-10-08 22:54:36 +06:00
Sergey Lipskiy
209f5dcdb0 Rename shaderStorage config option to enableShadersStorage. 2015-10-08 22:54:34 +06:00
Sergey Lipskiy
64e379488f Catch exceptions during shader cache file read. 2015-10-08 22:54:26 +06:00
Sergey Lipskiy
f5fbee0623 Remove common shader storage option as potentially dangerous. 2015-10-08 22:54:23 +06:00
Sergey Lipskiy
c0512a568b Save Shader Cache file to "shaders" subfolder. 2015-10-08 22:54:21 +06:00
Sergey Lipskiy
f212710ea7 Make osal as separate library.
I need filesystem functions in the plugin, thus I decided to
move osal code from GLideNHQ to osal lib.
2015-10-08 22:54:19 +06:00
Sergey Lipskiy
757ac8135a Correct check for get_program_binary extension for GL ES. 2015-10-08 22:54:16 +06:00
Sergey Lipskiy
0482212f10 Add shaderStorage config option.
Support it for mupen64plus.
2015-10-08 22:54:10 +06:00
Sergey Lipskiy
38baef70de Implement persistent cache for compiled shaders. 2015-10-08 22:54:01 +06:00
Sergey Lipskiy
4505f6031d Add declarations for GL GL_ARB_get_program_binary related functions. 2015-10-08 22:26:22 +06:00
Sergey Lipskiy
d57e28bf53 Return back isExtensionSupported() function. 2015-10-08 22:26:09 +06:00
matto
0dfbd34b09 Fixing Andriod build (possibly, cannot test)
http://www.cplusplus.com/reference/list/list/erase/
cplusplus.com says that std::list::erase takes arguments
of const_iterator, but from build errors the Andriod
runtime says it takes non const iterators. gcc doesn't mind
removing the constness and it's not so important that they're
const, so I'm removing them.
2015-10-08 21:17:03 +06:00