diff options
author | Kristian Høgsberg <krh@bitplanet.net> | 2014-03-31 18:00:54 -0700 |
---|---|---|
committer | Kristian Høgsberg <krh@bitplanet.net> | 2014-04-01 10:31:09 -0700 |
commit | d14803437582668f5ffea14071ea962b6b8e450d (patch) | |
tree | bb6675318e02653e10ebaee451011d4e5cf5d25a /glamor/glamor.h | |
parent | fe204185bc801bb17785dc8d1cde09d48b5e257f (diff) |
glamor: Add new GLAMOR_CREATE_PIXMAP_NO_TEXTURE pixmap create flag
This flag lets a DDX allocate a glamor pixmap without allocating the
texture that backs it. The DDX can then allocate the texture itself
and then set it later.
Signed-off-by: Kristian Høgsberg <krh@bitplanet.net>
Reviewed-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'glamor/glamor.h')
-rw-r--r-- | glamor/glamor.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/glamor/glamor.h b/glamor/glamor.h index 84b673610..913bdcec2 100644 --- a/glamor/glamor.h +++ b/glamor/glamor.h @@ -149,6 +149,7 @@ extern _X_EXPORT PixmapPtr glamor_create_pixmap(ScreenPtr screen, int w, int h, #define GLAMOR_CREATE_FBO_NO_FBO 0x103 #define GLAMOR_CREATE_PIXMAP_MAP 0x104 #define GLAMOR_CREATE_NO_LARGE 0x105 +#define GLAMOR_CREATE_PIXMAP_NO_TEXTURE 0x106 /* @glamor_egl_exchange_buffers: Exchange the underlying buffers(KHR image,fbo). * |