Mercurial > hg > Members > kono > Cerium
annotate Renderer/Engine/fb.h @ 1039:b9cd0c88b69a
AllExecute speparation.
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 07 Dec 2010 23:59:46 +0900 |
parents | 0b6f8c82625a |
children |
rev | line source |
---|---|
507 | 1 #ifndef FB_H |
2 #define FB_H | |
3 | |
988 | 4 #include "types.h" |
283 | 5 #if defined(__linux__) |
507 | 6 |
283 | 7 #include <unistd.h> |
8 #include <stdio.h> | |
9 #include <fcntl.h> | |
10 #include <linux/fb.h> | |
11 #include <linux/fs.h> | |
12 #include <sys/mman.h> | |
13 #include <sys/ioctl.h> | |
14 #include <stdlib.h> | |
15 #include <iostream> | |
16 using namespace std; | |
17 | |
18 | |
19 /* function prototype */ | |
20 void send_current_error_msg(const char *ptr); | |
21 void send_current_information(const char *ptr); | |
22 | |
896 | 23 #endif |
24 | |
895
bed529c55eda
add alignment of classes in SPU
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
507
diff
changeset
|
25 typedef struct screen_info { |
283 | 26 int xres,yres,vbpp,line_len; |
981
a193a851b5e3
add double buffering frame device
root@henri.cr.ie.u-ryukyu.ac.jp
parents:
896
diff
changeset
|
27 uint32_t *fbptr[2]; |
895
bed529c55eda
add alignment of classes in SPU
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
507
diff
changeset
|
28 } ScreenInfo , *ScreenInfoPtr; |
283 | 29 |
30 | |
895
bed529c55eda
add alignment of classes in SPU
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
507
diff
changeset
|
31 extern ScreenInfo get_fbdev_addr(void); |
bed529c55eda
add alignment of classes in SPU
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
507
diff
changeset
|
32 |
bed529c55eda
add alignment of classes in SPU
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
507
diff
changeset
|
33 #endif |