Lines Matching refs:nrect
46 GCPtr gc, int nrect, xRectangle *prect) in glamor_poly_fill_rect_gl() argument
66 if (nrect < 100) { in glamor_poly_fill_rect_gl()
68 for (int i = 0; i < nrect; i++) in glamor_poly_fill_rect_gl()
82 v = glamor_get_vbo_space(drawable->pScreen, nrect * sizeof (xRectangle), &vbo_offset); in glamor_poly_fill_rect_gl()
94 memcpy(v, prect, nrect * sizeof (xRectangle)); in glamor_poly_fill_rect_gl()
109 v = glamor_get_vbo_space(drawable->pScreen, nrect * 8 * sizeof (short), &vbo_offset); in glamor_poly_fill_rect_gl()
115 for (n = 0; n < nrect; n++) { in glamor_poly_fill_rect_gl()
155 glDrawArraysInstanced(GL_TRIANGLE_STRIP, 0, 4, nrect); in glamor_poly_fill_rect_gl()
157 glamor_glDrawArrays_GL_QUADS(glamor_priv, nrect); in glamor_poly_fill_rect_gl()
180 GCPtr gc, int nrect, xRectangle *prect) in glamor_poly_fill_rect_bail() argument
186 fbPolyFillRect(drawable, gc, nrect, prect); in glamor_poly_fill_rect_bail()
194 GCPtr gc, int nrect, xRectangle *prect) in glamor_poly_fill_rect() argument
197 glamor_poly_fill_rect_gl(drawable, gc, nrect, prect)) in glamor_poly_fill_rect()
199 glamor_poly_fill_rect_bail(drawable, gc, nrect, prect); in glamor_poly_fill_rect()