Home
last modified time | relevance | path

Searched refs:nrect (Results 1 – 9 of 9) sorted by relevance

/OK3568_Linux_fs/external/xserver/glamor/
H A Dglamor_rects.c46 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
[all …]
H A Dglamor_render.c1120 int nrect, glamor_composite_rect_t *rects, in glamor_composite_with_shader() argument
1196 nrect_max = MIN(nrect, GLAMOR_COMPOSITE_VBO_VERT_CNT / 4); in glamor_composite_with_shader()
1198 if (nrect < 100) { in glamor_composite_with_shader()
1201 for (int i = 0; i < nrect; i++) { in glamor_composite_with_shader()
1221 while (nrect) { in glamor_composite_with_shader()
1226 mrect = nrect > nrect_max ? nrect_max : nrect; in glamor_composite_with_shader()
1291 nrect -= rect_processed; in glamor_composite_with_shader()
1296 if (nrect) in glamor_composite_with_shader()
H A Dglamor_largepixmap.c256 int nrect; in _glamor_convert_pad_region() local
260 nrect = RegionNumRects(region); in _glamor_convert_pad_region()
265 while (nrect--) { in _glamor_convert_pad_region()
H A Dglamor_priv.h773 GCPtr gc, int nrect, xRectangle *prect);
/OK3568_Linux_fs/external/xserver/fb/
H A Dfbfillrect.c30 fbPolyFillRect(DrawablePtr pDrawable, GCPtr pGC, int nrect, xRectangle *prect) in fbPolyFillRect() argument
49 while (nrect--) { in fbPolyFillRect()
/OK3568_Linux_fs/external/xserver/exa/
H A Dexa_render.c347 int nrect, ExaCompositeRectPtr rects) in exaTryDriverCompositeRects() argument
437 while (nrect--) { in exaTryDriverCompositeRects()
509 PicturePtr pDst, int nrect, ExaCompositeRectPtr rects) in exaCompositeRects() argument
538 n = nrect; in exaCompositeRects()
584 ret = exaTryDriverCompositeRects(op, pSrc, pMask, pDst, nrect, rects); in exaCompositeRects()
595 nrect, rects); in exaCompositeRects()
598 ret = exaTryDriverCompositeRects(op, pSrc, pMask, pDst, nrect, in exaCompositeRects()
604 n = nrect; in exaCompositeRects()
H A Dexa_accel.c777 exaPolyFillRect(DrawablePtr pDrawable, GCPtr pGC, int nrect, xRectangle *prect) in exaPolyFillRect() argument
792 RegionPtr pReg = RegionFromRects(nrect, prect, CT_UNSORTED); in exaPolyFillRect()
813 (nrect == 1 || pGC->alu == GXcopy || pGC->alu == GXclear || in exaPolyFillRect()
849 ExaCheckPolyFillRect(pDrawable, pGC, nrect, prect); in exaPolyFillRect()
861 while (nrect--) { in exaPolyFillRect()
H A Dexa_priv.h415 int nrect, xRectangle *prect);
683 PicturePtr pDst, int nrect, ExaCompositeRectPtr rects);
H A Dexa_unaccel.c305 int nrect, xRectangle *prect) in ExaCheckPolyFillRect() argument
312 pGC->ops->PolyFillRect(pDrawable, pGC, nrect, prect); in ExaCheckPolyFillRect()