mirror of
https://github.com/genodelabs/genode.git
synced 2025-06-19 07:38:28 +00:00
framebuffer_session: alpha as Mode attribute
Propagate the want of an alpha channel as attribute of Framebuffer::Mode instead of passing this property as a separate bool argument. This clears the way for adding useful accessors for pixel/alpha/input surfaces to the Mode type as a subsequent step. Issue #5351
This commit is contained in:
committed by
Christian Helmuth
parent
336d481726
commit
e738162bde
@ -34,6 +34,7 @@ namespace Framebuffer {
|
||||
struct Mode
|
||||
{
|
||||
Area area;
|
||||
bool alpha;
|
||||
|
||||
size_t bytes_per_pixel() const { return 4; }
|
||||
|
||||
|
Reference in New Issue
Block a user