summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/nouveau/nouveau_context.h
diff options
context:
space:
mode:
authorBen Skeggs <[email protected]>2006-12-23 23:51:24 +1100
committerBen Skeggs <[email protected]>2006-12-23 23:51:24 +1100
commitcb6a400dcd26089101c8a29a4eee198bd7ad9a58 (patch)
tree5f2b6137442afaad3bff407f2a7f85df36ad27bf /src/mesa/drivers/dri/nouveau/nouveau_context.h
parentae8d8d132600cc544b7295c9554e6531bdbd8094 (diff)
nouveau: maintain numClipRects/pClipRects in context.
Diffstat (limited to 'src/mesa/drivers/dri/nouveau/nouveau_context.h')
-rw-r--r--src/mesa/drivers/dri/nouveau/nouveau_context.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/nouveau/nouveau_context.h b/src/mesa/drivers/dri/nouveau/nouveau_context.h
index d7730bd7964..ea28506b742 100644
--- a/src/mesa/drivers/dri/nouveau/nouveau_context.h
+++ b/src/mesa/drivers/dri/nouveau/nouveau_context.h
@@ -134,6 +134,8 @@ typedef struct nouveau_context {
/* Cliprects information */
GLuint numClipRects;
drm_clip_rect_t *pClipRects;
+ drm_clip_rect_t osClipRect;
+ GLuint drawX, drawY;
/* The rendering context information */
GLenum current_primitive; /* the current primitive enum */