78 Commits

Author SHA1 Message Date
Themaister
fceda4f33b Account for black frame insertion in refresh rate checks. 2014-07-13 19:45:28 +02:00
Themaister
45205cc5d7 When modechanging on X11, try to match configured refresh rate. 2014-07-13 19:23:08 +02:00
Themaister
ddbe5f148d Fix CXX_BUILD. 2014-06-08 14:08:03 +02:00
Themaister
6d99bb2e2a Fix fullscreen swapping with cached context cores. 2014-05-11 20:10:17 +02:00
Themaister
583514ae95 Add support for GLES 3.1+. 2014-05-03 15:21:14 +02:00
Themaister
795503f108 Just define EGL_OPENGL_ES3_BIT_KHR instead. 2014-04-30 10:01:32 +02:00
Themaister
75077fa553 Should fix build with outdated EGL headers. 2014-04-30 09:27:49 +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
2e3ca36010 Allow toggling monitor index in RGUI. 2014-04-06 15:41:53 +02:00
Themaister
0ae933ea8b Select best KMS mode depending on refresh rate.
Try to match as closely as possible.
2014-04-06 15:29:59 +02:00
Themaister
72c3177715 Honor fullscreen_x/fullscreen_y in KMS/EGL.
Try to find optimal mode.
2014-04-06 15:20:31 +02:00
Themaister
36575fe407 Add multi-monitor support to KMS/DRM. 2014-04-06 15:10:39 +02:00
Themaister
99bc686266 Log available KMS/DRM modes. 2014-04-05 22:29:20 +02:00
Themaister
f804adae21 Fixup big resource leaks in KMS/DRM. 2014-04-05 22:11:19 +02:00
Floréal Toumikian
c1014ee305 Moved dir_list_free 2014-04-05 19:59:31 +02:00
Floréal Toumikian
a107678f0d Fixed broken build 2014-04-05 19:51:28 +02:00
Floréal Toumikian
d663f7fc5d romoved glob, used file_list instead 2014-04-05 19:32:51 +02:00
Floréal Toumikian
8fce5f03e9 Added gpu lookup in DRM EGL context 2014-04-05 16:02:28 +02:00
Themaister
d0302c9800 Begin adding opaque interface to gfx_context. 2014-03-09 16:50:18 +01:00
Themaister
8120198ed8 Make C++ compiler happy. 2014-02-06 22:52:48 +01:00
Themaister
0b462054ea De-hardcode input drivers in KMS-like drivers. 2014-01-24 10:23:48 +01:00
Themaister
53502bd066 Add some FIXMEs. 2014-01-03 20:23:35 +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
e7ddbf1192 Use udev over linuxraw if possible. 2013-12-07 14:28:34 +01:00
Themaister
7aa8b40759 Fixup C89 for loops. 2013-10-22 21:37:56 +02: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
Themaister
b2bf3c12de Add swap_interval support.
Again, mostly useful for 120Hz monitors, and/or playing content which is
a fraction of monitor refresh rate.
2013-09-01 13:20:10 +02:00
Themaister
b9fce188ea Initial work on core GL context support. 2013-08-11 00:50:04 +02:00
Themaister
6dd0839a01 Use common monitor refresh rate estimator.
Ditch custom timing code in KMS.
2013-06-05 18:12:29 +02:00
Themaister
850ee9696e Drop broken delay logging in KMS.
Didn't serve any purpose anyways.
2013-06-03 01:37:52 +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
eb0476ffab Add configurable GL context. 2013-02-23 14:50:18 +01:00
Themaister
35813414be Fix KMS mode.
Wrong color format was used.
2013-02-15 11:30:59 +01:00
Themaister
384d6846b6 Use KMS more inline with upstream example code. 2013-02-15 11:13:30 +01:00
Themaister
076f7ea22e Add more basic debugging to KMS/EGL. 2013-02-15 10:28:02 +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
81e7ffe9a5 Don't use a particular bit depth in KMS. 2012-12-13 10:35:17 +01:00
Themaister
28bb46483c Drop video_force_16bit.
This option is silly now.
2012-11-20 23:23:18 +01: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