diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2009-11-29 21:39:41 +0000 |
---|---|---|
committer | Owain G. Ainsworth <oga@openbsd.org> | 2010-03-01 19:30:13 +0000 |
commit | d36bf5530218bdbabe9bf4d2a47106dc5deb82dc (patch) | |
tree | ea7e4ad62b99b682e6d55333e086d4c5d67b04cd /src/common.h | |
parent | 071ffa02feddc414db706a8802e91a5f3a0904c9 (diff) |
uxa-glyphs: Enable TILING_X on glyph caches.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
(cherry picked from commit 83626aba357ffb4dd7931daaf163c1dd1d08f9d3)
Diffstat (limited to 'src/common.h')
-rw-r--r-- | src/common.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/common.h b/src/common.h index c12e8a7d..73b4d05f 100644 --- a/src/common.h +++ b/src/common.h @@ -403,4 +403,15 @@ extern int I810_DEBUG; struct pci_device * intel_host_bridge (void); +/** + * Hints to CreatePixmap to tell the driver how the pixmap is going to be + * used. + * + * Compare to CREATE_PIXMAP_USAGE_* in the server. + */ +enum { + INTEL_CREATE_PIXMAP_TILING_X = 0x10000000, + INTEL_CREATE_PIXMAP_TILING_Y, +}; + #endif /* _INTEL_COMMON_H_ */ |