Home
last modified time | relevance | path

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

/OK3568_Linux_fs/external/xserver/dix/
H A Dregion.c175 if (!(pReg)->data || (((pReg)->data->numRects + (n)) > (pReg)->data->size)) \
179 if (!(pReg)->data || (((pReg)->data->numRects + (n)) > (pReg)->data->size)) \
193 if (!(pReg)->data || ((pReg)->data->numRects == (pReg)->data->size))\
200 pReg->data->numRects++; \
201 assert(pReg->data->numRects<=pReg->data->size); \
204 #define DOWNSIZE(reg,numRects) \ argument
205 if (((numRects) < ((reg)->data->size >> 1)) && ((reg)->data->size > 50)) \
207 size_t NewSize = RegionSizeof(numRects); \
212 NewData->size = (numRects); \
296 int i, numRects; in RegionIsValid() local
[all …]
H A Ddispatch.c1658 int numRects; in SendGraphicsExpose() local
1660 numRects = RegionNumRects(pRgn); in SendGraphicsExpose()
1662 if (!(pEvent = calloc(numRects, sizeof(xEvent)))) in SendGraphicsExpose()
1666 for (i = 1; i <= numRects; i++, pe++, pBox++) { in SendGraphicsExpose()
1673 pe->u.graphicsExposure.count = numRects - i; in SendGraphicsExpose()
1679 TryClientEvents(client, NULL, pEvent, numRects, in SendGraphicsExpose()
/OK3568_Linux_fs/external/xserver/mi/
H A Dmiexpose.c314 int numRects; in miSendExposures() local
319 numRects = RegionNumRects(pRgn); in miSendExposures()
320 if (!(pEvent = calloc(1, numRects * sizeof(xEvent)))) in miSendExposures()
323 for (i = numRects, pe = pEvent; --i >= 0; pe++, pBox++) { in miSendExposures()
358 for (i = 0; i < numRects; i++) { in miSendExposures()
366 DeliverEvents(pWin, pEvent, numRects, NullWindow); in miSendExposures()
414 int numRects; in miPaintWindow() local
531 numRects = RegionNumRects(prgn); in miPaintWindow()
533 for (i = numRects; --i >= 0; pbox++, prect++) { in miPaintWindow()
539 prect -= numRects; in miPaintWindow()
[all …]
H A Dmibitblt.c89 int numRects; in miCopyArea() local
137 numRects = RegionNumRects(prgnSrcClip); in miCopyArea()
139 ordering = xallocarray(numRects, sizeof(unsigned int)); in miCopyArea()
157 for (i = 0; i < numRects; i++) in miCopyArea()
164 for (i = 0; i < numRects; i++) in miCopyArea()
167 for (i = 0, j = 1, xMax = 0; i < numRects; j = i + 1, xMax = i) { in miCopyArea()
170 while ((j < numRects) && (boxes[j].y1 == y)) in miCopyArea()
180 for (i = numRects - 1, j = i - 1, yMin = i, yMax = 0; in miCopyArea()
195 for (i = 0, j = numRects - 1; i < numRects; i++, j--) in miCopyArea()
200 for (i = 0; i < numRects; i++) { in miCopyArea()
H A Dmicopy.c146 int numRects; in miDoCopy() local
294 numRects = RegionNumRects(&rgnDst); in miDoCopy()
295 if (numRects && widthSrc && heightSrc) in miDoCopy()
/OK3568_Linux_fs/external/xserver/fb/
H A Dfbpixmap.c100 (!((reg)->data->numRects && \
106 if ((reg)->data->numRects == (reg)->data->size) \
110 r = fr + (reg)->data->numRects; \
116 (reg)->data->numRects++; \
264 pReg->data->numRects -= crects; in fbPixmapToRegion()
271 if (!pReg->data->numRects) in fbPixmapToRegion()
276 if (pReg->data->numRects == 1) { in fbPixmapToRegion()
/OK3568_Linux_fs/external/xserver/include/
H A Dregionstr.h74 return ((reg)->data && !(reg)->data->numRects); in RegionNil()
88 return ((reg)->data ? (reg)->data->numRects : 1); in RegionNumRects()
118 return RegionBox(reg, (reg)->data->numRects); in RegionTop()
124 return RegionBox(reg, (reg)->data->numRects - 1); in RegionEnd()
149 (_pReg)->data->numRects = 0; in RegionInit()
/OK3568_Linux_fs/external/libmali/include/FBDEV/
H A Deglext.h966 …GLSWAPBUFFERSREGIONNOKPROC) (EGLDisplay dpy, EGLSurface surface, EGLint numRects, const EGLint *re…
968 …TRY eglSwapBuffersRegionNOK (EGLDisplay dpy, EGLSurface surface, EGLint numRects, const EGLint *re…
974 …LSWAPBUFFERSREGION2NOKPROC) (EGLDisplay dpy, EGLSurface surface, EGLint numRects, const EGLint *re…
976 …RY eglSwapBuffersRegion2NOK (EGLDisplay dpy, EGLSurface surface, EGLint numRects, const EGLint *re…
/OK3568_Linux_fs/external/libmali/include/EGL/
H A Deglext.h1057 …GLSWAPBUFFERSREGIONNOKPROC) (EGLDisplay dpy, EGLSurface surface, EGLint numRects, const EGLint *re…
1059 …TRY eglSwapBuffersRegionNOK (EGLDisplay dpy, EGLSurface surface, EGLint numRects, const EGLint *re…
1065 …LSWAPBUFFERSREGION2NOKPROC) (EGLDisplay dpy, EGLSurface surface, EGLint numRects, const EGLint *re…
1067 …RY eglSwapBuffersRegion2NOK (EGLDisplay dpy, EGLSurface surface, EGLint numRects, const EGLint *re…