Change REGION_INIT(pScreen, &foo, NullBox, 0) to REGION_NULL(pScreen,
&foo). While it is no longer (or rather, once again not) required as of regionstr.h r1.4, it matches the style of the rest of the xorg code.
This commit is contained in:
parent
c25536a793
commit
1729fc882c
10
ChangeLog
10
ChangeLog
|
@ -1,3 +1,13 @@
|
|||
2005-12-31 Eric Anholt <anholt@FreeBSD.org>
|
||||
|
||||
* hw/xgl/glx/xglx.c: (xglxWindowExposures):
|
||||
* hw/xgl/glxext/xglglxext.c: (xglCreateBuffer):
|
||||
* hw/xgl/xglsync.c: (xglSyncBits):
|
||||
* hw/xgl/xglwindow.c: (xglCopyWindow):
|
||||
Change REGION_INIT(pScreen, &foo, NullBox, 0) to REGION_NULL(pScreen,
|
||||
&foo). While it is no longer (or rather, once again not) required as of
|
||||
regionstr.h r1.4, it matches the style of the rest of the xorg code.
|
||||
|
||||
2005-12-30 Eric Anholt <anholt@FreeBSD.org>
|
||||
|
||||
* hw/xgl/xglsync.c: (xglSyncBits), (xglSyncSurface):
|
||||
|
|
|
@ -591,7 +591,7 @@ xglxWindowExposures (WindowPtr pWin,
|
|||
|
||||
if (HasBorder (pWin))
|
||||
{
|
||||
REGION_INIT (pScreen, &ClipList, NullBox, 0);
|
||||
REGION_NULL (pScreen, &ClipList);
|
||||
REGION_SUBTRACT (pScreen, &ClipList, &pWin->borderClip,
|
||||
&pWin->winSize);
|
||||
REGION_INTERSECT (pScreen, &ClipList, &ClipList, (RegionPtr) pReg);
|
||||
|
@ -599,7 +599,7 @@ xglxWindowExposures (WindowPtr pWin,
|
|||
REGION_UNINIT (pScreen, &ClipList);
|
||||
}
|
||||
|
||||
REGION_INIT (pScreen, &ClipList, NullBox, 0);
|
||||
REGION_NULL (pScreen, &ClipList);
|
||||
REGION_INTERSECT (pScreen, &ClipList, &pWin->clipList, (RegionPtr) pReg);
|
||||
(*pScreen->WindowExposures) (pWin, &ClipList, NullRegion);
|
||||
REGION_UNINIT (pScreen, &ClipList);
|
||||
|
|
|
@ -4729,7 +4729,7 @@ xglCreateBuffer (__GLXdrawablePrivate *glxPriv)
|
|||
pBufferPriv->private = NULL;
|
||||
pBufferPriv->freeBuffers = NULL;
|
||||
|
||||
REGION_INIT (pScreen, &pBufferPriv->damage, NullBox, 0);
|
||||
REGION_NULL (pScreen, &pBufferPriv->damage);
|
||||
|
||||
if (pScreenPriv->fbo ||
|
||||
((pDrawable->type == DRAWABLE_WINDOW)
|
||||
|
|
|
@ -96,7 +96,7 @@ xglSyncBits (DrawablePtr pDrawable,
|
|||
|
||||
switch (RECT_IN_REGION (pDrawable->pScreen, &bitRegion, &box)) {
|
||||
case rgnIN:
|
||||
REGION_INIT (pDrawable->pScreen, ®ion, NullBox, 0);
|
||||
REGION_NULL (pDrawable->pScreen, ®ion);
|
||||
break;
|
||||
case rgnOUT:
|
||||
REGION_INIT (pDrawable->pScreen, ®ion, &box, 1);
|
||||
|
|
|
@ -116,7 +116,7 @@ xglCopyWindow (WindowPtr pWin,
|
|||
dy = ptOldOrg.y - pWin->drawable.y;
|
||||
|
||||
REGION_TRANSLATE (pWin->drawable.pScreen, prgnSrc, -dx, -dy);
|
||||
REGION_INIT (pWin->drawable.pScreen, &rgnDst, NullBox, 0);
|
||||
REGION_NULL (pWin->drawable.pScreen, &rgnDst);
|
||||
REGION_INTERSECT (pWin->drawable.pScreen,
|
||||
&rgnDst, &pWin->borderClip, prgnSrc);
|
||||
|
||||
|
|
Loading…
Reference in New Issue