mirror of
https://github.com/TobleMiner/shoreline.git
synced 2025-02-22 14:53:58 +01:00

Some fb drivers are incredibly broken and have messed up allignment of their internal fb memory. Thus they require an offset to be added to all data written to display images correctly
17 lines
257 B
C
17 lines
257 B
C
#ifndef _LINUXFB_H_
|
|
#define _LINUXFB_H_
|
|
|
|
#include "framebuffer.h"
|
|
#include "frontend.h"
|
|
|
|
struct linuxfb {
|
|
struct frontend front;
|
|
struct fb* fb;
|
|
char* fbdev;
|
|
int fd;
|
|
char* fbmem;
|
|
struct fb_var_screeninfo vscreen;
|
|
unsigned int pixel_offset;
|
|
};
|
|
|
|
#endif
|