Home
last modified time | relevance | path

Searched refs:pRegion (Results 1 – 25 of 35) sorted by relevance

12

/OK3568_Linux_fs/external/xserver/xfixes/
H A Dregion.c40 RegionPtr pRegion = (RegionPtr) data; in RegionResFree() local
42 RegionDestroy(pRegion); in RegionResFree()
47 XFixesRegionCopy(RegionPtr pRegion) in XFixesRegionCopy() argument
49 RegionPtr pNew = RegionCreate(RegionExtents(pRegion), in XFixesRegionCopy()
50 RegionNumRects(pRegion)); in XFixesRegionCopy()
54 if (!RegionCopy(pNew, pRegion)) { in XFixesRegionCopy()
73 RegionPtr pRegion; in ProcXFixesCreateRegion() local
85 pRegion = RegionFromRects(things, (xRectangle *) (stuff + 1), CT_UNSORTED); in ProcXFixesCreateRegion()
86 if (!pRegion) in ProcXFixesCreateRegion()
88 if (!AddResource(stuff->region, RegionResType, (void *) pRegion)) in ProcXFixesCreateRegion()
[all …]
H A Dxfixes.h35 #define VERIFY_REGION(pRegion, rid, client, mode) \ argument
38 err = dixLookupResourceByType((void **) &pRegion, rid, \
46 #define VERIFY_REGION_OR_NONE(pRegion, rid, client, mode) { \ argument
47 pRegion = 0; \
48 if (rid) VERIFY_REGION(pRegion, rid, client, mode); \
52 XFixesRegionCopy(RegionPtr pRegion);
/OK3568_Linux_fs/external/xserver/render/
H A Dmipict.c230 miClipPictureReg(pixman_region16_t * pRegion, in miClipPictureReg() argument
233 if (pixman_region_n_rects(pRegion) == 1 && in miClipPictureReg()
235 pixman_box16_t *pRbox = pixman_region_rectangles(pRegion, NULL); in miClipPictureReg()
248 pixman_region_init(pRegion); in miClipPictureReg()
255 pixman_region_translate(pRegion, -dx, -dy); in miClipPictureReg()
256 if (!pixman_region_intersect(pRegion, pRegion, pClip)) in miClipPictureReg()
259 pixman_region_translate(pRegion, dx, dy); in miClipPictureReg()
261 return pixman_region_not_empty(pRegion); in miClipPictureReg()
265 miClipPictureSrc(RegionPtr pRegion, PicturePtr pPicture, int dx, int dy) in miClipPictureSrc() argument
274 result = RegionIntersect(pRegion, pRegion, pPicture->clientClip); in miClipPictureSrc()
[all …]
H A Dmipict.h61 miComputeCompositeRegion(RegionPtr pRegion,
H A Dpicture.c1277 int xOrigin, int yOrigin, RegionPtr pRegion) in SetPictureClipRegion() argument
1285 if (pRegion) { in SetPictureClipRegion()
1287 clientClip = RegionCreate(RegionExtents(pRegion), in SetPictureClipRegion()
1288 RegionNumRects(pRegion)); in SetPictureClipRegion()
1291 if (!RegionCopy(clientClip, pRegion)) { in SetPictureClipRegion()
/OK3568_Linux_fs/external/xserver/damageext/
H A Ddamageext.c136 DamageExtReport(DamagePtr pDamage, RegionPtr pRegion, void *closure) in DamageExtReport() argument
143 DamageExtNotify(pDamageExt, RegionRects(pRegion), in DamageExtReport()
144 RegionNumRects(pRegion)); in DamageExtReport()
147 DamageExtNotify(pDamageExt, RegionExtents(pRegion), 1); in DamageExtReport()
221 RegionPtr pRegion = &((WindowPtr) pDrawable)->borderClip; in DamageExtRegister() local
222 RegionTranslate(pRegion, -pDrawable->x, -pDrawable->y); in DamageExtRegister()
223 DamageReportDamage(pDamage, pRegion); in DamageExtRegister()
224 RegionTranslate(pRegion, pDrawable->x, pDrawable->y); in DamageExtRegister()
376 DamageExtSubtract(DamageExtPtr pDamageExt, const RegionPtr pRegion) in DamageExtSubtract() argument
383 RegionSubtract(damage, damage, pRegion); in DamageExtSubtract()
[all …]
/OK3568_Linux_fs/external/xserver/miext/rootless/
H A DrootlessCommon.c273 RootlessDamageRegion(WindowPtr pWindow, RegionPtr pRegion) in RootlessDamageRegion() argument
299 b2 = RegionExtents(pRegion); in RootlessDamageRegion()
304 if (RegionNumRects(pRegion) == 1) { in RootlessDamageRegion()
310 in = RegionContainsRect(&pWindow->borderClip, RegionRects(pRegion)); in RootlessDamageRegion()
317 (pRegion), in RootlessDamageRegion()
319 (pRegion), in RootlessDamageRegion()
338 RegionIntersect(&clipped, &pWindow->borderClip, pRegion); in RootlessDamageRegion()
356 BoxRec *box = RegionRects(pRegion), *end; in RootlessDamageRegion()
357 int numBox = RegionNumRects(pRegion); in RootlessDamageRegion()
/OK3568_Linux_fs/external/xserver/miext/damage/
H A Ddamage.h40 typedef void (*DamageReportFunc) (DamagePtr pDamage, RegionPtr pRegion,
83 DamageSubtract(DamagePtr pDamage, const RegionPtr pRegion);
96 DamageRegionAppend(DrawablePtr pDrawable, RegionPtr pRegion);
108 DamageDamageRegion(DrawablePtr pDrawable, const RegionPtr pRegion);
H A Ddamage.c126 _damageRegionAppend(DrawablePtr pDrawable, RegionPtr pRegion, Bool clip, in _damageRegionAppend() argument
131 damageRegionAppend(DrawablePtr pDrawable, RegionPtr pRegion, Bool clip, in _damageRegionAppend()
150 if (!RegionNotEmpty(pRegion)) in _damageRegionAppend()
164 RegionTranslate(pRegion, screen_x, screen_y); in _damageRegionAppend()
170 RegionIntersect(pRegion, pRegion, in _damageRegionAppend()
176 RegionIntersect(pRegion, pRegion, pTempRegion); in _damageRegionAppend()
219 pDamageRegion = pRegion; in _damageRegionAppend()
223 RegionIntersect(pDamageRegion, pRegion, in _damageRegionAppend()
235 RegionIntersect(pDamageRegion, pRegion, &pixClip); in _damageRegionAppend()
274 if (pDamageRegion == pRegion && (draw_x || draw_y)) in _damageRegionAppend()
[all …]
/OK3568_Linux_fs/external/xserver/exa/
H A Dexa_accel.c772 static Bool exaFillRegionSolid(DrawablePtr pDrawable, RegionPtr pRegion,
992 exaFillRegionSolid(DrawablePtr pDrawable, RegionPtr pRegion, Pixel pixel, in exaFillRegionSolid() argument
1003 RegionTranslate(pRegion, xoff, yoff); in exaFillRegionSolid()
1016 hasClientClip) ? NULL : pRegion; in exaFillRegionSolid()
1026 nbox = RegionNumRects(pRegion); in exaFillRegionSolid()
1027 pBox = RegionRects(pRegion); in exaFillRegionSolid()
1056 RegionUnion(&pExaPixmap->validSys, &pExaPixmap->validSys, pRegion); in exaFillRegionSolid()
1057 RegionUnion(&pExaPixmap->validFB, &pExaPixmap->validFB, pRegion); in exaFillRegionSolid()
1058 RegionSubtract(pending_damage, pending_damage, pRegion); in exaFillRegionSolid()
1065 RegionTranslate(pRegion, -xoff, -yoff); in exaFillRegionSolid()
[all …]
/OK3568_Linux_fs/external/xserver/composite/
H A Dcompwindow.c621 compSetRedirectBorderClip(WindowPtr pWin, RegionPtr pRegion) in compSetRedirectBorderClip() argument
636 RegionSubtract(&damage, pRegion, &cw->borderClip); in compSetRedirectBorderClip()
645 RegionCopy(&cw->borderClip, pRegion); in compSetRedirectBorderClip()
668 RegionPtr pRegion = DamageRegion(cw->damage); in compWindowUpdateAutomatic() local
685 RegionTranslate(pRegion, pWin->drawable.x, pWin->drawable.y); in compWindowUpdateAutomatic()
690 RegionIntersect(pRegion, pRegion, &cw->borderClip); in compWindowUpdateAutomatic()
695 RegionTranslate(pRegion, -pParent->drawable.x, -pParent->drawable.y); in compWindowUpdateAutomatic()
700 SetPictureClipRegion(pDstPicture, 0, 0, pRegion); in compWindowUpdateAutomatic()
H A Dcompext.c201 RegionPtr pBorderClip, pRegion; in ProcCompositeCreateRegionFromBorderClip() local
214 pRegion = XFixesRegionCopy(pBorderClip); in ProcCompositeCreateRegionFromBorderClip()
215 if (!pRegion) in ProcCompositeCreateRegionFromBorderClip()
217 RegionTranslate(pRegion, -pWin->drawable.x, -pWin->drawable.y); in ProcCompositeCreateRegionFromBorderClip()
219 if (!AddResource(stuff->region, RegionResType, (void *) pRegion)) in ProcCompositeCreateRegionFromBorderClip()
/OK3568_Linux_fs/external/xserver/miext/shadow/
H A Dshadow.c59 RegionPtr pRegion; in shadowRedisplay() local
63 pRegion = DamageRegion(pBuf->pDamage); in shadowRedisplay()
64 if (RegionNotEmpty(pRegion)) { in shadowRedisplay()
/OK3568_Linux_fs/external/xserver/fb/
H A Dfbwindow.c156 RegionPtr pRegion, FbBits and, FbBits xor) in fbFillRegionSolid() argument
162 int n = RegionNumRects(pRegion); in fbFillRegionSolid()
163 BoxPtr pbox = RegionRects(pRegion); in fbFillRegionSolid()
H A Dfbglyph.c33 fbGlyphIn(RegionPtr pRegion, int x, int y, int width, int height) in fbGlyphIn() argument
36 BoxPtr pExtents = RegionExtents(pRegion); in fbGlyphIn()
53 return RegionContainsRect(pRegion, &box) == rgnIN; in fbGlyphIn()
H A Dfboverlay.h77 RegionPtr pRegion, CARD32 pixel, int layer);
H A Dfboverlay.c148 RegionPtr pRegion, CARD32 pixel, int layer) in fbOverlayPaintKey() argument
150 fbFillRegionSolid(pDrawable, pRegion, 0, in fbOverlayPaintKey()
/OK3568_Linux_fs/external/xserver/mi/
H A Dmiwindow.c361 RegionPtr pRegion = NULL; in miResizeWindow() local
452 pRegion = RegionCreate(NullBox, 1); in miResizeWindow()
515 RegionCopy(pRegion, oldWinClip); in miResizeWindow()
516 RegionTranslate(pRegion, nx - oldx, ny - oldy); in miResizeWindow()
517 RegionIntersect(oldWinClip, pRegion, &pWin->clipList); in miResizeWindow()
588 RegionIntersect(pRegion, &pChild->borderClip, gravitate[g]); in miResizeWindow()
589 TraverseTree(pChild, miRecomputeExposures, (void *) pRegion); in miResizeWindow()
609 RegionDestroy(pRegion); in miResizeWindow()
H A Dmioverlay.c1085 RegionPtr pRegion = NULL; in miOverlayResizeWindow() local
1205 pRegion = RegionCreate(NullBox, 1); in miOverlayResizeWindow()
1268 RegionCopy(pRegion, oldWinClip2); in miOverlayResizeWindow()
1269 RegionTranslate(pRegion, nx - oldx, ny - oldy); in miOverlayResizeWindow()
1270 RegionIntersect(oldWinClip2, pRegion, &pTree->clipList); in miOverlayResizeWindow()
1290 RegionCopy(pRegion, oldWinClip); in miOverlayResizeWindow()
1291 RegionTranslate(pRegion, nx - oldx, ny - oldy); in miOverlayResizeWindow()
1292 RegionIntersect(oldWinClip, pRegion, &pWin->clipList); in miOverlayResizeWindow()
1415 RegionDestroy(pRegion); in miOverlayResizeWindow()
/OK3568_Linux_fs/external/xserver/hw/xfree86/dri2/
H A Ddri2.h62 RegionPtr pRegion,
187 RegionPtr pRegion,
291 RegionPtr pRegion,
H A Ddri2ext.c330 RegionPtr pRegion; in ProcDRI2CopyRegion() local
338 VERIFY_REGION(pRegion, stuff->region, client, DixReadAccess); in ProcDRI2CopyRegion()
340 status = DRI2CopyRegion(pDrawable, pRegion, stuff->dest, stuff->src); in ProcDRI2CopyRegion()
/OK3568_Linux_fs/external/xserver/hw/xfree86/common/
H A Dxf86fbman.c1228 RegionPtr pRegion, pScreenRegion; in xf86InitFBManagerArea() local
1249 pRegion = RegionFromRects(nRect, Rect, 0); in xf86InitFBManagerArea()
1250 if (pRegion) { in xf86InitFBManagerArea()
1251 if (!RegionNar(pRegion)) { in xf86InitFBManagerArea()
1259 RegionSubtract(pRegion, pRegion, pScreenRegion); in xf86InitFBManagerArea()
1261 ret = xf86InitFBManagerRegion(pScreen, pRegion); in xf86InitFBManagerArea()
1303 RegionDestroy(pRegion); in xf86InitFBManagerArea()
/OK3568_Linux_fs/external/xserver/hw/kdrive/ephyr/
H A Dephyr.c310 RegionPtr pRegion; in ephyrInternalDamageRedisplay() local
315 pRegion = DamageRegion(scrpriv->pDamage); in ephyrInternalDamageRedisplay()
317 if (RegionNotEmpty(pRegion)) { in ephyrInternalDamageRedisplay()
322 ephyr_glamor_damage_redisplay(scrpriv->glamor, pRegion); in ephyrInternalDamageRedisplay()
324 nbox = RegionNumRects(pRegion); in ephyrInternalDamageRedisplay()
325 pbox = RegionRects(pRegion); in ephyrInternalDamageRedisplay()
/OK3568_Linux_fs/buildroot/package/freerdp/
H A D0005-client-X11-Disable-complex-regions-by-default.patch41 + rects = region16_extents(pRegion);
/OK3568_Linux_fs/external/xserver/hw/xfree86/drivers/modesetting/
H A Ddri2.c260 ms_dri2_copy_region2(ScreenPtr screen, DrawablePtr drawable, RegionPtr pRegion, in ms_dri2_copy_region2() argument
300 REGION_COPY(screen, pCopyClip, pRegion); in ms_dri2_copy_region2()
324 ms_dri2_copy_region(DrawablePtr drawable, RegionPtr pRegion, in ms_dri2_copy_region() argument
327 ms_dri2_copy_region2(drawable->pScreen, drawable, pRegion, destBuffer, in ms_dri2_copy_region()

12