Commit Graph

53 Commits

Author SHA1 Message Date
twinaphex
849cfb680e Saves 'Show Framerate' setting to config file now too 2013-10-11 01:19:54 +02:00
Themaister
f46f26c42a Revert "(Show FPS) Fix issue with DRM EGL context showing corrupted"
This reverts commit 10baf8456d.
2013-10-08 12:27:25 +02:00
twinaphex
10baf8456d (Show FPS) Fix issue with DRM EGL context showing corrupted
string - check if buf_fps is not null before pushing string to message
queue - do this for all context files from now on
2013-10-08 03:14:34 +02:00
Themaister
84c84814cf Fix possible crash with uninitialized buf_fps.
If fps count == 0, buf_fps would not be written to.
Also, make writing into buf_fps optional. Drop always_write variable as
it doesn't serve a purpose anymore.
2013-10-07 21:54:29 +02:00
twinaphex
a98f0336df Implement FPS show message option (Debug Info Text) for most
graphics contexts using message queue
2013-10-07 20:22:08 +02:00
twinaphex
c0c6ecc6cb Rewrite gfx_get_fps - now outputs proper string for FPS output 2013-10-07 20:17:07 +02:00
Themaister
8e5a0b4a38 Remove the stub Win32 GUI.
It is only confusing and doesn't add anything atm.
If we want to go for WIMP-based GUI, it will be using a multi-platform toolkit anyways.
2013-09-27 16:39:22 +02:00
Themaister
45cfc584f9 Allow disabling building Win32 "GUI". 2013-08-31 11:43:14 +02:00
Themaister
67f4f1b3ed [WGL] Fix window size calculation. 2013-08-23 17:32:57 +02:00
Themaister
4d8e9df03d Add forced debug context support to WGL. 2013-08-14 14:13:28 +02:00
Themaister
eb95798016 Style fixups. 2013-08-11 00:57:24 +02:00
Themaister
a9df0a230d Fix CXX_BUILD. 2013-08-11 00:57:24 +02:00
Themaister
335c32d95d Support creating debug contexts. 2013-08-11 00:56:53 +02:00
Themaister
913ad7753a Merge fixes. 2013-08-11 00:53:46 +02:00
Themaister
feebb78f75 Support cached contexts on Win32.
Only tested on Wine, but works.
2013-08-11 00:53:46 +02:00
Themaister
b090f5ab36 Implement WGL core context. 2013-08-11 00:51:05 +02:00
Themaister
b9fce188ea Initial work on core GL context support. 2013-08-11 00:50:04 +02:00
OV2
b9cbcd0b81 win32: add simple menu to opengl context 2013-07-07 02:22:11 +02:00
OV2
bfd11dd1a4 win32: add _WIN32_WINNT define for multimon in mingw32 2013-06-20 16:08:39 +02:00
Themaister
70e961e007 Fixes to Win32 build. 2013-04-13 14:38:08 +02:00
Themaister
e389220df8 Refactor frame_counter.
Graphics drivers get the task of updating this.
If threaded driver is used, main thread cannot update the counter
due to race conditions.
2013-04-13 14:28:12 +02:00
twinaphex
c56f4ddb92 (wgl_ctx) Remove HAVE_EGL code portions 2013-04-06 23:29:05 +02:00
twinaphex
7111558359 wgl_ctx.c - ifdef HAVE_EGL portions of code 2013-04-06 19:28:19 +02:00
Themaister
5e755671da Add show_mouse() context callback. 2013-03-29 13:46:11 +01:00
Themaister
067e00b3dd Remove post_render context callback.
Was supposed to be used for overlay, but is useless now.
2013-03-29 13:26:07 +01:00
Themaister
0b4cf2d053 Update license headers to 2013. 2013-01-01 01:41:15 +01:00
Themaister
5eb7432fff Add overlay rendering to GL.
This allows e.g. Android to render a keypad overlay for touch.
2012-12-19 13:26:11 +01:00
twinaphex
799a9c35fb gfx_common.c - make gfx_get_fps into the main public function -
and remove the two public wrapper functions
2012-12-15 07:03:33 +01:00
Themaister
28bb46483c Drop video_force_16bit.
This option is silly now.
2012-11-20 23:23:18 +01:00
OV2
eaa637aa4b win32: report correct monitor size for regular fullscreen in wgl 2012-10-31 21:36:17 +01:00
Themaister
dc4eaea7b4 Fix build derp. 2012-10-30 22:02:15 +01:00
Themaister
85b6437fdf Add multi-monitor to D3D9.
Untested as I don't have multiple monitors.
Refactored slightly in WGL to make the code more uniform.
The multi-monitor support should probably be refactored to w32_common or
something similar.
2012-10-30 11:49:40 +01:00
Themaister
c2674328ec Fix broken CRLF, and minor fixes for VC12. 2012-10-24 17:19:37 +02:00
Twinaphex512
53868033b7 (MSVC 2012) Initial MSVC 2012 solution
Just need to sort out the linking errors - we'll need to create a
Direct3D driver that is not external for PC and do away with the
'external' one which is really an unacceptable extra dependency for such
a popular graphics API. Also, look if the WGL context file will even
work. Added some TODOs too.
2012-10-24 15:48:44 +02:00
OV2
a97acbddb1 win32: ignore f10 and alt key presses 2012-10-22 21:27:49 +02:00
Toad King
c7dad59402 Add EGLImage support to GL driver.
On videocore, uploading image textures using OpenVG instead of OpenGL ES saves us about 4.5 milliseconds per frame.
2012-10-19 23:08:53 -04:00
Toad King
faf1b47d61 VideoCore EGLImage, still needs EGLImage support in GL driver 2012-10-19 21:24:28 -04:00
Toad King
301848e037 compile fix 2012-10-18 19:09:16 -04:00
Toad King
86fb0984d2 beginning framework for EGLImage support, added (untested) example to OpenVG 2012-10-18 19:00:25 -04:00
Themaister
89cf228c30 Use monitor index setting. 2012-10-12 21:18:24 +02:00
OV2
1aef7faacb win32: selectable monitor in wgl context 2012-10-12 19:39:55 +02:00
Themaister
f605e8acf2 Fix compiler warnings. 2012-10-11 23:31:46 +02:00
OV2
e5fe88032a win32: specify device when restoring mode 2012-10-11 23:24:53 +02:00
OV2
0db21ccac1 win32: also use current monitor for regular fullscreen 2012-10-11 22:32:31 +02:00
Themaister
4474b18c8d Minor nit. 2012-10-11 00:21:08 +02:00
Themaister
b7174a229e Merge git://github.com/OV2/RetroArch
Conflicts:
	gfx/context/wgl_ctx.c
2012-10-11 00:18:21 +02:00
Themaister
cf37629d0d Add icon to WGL. 2012-10-11 00:09:24 +02:00
Themaister
6e1b2c6291 Slight adjustments to WGL. 2012-10-10 23:52:59 +02:00
OV2
691491ccdb win32: windowed fullscreen on current monitor 2012-10-10 22:08:22 +02:00
OV2
13fafd80ab win32: only hide cursor if in fullscreen 2012-10-10 21:44:29 +02:00