Searched refs:xrects (Results 1 – 1 of 1) sorted by relevance
223 XRectangle *xrects; in __glXReportDamage() local246 xrects = malloc(sizeof(XRectangle) * num_rects); in __glXReportDamage()247 if (xrects == NULL) in __glXReportDamage()251 xrects[i].x = rects[i].x1 + x_off; in __glXReportDamage()252 xrects[i].y = rects[i].y1 + y_off; in __glXReportDamage()253 xrects[i].width = rects[i].x2 - rects[i].x1; in __glXReportDamage()254 xrects[i].height = rects[i].y2 - rects[i].y1; in __glXReportDamage()256 region = XFixesCreateRegion(dpy, xrects, num_rects); in __glXReportDamage()257 free(xrects); in __glXReportDamage()