mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-30 03:20:28 +00:00
35 lines
516 B
C++
35 lines
516 B
C++
/*
|
|
* Copyright (c) 2021, Liav A. <liavalb@hotmail.co.il>
|
|
*
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <AK/Types.h>
|
|
|
|
namespace Kernel::Graphics {
|
|
|
|
struct Timings {
|
|
size_t blanking_start() const
|
|
{
|
|
return active;
|
|
}
|
|
size_t blanking_end() const
|
|
{
|
|
return total;
|
|
}
|
|
|
|
size_t active;
|
|
size_t sync_start;
|
|
size_t sync_end;
|
|
size_t total;
|
|
};
|
|
|
|
struct Modesetting {
|
|
size_t pixel_clock_in_khz;
|
|
Timings horizontal;
|
|
Timings vertical;
|
|
};
|
|
|
|
}
|