Commit Graph

463 Commits

Author SHA1 Message Date
Themaister
2af0a43ad0 Link against Cg framework on OSX. 2012-10-15 11:01:15 +02:00
Themaister
b8abf34785 Purge some now useless code.
Removes manual input rate adjustments.
Don't allow DSP plugs to resample as it would complicate things alot
with dynamic rate control.
Also purges optional ssnes_* symbols for external plugs.
2012-10-13 20:22:45 +02:00
Themaister
a0e6db636f Set window icon in X11. 2012-10-13 12:51:37 +02:00
Themaister
9208663c53 Add basic Xinerama support to X11. 2012-10-12 19:58:54 +02:00
Themaister
5b0525d2e2 Drop HAVE_PBO. Use custom conversion routines.
Measured custom 15->32 conversion to be up to 10x faster on my setup.
2012-10-02 01:04:47 +02:00
Themaister
1bac5421ff Update benchmarks for GCC + x86.
Compile with make PERF_TEST=1 to enable performance logging.
2012-10-01 23:43:16 +02:00
Themaister
d40cd53e24 Rewrite retroarch-joyconfig.
Rewrites a large chunk of retroarch-joyconfig to work with "any" joypad
driver. This allows e.g. the tool to work without X. SDL event pumps
require X to work (for some reason).
2012-09-29 21:57:03 +02:00
Themaister
5688f939a7 Use GL_BGRA_EXT on GLES. 2012-09-29 20:06:48 +02:00
Themaister
e58bdc4811 Add GLX context. 2012-09-29 12:13:11 +02:00
Themaister
f8de693eef Use true fullscreen in X/EGL. 2012-09-29 10:47:55 +02:00
Themaister
cb153869ca Be able to disable everything X11. 2012-09-28 23:43:58 +02:00
Themaister
04e3fe185f Can build without SDL now (only RetroArch). 2012-09-28 23:34:19 +02:00
Themaister
c655c1d4e5 Big refactor of joypad input. 2012-09-28 23:06:16 +02:00
Themaister
31b12d7d00 Refactor out common X11 code. 2012-09-26 15:52:25 +02:00
Themaister
fffd2fe504 Add in xinput if X11 is set, not XVIDEO. 2012-09-25 13:58:43 +02:00
Toad King
df77bbd0bd compile fixes
bind API before initializing context
2012-09-24 20:47:48 -04:00
Themaister
d0e220bbf1 Refactor all GL context handling code. 2012-09-25 01:37:23 +02:00
Toad King
c1948b7c5d remove VGU requirement from VG video driver
MESA's libOpenVG does not supply the utility functions
2012-09-24 19:30:24 -04:00
Toad King
500139f1b5 change video_rpi into a more generic video_vg 2012-09-24 15:19:07 -04:00
Toad King
012c7def7b big Raspberry Pi-related changes
* convert old rpi video driver into a generic OpenVG driver
* add VideoCore EGL context
* build GLES by default if VideoCore detected (currently does not run)
2012-09-18 19:42:17 -04:00
Themaister
1d2d09905b Allow using straight OpenGL API in KMS. 2012-09-18 12:16:27 +02:00
Themaister
de2f5ba4ba Add experimental KMS/GLES framebuffer driver. 2012-09-16 21:41:09 +02:00
Themaister
1a7d10fade Don't link against -lGL when GLES is used. 2012-09-16 11:15:49 +02:00
Themaister
ff60bcb5e5 Add experimental X/EGL support. 2012-09-15 15:17:34 +02:00
Themaister
4ff087cc36 Fix CXX_BUILD. 2012-09-09 23:37:12 +02:00
Themaister
3f613882a3 Avoid using IS_LINUX. Use plain __linux__. 2012-09-03 00:08:33 +02:00
Themaister
ebd5bc85d5 Optimize -> bgr24 conversion paths. 2012-09-02 23:49:30 +02:00
Themaister
86b444cb97 Use bilinear for downscales, point for upscales. 2012-09-02 15:30:15 +02:00
Themaister
19fa31f17d Add custom scaling routines.
Implemented for point, bilinear, lanczos.
Partly optimized for SSE2.
2012-09-02 14:30:46 +02:00
Themaister
db6c0ee85c Use custom matrix calculation routines.
Aims for more compatibility with modern OpenGL.
2012-08-09 08:56:35 +02:00
Themaister
38f7673fac Add command functionality to stdin. 2012-07-25 04:50:46 +02:00
Themaister
faedd18b1c Check more explicitly for X11 presence. 2012-07-09 16:57:23 +02:00
Themaister
ffbf6d7586 Fix build on ArchLinux/Pi. 2012-07-09 16:49:20 +02:00
Themaister
7b12182a0f Add optional fixed point resampler. 2012-07-06 17:36:37 +02:00
Themaister
50acc3dcf6 Clean compat/*.o as well. 2012-06-30 13:09:34 +02:00
Themaister
fd017b8f57 Add NULL drivers. 2012-06-20 00:43:41 +02:00
Toad King
4f3e54529b Merge branch 'master' of http://github.com/Themaister/RetroArch
Conflicts:
	qb/config.libs.sh
2012-06-18 18:50:22 -04:00
Themaister
e71115151b Add libpng screenshot support. 2012-06-17 13:11:39 +02:00
Toad King
7986e01cbf Merge branch 'master' of http://github.com/Themaister/RetroArch
Conflicts:
	qb/config.libs.sh
2012-06-14 03:03:12 -04:00
Themaister
649dd03fce Fix C++ build. 2012-06-11 07:56:25 +02:00
Toad King
ec87f858f2 Merge branch 'master' of http://github.com/Themaister/RetroArch
Conflicts:
	qb/config.libs.sh
2012-05-28 02:27:25 -04:00
Themaister
0375de48a2 Add preliminary network command interface. 2012-05-27 14:12:29 +02:00
Themaister
ca0a5b9f76 Move font stuff to gfx/fonts. 2012-05-27 02:04:50 +02:00
Twinaphex
4176ddeccc Split up font code so that it's more portable 2012-05-27 01:16:55 +02:00
Themaister
a10a5badcc Move font code to gl_font. 2012-05-26 15:22:48 +02:00
Twinaphex
1386e2ee90 Restructuring of sdlwrap.c for portability reasons -
could need a code review
2012-05-26 04:47:24 +02:00
Toad King
6c79d66e1b linuxraw input: gets input straight from stdin
WARNING: this mode uses a raw keyboard mode. if the emulator does not exit cleanly, you could be left at a terminal with no form of input. do not use this mode for testing.
2012-05-25 15:44:39 -04:00
Toad King
4e600c5edd Drop OpenGLES in favor of OpenVG. Video now works.
Audio might work with the ALSA drivers, but SDL input is not playing nice with OpenVG/EGL.
2012-05-24 01:29:35 -04:00
Toad King
350af0a458 initial Raspberry Pi work. Currently just displays a solid blue screen. 2012-05-23 02:31:29 -04:00
Themaister
1a744d33d6 Check for presence of -Wno-unused-result. 2012-05-01 23:00:37 +02:00
Themaister
5e032d2677 Fix non-dynamic builds (mziab). 2012-04-22 10:46:06 +02:00
Themaister
ce740f8948 More fixups. 2012-04-21 23:31:57 +02:00
Themaister
9ab51ad23a SSNES => RetroArch. 2012-04-21 23:17:43 +02:00
Themaister
3a7ad61879 Rename ssnes.c to retroarch.c. 2012-04-21 23:11:18 +02:00
Themaister
0934d81a52 Add -Wno-unused-result. 2012-04-16 20:38:25 +02:00
Themaister
8c426ed49a Split file.c in two. 2012-04-13 21:29:25 +02:00
Themaister
e012e290ae Builds clean. 2012-04-09 22:04:44 +02:00
Themaister
066e9608a1 Add HAVE_BSV_MOVIE define. 2012-03-26 00:06:25 +02:00
Themaister
c79e536b17 Use positive HAVE_SCREENSHOTS rather than a negative ifdef. 2012-03-25 23:41:20 +02:00
Themaister
d73ec9b645 Move hashing code to hash.o. 2012-03-25 23:29:39 +02:00
Themaister
13373f4873 Merge compat implementations into compat/compat.c. 2012-03-17 00:56:55 +01:00
Themaister
0ee6aa948e Merge netplay_compat.c into netplay.c. 2012-03-17 00:49:05 +01:00
Themaister
ef72584568 Merge ups/bps into patch.c. 2012-03-16 23:42:29 +01:00
Themaister
9ab02b12be Move compat functionality to compat/. 2012-03-16 23:26:57 +01:00
Themaister
f5a4ea55f5 Add sinc resampler. 2012-02-23 23:53:18 +01:00
Themaister
79f29a3966 Add test case and some fixes for re-entrancy. 2012-02-01 21:32:27 +01:00
Themaister
03a892c7f2 Start adding netplay compat layer for legacy stuff. 2012-01-24 21:12:12 +01:00
Themaister
c8dee57278 Set constant macros with define. 2011-12-25 01:45:09 +01:00
Themaister
eac468ba19 MSVC compat. 2011-12-25 01:38:59 +01:00
Themaister
d5fca50a2f Can build for C++. 2011-12-24 15:26:01 +01:00
Themaister
a7870aa888 Altivec sample conversion. 2011-12-02 01:34:02 +01:00
Themaister
43972d4c35 Fix build. 2011-11-30 18:18:50 +01:00
Themaister
a221e3e4cd Enable/disable threading support. 2011-11-30 17:46:58 +01:00
Themaister
7f7d47b120 Custom getopt for portability. 2011-11-30 11:48:53 +01:00
Themaister
1981b14de9 Allow OpenGL to be disabled. 2011-11-01 18:24:43 +01:00
Themaister
235355ffc7 Check more explicitly for XVideo and Xext. 2011-10-23 12:48:44 +02:00
Themaister
fddcc3447c Fix build for Clang. 2011-10-22 22:19:54 +02:00
Themaister
25f0e162a4 Purge support for libsamplerate. Obsolete. 2011-10-15 12:48:15 +02:00
Themaister
b0dbc67281 Fix build when only Cg is being compiled. 2011-10-17 15:35:02 +02:00
Themaister
db71a5cdba New font rendering code for OpenGL. 2011-10-07 17:43:39 +02:00
Themaister
a58676c9e1 Linux needs -lrt for clock_gettime. 2011-10-06 20:34:01 +02:00
Themaister
1ee9722e5f Start working on custom thread implementation.
Avoids SDL dependency for this to improve portability.
2011-10-06 20:31:39 +02:00
Themaister
924848fdad Start working towards SDL 1.2/1.3 compat. 2011-09-13 14:06:49 +02:00
Themaister
5993fffb64 Add config_get_array() for simpler and faster config access. 2011-08-25 16:15:34 +02:00
Themaister
21f88fcf39 Obey library_dirs in makefile. 2011-08-24 16:24:58 +02:00
Themaister
1ff9b6a375 Start adding support for BPS patches. 2011-08-18 00:05:56 +02:00
Themaister
14ae5e397a Add CoreAudio driver. Untested. 2011-08-08 17:27:52 +02:00
Themaister
36c6c21194 Use RSOUND_CFLAGS, etc. 2011-06-29 04:54:30 +02:00
Themaister
7c538274b4 Do not check twice for OS. 2011-06-25 17:22:47 +02:00
Themaister
72fb694e97 Use pkg-config more where appropriate. 2011-06-25 17:15:58 +02:00
Themaister
3f60fdd106 Fix build for XVideo. 2011-06-25 18:11:04 +02:00
Themaister
4b5ed0fa41 Do not force -lossaudio. 2011-06-16 23:50:33 +02:00
Themaister
75d1155a23 Fix OSS build for BSD. 2011-06-16 23:20:12 +02:00
Themaister
753d2057bb Fix BSD build. Convert strcpy()/strcat() to strl* variants. 2011-06-16 22:47:37 +02:00
Themaister
0f1a76f932 POSIX stuff for Quickbuild. 2011-06-15 04:34:28 +02:00
Themaister
f761811189 Move buffer to top-level as it's not audio only. 2011-06-14 19:58:12 +02:00
Themaister
d0ba59f8b5 Start moving over to SDL_image rather than imlib2.
Imlib2 takes more space, and was a pure bitch to compile for Win32,
so I gave up ... ;)
2011-06-11 16:55:53 +02:00
Themaister
576894e0e8 Build Python in Windows. 2011-06-09 13:56:29 +02:00
Themaister
631c3ca393 Fix link for Clang. 2011-06-08 19:52:03 +02:00
Themaister
9bfeb88e24 Start implementing Python support for game-aware shaders. 2011-06-06 17:44:05 +02:00
Themaister
44c52ca4f8 Add -pedantic for shits 'n giggles.
Fix portability issues with void* -> void (*)(void) casts.
Use a more ... bizarre technique ;)
2011-05-31 15:03:59 +02:00
Themaister
4e7a003497 Start adding snes state tracker uniforms. 2011-05-25 15:15:20 +02:00
Themaister
676f659306 Fix Makefile to work when mkdir -p is being stupid. 2011-05-19 15:40:39 +02:00
Themaister
36d9adbc0f *Shrug* windows. Works at least ... :D 2011-05-18 22:11:34 +02:00
Themaister
9473b392df TGA loader (nolib). 2011-05-18 21:49:23 +02:00
Themaister
c938f3d8de Add lookup texture support. :D yay. 2011-05-18 20:22:27 +02:00
Themaister
29addd605e Start adding screenshot support. 2011-05-15 16:54:43 +02:00
Themaister
5d5865cfd8 Add external API for audio driver. 2011-05-15 01:46:11 +02:00
Themaister
75d618140b Some more work on external API. 2011-05-11 17:52:16 +02:00
Themaister
d317a9773f Start on SDL video driver. 2011-04-21 03:23:44 +02:00
Themaister
092fa9d531 Get initial cheat support down. 2011-04-17 13:30:59 +02:00
Themaister
1005d7fa9b SHA256 support. Now onto cheats ... 2011-04-17 12:29:58 +02:00
Themaister
6b8eea6363 Start with strlcpy/strlcat ... 2011-04-03 22:16:59 +02:00
Themaister
6c85e6e702 Configurable FBO support. 2011-03-23 23:48:13 +01:00
Themaister
e484e22e2f Fix up UPS :) Should work fine now at least for .sfc base roms. 2011-03-23 23:31:33 +01:00
Themaister
ea153f9df2 Install ssnes-zip 2011-03-20 22:48:13 +01:00
Themaister
d5761b6385 Can disable netplay. 2011-03-19 20:41:07 +01:00
Themaister
12d21cf7a6 Make title handling more sane. 2011-03-26 18:34:58 +01:00
Themaister
3fa037daee Fix minor issues. 2011-03-16 21:48:44 +01:00
Themaister
c5942ec5a2 Fix Jack pkgconf version. 2011-03-13 18:09:27 +01:00
Themaister
adfd461c3e Start on XVideo 2011-03-13 04:51:09 +01:00
Themaister
3ef0276b2a Will probably not need, but hey. 2011-03-07 20:17:27 +01:00
Themaister
f94dc125e5 An initial take on bsnes CPU filters. 2011-03-07 19:12:14 +01:00
Themaister
bbf4804d12 Obey CFLAGS and LDFLAGS when testing libs (nice when profiling.) 2011-02-28 22:30:06 +01:00
Themaister
85dbc05ded Some start on netplay. :) 2011-02-13 16:40:24 +01:00
Themaister
719e4942ce Add autosave possibility. 2011-02-10 21:16:59 +01:00
Themaister
672824539c Argsel. 2011-02-07 11:17:25 +01:00
Themaister
820b124165 Add hermite resampler core :) SRC is disabled by default. 2011-02-06 13:29:48 +01:00
Themaister
24dda40863 Remove unneeded lib. 2011-02-04 23:53:33 +01:00
Themaister
6c0eebd4bf Remove more stuff and add a comment. 2011-02-04 23:47:36 +01:00
Themaister
31db2a30bb Remove unneeded glue logic. -lSDLmain fixed it :) 2011-02-04 23:45:54 +01:00
Themaister
5e241d79c8 Wut! :D 2011-02-04 23:45:51 +01:00
Themaister
96389ef83b Some testing fixes for OSX. 2011-02-04 22:47:37 +01:00
Themaister
57eebebcdd Fix OpenAL build for OSX. 2011-02-04 14:43:14 +01:00
Themaister
9ad9cbd7de Build fixes for OSX. (PPC) 2011-02-04 13:49:53 +01:00
Themaister
b97c45df78 Initial code for movie playback. 2011-02-02 11:47:05 +01:00
Themaister
c5f825eaa5 Build fixes. 2011-01-31 16:10:40 +01:00
Themaister
e83f3ed444 Initial PulseAudio code. 2011-01-29 01:15:09 +01:00
Themaister
c1e12c9d70 Fix up install build. Creates directories it installs to. 2011-01-25 10:47:22 +01:00
Themaister
4e78b80343 Load save and save state show messages.
Do not load/save state repeatedly when holding down the buttons/keys.
2011-01-23 02:23:20 +01:00
Themaister
2211dc73e1 Progress on font rendering. :) 2011-01-23 00:27:20 +01:00
Themaister
b69f91027b Add configurable support for config file (disabling it... ah, good old
days! :D)
2011-01-19 12:54:19 +01:00
Themaister
5249a36279 Update Makefile to install man page for ssnes-joyconfig as well. 2011-01-15 16:51:20 +01:00
Themaister
4119eaadf4 Update Makefile to install man-page 2011-01-15 15:56:40 +01:00
Themaister
9f122f14ad Fix makefile issues 2011-01-10 17:20:08 +01:00
Themaister
220f07d7da Pretty print makefiles (again). 2011-01-10 17:15:27 +01:00
Themaister
dbd15a1d09 Add more super scope stuff. Crude fix in Makefile. 2011-01-10 15:01:34 +01:00
Themaister
c5770039cc Update build system to include joyconfig 2011-01-09 15:58:49 +01:00
Themaister
2a4995c21f Starting Win32 support. 2011-01-07 17:59:53 +01:00
Themaister
a5bbc68a84 Add SDL audio driver. 2011-01-07 15:50:16 +01:00
Themaister
c5d1f7d60b Change build rules to use LDFLAGS when linking. 2011-01-07 11:18:41 +01:00
Themaister
270292db2c Check libsamplerate as critical and use HAVE_SRC 2011-01-07 11:11:18 +01:00
Themaister
948de95799 Update build system 2011-01-06 20:12:25 +01:00
Themaister
4cc3f7aaab Start moving over to SDL rather than GLFW to minimize dependencies. 2011-01-06 18:34:11 +01:00
Themaister
889924283f Remove undeeded slash in Makefile install target 2011-01-05 20:47:31 +01:00
Themaister
6f9796a3fb Update build system to enable/disable ffmpeg. 2011-01-05 19:51:19 +01:00
Themaister
6084de60c8 Merge branch 'master' into record
Conflicts:
	Makefile
2011-01-05 19:31:27 +01:00
Themaister
7cc96aff01 Update build system for xml shaders. 2011-01-05 17:42:58 +01:00
Themaister
633cc43949 Refactor shader code. Start adding code for bSNES xml shaders as well... 2011-01-05 17:22:12 +01:00
Themaister
4e77573683 more progress, but still borked 2011-01-03 20:46:50 +01:00
Themaister
b47f58c338 Add Jack audio driver. 2011-01-01 03:53:30 +01:00
Themaister
7e9a2a6e23 Should fix up dynamic loading by disabling internal link of the library as well... 2010-12-30 14:26:12 +01:00
Themaister
19e2b2768b Fix up some issues with dynamic loading. 2010-12-30 14:11:56 +01:00
Themaister
73203b75c1 Dynamic loading of libsnes. 2010-12-30 13:54:49 +01:00
Themaister
0dde1ce7d1 Add destdir 2010-12-30 05:51:11 +01:00
Themaister
b1a7a11dfc Change path for /etc config. 2010-12-30 03:42:31 +01:00
Themaister
5824f081f7 Slight update in makefile 2010-12-30 03:23:12 +01:00
Themaister
38616ee794 More cleanup... 2010-12-30 03:02:30 +01:00
Themaister
57a5c55ca3 update makefile 2010-12-30 02:56:56 +01:00
Themaister
0d770e45fa remove uneeded flag 2010-12-30 01:42:46 +01:00
Themaister
51e08c3fd1 Change cflags 2010-12-30 01:40:35 +01:00
Themaister
75d8781854 Add stuff to detect filters. 2010-12-30 01:33:40 +01:00
Themaister
869d839eee Should work nicely. 2010-12-29 20:50:50 +01:00
Themaister
80d98f765e More fixes 2010-12-29 19:43:17 +01:00
Themaister
2da6a4e2cc More work on configs. 2010-12-29 19:18:37 +01:00
Themaister
013234a89a Started adding settings API. 2010-12-29 19:00:21 +01:00
Themaister
e318d04407 Fix makefile 2010-12-24 11:53:43 +01:00
Themaister
faa7f10530 Some file cleanup. 2010-12-24 02:18:39 +01:00
Themaister
3fdb201710 Some refactoring. Splitting up driver logic and file logic. 2010-12-24 01:26:36 +01:00
Themaister
8ee7d30260 play 2010-12-11 19:03:35 +01:00
Themaister
783f384b6f :D 2010-12-01 22:46:23 +01:00
Themaister
ed9e0d746a blah 2010-11-24 15:45:07 +01:00
Themaister
3835100101 Add possibility to specify libsnes. 2010-11-19 21:26:31 +01:00
Themaister
d1a0500219 Adds support for vertex shader input params. :) 2010-11-19 21:21:04 +01:00
Themaister
c5c5d521aa Go back to standard conf 2010-11-13 13:16:30 +01:00
Themaister
8eef955a48 Can select to use Cg shaders. 2010-11-12 23:09:43 +01:00
Themaister
e01a0e297a include -I. 2010-11-12 22:44:09 +01:00
Themaister
dab359bdf5 Updates for Cg shaders, yay. WIP. 2010-11-12 22:32:38 +01:00
Themaister
79905252dd hm 2010-11-08 23:46:56 +01:00
Themaister
c5f433f399 Update for more modern GL approach. 2010-11-08 23:38:32 +01:00
Themaister
69ae64d7df :3 2010-08-28 16:36:15 +02:00
Themaister
fbd8dc6314 Makefile stuff. 2010-08-25 22:40:43 +02:00
Themaister
cb00f4b07e Added bleed 'n noise filter. 2010-08-19 23:44:12 +02:00
Themaister
8c956f95a1 :V 2010-08-19 20:30:14 +02:00
Themaister
ff4869042b :v 2010-08-19 20:29:32 +02:00
Themaister
6c7e53b6ce Fixes segfault when audio driver is not active. 2010-08-19 15:28:00 +02:00
Themaister
3e9bedffed roar_vs support. 2010-08-16 21:20:07 +02:00
Themaister
b53d538d76 Update Makefile, uses correct pixel format. 2010-06-27 18:24:26 +02:00
Themaister
f471b4a8da Updated build 2010-06-27 15:46:23 +02:00
Themaister
10d9a1c6ba Updates for libsnes 0.065 2010-06-27 14:40:06 +02:00
Themaister
e0f5b2d172 Better optimizes the hq plugins. 2010-05-29 17:02:48 +02:00
Themaister
f47f483ebe Renaming 2010-05-29 17:01:11 +02:00
Themaister
d6128bf502 Added HQ filters. (They eat CPU!! :\) 2010-05-29 16:59:57 +02:00
Themaister
2b1adcf8a3 :V 2010-05-28 18:07:04 +02:00
Themaister
ffb92a5a29 ALSA 2010-05-28 15:41:38 +02:00
Themaister
68925c0399 OSS 2010-05-28 14:33:18 +02:00
Themaister
03cd9d11dd Configurable build 2010-05-28 14:04:50 +02:00
Themaister
cd0f21d139 More modular at least. 2010-05-28 02:45:18 +02:00
Themaister
74dc4d0ac2 :v 2010-05-27 16:56:12 +02:00
Themaister
98b6c4a4ec Resampling :D 2010-05-27 00:26:11 +02:00
Themaister
33b2b8f96e Hmmmm 2010-05-26 23:21:18 +02:00
Themaister
d3cec173ac Samplerate stuff 2010-05-26 22:42:58 +02:00
Themaister
eed8e2bed2 SSNES 2010-05-26 21:27:37 +02:00