Commit graph

88 commits

Author SHA1 Message Date
Richard42
21a0acb5e2 OSX build fixes 2013-06-12 09:23:47 -07:00
Richard Goedeken
df69329d51 fixed warnings due to changes for win32 build. update makefile to reflect main.cpp file renamed to glitchmain.cpp 2013-06-01 09:27:33 -07:00
Richard Goedeken
0ea8713434 changed -std=gnu++11 compiler flag to the older gnu++0x so that this will compile on gcc 4.6 2013-05-13 10:05:55 -07:00
Sven Eckelmann
ba2a5dbe9a Don't use pkg-config on OSX to detect zlib 2013-05-12 12:03:33 +02:00
Sven Eckelmann
409e289580 Allow to disable filter threading for systems without std::thread support 2013-05-12 10:50:26 +02:00
Sven Eckelmann
ca4ceb3c76 Disable (not working) texture dumping to reduce the conversion effort 2013-05-11 16:14:30 +02:00
Sven Eckelmann
fda53261bb Replace Boost::Thread dependency with standard C++ functionality 2013-05-11 15:34:49 +02:00
Sven Eckelmann
1e807cc2e5 Replace Boost::Format dependency with standard C++ functionality 2013-05-11 15:28:10 +02:00
Sven Eckelmann
36f85b5153 Allow to statically set *_(CFLAGS|LIBS) without pkg-config
n.pepinpe requested in #540 to allow overwriting the automatically searched
CFLAGS and LIBS for used libraries. This should allow distributors to set the
build configuration without patching the makefile. This is important for
systems were pkg-config or sdl-config aren't normally used.
2013-05-11 15:00:06 +02:00
Sven Eckelmann
baae1a0fe1 Allow to statically set SDL_(CFLAGS|LIBS) without sdl-config
n.pepinpe requested in #540 to allow overwriting the automatically searched
CFLAGS and LIBS for used libraries. This should allow distributors to set the
build configuration without patching the makefile. This is important for
systems were pkg-config or sdl-config aren't normally used.
2013-05-11 12:26:25 +02:00
Sven Eckelmann
89eff2535f Enable Link-time optimization by default
The GCC introduced Link-time optimization in GCC 4.5 (2010-04-14). This should
be long enough available that interested users have upgraded to a compiler
supporting it.

The MSVC project already enabled WholeProgramOptimization since a long time.
Enabling it by default in GCC seems to be equally valid.
2013-05-11 11:26:00 +02:00
Sven Eckelmann
620263ca12 Add CXXFLAGS to the linker step
The GCC manual states for different parameters that the options for compilation
must also be used when linking. The options for compilation are stored in
CXXFLAGS and added to LINK.o to fix the behavior.

Option which need this are for example -fPIC/-fPIE or -flto.
2013-05-11 10:43:29 +02:00
Sven Eckelmann
636e6d425b Allow to build without GlideHQ support
Some systems don't have the required boost support and would not be able to
compile glide64 without adding a lot of new dependencies to their build
environment.
2013-03-28 10:59:10 +01:00
Sven Eckelmann
76be373875 Prefer -mt-less boost libraries by default
The newest boost version (1.5x) completely stripped the -mt suffix from the
libraries. This seems to be the default now and was already supported in
earlier versions (1.4x). Users requiring the suffix can still add them using
BOOST_SUFFIX and BOOST_THREAD_SUFFIX.
2013-03-26 11:05:14 +01:00
Sven Eckelmann
88759c440e Revert "Enable link time garbage collection when link time optimization is enabled"
Some linker on different platforms don't handle the garbage collection
correctly and create extreme bloated binaries. Therefore, leave it to the user
to enable this feature or not.
2013-03-14 08:06:37 +01:00
Sven Eckelmann
5b6e3a06ae Rename all visible Glide64 strings to Glide64mk2
The glide64 plugin for mupen64plus is available at the same time as the
glide64mk2 video plugin. Both support different features and use different
configuration options. A clear distinction is necessary to avoid confusion by
the users.
2013-02-09 01:22:34 +01:00
Sven Eckelmann
90cea5f84c Remove switchable asm implementations used during the port to C 2013-02-09 01:22:34 +01:00
Sven Eckelmann
1c1d3c89b7 Reenable link time optimization for the m64p related c files 2013-01-30 12:37:51 +01:00
Sven Eckelmann
47b3c9fc24 Enable link time garbage collection when link time optimization is enabled 2013-01-29 18:42:44 +01:00
Sven Eckelmann
165a934f5f Fix boost::filesystem usage for MinGW 2013-01-23 21:10:43 +01:00
Sven Eckelmann
ebb3a477a1 Don't search for zlib on OSX using pkg-config 2013-01-21 19:55:37 +01:00
Sven Eckelmann
5688f54526 Readd SoftLocker which was dropped during the initial port
Signed-off-by: Sven Eckelmann <sven@narfation.org>
---
 projects/unix/Makefile |    8 ++++++++
 src/Glide64/Gfx #1.3.h |    2 ++
 src/Glide64/Main.cpp   |    2 ++
 src/Glide64/rdp.cpp    |   25 +++++++++++--------------
 4 files changed, 23 insertions(+), 14 deletions(-)
2013-01-20 23:13:10 +01:00
Sven Eckelmann
debcb5b25d Allow to compile GlideHQ as part of mupen64plus-video-glide64mk2 2013-01-20 21:01:54 +01:00
Sven Eckelmann
3b8d826964 Fix build under MinGW 2013-01-20 13:00:00 +01:00
Sven Eckelmann
c62cb314b6 Move TexLoad32b functions back to TexLoad32b.h 2013-01-19 23:00:35 +01:00
Sven Eckelmann
9622177fc7 Add C conversion of TexConv assembler functions 2013-01-19 23:00:35 +01:00
Sven Eckelmann
d16e24d633 Add C conversion of MiClWr32b assembler functions 2013-01-19 23:00:35 +01:00
Sven Eckelmann
577ab74dd8 Add C conversion of MiClWr16b assembler functions 2013-01-19 23:00:35 +01:00
Sven Eckelmann
f2fdf65fa8 Add C conversion of MiClWr8b assembler functions 2013-01-19 23:00:35 +01:00
Sven Eckelmann
f723a0f229 Add C conversion of TexLoad8b assembler functions 2013-01-19 23:00:35 +01:00
Sven Eckelmann
e3ef7bf50f Add C conversion of TexLoad16b assembler functions
load16bRGBA needs more attention because the conversion caused graphical issues
in Mario64 and Zelda
2013-01-19 23:00:35 +01:00
Sven Eckelmann
5f63f8ee41 Add C conversion of TexLoad4b assembler functions 2013-01-19 23:00:35 +01:00
Sven Eckelmann
1a83cd3b50 Fix major texture problems in Zelda
The current ASM conversion hack was improved to fix the major texture problems
in Zelda. It is still not finished and additional work has to be done to make
the code accurate.

The remaining work blocks were left in place.
2013-01-19 23:00:35 +01:00
Sven Eckelmann
3d50fcd6c3 Fix texture cache crc calculation 2013-01-19 23:00:34 +01:00
Sven Eckelmann
6b17b830a2 Allow to build old Texture.asm for regression testing 2013-01-19 23:00:34 +01:00
Sven Eckelmann
c99958c7da Enable MMX and SSE for 32-bit builds 2013-01-18 22:56:14 +01:00
Sven Eckelmann
522697cd7f Fix export of plugin functions 2013-01-18 22:38:14 +01:00
Sven Eckelmann
aed4923155 Add mupen64plus Makefile to compile glide64mk2 2013-01-18 22:38:00 +01:00