Sergey Lipskiy
9d149b33ed
Correct TxHiResCache::loadHiResTextures: stop texture load if memory allocation failed.
...
It is done as an attempt to fix plugin's crash when it loads huge texture pack, such as Zelda OOT Community Retexture Project V7
The attempt is not succeded: plugin may crash after texture pack load because texture cache
consumed almost all available memory and the rest is not enough for plugin's work.
The code is useful anyway.
Note: the problem is heavier with Project64. mupen64plus build has better chance to load huge texture packs.
2017-11-04 22:49:37 +07:00
Sergey Lipskiy
28051387e9
Code refactor: rewrite TxUtil::getNumberofProcessors()
2017-11-04 19:26:50 +07:00
Sergey Lipskiy
fb6d945953
Replace #ifdef WIN32 by #ifdef OS_WINDOWS in GLideNHQ
2017-11-04 19:00:50 +07:00
Sergey Lipskiy
ce319b26e7
Update pnglib and zlib headers.
2017-10-01 18:30:20 +07:00
Sergey Lipskiy
2e71226b71
Update VisualStudio project files.
...
Note: two environment variables must be set:
* N64PluginsDir points to Plugin folder for zilmar-spec emulators
* Mupen64PluginsDir points to folder with plugins for mupen64plus
Post build step will copy results of building to these folders.
2017-09-30 19:00:11 +07:00
Michael Maltese
df5fc37630
TxInternal: fix include typo on macOS
2017-07-19 19:18:03 -07:00
Logan McNaughton
8d519e03df
Add COMMON_LDFLAGS to Android makefiles
2017-06-22 13:22:52 +07:00
Logan McNaughton
ae1e1e10ec
These rules apply to Clang as well
...
Also a MinGW buildfix for Clang
2017-05-30 14:29:56 -06:00
Logan McNaughton
e32dd5449f
Allow using the system's libpng and zlib
2017-05-11 16:19:41 -06:00
Sergey Lipskiy
1e3e06a036
Fix texture cache file name when rom name contains colon, #1477
2017-05-11 14:38:34 +07:00
Francisco Zurita
ae31349949
Fix circular dependency of GLideNHQ to GLideN64
...
Specifically TxQuantize.cpp was referencing arrays defined in GLideN64.
2017-03-07 00:21:13 -05:00
Francisco Zurita
7ca68744d9
Cleanup Android make files
2017-03-04 23:21:12 -05:00
Sergey Lipskiy
72fef1d9a9
Fix compile and link on MAC_OS_X
2017-03-03 17:41:18 +07:00
Francisco Zurita
6bae6b71df
Remove GLES3 define from android build
2017-02-15 12:56:25 +07:00
Logan McNaughton
cebd2e92b7
Make cmake work with mingw
2017-02-09 20:49:41 +07:00
Francisco Zurita
1319687f86
Replace ANDROID macro definition with OS_ANDROID
2017-02-09 20:38:27 +07:00
Sergey Lipskiy
107b646e6f
Minor correction in filter_8888: check that buffers not NULL.
2016-12-15 23:15:48 +07:00
Sergey Lipskiy
9bcc879bc6
Minor corrections in TxMemBuf.
2016-12-15 23:14:18 +07:00
Sergey Lipskiy
9198d1c381
Rewrite buffers allocation for DePosterize.
2016-12-15 18:02:17 +07:00
Sergey Lipskiy
8c42c31865
Code refactor: make methods of TxUtil static.
2016-12-15 18:02:13 +07:00
Sergey Lipskiy
e8522e7034
Fix multi-threaded work of DePosterize.
...
Fixed #1301
2016-12-15 18:02:07 +07:00
Sergey Lipskiy
262bbff279
Correct include convert.h
2016-11-29 11:30:55 +07:00
Sergey Lipskiy
edf8827f38
Add GLideN64 source folder to additional include path for GLideNHQ
2016-11-29 11:30:47 +07:00
Logan McNaughton
5a66cfc897
Use Five2Eight and One2Eight from convert.h
2016-11-29 10:53:22 +07:00
Francisco Zurita
313741d827
Use BufferStorage extension for faster glReadPixels.
2016-11-24 14:20:43 +07:00
Sergey Lipskiy
96fc2b7f35
Fix Uninitialized variable use in lq2xS_32_def
2016-11-22 12:26:52 +07:00
Logan McNaughton
801490a400
Fix debug build on Linux
2016-11-08 13:34:55 -07:00
Francisco Zurita
76962e975e
Add Android make files.
2016-07-07 11:27:51 +06:00
Sergey Lipskiy
86fbea9edc
Code refactor: replace NULL by nullptr.
2016-06-10 12:40:18 +06:00
Logan McNaughton
287eb6ac08
Allowing building GLideNHQ using GLES2
2016-06-09 09:22:08 -06:00
MaximeMorel
caadac1a7c
Fix Linux compilation
2016-05-10 08:54:19 +01:00
Sergey Lipskiy
025c9e1be2
Fix compilation with gcc
2016-04-14 22:12:45 +06:00
Sergey Lipskiy
216acb88b0
Add texture deposterization step before enhancement.
2016-04-14 21:42:18 +06:00
Sergey Lipskiy
8f276c0d48
Convert filtered textures back to original format only when 'force 16bpp textures' option is enabled.
2016-04-07 17:46:32 +06:00
Sergey Lipskiy
01248259c0
Fix TxQuantize::ARGB8888_ARGB4444
...
Minor code cleanup.
2016-04-07 17:44:59 +06:00
Sergey Lipskiy
3929160411
Fix crash of 64bit build of GLideNHQ.
2016-04-07 15:09:38 +06:00
Sergey Lipskiy
91b48c9acd
Fix byte order in TxQuantize::ARGB4444_ARGB8888
...
Fixed Some dumped textures have red and alpha channel swapped #886
2016-03-30 23:19:19 +06:00
Nick Little
d2027889ce
Fix Android build for x86_64
2016-01-19 17:50:56 -06:00
Nebuleon Fumika
105cf9c288
GLideNHQ subproject: Do not attempt to bring in OpenGL
...
This commit leaves the task of finding OpenGL or OpenGL ES to the main
project, GLideN64. Whatever it uses is also used by GLideNHQ.
2015-12-16 19:56:58 +00:00
sergiobenrocha2
e772e6ea56
Missing -ldl (dlsym).
2015-10-12 20:01:22 -03:00
gizmo98
ac963fd387
cmake: add missing osal lib
...
Fix "undefined symbol: osal_is_directory" error.
2015-10-09 22:39:52 +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
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
b67789acc5
Fix bug in TxFilter::dmptx - osal_mkdirp returns 0 if OK.
2015-09-29 18:19:53 +06:00
Sergey Lipskiy
daf18efabb
Update xBRZ texture filter to version 1.4
...
xBRZ: "Scale by rules" - high quality image upscaling filter by Zenju
Adopted sources from
http://sourceforge.net/projects/xbrz/files/xBRZ/
2015-08-17 15:37:15 +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
1ce07a2205
Switch to newer versions of libpng and libz.
2015-05-30 20:38:51 +06:00
Sergey Lipskiy
1751c75e8a
Fix compilation on Linux.
2015-05-30 20:38:37 +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
0a4bf95e2f
Wrapper for std::wstring and wchar_t* strings.
...
Necessary functions are not implemented properly on many Android platforms.
The wrapper converts wchr_t* string to char* one and uses char* functions,
which Android supports well.
2015-05-28 12:20:21 +06:00
Sergey Lipskiy
076f0c8e1b
GLideNHQ: Output debug messages to android log instead of file.
2015-05-26 23:41:02 +06:00
Sergey Lipskiy
037d2d8e1d
Remove boost dependency.
...
This modification is done mostly for Android port of the plugin.
Boost::filesystem replaced by osal-files collection of filesystem functions.
osal-files copied from mupen64plus-video-rice and modified to work with wchar_t strings.
Windows implementation should work well with unicode strings, because
Microsoft provides wide string compatible filesystem functions.
Unix implementation fakes work with unicode strings by converting them to multibyte strings.
It may not work if user will chose folder with non-ASCII path.
2015-05-26 23:40:52 +06:00
Sergey Lipskiy
7b0e0b94f4
Disable number of processors detection for Android.
2015-05-23 17:57:16 +06:00
Sergey Lipskiy
c0655c1f7c
Correct path to GL includes for GLES
...
Add #define GL_COLOR_INDEX8_EXT for GLES
2015-05-21 20:21:06 +06:00
Sergey Lipskiy
968059b319
Remove obsolete makefiles from GLideNHQ.
2015-05-13 10:21:35 +06:00
Sergey Lipskiy
2d4c518820
Add instructions how to build project with cmake.
...
Add Boost libs necessary for Linux build.
2015-05-13 10:21:33 +06:00
Sergey Lipskiy
52d68d1389
Move all sources to src folder.
2015-05-13 10:21:32 +06:00