diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2012-01-17 12:37:48 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2012-01-17 12:40:11 +0000 |
commit | a7c9c75ffae2e17288d131eac7e719c72fcd30b0 (patch) | |
tree | 7c17da7b029b7a9c1c7fe2aa758cf0b666b756da /src/cairo-paginated-surface.c | |
parent | a2f419b546f620ede105b5a6b5958260925d9a50 (diff) | |
download | cairo-a7c9c75ffae2e17288d131eac7e719c72fcd30b0.tar.gz |
xlib: Improve choice of bits-per-pixel for depth
The only reliable method would be to query the xserver for the
matching bpp for a particular depth. In the absence of such information,
simply chose the next higher power-of-two(depth).
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/cairo-paginated-surface.c')
0 files changed, 0 insertions, 0 deletions