mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 21:57:34 +00:00
Everywhere: Rename FB prefix structure names => Graphics
This commit is contained in:
parent
d2e93ec50a
commit
10adc27eda
7 changed files with 40 additions and 40 deletions
|
@ -18,7 +18,7 @@ struct winsize {
|
|||
unsigned short ws_ypixel;
|
||||
};
|
||||
|
||||
struct FBProperties {
|
||||
struct GraphicsConnectorProperties {
|
||||
unsigned char multihead_support;
|
||||
unsigned char doublebuffer_support;
|
||||
unsigned char flushing_support;
|
||||
|
@ -38,7 +38,7 @@ struct FBHeadProperties {
|
|||
unsigned buffer_length;
|
||||
};
|
||||
|
||||
struct FBHeadModeSetting {
|
||||
struct GraphicsHeadModeSetting {
|
||||
int horizontal_stride;
|
||||
int pixel_clock_in_khz;
|
||||
int horizontal_active;
|
||||
|
@ -61,14 +61,14 @@ struct FBHeadResolution {
|
|||
int height;
|
||||
};
|
||||
|
||||
struct FBHeadEDID {
|
||||
struct GraphicsHeadEDID {
|
||||
int head_index;
|
||||
|
||||
unsigned char* bytes;
|
||||
unsigned bytes_size;
|
||||
};
|
||||
|
||||
struct FBHeadVerticalOffset {
|
||||
struct GraphicsHeadVerticalOffset {
|
||||
int head_index;
|
||||
int offsetted;
|
||||
};
|
||||
|
|
|
@ -204,7 +204,7 @@ ErrorOr<Parser> Parser::from_bytes(ByteBuffer&& bytes)
|
|||
ErrorOr<Parser> Parser::from_framebuffer_device(int framebuffer_fd, size_t head)
|
||||
{
|
||||
RawBytes edid_bytes;
|
||||
FBHeadEDID edid_info {};
|
||||
GraphicsHeadEDID edid_info {};
|
||||
edid_info.head_index = head;
|
||||
edid_info.bytes = &edid_bytes[0];
|
||||
edid_info.bytes_size = sizeof(edid_bytes);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue