Alcaro
cb1b7695cb
(GLX) Remove a global and a reinvented typedef.
2014-11-05 22:46:47 +01:00
twinaphex
cf7d975b19
Fix GL_DEBUG compilation
2014-11-04 18:59:25 +01:00
twinaphex
d2df6421dc
(DRM KMS) Convert DRM KMS context driver over
2014-10-24 05:20:07 +02:00
twinaphex
46717d1147
Start moving context driver variables to struct that gets
...
allocated and bound to driver.video_context_data - begin
with GLX context driver first
2014-10-24 03:12:08 +02:00
twinaphex
1cee15a118
Uniquely name each static function for GLX context driver
2014-10-08 18:12:18 +02:00
twinaphex
bcd5f8aa5b
Add has_windowed to video driver and graphics context driver
2014-10-08 17:23:02 +02:00
Themaister
6d99bb2e2a
Fix fullscreen swapping with cached context cores.
2014-05-11 20:10:17 +02:00
Themaister
f26593e0b6
Add core context support to X/EGL and KMS/EGL.
2014-04-20 13:54:29 +02:00
Themaister
105872a42c
Add HW context support to X/EGL and KMS/EGL.
2014-04-19 16:06:25 +02:00
Themaister
f658112756
Add experimental support for separate HW contexts.
2014-04-19 15:37:00 +02:00
Themaister
d0302c9800
Begin adding opaque interface to gfx_context.
2014-03-09 16:50:18 +01:00
twinaphex
0a15a17d44
Update years on all license headers
2014-01-01 01:50:59 +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 10baf8456d7e7a2ad44cc5924f7e10e3584ba82d.
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
twinaphex
80079e297b
(GLX) Hook up preliminary onscreen FPS (enabled by setting "Debug
...
Info Messages" in RGUI to ON
2013-10-07 17:11:48 +02:00
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