diff options
author | Chia-I Wu <olvaffe@gmail.com> | 2010-01-18 15:49:20 +0800 |
---|---|---|
committer | Chia-I Wu <olvaffe@gmail.com> | 2010-01-18 17:04:02 +0800 |
commit | f8244e294646c1b5127a2bf3e92811300b0e3b9e (patch) | |
tree | 3fe630ed870c28e2ad629902ef093f78a9f13aae /src/gallium/state_trackers/egl_g3d/x11/x11_screen.h | |
parent | fda897ad71738dd76a218280fd2e635d5dcdcee1 (diff) |
st/egl_g3d: Add is_pixmap_supported to native display interface.
The function may be used to support, for example,
EGL_MATCH_NATIVE_PIXMAP and EGL_KHR_image_pixmap.
Diffstat (limited to 'src/gallium/state_trackers/egl_g3d/x11/x11_screen.h')
-rw-r--r-- | src/gallium/state_trackers/egl_g3d/x11/x11_screen.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gallium/state_trackers/egl_g3d/x11/x11_screen.h b/src/gallium/state_trackers/egl_g3d/x11/x11_screen.h index 86e8e0501a..ad42bffbe9 100644 --- a/src/gallium/state_trackers/egl_g3d/x11/x11_screen.h +++ b/src/gallium/state_trackers/egl_g3d/x11/x11_screen.h @@ -29,6 +29,7 @@ #include <X11/Xutil.h> #include <X11/extensions/dri2tokens.h> #include "pipe/p_compiler.h" +#include "pipe/p_format.h" #include "common/native.h" enum x11_screen_extension { @@ -96,4 +97,7 @@ x11_drawable_get_buffers(struct x11_screen *xscr, Drawable drawable, int *width, int *height, unsigned int *attachments, boolean with_format, int num_ins, int *num_outs); +uint +x11_drawable_get_depth(struct x11_screen *xscr, Drawable drawable); + #endif /* _X11_SCREEN_H_ */ |