mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-02 23:56:06 +00:00
LibGPU+LibSoftGPU: Add PixelFormat::Intensity
This commit is contained in:
parent
e615af886e
commit
6c80d12111
Notes:
sideshowbarker
2024-07-17 07:41:44 +09:00
Author: https://github.com/gmta
Commit: 6c80d12111
Pull-request: https://github.com/SerenityOS/serenity/pull/15007
Reviewed-by: https://github.com/sunverwerth ✅
2 changed files with 5 additions and 0 deletions
|
@ -21,6 +21,7 @@ enum class PixelFormat {
|
|||
ColorIndex,
|
||||
DepthComponent,
|
||||
Green,
|
||||
Intensity,
|
||||
Luminance,
|
||||
LuminanceAlpha,
|
||||
Red,
|
||||
|
@ -77,6 +78,7 @@ static constexpr int number_of_components(PixelFormat format)
|
|||
case PixelFormat::ColorIndex:
|
||||
case PixelFormat::DepthComponent:
|
||||
case PixelFormat::Green:
|
||||
case PixelFormat::Intensity:
|
||||
case PixelFormat::Luminance:
|
||||
case PixelFormat::Red:
|
||||
case PixelFormat::StencilIndex:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue