diff options
author | George Sapountzis <gsapountzis@gmail.com> | 2010-03-25 17:01:51 +0200 |
---|---|---|
committer | George Sapountzis <gsapountzis@gmail.com> | 2010-03-25 17:01:51 +0200 |
commit | 20755c5c4c88f8c442fc5b65f5368a32d0693a07 (patch) | |
tree | 634e5eb49cc8f0bc02658dd54c4fe6b242518c10 /src/mesa/drivers/dri/common/drisw_util.h | |
parent | 204c88014b8c3cfd7bd84928bbc77489ebd98399 (diff) |
drisw_util: add fields for gallium swrast_dri
Diffstat (limited to 'src/mesa/drivers/dri/common/drisw_util.h')
-rw-r--r-- | src/mesa/drivers/dri/common/drisw_util.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/common/drisw_util.h b/src/mesa/drivers/dri/common/drisw_util.h index e353e26b34..c7d1450be1 100644 --- a/src/mesa/drivers/dri/common/drisw_util.h +++ b/src/mesa/drivers/dri/common/drisw_util.h @@ -28,6 +28,7 @@ #include <GL/gl.h> #include <GL/internal/glcore.h> #include <GL/internal/dri_interface.h> +typedef struct _drmLock drmLock; /** @@ -71,9 +72,17 @@ struct __DRIdrawableRec { void *loaderPrivate; + __DRIcontext *driContextPriv; + __DRIscreen *driScreenPriv; int refcount; + + /* gallium */ + unsigned int lastStamp; + + int w; + int h; }; |