View previous topic :: View next topic |
Author |
Message |
dman777 Veteran
Joined: 10 Jan 2007 Posts: 1004
|
Posted: Sat Feb 02, 2013 5:28 am Post subject: KMS Frame Buffer How To |
|
|
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 |
|
|
wcg Guru
Joined: 06 Jan 2009 Posts: 588
|
Posted: Sat Feb 02, 2013 12:55 pm Post subject: |
|
|
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 |
|
|
DirtyHairy l33t
Joined: 03 Jul 2006 Posts: 608 Location: Würzburg, Deutschland
|
Posted: Tue Feb 05, 2013 4:53 pm Post subject: |
|
|
Take a look at directfb or SDL with the directfb backend. |
|
Back to top |
|
|
|