Home
last modified time | relevance | path

Searched refs:xnestDisplay (Results 1 – 15 of 15) sorted by relevance

/OK3568_Linux_fs/external/xserver/hw/xnest/
H A DDisplay.c39 Display *xnestDisplay = NULL; variable
85 xnestDisplay = XOpenDisplay(xnestDisplayName); in xnestOpenDisplay()
86 if (xnestDisplay == NULL) in xnestOpenDisplay()
91 XSynchronize(xnestDisplay, True); in xnestOpenDisplay()
94 vi.screen = DefaultScreen(xnestDisplay); in xnestOpenDisplay()
95 xnestVisuals = XGetVisualInfo(xnestDisplay, mask, &vi, &xnestNumVisuals); in xnestOpenDisplay()
114 vi.visualid = XVisualIDFromVisual(DefaultVisual(xnestDisplay, in xnestOpenDisplay()
116 (xnestDisplay))); in xnestOpenDisplay()
127 xnestDefaultColormaps[i] = XCreateColormap(xnestDisplay, in xnestOpenDisplay()
129 (xnestDisplay), in xnestOpenDisplay()
[all …]
H A DGCOps.c70 XQueryBestSize(xnestDisplay, class, in xnestQueryBestSize()
84 ximage = XCreateImage(xnestDisplay, xnestDefaultVisual(pDrawable->pScreen), in xnestPutImage()
86 w, h, BitmapPad(xnestDisplay), in xnestPutImage()
91 XPutImage(xnestDisplay, xnestDrawable(pDrawable), xnestGC(pGC), in xnestPutImage()
113 XSync(xnestDisplay, False); in xnestGetImage()
116 ximage = XGetImage(xnestDisplay, xnestDrawable(pDrawable), in xnestGetImage()
153 XIfEvent(xnestDisplay, &event, xnestBitBlitPredicate, NULL); in xnestBitBlitHelper()
183 XCopyArea(xnestDisplay, in xnestCopyArea()
195 XCopyPlane(xnestDisplay, in xnestCopyPlane()
206 XDrawPoints(xnestDisplay, xnestDrawable(pDrawable), xnestGC(pGC), in xnestPolyPoint()
[all …]
H A DCursor.c59 XChangeGC(xnestDisplay, xnestBitmapGC, valuemask, &values); in xnestRealizeCursor()
61 source = XCreatePixmap(xnestDisplay, in xnestRealizeCursor()
65 mask = XCreatePixmap(xnestDisplay, in xnestRealizeCursor()
69 ximage = XCreateImage(xnestDisplay, in xnestRealizeCursor()
74 pCursor->bits->height, BitmapPad(xnestDisplay), 0); in xnestRealizeCursor()
76 XPutImage(xnestDisplay, source, xnestBitmapGC, ximage, in xnestRealizeCursor()
81 ximage = XCreateImage(xnestDisplay, in xnestRealizeCursor()
86 pCursor->bits->height, BitmapPad(xnestDisplay), 0); in xnestRealizeCursor()
88 XPutImage(xnestDisplay, mask, xnestBitmapGC, ximage, in xnestRealizeCursor()
103 XCreatePixmapCursor(xnestDisplay, source, mask, &fg_color, &bg_color, in xnestRealizeCursor()
[all …]
H A DScreen.c80 XMapRaised(xnestDisplay, xnestScreenSaverWindows[pScreen->myNum]); in xnestSaveScreen()
85 XUnmapWindow(xnestDisplay, xnestScreenSaverWindows[pScreen->myNum]); in xnestSaveScreen()
91 XUnmapWindow(xnestDisplay, xnestScreenSaverWindows[pScreen->myNum]); in xnestSaveScreen()
96 XUnmapWindow(xnestDisplay, xnestScreenSaverWindows[pScreen->myNum]); in xnestSaveScreen()
233 XGetWindowAttributes(xnestDisplay, xnestParentWindow, &gattributes); in xnestOpenScreen()
319 pScreen->mmWidth = xnestWidth * DisplayWidthMM(xnestDisplay, in xnestOpenScreen()
320 DefaultScreen(xnestDisplay)) in xnestOpenScreen()
321 / DisplayWidth(xnestDisplay, DefaultScreen(xnestDisplay)); in xnestOpenScreen()
323 xnestHeight * DisplayHeightMM(xnestDisplay, in xnestOpenScreen()
324 DefaultScreen(xnestDisplay)) / in xnestOpenScreen()
[all …]
H A DKeyboard.c68 XBell(xnestDisplay, volume); in xnestBell()
74 XBell(xnestDisplay, volume); in DDXRingBell()
95 XChangeKeyboardControl(xnestDisplay, value_mask, &values); in xnestChangeKeyboardControl()
108 XChangeKeyboardControl(xnestDisplay, value_mask, &values); in xnestChangeKeyboardControl()
129 XDisplayKeycodes(xnestDisplay, &min_keycode, &max_keycode); in xnestKeyboardProc()
135 keymap64 = XGetKeyboardMapping(xnestDisplay, in xnestKeyboardProc()
146 keymap = XGetKeyboardMapping(xnestDisplay, in xnestKeyboardProc()
152 modifier_keymap = XGetModifierMapping(xnestDisplay); in xnestKeyboardProc()
170 if (XkbQueryExtension(xnestDisplay, &op, &event, &error, &major, &minor) in xnestKeyboardProc()
176 XkbGetKeyboard(xnestDisplay, XkbGBN_AllComponentsMask, in xnestKeyboardProc()
[all …]
H A DGC.c81 xnestGCPriv(pGC)->gc = XCreateGC(xnestDisplay, in xnestCreateGC()
167 XSetDashes(xnestDisplay, xnestGC(pGC), in xnestChangeGC()
175 XChangeGC(xnestDisplay, xnestGC(pGC), mask, &values); in xnestChangeGC()
181 XCopyGC(xnestDisplay, xnestGC(pGCSrc), mask, xnestGC(pGCDst)); in xnestCopyGC()
187 XFreeGC(xnestDisplay, xnestGC(pGC)); in xnestDestroyGC()
201 XSetClipMask(xnestDisplay, xnestGC(pGC), None); in xnestChangeClip()
215 XSetClipRectangles(xnestDisplay, xnestGC(pGC), 0, 0, in xnestChangeClip()
221 XSetClipMask(xnestDisplay, xnestGC(pGC), in xnestChangeClip()
233 XSetClipRectangles(xnestDisplay, xnestGC(pGC), in xnestChangeClip()
239 XSetClipRectangles(xnestDisplay, xnestGC(pGC), in xnestChangeClip()
[all …]
H A DWindow.c119 xnestWindowPriv(pWin)->window = XCreateWindow(xnestDisplay, in xnestCreateWindow()
157 XDestroyWindow(xnestDisplay, xnestWindow(pWin)); in xnestDestroyWindow()
184 XReparentWindow(xnestDisplay, xnestWindow(pWin), in xnestConfigureWindow()
231 XConfigureWindow(xnestDisplay, xnestWindow(pWin), valuemask, &values); in xnestConfigureWindow()
243 XConfigureWindow(xnestDisplay, xnestWindow(pSib), valuemask, &values); in xnestConfigureWindow()
251 XConfigureWindow(xnestDisplay, xnestWindow(pSib), valuemask, in xnestConfigureWindow()
346 XChangeWindowAttributes(xnestDisplay, xnestWindow(pWin), in xnestChangeWindowAttributes()
357 XMapWindow(xnestDisplay, xnestWindow(pWin)); in xnestRealizeWindow()
365 XUnmapWindow(xnestDisplay, xnestWindow(pWin)); in xnestUnrealizeWindow()
395 XSync(xnestDisplay, False); in xnestWindowExposures()
[all …]
H A DPointer.c44 XChangePointerControl(xnestDisplay, True, True, in xnestChangePointerControl()
59 nmap = XGetPointerMapping(xnestDisplay, map, MAXBUTTONS); in xnestPointerProc()
74 XGetPointerControl(xnestDisplay, in xnestPointerProc()
85 XSelectInput(xnestDisplay, xnestDefaultWindows[i], xnestEventMask); in xnestPointerProc()
90 XSelectInput(xnestDisplay, xnestDefaultWindows[i], xnestEventMask); in xnestPointerProc()
H A DColor.c58 XCreateColormap(xnestDisplay, in xnestCreateColormap()
68 XQueryColors(xnestDisplay, xnestColormap(pCmap), colors, ncolors); in xnestCreateColormap()
81 XQueryColors(xnestDisplay, xnestColormap(pCmap), colors, ncolors); in xnestCreateColormap()
108 XQueryColors(xnestDisplay, xnestColormap(pCmap), colors, ncolors); in xnestCreateColormap()
133 XFreeColormap(xnestDisplay, xnestColormap(pCmap)); in xnestDestroyColormap()
225 XSetWMColormapWindows(xnestDisplay, in xnestSetInstalledColormapWindows()
231 XSetWMColormapWindows(xnestDisplay, xnestDefaultWindows[pScreen->myNum], in xnestSetInstalledColormapWindows()
260 XSetWindowColormap(xnestDisplay, in xnestSetInstalledColormapWindows()
280 XSetWMColormapWindows(xnestDisplay, xnestDefaultWindows[pScreen->myNum], in xnestSetScreenSaverColormapWindow()
285 XSetWMColormapWindows(xnestDisplay, xnestDefaultWindows[pScreen->myNum], in xnestSetScreenSaverColormapWindow()
[all …]
H A DInit.c64 screen_info->imageByteOrder = ImageByteOrder(xnestDisplay); in InitOutput()
65 screen_info->bitmapScanlineUnit = BitmapUnit(xnestDisplay); in InitOutput()
66 screen_info->bitmapScanlinePad = BitmapPad(xnestDisplay); in InitOutput()
67 screen_info->bitmapBitOrder = BitmapBitOrder(xnestDisplay); in InitOutput()
118 SetNotifyFd(XConnectionNumber(xnestDisplay), xnestNotifyConnection, X_NOTIFY_READ, NULL); in InitInput()
H A DPixmap.c62 XCreatePixmap(xnestDisplay, in xnestCreatePixmap()
76 XFreePixmap(xnestDisplay, xnestPixmap(pPixmap)); in xnestDestroyPixmap()
87 XCreatePixmap(xnestDisplay, in xnestModifyPixmapHeader()
106 ximage = XGetImage(xnestDisplay, xnestPixmap(pPixmap), 0, 0, in xnestPixmapToRegion()
H A DFont.c71 xnestFontPriv(pFont)->font_struct = XLoadQueryFont(xnestDisplay, name); in xnestRealizeFont()
84 XFreeFont(xnestDisplay, xnestFontStruct(pFont)); in xnestUnrealizeFont()
H A DEvents.c86 while (XCheckIfEvent(xnestDisplay, &X, xnestExposurePredicate, NULL)) { in xnestCollectExposures()
117 while (XCheckIfEvent(xnestDisplay, &X, xnestNotExposurePredicate, NULL)) { in xnestCollectEvents()
H A DHandlers.c38 XFlush(xnestDisplay); in xnestBlockHandler()
H A DDisplay.h23 extern Display *xnestDisplay;