diff options
author | Jakob Bornecrantz <wallbraker@gmail.com> | 2010-04-24 13:36:09 +0100 |
---|---|---|
committer | Jakob Bornecrantz <wallbraker@gmail.com> | 2010-04-26 00:40:17 +0100 |
commit | ea6a52a1f8e7fd72b5506218c31e58088131f1f5 (patch) | |
tree | d0eb24768f229a2ffe6b3cca4eb0ef356369d736 /src/gallium/state_trackers/dri/common/dri_screen.h | |
parent | ab12d4f647702f0063c41dd090cef762aa95a0f9 (diff) |
st/dri: Add hooks for framebuffer functions
Diffstat (limited to 'src/gallium/state_trackers/dri/common/dri_screen.h')
-rw-r--r-- | src/gallium/state_trackers/dri/common/dri_screen.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/gallium/state_trackers/dri/common/dri_screen.h b/src/gallium/state_trackers/dri/common/dri_screen.h index d84ce1bf48..6e814af615 100644 --- a/src/gallium/state_trackers/dri/common/dri_screen.h +++ b/src/gallium/state_trackers/dri/common/dri_screen.h @@ -42,6 +42,7 @@ #include "state_tracker/drm_api.h" struct dri_context; +struct dri_drawable; struct dri_screen { @@ -59,6 +60,12 @@ struct dri_screen /* hooks filled in by dri1, dri2 & drisw */ __DRIimage * (*lookup_egl_image)(struct dri_context *ctx, void *handle); + void (*allocate_textures)(struct dri_drawable *drawable, + const enum st_attachment_type *statts, + unsigned count); + void (*update_drawable_info)(struct dri_drawable *drawable); + void (*flush_frontbuffer)(struct dri_drawable *drawable, + enum st_attachment_type statt); /* gallium */ struct drm_api *api; |