Commit Graph

43 Commits

Author SHA1 Message Date
Themaister
3b1e65ba08 Add GL_DEBUG ifdef which forces full GL debugging. 2013-08-14 14:13:28 +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
9ab274a51a Use glXSwapIntervalEXT when available instead. 2013-08-11 00:53:46 +02:00
Themaister
913ad7753a Merge fixes. 2013-08-11 00:53:46 +02:00
Themaister
e18af77412 Add path to cache GL context on reinit.
If successful, can avoid libretro GL reset context callback being
called.
2013-08-11 00:53:19 +02:00
Themaister
b9fce188ea Initial work on core GL context support. 2013-08-11 00:50:04 +02:00
Hans-Kristian Arntzen
f5e1db1506 Fix HAVE_EGL in glx_ctx.c 2013-05-23 18:32:13 +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
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
eeba16d0e8 Fix CXX_BUILD. 2013-03-15 09:21:47 +01:00
Themaister
6dd4a9b492 Log which SwapInterval implementation is used. 2013-02-24 02:09:27 +01:00
Themaister
c78239a10d Avoid async error handling breaking XSetInputFocus. 2013-02-23 15:20:47 +01:00
Themaister
00d7d6c7ca Drop redundant input code in GLX. 2013-02-23 15:15:49 +01:00
Themaister
100c26f067 Avoid failing when XSetInputFocus fails. 2013-02-23 15:15:10 +01:00
Themaister
236cae258d Use GLX 1.3 more correctly. 2013-02-14 15:40:54 +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
671697a211 Move X11 keyboard event to x11_common.
TODO: Add to xegl and xvideo.
2012-12-08 13:35:07 +01:00
Themaister
5185524b46 Use common code for handling keysym translations. 2012-12-08 13:26:10 +01:00
Themaister
6709dcb274 Use XLookupKeysym instead. Add test.
XKeycodeToKeysym is deprecated.
2012-12-08 12:51:04 +01:00
meancoot
d236863d05 (Key Events) Sloppy, ascii only, X11 version. 2012-12-07 18:45:50 -05:00
Themaister
28bb46483c Drop video_force_16bit.
This option is silly now.
2012-11-20 23:23:18 +01:00
Themaister
bda505c95b Set WM_CLASS in X11. 2012-10-26 23:01:32 +02:00
Themaister
204a879380 Report if true fullscreen fails on X11. 2012-10-23 23:17:56 +02:00
Themaister
a79ca54bc7 Fix CXX_BUILD. 2012-10-21 23:24:25 +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
6fd1940741 Fix screensaver appearing in fullscreen. 2012-10-13 19:53:04 +02:00
Themaister
a0e6db636f Set window icon in X11. 2012-10-13 12:51:37 +02:00
Themaister
f6d8902462 Add monitor selection option. 2012-10-12 21:15:58 +02:00
Themaister
9208663c53 Add basic Xinerama support to X11. 2012-10-12 19:58:54 +02:00
Themaister
6104ce2163 Add option for windowed fullscreen. 2012-10-05 14:15:54 +02:00
Themaister
45a5895abf Attempt to recover from true fullscreen failing. 2012-10-05 13:55:24 +02:00
Themaister
b73243b521 Fix CXX_BUILD. 2012-10-01 00:12:07 +02:00
Themaister
dd6d27c108 Add WGL context. 2012-09-30 14:41:58 +02:00
Themaister
5688f939a7 Use GL_BGRA_EXT on GLES. 2012-09-29 20:06:48 +02:00
Themaister
9747a594e8 Check for glXSwapInterval as well. 2012-09-29 12:35:26 +02:00
Themaister
e58bdc4811 Add GLX context. 2012-09-29 12:13:11 +02:00