Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
KMS Frame Buffer How To
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
dman777
l33t
l33t


Joined: 10 Jan 2007
Posts: 760

PostPosted: Sat Feb 02, 2013 5:28 am    Post subject: KMS Frame Buffer How To Reply with quote

If I want to use terminal 2D graphics in my C programs using KMS, where can I find tutorials or find out how to incorporate it in my C programs?
Back to top
View user's profile Send private message
wcg
Guru
Guru


Joined: 06 Jan 2009
Posts: 588

PostPosted: Sat Feb 02, 2013 12:55 pm    Post subject: Reply with quote

KMS as in Kernel Mode Switching? That would be in the graphics drivers for
the graphics hardware. For userspace, you would want some interface
independent of whether the kernel is using KMS or not to run programs
in graphic mode.

There was a thread in one of the forums here in the last few months
on showing videos with mplayer without X running. Perhaps search for
that, then look at the mplayer source code to see how mplayer does
whatever was suggested in that thread (which was marked SOLVED IIRC).
_________________
TIA
Back to top
View user's profile Send private message
DirtyHairy
l33t
l33t


Joined: 03 Jul 2006
Posts: 608
Location: Würzburg, Deutschland

PostPosted: Tue Feb 05, 2013 4:53 pm    Post subject: Reply with quote

Take a look at directfb or SDL with the directfb backend.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum