diff options
author | Jakob Bornecrantz <[email protected]> | 2009-10-18 15:42:25 +0200 |
---|---|---|
committer | Jakob Bornecrantz <[email protected]> | 2009-10-18 15:46:25 +0200 |
commit | 846da0bfdae971cba84cd2ad9217c74c62e6bce9 (patch) | |
tree | 18bca533bdce273aa862e4d1ae293e4bd7bd64b2 /src/gallium/state_trackers/xorg/xorg_tracker.h | |
parent | e9e6152cb38ca5f1ea6d65cf9bf32150bf9d2b7b (diff) |
st/xorg: Massivly redo root pixmap creation
Diffstat (limited to 'src/gallium/state_trackers/xorg/xorg_tracker.h')
-rw-r--r-- | src/gallium/state_trackers/xorg/xorg_tracker.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/gallium/state_trackers/xorg/xorg_tracker.h b/src/gallium/state_trackers/xorg/xorg_tracker.h index 24e1a4928ee..6130cf6621f 100644 --- a/src/gallium/state_trackers/xorg/xorg_tracker.h +++ b/src/gallium/state_trackers/xorg/xorg_tracker.h @@ -92,6 +92,7 @@ typedef struct _modesettingRec struct pipe_context *ctx; boolean d_depth_bits_last; boolean ds_depth_bits_last; + struct pipe_texture *root_texture; /* exa */ struct exa_context *exa; @@ -121,6 +122,14 @@ xorg_exa_set_displayed_usage(PixmapPtr pPixmap); int xorg_exa_set_shared_usage(PixmapPtr pPixmap); +Bool +xorg_exa_set_texture(PixmapPtr pPixmap, struct pipe_texture *tex); + +struct pipe_texture * +xorg_exa_create_root_texture(ScrnInfoPtr pScrn, + int width, int height, + int depth, int bpp); + void * xorg_exa_init(ScrnInfoPtr pScrn); |