diff options
author | Michel Dänzer <michel@tungstengraphics.com> | 2007-02-02 18:27:40 +0100 |
---|---|---|
committer | Michel Dänzer <michel@tungstengraphics.com> | 2007-02-20 19:21:25 +0100 |
commit | eedf148e5a1273ebbf4dc8dcac9c435712fc00ea (patch) | |
tree | 34f85e776231ec3f398cc1d029d44050a37f9b55 /hw/xfree86/dri/dristruct.h | |
parent | 8a42af6a935b1cf0e15102e986bb527f4fab31a8 (diff) |
Track number of visible DRI windows separately for transitions.
This allows e.g. doing page flipping with multiple DRI windows as long as
only one of them is visible.
Diffstat (limited to 'hw/xfree86/dri/dristruct.h')
-rw-r--r-- | hw/xfree86/dri/dristruct.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/hw/xfree86/dri/dristruct.h b/hw/xfree86/dri/dristruct.h index 340c59a2e..757980671 100644 --- a/hw/xfree86/dri/dristruct.h +++ b/hw/xfree86/dri/dristruct.h @@ -53,6 +53,7 @@ typedef struct _DRIDrawablePrivRec int drawableIndex; ScreenPtr pScreen; int refCount; + int nrects; } DRIDrawablePrivRec, *DRIDrawablePrivPtr; struct _DRIContextPrivRec @@ -87,6 +88,7 @@ typedef struct _DRIScreenPrivRec void** partial3DContextStore; /* parital 3D context */ DRIInfoPtr pDriverInfo; int nrWindows; + int nrWindowsVisible; drm_clip_rect_t private_buffer_rect; /* management of private buffers */ DrawablePtr fullscreen; /* pointer to fullscreen drawable */ drm_clip_rect_t fullscreen_rect; /* fake rect for fullscreen mode */ |