Commit Graph

63 Commits

Author SHA1 Message Date
Themaister
8120198ed8 Make C++ compiler happy. 2014-02-06 22:52:48 +01:00
twinaphex
0a15a17d44 Update years on all license headers 2014-01-01 01:50:59 +01:00
Themaister
6031590cd3 Add OPENGLES3 context support in libretro GL. 2013-12-13 14:20:49 +01:00
Themaister
07e3c7f7fa Use input context in xvideo and xegl. 2013-12-08 14:42:03 +01:00
Themaister
205f8ce90d Start implementing UTF-8 keyboard handling for X11. 2013-12-08 14:20:05 +01:00
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
c0c6ecc6cb Rewrite gfx_get_fps - now outputs proper string for FPS output 2013-10-07 20:17:07 +02:00
Themaister
b9fce188ea Initial work on core GL context support. 2013-08-11 00:50:04 +02:00
Themaister
3d477a04c8 Don't call eglSwapInterval until context is alive. 2013-04-14 12:16:55 +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
c78239a10d Avoid async error handling breaking XSetInputFocus. 2013-02-23 15:20:47 +01:00
Themaister
100c26f067 Avoid failing when XSetInputFocus fails. 2013-02-23 15:15:10 +01:00
Themaister
eb0476ffab Add configurable GL context. 2013-02-23 14:50:18 +01:00
Themaister
ed55245551 Use the more correct format for X/EGL. 2013-02-15 11:38:27 +01:00
Themaister
bd4b22835c Init threads in X/EGL. 2013-02-15 10:28:10 +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
Themaister
30fc796061 Grab Key events in X/EGL as well. 2012-12-15 12:00:57 +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
notaz
d33cfef8bd Don't restrict EGL color component sizes.
This makes SGX530 work when using 16bpp framebuffer.
2012-12-13 01:00:50 +02:00
notaz
7237abcff2 Report EGL errors.
Fix a few warnings along the way.
2012-12-11 02:43:29 +02: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
afc611131c Make fullscreen branch slightly clearer. 2012-10-05 15:17:25 +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
dd6d27c108 Add WGL context. 2012-09-30 14:41:58 +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
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
2674a67cdd Abstract away aspect ratio handling. 2012-09-25 13:51:44 +02:00
Themaister
9c24946ca5 Pick right visual attribs in EGL depending on API. 2012-09-25 13:25:03 +02:00
Toad King
df77bbd0bd compile fixes
bind API before initializing context
2012-09-24 20:47:48 -04:00