Commit graph

104 commits

Author SHA1 Message Date
Richard Goedeken
be939e8d00 fix OSX build warnings/errors 2018-01-22 17:43:28 -08:00
Anthony J. Bentley
00c80807cc Update homepage. 2017-12-28 16:30:32 -07:00
Anthony J. Bentley
32039d02d2 Update link to bug tracker. 2017-12-28 16:16:13 -07:00
Richard Goedeken
947839397f update Makefile method for finding OSX_SDK_PATH 2017-11-14 16:22:49 -08:00
Richard Goedeken
1dc60d50ae merge Narann branch (WIP Color Combiner Refactoring - pull request 31) into new branch based on current master 2016-03-05 08:28:51 -08:00
Anthony J. Bentley
34baca1c3a Remove unnecessary OpenBSD warning. 2015-06-08 01:56:56 -06:00
Conchúr Navid
958a2e7cad Fix executable bits of files 2015-03-21 10:53:38 +01:00
gizmo98
754302d24f Makefile: VC target for raspberry pi
Add VC target with broadcom includes and libs so mupen64plus-video-rice can be build for raspberry pis broadcom soc.
Compiles and runs. The default settings must be tuned (ScreenUpdateSetting=6).
2015-02-17 19:30:34 +01:00
gizmo98
eb85e422ad Makefile: Add VC option
@Narann 
This is necessary for raspberry pi. I know you dislike it. But i have no other way atm to pass GL paths and broadcom libs.
2015-02-12 07:09:39 +01:00
Dorian Fevrier
eff4e674b0 Finally totally remove the DecodedMux stuff and backport some hacks. 2014-12-16 16:01:53 -05:00
Dorian Fevrier
fcb583e1df Manually mimic commit from fayvel 979e0bd847 2014-12-01 23:43:35 -05:00
Fayvel Victor
979e0bd847 Fix preprocessor checks to compile against GLESv2 2014-11-09 22:15:51 +01:00
Dorian Fevrier
871023bff5 finally finished to create OpenGL extension calls 2014-10-20 22:34:22 -04:00
Dorian Fevrier
71842f2388 put the new, shader based, OpenGL combiner (named SecondFragmentCombiner) to the main OGLCombiner class and remove it. This is a big step as now, OGLCombiner can only works with shaders and (kind of) modern OpenGL so Rice now only support >= OpenGL 2.1 devices. 2014-08-17 18:43:29 -04:00
Dorian Fevrier
8c8fb26690 merge OGLExtRender with OGLRender class. Potentially create some memory leak as the constructor and destructor are empty. 2014-08-03 15:15:27 -04:00
Dorian Fevrier
dab443caea remove GeneralCombiner as it's not used anyway 2014-07-28 21:35:14 -04:00
Dorian Fevrier
6aac5a4e6a Remove OGL 1.4 combiner 2014-07-25 00:04:47 -04:00
Dorian Fevrier
2dbff149a5 Big refactoring. Rewrite the Color Combiner and use a more modern OpenGL approach. I've tried as much a possible to limit the scopeof this commit while solving as much bug as possible. Still a lot of work to do and some know issue but I need to commit now to avoid integrate new bugs while fixing others. 2014-07-20 23:45:38 -04:00
Dorian Fevrier
f48d19313e remove CNvTNTCombiner (should have been removed with TNT2 stuff 2014-05-17 23:43:38 -04:00
Dorian Fevrier
6a3bb174f8 remove DirectXDecodedMux files (not used anymore) 2014-05-17 18:01:50 -04:00
Richard Goedeken
6643daa97b Merge pull request #8 from Narann/master
Remove Nvidia combiner and anything related, update config.
2014-05-14 22:18:39 -07:00
Richard Goedeken
633737ca66 SDL 1.2 is not deprecated for us, and we shouldnt frighten the user with 6 lines of exclamation points 2014-05-04 11:39:34 -07:00
Ursula Abendroth
1046fb4455 Switch by default to SDL2 for Mupen64Plus 2.1
The current version of SDL is 2.0.3. All new releases of distributions contain
this library already. Current Linux distributions and OpenBSD even backporting
patches from Mupen64Plus 2.1 repo to use SDL 2. Android and other mobile
platform don't have support for legacy SDL 1.2.

People like Anthony J. Bentley and Riley Labrecque already requested
a new release of Mupen64Plus 2.1 with SDL2
2014-05-04 11:38:23 -07:00
Dorian Fevrier
53cd1f519a remove Nvidia Combiner. The way config file is updated is not optimal. The API need to be enhenced before merging. 2014-04-27 15:10:00 -04:00
Dorian Fevrier
4d4b5fb0a3 remove OGLCombinerTNT2 2014-04-06 15:21:55 -04:00
Frajo Haider
2742a0ceb5 add an option to build against GLES2 instead of OpenGL 2014-02-04 21:00:00 +01:00
Sven Eckelmann
9b18311048 Don't fail rebuild when header is removed
The *.d depends files for make just list the files used when building an
object file. Removing a file listed in such a dependency file causes make to
search for a way to recreate it. This usually cannot work because these files
aren't autogenerated.

The gcc option -MP can be used to generate empty rule for these files. Removing
a file in a dependency list will then execute this empty rule and continue with
the execution of the creation of the object file. This compilation process will
then automatically correct the dependency file.
2013-09-20 10:31:57 +02:00
richard42
fe59f6d43a simplify OSX platform detection in makefile using xcode-select. based on patch from John Pender 2013-07-08 07:47:02 -07:00
richard42
a35e3dd2d9 removed -lstdc++ flag in makefile, I just need to use CXX=clang++ instead 2013-05-30 07:56:53 -07:00
richard42
060b8fe36e clang needs to link against libstdc++ 2013-05-29 08:49:47 -07:00
Sven Eckelmann
cbd8a77542 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:09 +02:00
Sven Eckelmann
e895bfa957 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:28 +02:00
Sven Eckelmann
e20603f55f 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:02 +02:00
Sven Eckelmann
722892317b 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:22:31 +02:00
Sven Eckelmann
8f939b218d 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:08:23 +01:00
Richard Goedeken
fc4b00185a merged heads, fixing conflicts in src/TextureFilters.cpp 2013-02-03 09:59:10 -08:00
richard42
e3116b7d2f OSX build fix 2013-02-02 22:24:04 -08:00
Sven Eckelmann
970f207a8d Enable link time garbage collection when link time optimization is enabled 2013-01-30 20:35:48 +01:00
Sven Eckelmann
78f004d2e0 Introduce WARNFLAGS for default (removable) compiler warning flags 2013-01-02 16:13:46 +01:00
Sven Eckelmann
436a1c4098 Disable PIC on MinGW to reduce warnings 2013-01-01 00:30:34 +01:00
n pepinpe
e1cd4fd937 Fix path to OSX SDK with XCode >=4.3 2012-12-31 10:43:00 +01:00
veganaize
1f66504005 Don't try to find OpenGL libraries on MacOSX and MinGW using pkg-config
MacOSX and MinGW don't provide gl.pc or glu.pc to find the cflags or libs using
pkg-config. Removing this search and replacing it with an hardcoded value is
easier on these platforms.
2012-12-19 21:57:46 +01:00
Sven Eckelmann
a8b5adec72 Use $(OBJDIR) in clean target instead of hardcoded path 2012-12-13 14:53:05 +01:00
Sven Eckelmann
c06750ed20 Allow to add a postfix for each build
The POSTFIX make option is useful for distributions to compile different
versions of the plugin in parallel. The object files will be stored in a
directory with the postfix appended and the linker result will also have this
postfix appended.
2012-12-13 14:47:25 +01:00
Sven Eckelmann
8cb19be53e Don't add lipng libs twice on MinGW 2012-12-13 12:30:44 +01:00
Sven Eckelmann
9973c9aa91 Add CROSS_COMPILE make option
The CROSS_COMPILE make option can be used to automatically prepend the prefix
to all build relevant tools to seamlessly allow cross compilation without
setting each tool name separately.

Cross compiling for MinGW32 would can be done using
$ make -C projects/unix/ CROSS_COMPILE=i686-pc-mingw32- HOST_CPU=i686 UNAME=MINGW
2012-12-13 12:25:44 +01:00
Sven Eckelmann
419d442013 Allow to change names of *-config tools for cross compiles 2012-12-13 11:33:50 +01:00
Sven Eckelmann
069856f10e Synchronize usage of environmental variables for UNAME with HOST_CPU 2012-12-13 10:52:49 +01:00
Sven Eckelmann
56e17c0400 Remove duplicated definition of CC for MinGW 2012-12-13 10:46:17 +01:00
veganaize
acafa1180f Add support for MingW32 2012-12-04 21:17:52 +01:00