diff --git a/repos/os/include/os/pixel_rgb888.h b/repos/os/include/os/pixel_rgb888.h new file mode 100644 index 0000000000..7bacf2c645 --- /dev/null +++ b/repos/os/include/os/pixel_rgb888.h @@ -0,0 +1,26 @@ +/* + * \brief Template specializations for the RGB888 pixel format + * \author Norman Feske + * \date 2014-08-14 + */ + +/* + * Copyright (C) 2014 Genode Labs GmbH + * + * This file is part of the Genode OS framework, which is distributed + * under the terms of the GNU General Public License version 2. + */ + +#ifndef _INCLUDE__OS__PIXEL_RGB888_H_ +#define _INCLUDE__OS__PIXEL_RGB888_H_ + +#include + +namespace Genode { + + typedef Pixel_rgba + Pixel_rgb888; +} + +#endif /* _INCLUDE__OS__PIXEL_RGB888_H_ */ diff --git a/repos/os/include/os/surface.h b/repos/os/include/os/surface.h index 78e618e1f8..68538527a3 100644 --- a/repos/os/include/os/surface.h +++ b/repos/os/include/os/surface.h @@ -37,7 +37,7 @@ class Genode::Surface_base typedef Genode::Rect<> Rect; typedef Genode::Color Color; - enum Pixel_format { UNKNOWN, RGB565 }; + enum Pixel_format { UNKNOWN, RGB565, RGB888 }; struct Flusher {