Searched refs:xrects (Results 1 – 1 of 1) sorted by relevance
232 XRectangle *xrects; in __glXReportDamage() local255 xrects = malloc(sizeof(XRectangle) * num_rects); in __glXReportDamage()256 if (xrects == NULL) in __glXReportDamage()260 xrects[i].x = rects[i].x1 + x_off; in __glXReportDamage()261 xrects[i].y = rects[i].y1 + y_off; in __glXReportDamage()262 xrects[i].width = rects[i].x2 - rects[i].x1; in __glXReportDamage()263 xrects[i].height = rects[i].y2 - rects[i].y1; in __glXReportDamage()265 region = XFixesCreateRegion(dpy, xrects, num_rects); in __glXReportDamage()266 free(xrects); in __glXReportDamage()