projects
/
my-code
/
api.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
added dfb api (just starting, not yet working ...)
[my-code/api.git]
/
dfb
/
dfb.c
1
/* dfbt.c -- direct framebuffer stuff
2
*
3
* author: hackbard@hackdaworld.org
4
*
5
*/
6
7
#include "dfb.h"
8
9
int dfb_init(t_dfb *dfb,int outfd,int &arg_c,char *arg_v) {
10
11
dprintf(outfd,"[dfb] initializing dfb system ...\n");
12
13
dfb->outfd=outfd;
14
15
DFBInit(arg_c,arg_v);
16
17
DirectFBCreate(&(dfb->iface));
18
19
return DFB_SUCCESS;
20
}