Files
kmscon/src
David Herrmann 3eb9cc6f50 uterm: video: return buffer information on display_use()
uterm_display_use() now returns the current back-buffer index when called.
It returns <0 on error. Whether OpenGL is supported is returned via a new
parameter "opengl". Set it to NULL if you're not interested.

Note that a backend might support OpenGL _and_ memory-mapped buffer
access. But you shouldn't rely on uterm_display_use() to return the
correct buffer-index if uterm_display_get_buffers() is not supported. For
instance the DRM-3D backend always returns 0 as buffer index as it has no
way of detecting it, yet.

Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
2013-01-14 20:57:15 +01:00
..
2012-10-27 18:50:03 +02:00
2012-12-12 21:24:15 +01:00
2013-01-03 16:21:18 +01:00
2013-01-03 16:21:18 +01:00
2012-09-30 15:41:08 +02:00
2013-01-13 15:58:40 +01:00
2012-12-12 21:20:45 +01:00
2012-09-30 15:41:08 +02:00
2012-09-16 17:08:21 +02:00
2012-08-08 12:26:35 +02:00
2012-09-18 09:18:50 +02:00
2012-09-18 09:18:50 +02:00
2012-09-18 16:54:25 +02:00
2013-01-13 11:42:04 +01:00