Searched refs:xrects (Results 1 – 1 of 1) sorted by relevance
315 XRectangle *xrects; in __glXReportDamage() local338 xrects = malloc(sizeof(XRectangle) * num_rects); in __glXReportDamage()339 if (xrects == NULL) in __glXReportDamage()343 xrects[i].x = rects[i].x1 + x_off; in __glXReportDamage()344 xrects[i].y = rects[i].y1 + y_off; in __glXReportDamage()345 xrects[i].width = rects[i].x2 - rects[i].x1; in __glXReportDamage()346 xrects[i].height = rects[i].y2 - rects[i].y1; in __glXReportDamage()348 region = XFixesCreateRegion(dpy, xrects, num_rects); in __glXReportDamage()349 free(xrects); in __glXReportDamage()