Home
last modified time | relevance | path

Searched refs:npixels (Results 1 – 3 of 3) sorted by relevance

/OK3568_Linux_fs/external/xserver/xfixes/
H A Dcursor.c326 int npixels = width * height; in CopyCursorToImage() local
329 memcpy(image, pCursor->bits->argb, npixels * sizeof(CARD32)); in CopyCursorToImage()
368 int npixels, width, height, rc, x, y; in ProcXFixesGetCursorImage() local
381 npixels = width * height; in ProcXFixesGetCursorImage()
382 rep = calloc(sizeof(xXFixesGetCursorImageReply) + npixels * sizeof(CARD32), in ProcXFixesGetCursorImage()
389 rep->length = npixels; in ProcXFixesGetCursorImage()
410 SwapLongs(image, npixels); in ProcXFixesGetCursorImage()
413 sizeof(xXFixesGetCursorImageReply) + (npixels << 2), rep); in ProcXFixesGetCursorImage()
513 int npixels; in ProcXFixesGetCursorImageAndName() local
530 npixels = width * height; in ProcXFixesGetCursorImageAndName()
[all …]
/OK3568_Linux_fs/external/xserver/hw/dmx/glxProxy/
H A Dglxsingle.c881 int npixels; in __glXDisp_ReadPixels() local
887 npixels = intersectRect(scr_x1, scr_x2, scr_y1, scr_y2, in __glXDisp_ReadPixels()
896 npixels = (wx2 - wx1 + 1) * (wy2 - wy1 + 1); in __glXDisp_ReadPixels()
899 if (npixels > 0) { in __glXDisp_ReadPixels()
/OK3568_Linux_fs/external/xserver/dix/
H A Ddispatch.c2628 int npixels, nmasks; in ProcAllocColorCells() local
2632 npixels = stuff->colors; in ProcAllocColorCells()
2633 if (!npixels) { in ProcAllocColorCells()
2634 client->errorValue = npixels; in ProcAllocColorCells()
2642 length = ((long) npixels + (long) nmasks) * sizeof(Pixel); in ProcAllocColorCells()
2646 pmasks = ppixels + npixels; in ProcAllocColorCells()
2648 if ((rc = AllocColorCells(client->index, pcmp, npixels, nmasks, in ProcAllocColorCells()
2661 .nPixels = npixels, in ProcAllocColorCells()
2690 int npixels; in ProcAllocColorPlanes() local
2694 npixels = stuff->colors; in ProcAllocColorPlanes()
[all …]