Mir
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Namespaces
pixel_format_utils.h File Reference
#include "mir_toolkit/common.h"
Include dependency graph for pixel_format_utils.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 mir
 All things Mir.
 
 mir::graphics
 Graphics subsystem. Mediates interaction between core system and the graphics environment.
 

Functions

MirPixelFormat utility functions

A set of functions to query details of MirPixelFormat TODO improve this through https://bugs.launchpad.net/mir/+bug/1236254

bool mir::graphics::contains_alpha (MirPixelFormat format)
 
int mir::graphics::red_channel_depth (MirPixelFormat format)
 
int mir::graphics::blue_channel_depth (MirPixelFormat format)
 
int mir::graphics::green_channel_depth (MirPixelFormat format)
 
int mir::graphics::alpha_channel_depth (MirPixelFormat format)
 
bool mir::graphics::valid_pixel_format (MirPixelFormat format)
 

Copyright © 2012,2013 Canonical Ltd.
Generated on Fri Apr 11 21:14:53 UTC 2014