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
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
8da0fd6f6d
Drop another call to glClearColor.
2012-10-17 21:35:40 +02:00
Themaister
c6820af73e
Fix CXX_BUILD.
2012-09-28 23:47:20 +02:00
Themaister
f96d357017
Fix build on KMS.
2012-09-25 19:28:21 +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
Themaister
d0e220bbf1
Refactor all GL context handling code.
2012-09-25 01:37:23 +02:00
Themaister
a1999af4a7
Don't use projection abstraction in GL.
...
Makes no sense anymore as it's calculated with gfx/math/ ...
Keep abstraction for XBox.
2012-09-24 22:51:26 +02:00
Themaister
ae8ab33e81
Properly be able to reinit KMS.
2012-09-24 00:01:04 +02:00
Themaister
b1f5c83deb
Make sure all page-flips are acknowledged.
2012-09-23 12:11:24 +02:00
Themaister
d9fce26801
Log DRM frame as well in KMS.
2012-09-20 19:55:25 +02:00
Themaister
e8666e4b4e
Style nit.
2012-09-19 09:38:59 +02:00
Themaister
90a69ac33e
Only define EGL attrib bits for GL if compiled in.
2012-09-19 09:09:46 +02:00
Toad King
8d5726a5ed
add change to drm/x egl contexts for future OpenVG support
2012-09-18 22:59:51 -04:00
Toad King
012c7def7b
big Raspberry Pi-related changes
...
* convert old rpi video driver into a generic OpenVG driver
* add VideoCore EGL context
* build GLES by default if VideoCore detected (currently does not run)
2012-09-18 19:42:17 -04:00
Themaister
580cf1c07e
Report delta times for vblank misses.
...
For debugging purposes, report time from PageFlip is queued, till it
actually happens.
2012-09-19 00:44:50 +02:00
Themaister
620769fbeb
Ifdef out custom scheduling for now.
...
Doesn't appear to help much.
2012-09-18 23:09:23 +02:00
Themaister
c309099e79
Attempt to use SCHED_FIFO in KMS.
...
This is mostly for testing purposes, to see how much scheduling affects
performance.
2012-09-18 21:51:50 +02:00