- GLuint scissor;
- GLboolean scissorChanged;
- drm_clip_rect_t draw_rect;
- drm_clip_rect_t scissor_rect;
-
- /*Texture aging and DMA based aging*/
- unsigned int texAge[SAVAGE_NR_TEX_HEAPS];
+ /* Scissor state needs to be mirrored so buffered commands can be
+ * emitted with the old scissor state when scissor state changes.
+ */
+ struct {
+ GLboolean enabled;
+ GLint x, y;
+ GLsizei w, h;
+ } scissor;