mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-19 21:57:55 +00:00
parent
b303fe1098
commit
336d481726
@ -18,9 +18,11 @@
|
|||||||
|
|
||||||
namespace Genode {
|
namespace Genode {
|
||||||
|
|
||||||
using Pixel_alpha8 = Genode::Pixel_rgba<uint8_t, Genode::Surface_base::ALPHA8,
|
using Pixel_alpha8 = Pixel_rgba<uint8_t, Surface_base::ALPHA8,
|
||||||
0, 0, 0, 0, 0, 0, 0xff, 0>;
|
0, 0, 0, 0, 0, 0, 0xff, 0>;
|
||||||
|
|
||||||
|
using Pixel_input8 = Pixel_rgba<uint8_t, Surface_base::INPUT8,
|
||||||
|
0, 0, 0, 0, 0, 0, 0xff, 0>;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* The second pixel parameter is ignored. It can be of any pixel type.
|
* The second pixel parameter is ignored. It can be of any pixel type.
|
||||||
|
@ -46,7 +46,7 @@ class Genode::Surface_base : Interface
|
|||||||
using Point = Rect::Point;
|
using Point = Rect::Point;
|
||||||
using Area = Rect::Area;
|
using Area = Rect::Area;
|
||||||
|
|
||||||
enum Pixel_format { UNKNOWN, RGB565, RGB888, ALPHA8 };
|
enum Pixel_format { UNKNOWN, RGB565, RGB888, ALPHA8, INPUT8 };
|
||||||
|
|
||||||
struct Flusher : Interface
|
struct Flusher : Interface
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user