Commit Graph

6731 Commits

Author SHA1 Message Date
Brad Parker
ff98730906 don't define UNICODE for msvc2005 2017-08-09 23:33:57 -04:00
Brad Parker
530d79f8e3 d3d9: only use wide char on msvc if UNICODE is defined 2017-08-09 18:25:45 -04:00
twinaphex
2f832d145f Make DragAcceptFiles go through function pointer 2017-08-09 16:25:23 +02:00
twinaphex
795ae524e9 Convert gdi_ctx.cpp to C 2017-08-09 13:56:47 +02:00
twinaphex
a4a027be67 Convert wgl_ctx into C - also take care of serious warning 2017-08-09 13:51:33 +02:00
twinaphex
c3851d42e6 Convert win32_common.cpp to C - gets rid of all the extern "C"
references as well.
Note to bparker - DragAcceptFiles has a minimum dependency for WinXP,
might have to go through a function pointer there or have a
compilation-time ifdef
2017-08-09 13:39:14 +02:00
twinaphex
535dbe0aaa win32_common.cpp - style nits 2017-08-09 13:28:31 +02:00
twinaphex
3bac7cc7ef Revert "Start hooking up more resolution functions - not working properly yet"
This reverts commit dccc9711d9.
2017-08-09 11:19:27 +02:00
twinaphex
dccc9711d9 Start hooking up more resolution functions - not working properly yet 2017-08-09 10:58:43 +02:00
twinaphex
365cfd22ee Don't hide 'Resolution' setting behind compile-time ifdefs anymore 2017-08-09 10:33:36 +02:00
twinaphex
9272d26269 Start filling in more resolution functionality for Windows 2017-08-09 04:17:32 +02:00
twinaphex
cea3cab3f4 Create win32_get_video_output_next 2017-08-09 04:09:44 +02:00
twinaphex
97de6deb56 Fix logic in win32_get_video_output_next 2017-08-09 04:07:41 +02:00
twinaphex
1ecdbf4050 Add win32_get_video_output_prev 2017-08-09 03:53:19 +02:00
twinaphex
b943060797 Add win32_get_video_output_size 2017-08-09 03:44:03 +02:00
twinaphex
c7615fdf00 Add RETRO_ENVIRONMENT_SET_HW_SHARED_CONTEXT 2017-08-07 18:06:03 +02:00
Brad Parker
6359fe44af forgot about mingw not defining _MSC_VER 2017-08-07 11:28:35 -04:00
Brad Parker
09922f5ee7 msvc2005: use non-unicode stb font driver 2017-08-07 11:18:38 -04:00
twinaphex
ba36055632 (GX) Buildfix 2017-08-06 13:43:01 +02:00
twinaphex
169aea5ae1 (GX) Another buildfix 2017-08-06 05:54:46 +02:00
twinaphex
740ad823ab (GX) Buildfix 2017-08-06 05:52:40 +02:00
twinaphex
86f7972aa8 (Wii) Backport
0574b91595
- untested
2017-08-06 04:40:55 +02:00
Brad Parker
b1904bcfa6 caca: enable OSD text drawing 2017-08-04 21:51:14 -04:00
Brad Parker
c8e6a98651 gdi: enable OSD text drawing 2017-08-04 21:47:46 -04:00
Rob Loach
2a0e34d66e
Add ./configure to audio and video filters 2017-07-27 22:20:56 -04:00
Rob Loach
4f4ef6e815 Add a make install command to the video filters 2017-07-25 09:12:37 -04:00
twinaphex
cfc7f4c8c7 Cleanups 2017-07-23 19:46:11 +02:00
Brad Parker
12ae59a197 freetype: better way to determine max_width/height, fixes buffer overflow with alternate OSD fonts 2017-07-22 22:21:26 -04:00
twinaphex
43c42c28e6 Cleanup font_renderer_create_atlas 2017-07-22 18:46:33 +01:00
twinaphex
9fe27117f2 Revert "(iOS) Take this out - see if it solves our issues"
This reverts commit 1cf6f2f20f.
2017-07-21 05:24:41 +01:00
twinaphex
1cf6f2f20f (iOS) Take this out - see if it solves our issues 2017-07-19 18:42:59 +01:00
twinaphex
c9b88fa1ab Buildfix 2017-07-03 08:57:26 +02:00
twinaphex
708596ba84 Call dylib_free at end of WGL context destroy function 2017-07-03 08:56:17 +02:00
Twinaphex
d561c7ff2d Revert "Don't show this warning when HAVE_SHADER_PIPELINE is not defined"
This reverts commit 431f1b4b7f.
2017-06-28 05:02:31 +02:00
Twinaphex
431f1b4b7f Don't show this warning when HAVE_SHADER_PIPELINE is not defined 2017-06-28 05:01:55 +02:00
twinaphex
b11620e1eb Add retro_timers.h/retro_math.h 2017-06-28 04:41:38 +02:00
twinaphex
03ee897ae2 Try implementing core context version of XMB ribbon 2017-06-27 06:31:18 +02:00
Twinaphex
c16bb5ff5e (Cocoa) Buildfix 2017-06-27 06:14:13 +02:00
twinaphex
c1c5ebf5f6 (Cocoa) Start implementing core context hooks 2017-06-27 06:11:08 +02:00
twinaphex
94af3addd0 Update cocoa_gl_ctx.m 2017-06-26 07:23:04 +02:00
twinaphex
f5a12d63cc (Cocoa) Try to support Core GL 3.1/3.2/3.3 and 4.1 on OSX 10.7 and
10.10 respectively
2017-06-26 07:16:41 +02:00
twinaphex
f087419165 Rename platform_linux.c to platform_unix.c 2017-06-19 17:38:49 +02:00
ensrha
93ea78772d Add missing verbosity include 2017-06-19 14:38:26 +01:00
ensrha
a1be55f655 Restore pixman, appears to have been deleted by mistake in 2078331495 2017-06-19 14:38:15 +01:00
twinaphex
097d9bc13b (iOS) Buildfix 2017-06-18 19:43:55 +02:00
Twinaphex
56d744ceaa (Cocoa) Shared hardware context starts to work now 2017-06-18 19:35:34 +02:00
twinaphex
e0cc113689 Try to fix this regression https://github.com/libretro/RetroArch/issues/5060 2017-06-18 18:50:46 +02:00
twinaphex
a3f216ba86 (Android) Try to move this code to set_video_mode 2017-06-18 17:21:33 +02:00
twinaphex
4850af8eac Revert "Try to set use_hw_ctx in advance for Android"
This reverts commit c010c5b258.
2017-06-18 17:09:27 +02:00
twinaphex
c010c5b258 Try to set use_hw_ctx in advance for Android 2017-06-18 16:45:36 +02:00
twinaphex
c7ac70a923 Combine video_renderchain_driver.c and video_driver.c 2017-06-12 15:45:58 +02:00
Zoran Vuckovic
08b6fdb697 Add missing include directive 2017-06-12 14:13:08 +02:00
Daniel Jimenez
22fc07a839 Fix mirrored images in vertical games on 3DS (bug #4817)
On branch master
 Your branch is up-to-date with 'origin/master'.
 Changes to be committed:
	modified:   ctr_gfx.c
2017-06-11 18:12:37 -07:00
Jean-André Santoni
364440813f Merge pull request #5009 from psyke83/xmbtrans
xmb: enable menu transparency support when emulation is paused (v2)
2017-06-11 21:23:24 +02:00
twinaphex
060753258a Combine input_driver.c and input_keyboard.c 2017-06-11 17:51:12 +02:00
twinaphex
80e2911bec Cleanups 2017-06-11 00:23:19 +02:00
twinaphex
95e588ce0f Fix C89_BUILD 2017-06-10 12:52:45 +02:00
twinaphex
f86f1b3e32 Simplify gl_raster_font_upload_atlas 2017-06-08 08:10:23 +02:00
twinaphex
aaf3c876eb gl_raster_font.c - Cleanups 2017-06-08 06:44:04 +02:00
Twinaphex
e2be9e659d Silence some warnings 2017-06-08 02:44:38 +02:00
twinaphex
f6c2d97ed5 Don't do these constant checks 2017-06-07 03:41:36 +02:00
twinaphex
3443153ccc (DRM/KMS) If we have the X11 input driver selected, default to udev and/or
linuxraw driver instead
2017-06-06 21:15:32 +02:00
twinaphex
1d65222051 No longer need linux/input.h header 2017-06-06 08:31:41 +02:00
twinaphex
ded0813f6b Don't need this header 2017-06-06 07:36:06 +02:00
twinaphex
f307135d1d Split up wayland input driver into separate driver; and
improve mouse support for menu
2017-06-06 07:34:33 +02:00
twinaphex
6b3dbff75f Merge input_driver.c and input_joypad_driver.c 2017-06-06 05:56:02 +02:00
twinaphex
9ebfb36b4e Use rarch_keysym_lut directly 2017-06-06 05:17:25 +02:00
twinaphex
ae98ea7210 Remove unused function 2017-06-06 03:49:21 +02:00
Conn
f413b23f06 xmb: enable menu transparency support when emulation is paused (v2)
Allow xmb menu driver transparency when "Pause when menu activated" is enabled (default setting).
This is also the default behaviour of the rgui driver and is helpful for users to preview
video/shader changes on the fly.

Issues fixed:

gfx/video_driver: enable menu transparency only when game is loaded (as a loaded core can display
                  black or corrupt image)
gfx/video_driver: don't clobber cached frame during driver reinit if game was loaded
                  (fixes missing menu background/paused foreground on full screen toggle)
menu/drivers/xmb: ensure transparency is applied when game is loaded and no shader pipeline active.
menu/menu_driver: explicitly apply transparency only for existing textures (i.e. wallpapers), to
                  avoid background of cores with no content yet loaded mixing with wallpaper.
2017-06-02 02:55:59 +01:00
Zoran Vuckovic
2056ebc803 Allow udev input to be used with X11 context 2017-06-02 01:08:28 +02:00
twinaphex
44b4a4e028 Revert "xmb: enable menu transparency support when emulation is paused"
This reverts commit 17d0037bd5.
2017-06-01 17:21:55 +02:00
Conn
17d0037bd5 xmb: enable menu transparency support when emulation is paused
Allow xmb menu driver transparency when "Pause when menu activated" is enabled (default setting).
This is also the default behaviour of the rgui driver and is helpful for users to preview
video/shader changes on the fly.

Issues fixed:

gfx/video_driver: enable menu transparency only when game is loaded (as a loaded core can display
                  black or corrupt image)
gfx/video_driver: don't clobber cached frame (fixes missing background on full screen toggle)
menu/drivers/xmb: ensure transparency is applied when game is loaded and no shader pipeline active.
menu/menu_driver: explicitly apply transparency only for existing textures (i.e. wallpapers), to
                  avoid background of cores with no content yet loaded mixing with wallpaper.
2017-05-31 23:45:16 +01:00
Twinaphex
1be1386161 Revert "xmb: allow transparency when emulation paused" 2017-06-01 00:27:44 +02:00
hizzlekizzle
ba2cf008c6 update Cg menu ribbon for additive blending
Fixes solid white ribbon.
2017-05-30 20:13:58 -05:00
Zoran Vuckovic
32d4e740ce Fix keyboard key translation issue 2017-05-30 22:59:31 +02:00
Jean-André Santoni
c4b2feb811 Merge pull request #4985 from psyke83/master
xmb: allow transparency when emulation paused
2017-05-30 08:11:35 +02:00
twinaphex
c83d72d589 Buildfix for Python 2017-05-30 04:11:04 +02:00
Conn
57503051ea xmb: allow transparency when emulation paused
Allow xmb menu driver transparency when "Pause when menu activated" is enabled (default setting).
This is also the default behaviour of the rgui driver and is helpful for users to preview
video/shader changes on the fly.
2017-05-29 23:49:40 +01:00
Arto Vainiolehto
766e4f5110 Fix scaling bug in video_driver_translate_coord_viewport()
- now scaled_x and height are correctly calculated, using viewports's width and height, respectively, as the scaling factor
-- previously the scaling factor was the screen's width/height, which meant that if screen and viewport had different bounds, scaled_x/scaled_y were incorrectly calculated
2017-05-30 00:00:56 +03:00
twinaphex
2f39e4cd33 Use local variable 2017-05-28 17:46:42 +02:00
twinaphex
857562bf9d Prevent immediate crash when compiling with SANITIZER=address 2017-05-28 17:46:01 +02:00
twinaphex
b91dd1413f Silence warning 2017-05-26 19:32:18 +02:00
Brad Parker
a04b54006d win32: disable winraw input driver for targets older than XP 2017-05-23 21:03:00 -04:00
aliaspider
934f7c58ba (WiiU) enable networking. 2017-05-23 10:24:23 +01:00
Twinaphex
fce0ca2a3a Merge pull request #4958 from aliaspider/master
allow easier scheduling of tasks in single threaded mode.
2017-05-22 12:50:43 +02:00
aliaspider
801cc57e82 (WiiU) improve task scheduling. 2017-05-22 11:19:26 +01:00
twinaphex
8cc2886773 Get rid of some implicit memsets 2017-05-22 11:33:53 +02:00
aliaspider
634de19dc9 (WiiU) enable libretrodb. 2017-05-22 06:07:27 +01:00
aliaspider
db490a69a3 (WiiU) add a menu display driver. enable MATERIALUI and XMB. 2017-05-22 01:45:40 +01:00
Jean-André Santoni
0b1716650b Use additive blending for the ribbon in GL and Vulkan 2017-05-22 01:29:56 +02:00
Jean-André Santoni
1bd07c34c7 Make the Vulkan ribbon consistant with the GL ribbon 2017-05-22 00:39:09 +02:00
twinaphex
a0924a414f Get rid of some unnecessary function callback wrapper functions 2017-05-21 09:30:32 +02:00
aliaspider
a03b3238cb (WiiU) update font atlas texture when required. 2017-05-21 04:36:26 +01:00
aliaspider
b17e76d8b7 (WiiU) add freetype and stb font support.
freetype disabled by default due to requiring an external library.
2017-05-21 04:22:32 +01:00
aliaspider
1f13d616cc (WiiU) font renderer: fix vertical offset. 2017-05-21 04:17:38 +01:00
aliaspider
8dee95651f (WiiU) add a font driver. 2017-05-21 03:05:41 +01:00
twinaphex
26e5c28208 Updates 2017-05-20 22:04:10 +02:00
twinaphex
c962ad6009 Update 2017-05-20 21:56:32 +02:00
twinaphex
ddf779008a Update 2017-05-20 19:48:02 +02:00
twinaphex
4f51341fc0 Update 2017-05-20 19:47:02 +02:00