hizzlekizzle
0c792898b8
fix dumb typo
2015-06-12 13:03:34 -05:00
hunterk
b4e4af604e
fix ugly scaling on Retina Macs
2015-06-12 12:45:29 -05:00
twinaphex
55ec66020e
(CGL Ctx) Add TODO/FIXME note
2015-06-02 19:11:01 +02:00
twinaphex
ce7706bc7a
(CGL Ctx) Get rid of some printfs
2015-06-02 18:58:42 +02:00
twinaphex
c188f06cef
(CGL Ctx) Create custom typedef for CGWindowID - OSX 10.4 didn't yet
...
have this typedef
2015-06-02 18:55:46 +02:00
twinaphex
0cfeff8e1e
Cleanups
2015-06-02 18:28:51 +02:00
Twinaphex
f1c69e79c2
(iOS) Buildfix
2015-06-02 11:14:47 +02:00
neville
bfb6001114
(OSX) 10.5 and earlier doesn't have backingScaleFactor, so hardcode it
...
to 1.0f for those platforms
2015-06-02 09:06:59 +02:00
neville
8151c85980
(OSX) Take out settings window for now entirely
2015-06-02 09:00:27 +02:00
neville
2434c5e971
(OSX PPC) Buildfix
2015-06-02 08:48:07 +02:00
twinaphex
9326d9c27c
(DRM EGL) Don't do useless cast
2015-05-24 05:07:01 +02:00
twinaphex
6e327a3b8d
Get rid of more unused global local pointers
2015-05-20 22:48:33 +02:00
twinaphex
a81baed9e2
Move hw_render_callbakc to video driver state and take it out
...
of global state
2015-05-20 19:56:12 +02:00
twinaphex
b99ae6f4e4
Refactor some more code to no longer use global->video_data.width/
...
global->video_data.height directly
2015-05-20 01:39:35 +02:00
Twinaphex
d6a713bb8d
Fix some warnings
2015-05-02 19:09:23 +02:00
Twinaphex
84b5a96898
(CGL) Add some logs
2015-04-27 16:28:52 +02:00
Twinaphex
3c4615d273
(CGL) Add some more logging
2015-04-27 16:15:08 +02:00
Twinaphex
43781876cd
(CGL) Some buildfixes/cleanups
2015-04-27 15:52:37 +02:00
twinaphex
0b807f34bf
(CGL) Implement get_proc_address differently
2015-04-27 15:50:49 +02:00
Twinaphex
01c793904d
(CGL) Start implementing get_proc_address
2015-04-27 06:57:35 +02:00
twinaphex
0634c7e34f
(D3D) Start using global->video_data.width and global->video_data.height
2015-04-26 05:35:41 +02:00
twinaphex
36c2786864
(CGL) Implement bind_api function
2015-04-26 04:38:35 +02:00
Twinaphex
a72cc4bfc9
(CGL) Buildfix
2015-04-26 04:26:57 +02:00
twinaphex
4034dbe591
(CGL) Implement get_video_size and check_window
2015-04-26 04:24:13 +02:00
twinaphex
869576b916
(DRM EGL) Get rid of some forward declarations
2015-04-26 04:02:04 +02:00
Twinaphex
d49ec806e0
(CGL) CGL Context only for OSX
2015-04-26 03:59:55 +02:00
Twinaphex
6703b26e44
(CGL Context) Some buildfixes
2015-04-26 03:48:35 +02:00
twinaphex
7e20265a4e
(CGL) Start making Cocoa-less GL context driver
2015-04-26 03:31:02 +02:00
Twinaphex
ada0955642
(Cocoa GL) Refactor set_video_mode some more
2015-04-26 03:01:15 +02:00
Twinaphex
550ab997ee
(Cocoa GL) Cleanup
2015-04-26 02:57:53 +02:00
Twinaphex
2ce2bb0a5d
(Cocoa) Create stub cocoagl_gfx_ctx_show_mouse
2015-04-26 02:53:50 +02:00
twinaphex
c99cd21080
(OSX) Fixes crash on exit/fullscreen toggle with XMB
2015-04-26 00:50:58 +02:00
Jean-André Santoni
558459fb9b
(iOS) Fix dpi, still incomplete
2015-04-21 18:58:19 +07:00
Twinaphex
c539a66b53
(OSX) Use backingScaleFactor
2015-04-21 13:02:57 +02:00
Twinaphex
000e61dc66
(iOS) 'ret' needs to be passed as pointer
2015-04-21 13:01:21 +02:00
Twinaphex
165b502948
Make get_native_scale code more expandable
2015-04-21 12:57:35 +02:00
Twinaphex
54c6c3eb01
Rename apple_cocoa_gl.m
2015-04-21 11:03:39 +02:00
Twinaphex
ea30e2cc3c
(Cocoa GL) Use NSOpenGL
2015-04-21 11:00:23 +02:00
twinaphex
f435958371
(Android) Implement display metric DPI
2015-04-21 00:57:51 +02:00
twinaphex
1b2e69d782
(Android) Prevent crash at System Information
2015-04-20 22:14:04 +02:00
twinaphex
e8a8b378d5
(Cocoa) Rename RAGameView to CocoaView
2015-04-20 20:39:39 +02:00
Twinaphex
f76f288a86
(apple_cocoa_gl.m) buildfix
2015-04-20 12:56:05 +02:00
twinaphex
20befff4c1
(Cocoa) Move cocoa common files
2015-04-20 12:52:16 +02:00
Twinaphex
2f169a42b1
(qb) Add COCOA
2015-04-20 00:38:55 +02:00
twinaphex
2f2c35252a
Fix gfx_ctx_emscripten struct
2015-04-19 21:05:16 +02:00
twinaphex
d74f5ad3aa
(Apple/Cocoa) Rename gfx_ctx_apple to gfx_ctx_cocoa
2015-04-19 17:40:10 +02:00
twinaphex
94b1f2f54f
(drm_egl_ctx.c) Cleanup
2015-04-16 23:04:22 +02:00
twinaphex
3a6e369516
(Context drivers) Cleanups
2015-04-16 23:03:55 +02:00
twinaphex
590e315bd1
(glx) Remove header includes here too
2015-04-16 22:41:17 +02:00
twinaphex
20e167e00f
(xegl_ctx.c) Remove some unused X11 headers
2015-04-16 22:40:24 +02:00
Twinaphex
946193446d
(iOS) Move buffer swap to actual buffer swap function
2015-04-15 07:34:22 +02:00
twinaphex
4479bf5d55
(XDK1) Buildfixes
2015-04-12 20:00:49 +02:00
Twinaphex
0e2ed7c746
(Apple) Cleanups
2015-04-12 16:55:50 +02:00
Twinaphex
68902c9d94
(Cocoa/Apple) Split up Apple GL context driver code to separate file
2015-04-12 16:51:07 +02:00
twinaphex
f50b208ec8
Move d3d_make_d3dpp to d3d.cpp
2015-04-11 21:54:52 +02:00
twinaphex
a3e14acaa3
Create win32_check_window
2015-04-10 09:36:03 +02:00
twinaphex
b46c9cea87
Create win32_show_cursor
2015-04-10 09:30:18 +02:00
twinaphex
8082f17e2e
Rename egl image buffer functions
2015-04-10 09:02:24 +02:00
twinaphex
89bdccad4d
(wgl_ctx.c) Fix warnings
2015-04-10 06:33:18 +02:00
twinaphex
33e70124a1
(d3d_ctx.cpp) Cleanup
2015-04-10 06:01:52 +02:00
twinaphex
3213baf452
Take out HAVE_EGL ifdefs in gfx_context_driver_t definition
2015-04-10 05:58:08 +02:00
twinaphex
644d52b6ab
(VC Context driver) Style nits/cleanups
2015-04-09 05:35:01 +02:00
twinaphex
ff398fe6c8
gfx_ctx_drm_egl_bind_api - return false at the end
2015-04-09 05:29:24 +02:00
twinaphex
dc10606b23
Create win32_get_metrics
2015-04-09 05:19:29 +02:00
twinaphex
1f23338ca4
Move win32_common.c to gfx/common
2015-04-09 05:16:02 +02:00
twinaphex
61ca56ae8e
Create x11_get_metrics
2015-04-09 05:05:29 +02:00
twinaphex
5e8a78bb25
Move x11_common.c to gfx/common
2015-04-09 05:02:57 +02:00
twinaphex
16b7b454a9
Move gl_common.c to gfx/drivers
2015-04-09 04:57:17 +02:00
twinaphex
2aebce1174
(XEGL/GLX) Implement get_metrics
2015-04-09 03:59:16 +02:00
twinaphex
741e18efb5
(Android) Add android_gfx_ctx_get_metrics
2015-04-09 03:27:41 +02:00
twinaphex
5e4647994b
(Windows) Implement get_metrics for D3D and WGL context drivers
2015-04-08 22:06:33 +02:00
twinaphex
fab39da46a
(Gfx context) Implement get_metrics callback
2015-04-08 20:10:30 +02:00
twinaphex
03af36ba64
(WGL) Go through dylib_load
2015-04-08 19:52:15 +02:00
twinaphex
bd9b6f4795
(D3D) Style nits
2015-04-05 16:15:14 +02:00
twinaphex
36b054506d
Move window manager code to gfx/drivers_wm
2015-04-04 20:30:44 +02:00
twinaphex
24733603ea
Rename d3d_ctx.c to d3d_ctx.cpp
2015-04-04 02:45:22 +02:00
twinaphex
bccb9a3203
(Mali Ctx) Cleanup
2015-04-03 04:40:53 +02:00
twinaphex
41ce2b8ffd
Rename d3d_context.cpp
2015-04-03 02:18:33 +02:00
twinaphex
0c61f8e4eb
(wgl_shader_dlg.c) Style nits
2015-03-30 18:02:22 +02:00
twinaphex
d374fb863c
Use retro_inline.h for remaining 'inline' instances
2015-03-29 16:43:02 +02:00
Alcaro
fbeec2f00e
(WGL) Apparently HAVE_EGL can be defined on this platform...
2015-03-27 23:07:57 +01:00
twinaphex
13789a7233
(MSVC) Fix redefinition warning
2015-03-23 23:58:23 +01:00
aliaspider
4494146179
(windows) build fix: change video_driver_resolve to video_driver_get_ptr
2015-03-23 21:36:27 +01:00
Twinaphex
93ad945e15
Merge pull request #1530 from aliaspider/master
...
(windows) add a shader parameters popup window.
2015-03-23 21:23:29 +01:00
aliaspider
d8fc17307d
(windows) shader parameters dialog: silence a warning.
2015-03-23 18:13:52 +01:00
aliaspider
a43af8622d
(windows) add a shader parameters popup windows.
2015-03-23 17:36:37 +01:00
twinaphex
2ec7fdde51
(GLX) Add GLES2 support
2015-03-21 23:10:06 +01:00
twinaphex
2409da4afe
global_get_ptr update pt. 3
2015-03-21 05:55:31 +01:00
twinaphex
45cf71770e
Rename g_settings to g_config - to prevent conflicts, had to rename
...
some static variables in some of the gfx context driver files
2015-03-21 01:15:03 +01:00
twinaphex
f130b00596
Updates pt. 3
2015-03-20 22:08:36 +01:00
twinaphex
e996d5d51f
Updates
2015-03-20 21:22:38 +01:00
twinaphex
1e9725a302
(Android) Buildfix
2015-03-18 20:26:55 +01:00
twinaphex
3670ef2ac5
Go through driver_get_ptr to grab pointer to driver struct
2015-03-18 19:40:00 +01:00
Higor Eurípedes
d2fb9a5991
(drm_egl_ctx.c) Return false instead of NULL
2015-03-16 14:43:56 -03:00
twinaphex
26f2bd4cbf
Start going through retro_inline INLINE
2015-03-15 04:37:54 +01:00
twinaphex
00239a30d6
Create wrapper functions for passing a message to the runloop's
...
message queue
2015-03-15 02:47:23 +01:00
twinaphex
9803f62f02
(GLX) Add 'glXSwapIntervalSGI' fallback
2015-03-14 02:30:05 +01:00
twinaphex
667a461c89
(Windows/Mouse) Wheel works now in normal mode - doesn't work in
...
grabbed mouse state (exclusive foreground mode)
2015-03-10 23:40:54 +01:00
twinaphex
e5de9494a5
(XEGL) Implement wheel up/down for XEGL too
2015-03-09 17:46:34 +01:00
twinaphex
74332fbd14
(GLX) Implement mouse wheel up/down for GLX context driver
2015-03-09 17:44:19 +01:00
twinaphex
dd0d81eba8
(XEGL context/Xvideo) Add it to these video drivers/ context
...
drivers too
2015-03-09 16:55:27 +01:00
twinaphex
179ad94c6f
(GLX) Add ButtonReleaseMask | ButtonPressMask to event_masks now
2015-03-09 16:52:48 +01:00
Andrés
c13308d162
fix android build
2015-03-07 21:51:07 -05:00
twinaphex
9627117166
Take out fps_monitor_enable
2015-03-07 23:03:56 +01:00
twinaphex
3276781b4f
Don't increment g_runloop.frames.video.count inside video driver
...
implementation's 'frame' function - do this outside
2015-03-07 13:28:45 +01:00
twinaphex
d11006e041
Move frame_count to g_runloop
2015-03-07 13:14:04 +01:00
twinaphex
795ef467ac
Move msg_queue and nbio/http to runloop struct
2015-03-07 13:01:41 +01:00
twinaphex
3aaf7b8368
(PS3) Bootup regressions fixed
2015-03-02 23:40:53 +01:00
twinaphex
fdd7d8be88
(VC EGL) Fix driver
2015-02-28 02:54:07 +01:00
twinaphex
01e2a6854a
(PS3) Build fix
2015-02-24 22:03:49 +01:00
twinaphex
f80e3740aa
Implement set_video_mode in video poke interface
2015-02-24 21:57:51 +01:00
twinaphex
13a391c165
Implement get_video_output_prev/get_video_output_next
2015-02-24 21:36:23 +01:00
twinaphex
55a2209e8e
(PS3) Go through get_video_output_size interface now - build fixes
2015-02-24 20:16:03 +01:00
twinaphex
aafc647724
Add get_video_output_size callback to video context driver
2015-02-24 19:58:14 +01:00
Googer
719ecf014b
(Android) Fix compilation.
2015-02-24 12:17:06 -05:00
gizmo98
6dbba1c956
vc_egl_ctx.c: Align render and screen aspect ratio if hardware upscaling is used.
...
Take care render and screen aspect ratios are equal if hardware upscaling is used. Recalculate and override fullscreen_x if aspect ratios do not match. There are other aspect ratio settings, which can be used to stretch video output.
2015-02-21 13:47:57 +01:00
Higor Eurípedes
c281f0fc68
(griffin) Fix glx, xegl and xvideo build
2015-02-20 23:35:39 -03:00
twinaphex
59c6bfc772
(D3D) Build fix
2015-02-17 00:38:50 +01:00
twinaphex
8f5809ee46
Take out make_current_context
2015-02-16 23:41:49 +01:00
twinaphex
0b926373ce
(GLX) Buildfix
2015-02-09 02:03:41 +01:00
Toad King
7c3655ba5d
fix
2015-02-08 14:51:07 -06:00
twinaphex
90e5cffab8
Add RETRO_ENVIRONMENT_MAKE_CURRENT_CONTEXT
2015-02-08 18:39:12 +01:00
twinaphex
95df3dc394
(WGL) Add fallback to GetProcAddress
2015-02-08 01:24:58 +01:00
twinaphex
9fee2dd9ad
(Win32) Header include
2015-01-20 03:44:02 +01:00
twinaphex
51d97c3fbb
Rename gfx_common.c to win32_dwm_common.c
2015-01-19 01:49:08 +01:00
twinaphex
80d4de7c3f
Add gfx/video_viewport.c/viewport.h
2015-01-18 23:59:57 +01:00
twinaphex
e48fd77bec
(android context) Cleanup
2015-01-18 22:39:23 +01:00
twinaphex
c4310ec813
Implement suspend_screensaver callback
2015-01-18 22:32:14 +01:00
twinaphex
c95668f2d5
(x11_common.c) cleanups
2015-01-18 21:49:00 +01:00
twinaphex
de76884bb8
Rename gfx_get_fps to video_monitor_get_fps
2015-01-18 20:03:33 +01:00
twinaphex
45d691c28e
Make win32_menu_loop extern "C"
2015-01-17 06:08:22 +01:00
twinaphex
3208b77b01
Only make keyboard_event function extern "C"
2015-01-17 05:53:35 +01:00
twinaphex
4428fe21cd
Add UI Menubar Enable setting
2015-01-17 01:29:15 +01:00
twinaphex
0e0b10e28c
Indent win32_menu_loop
2015-01-16 17:55:22 +01:00
twinaphex
094207921f
(Win32 UI) Add fallback cases to default:
2015-01-16 17:53:51 +01:00
twinaphex
f7b5ca6862
(Win32 UI) Fix State Index options
2015-01-16 17:40:36 +01:00
twinaphex
bb7d33ebde
(WGL) Declare variables at top
2015-01-16 16:22:19 +01:00
twinaphex
376ee9e4ba
(Win32 UI) Add Audio Mute Toggle
2015-01-15 23:55:49 +01:00
twinaphex
6484c4882a
(Win32 menubar) Add 'Take Screenshot' to Commands
2015-01-15 23:30:41 +01:00
twinaphex
d830ad38af
Change win32_browser function
2015-01-15 20:56:12 +01:00
twinaphex
a41f33fb63
(D3D) Menubar works now
2015-01-15 19:10:41 +01:00
twinaphex
ffccae79c9
(D3D) Implement WM_COMMAND in WindowProc
2015-01-15 18:53:39 +01:00
twinaphex
8d610f9143
(WGL) Buildfix
2015-01-15 18:42:50 +01:00
twinaphex
4179b05d16
Split up win32_common code to separate file
2015-01-15 18:37:43 +01:00
twinaphex
834f7f119e
(Win32) Add State Index menubar options
2015-01-15 07:58:31 +01:00
twinaphex
0959fd2243
(Win32) Add Mouse Grab to menubar
2015-01-15 07:44:01 +01:00
twinaphex
6f5ee8be51
(Win32) Pass initial dir to win32_browser_dir
2015-01-15 06:51:30 +01:00
Toad King
fe5b4e90fb
fix resizing on windows, should account for menu size correctly now
2015-01-14 23:15:19 -06:00
twinaphex
aeed28eccc
(Win32) Pass title to win32_browser
2015-01-15 05:22:17 +01:00
twinaphex
02a882784f
(Win32) Initial menubar - will become optional
2015-01-15 05:17:22 +01:00
twinaphex
09b25e54c5
Rename gl_font.c and d3d_font.c
2015-01-12 23:19:21 +01:00
twinaphex
069fb556f0
Rename graphics context drivers
2015-01-12 22:19:31 +01:00