Lines Matching refs:numRects
68 size_t numRects; member
120 for (size_t i = 0; i < app->numRects; ++i) { in onExpose()
121 moveRect(&app->rects[i], i, app->numRects, width, height, time); in onExpose()
127 GL_ARRAY_BUFFER, 0, (GLsizeiptr)(app->numRects * sizeof(Rect)), app->rects); in onExpose()
130 GL_TRIANGLE_STRIP, 4, GL_UNSIGNED_INT, NULL, (GLsizei)(app->numRects * 4)); in onExpose()
190 makeRects(const size_t numRects) in makeRects() argument
192 Rect* rects = (Rect*)calloc(numRects, sizeof(Rect)); in makeRects()
193 for (size_t i = 0; i < numRects; ++i) { in makeRects()
231 app->numRects = 1024; in parseOptions()
239 app->numRects = (size_t)strtol(argv[0], &endptr, 10); in parseOptions()
271 app->rects = makeRects(app->numRects); in setupPugl()
356 (GLsizeiptr)(app->numRects * sizeof(Rect)), in setupGl()