summaryrefslogtreecommitdiff
path: root/src/cairo-paginated-surface.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2012-01-17 12:37:48 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2012-01-17 12:40:11 +0000
commita7c9c75ffae2e17288d131eac7e719c72fcd30b0 (patch)
tree7c17da7b029b7a9c1c7fe2aa758cf0b666b756da /src/cairo-paginated-surface.c
parenta2f419b546f620ede105b5a6b5958260925d9a50 (diff)
downloadcairo-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