diff options
author | Brian <brian@yutani.localnet.net> | 2007-01-06 14:55:07 -0700 |
---|---|---|
committer | Brian <brian@yutani.localnet.net> | 2007-01-06 14:55:07 -0700 |
commit | f1fbaf39ff9b818c17c3a3f35e9517b4d826ec61 (patch) | |
tree | 2bf80cec463b1552ee7eb1192dc4ed5aa3df9823 /include/GL/internal/dri_interface.h | |
parent | ade39f53f659ab9774ab14ebfefd18eb71f1d4ac (diff) | |
parent | c2b185cff82a6cdb723cda4e05ffe1a213a9de3e (diff) |
Merge branch 'master' of git+ssh://brianp@git.freedesktop.org/git/mesa/mesa
Diffstat (limited to 'include/GL/internal/dri_interface.h')
-rw-r--r-- | include/GL/internal/dri_interface.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/include/GL/internal/dri_interface.h b/include/GL/internal/dri_interface.h index c204ecfe62..a3de2c6aab 100644 --- a/include/GL/internal/dri_interface.h +++ b/include/GL/internal/dri_interface.h @@ -237,6 +237,26 @@ struct __DRIinterfaceMethodsRec { GLboolean (*getMSCRate)(__DRInativeDisplay * dpy, __DRIid drawable, int32_t * numerator, int32_t * denominator); /*@}*/ + + /** + * Reports areas of the given drawable which have been modified by the + * driver. + * + * \param drawable which the drawing was done to. + * \param rects rectangles affected, with the drawable origin as the + * origin. + * \param x X offset of the drawable within the screen (used in the + * front_buffer case) + * \param y Y offset of the drawable within the screen. + * \param front_buffer boolean flag for whether the drawing to the + * drawable was actually done directly to the front buffer (instead + * of backing storage, for example) + */ + void (*reportDamage)(__DRInativeDisplay * dpy, int screen, + __DRIid drawable, + int x, int y, + drm_clip_rect_t *rects, int num_rects, + int front_buffer); }; |