Home
last modified time | relevance | path

Searched refs:xDisplay (Results 1 – 25 of 183) sorted by relevance

12345678

/dports/editors/e93/e93/xgui/
H A Dpixmap.c224 …updatePixmap=XCreatePixmap(xDisplay,RootWindow(xDisplay,xScreenNum),minWidth,minHeight,xDisplayDep… in GetWindowUpdatePixmap()
236 XFreePixmap(xDisplay,updatePixmap); in UnInitPixmaps()
238 XFreePixmap(xDisplay,editorIconPixmap); in UnInitPixmaps()
241 XFreePixmap(xDisplay,subMenuPixmap); in UnInitPixmaps()
242 XFreePixmap(xDisplay,checkedBoxPixmap); in UnInitPixmaps()
243 XFreePixmap(xDisplay,checkBoxPixmap); in UnInitPixmaps()
244 XFreePixmap(xDisplay,downArrowPixmap); in UnInitPixmaps()
245 XFreePixmap(xDisplay,upArrowPixmap); in UnInitPixmaps()
246 XFreePixmap(xDisplay,rightArrowPixmap); in UnInitPixmaps()
247 XFreePixmap(xDisplay,leftArrowPixmap); in UnInitPixmaps()
[all …]
H A Dinit.c32 XFreeCursor(xDisplay,arrowCursor); in UnInitEnvironment()
33 XFreeCursor(xDisplay,caretCursor); in UnInitEnvironment()
39 XFreeGC(xDisplay,xGraphicsContext); in UnInitEnvironment()
40 XCloseDisplay(xDisplay); in UnInitEnvironment()
49 if((xDisplay=XOpenDisplay(NULL))) // connect to the default X server in InitEnvironment()
51 xScreenNum=DefaultScreen(xDisplay); // keep this around for handy future reference in InitEnvironment()
52 xGraphicsContext=XCreateGC(xDisplay,RootWindow(xDisplay,xScreenNum),0,NULL); in InitEnvironment()
60 takeFocusAtom=XInternAtom(xDisplay,"WM_TAKE_FOCUS",False); in InitEnvironment()
61 deleteWindowAtom=XInternAtom(xDisplay,"WM_DELETE_WINDOW",False); in InitEnvironment()
66 maxXSelectionChunkSize=XMaxRequestSize(xDisplay)/4; in InitEnvironment()
[all …]
H A Dwindow.c31 XGetWindowAttributes(xDisplay,RootWindow(xDisplay,xScreenNum),&attributes); in GetEditorDisplayDimensions()
64 XGetWindowAttributes(xDisplay,RootWindow(xDisplay,xScreenNum),&attributes); in GetEditorScreenOffsetAndDimensions()
146 XSetClassHint(xDisplay,windowElement->xWindow,&classHints); in SetClassHints()
349 XIconifyWindow(xDisplay,windowElement->xWindow,xScreenNum); in MinimizeEditorWindow()
359 XMapWindow(xDisplay,windowElement->xWindow); in UnminimizeEditorWindow()
377 …XQueryTree(xDisplay,RootWindow(xDisplay,xScreenNum),&root,&parent,&children,&numChildren); // get … in GetTopEditorWindow()
421 xEvent.xclient.display=xDisplay; in SetTopEditorWindow()
430 …XSendEvent(xDisplay,XDefaultRootWindow(xDisplay),False,SubstructureRedirectMask|SubstructureNotify… in SetTopEditorWindow()
487 XQueryTree(xDisplay,RootWindow(xDisplay,xScreenNum),&root,&parent,&children,&numChildren); in GetSortedEditorWindowTypeList()
585 XQueryTree(xDisplay,RootWindow(xDisplay,xScreenNum),&root,&parent,&children,&numChildren); in FocusAwayFrom()
[all …]
H A Dscrollbar.c211 XSetForeground(xDisplay,xGraphicsContext,EditorColorToXPixel(WHITE)); in DrawLeftArrow()
213 XSetBackground(xDisplay,xGraphicsContext,EditorColorToXPixel(GRAY_0)); in DrawLeftArrow()
215 XSetForeground(xDisplay,xGraphicsContext,EditorColorToXPixel(BLACK)); in DrawLeftArrow()
231 XSetForeground(xDisplay,xGraphicsContext,EditorColorToXPixel(WHITE)); in DrawRightArrow()
233 XSetBackground(xDisplay,xGraphicsContext,EditorColorToXPixel(GRAY_0)); in DrawRightArrow()
235 XSetForeground(xDisplay,xGraphicsContext,EditorColorToXPixel(BLACK)); in DrawRightArrow()
251 XSetForeground(xDisplay,xGraphicsContext,EditorColorToXPixel(WHITE)); in DrawUpArrow()
255 XSetForeground(xDisplay,xGraphicsContext,EditorColorToXPixel(BLACK)); in DrawUpArrow()
275 XSetForeground(xDisplay,xGraphicsContext,EditorColorToXPixel(BLACK)); in DrawDownArrow()
333 XSetForeground(xDisplay,xGraphicsContext,EditorColorToXPixel(BLACK)); in DrawThumb()
[all …]
H A Dcheckbox.c103 XSetForeground(xDisplay,xGraphicsContext,EditorColorToXPixel(GRAY_3)); in DrawCheckBox()
113 XSetForeground(xDisplay,xGraphicsContext,EditorColorToXPixel(upLeftHighlight)); in DrawCheckBox()
114 XDrawLine(xDisplay,imageBuffer,xGraphicsContext,xLeft,yTop,xRight,yTop); in DrawCheckBox()
115 XDrawLine(xDisplay,imageBuffer,xGraphicsContext,xLeft,yTop,xLeft,yBottom); in DrawCheckBox()
117 XDrawLine(xDisplay,imageBuffer,xGraphicsContext,xRight,yTop,xRight,yBottom); in DrawCheckBox()
118 XDrawLine(xDisplay,imageBuffer,xGraphicsContext,xLeft,yBottom,xRight,yBottom); in DrawCheckBox()
120 XSetBackground(xDisplay,xGraphicsContext,EditorColorToXPixel(GRAY_3)); in DrawCheckBox()
123 XSetForeground(xDisplay,xGraphicsContext,EditorColorToXPixel(WHITE)); in DrawCheckBox()
127 XSetForeground(xDisplay,xGraphicsContext,EditorColorToXPixel(BLACK)); in DrawCheckBox()
142 XSetForeground(xDisplay,xGraphicsContext,EditorColorToXPixel(BLACK)); in DrawCheckBox()
[all …]
H A Ddocwin.c204 XSetFillStyle(xDisplay,xGraphicsContext,FillSolid); in DrawStatusBar()
219 XSetForeground(xDisplay,xGraphicsContext,EditorColorToXPixel(WHITE)); in DrawStatusBar()
221 XSetClipMask(xDisplay,xGraphicsContext,None); // get rid of clip mask in DrawStatusBar()
245 XSetFillStyle(xDisplay,xGraphicsContext,FillSolid); in DrawGrowArea()
246 XSetForeground(xDisplay,xGraphicsContext,EditorColorToXPixel(0x868693)); in DrawGrowArea()
637xDisplay,RootWindow(xDisplay,xScreenNum),rect->x+xOffset,rect->y+yOffset,rect->w,rect->h,XWINDOW_B… in CreateDocumentWindow()
646 XSetWMNormalHints(xDisplay,windowElement->xWindow,&sizeHints); in CreateDocumentWindow()
648 XStoreName(xDisplay,windowElement->xWindow,title); in CreateDocumentWindow()
649 XSetIconName(xDisplay,windowElement->xWindow,title); in CreateDocumentWindow()
660 XSetWMHints(xDisplay,windowElement->xWindow,&hints); in CreateDocumentWindow()
[all …]
/dports/science/elmerfem/elmerfem-release-9.0/post/src/tk/
H A Dwindow.c9 Display *xDisplay = 0; variable
178 if (xDisplay) { in tkCloseWindow()
198 XDestroyWindow(xDisplay, w.wMain); in tkCloseWindow()
203 XCloseDisplay(xDisplay); in tkCloseWindow()
204 xDisplay = 0; in tkCloseWindow()
389 if (!xDisplay) { in tkInitWindow()
390 xDisplay = XOpenDisplay(0); in tkInitWindow()
391 if (!xDisplay) { in tkInitWindow()
470 XGetRGBColormaps( xDisplay, RootWindow(xDisplay, scrnum) in tkInitWindow()
546 XFlush(xDisplay); in tkInitWindow()
[all …]
H A Dgetset.c35 if (!xDisplay) { in tkGetColorMapSize()
61 *(Display **)ptr = xDisplay; in tkGetSystem()
126 XSync(xDisplay, 0); in tkSetFogRamp()
170 XSync(xDisplay, 0); in tkSetGreyRamp()
192 XStoreColor(xDisplay, w.cMapMain, &c); in tkSetOneColor()
202 XStoreColor(xDisplay, w.cMapMain, &c); in tkSetOneColor()
207 XSync(xDisplay, 0); in tkSetOneColor()
234 XSync(xDisplay, 0); in tkSetOverlayMap()
257 XStoreColor(xDisplay, w.cMapMain, &c); in tkSetRGBMap()
270 XStoreColor(xDisplay, w.cMapMain, &c); in tkSetRGBMap()
[all …]
/dports/x11/gskrab/GSKrab-0.0.1/tests/
H A Dx11test.c30 static void PrepareGrabs (Display *xDisplay) in PrepareGrabs() argument
36 rootWindow = DefaultRootWindow(xDisplay); in PrepareGrabs()
41 code = XKeysymToKeycode (xDisplay, sym); in PrepareGrabs()
51 static int ErrorHandler (Display *xDisplay, XErrorEvent *error) in ErrorHandler() argument
61 rc = PreviousErrorHandler (xDisplay, error); in ErrorHandler()
68 Display *xDisplay; in main() local
71 xDisplay = XOpenDisplay (NULL); in main()
72 if (xDisplay) in main()
75 PrepareGrabs (xDisplay); in main()
78 while (!XCheckMaskEvent (xDisplay, KeyPressMask, &event)) in main()
[all …]
/dports/converters/wkhtmltopdf/qt-5db36ec/src/plugins/platforms/wayland/gl_integration/xcomposite_glx/
H A Dqwaylandxcompositeglxcontext.cpp61 XVisualInfo *visualInfo = glXGetVisualFromFBConfig(glxIntegration->xDisplay(),mConfig); in QWaylandXCompositeGLXContext()
62 mContext = glXCreateContext(glxIntegration->xDisplay(),visualInfo,0,TRUE); in QWaylandXCompositeGLXContext()
70 glXMakeCurrent(mGlxIntegration->xDisplay(),mXWindow,mContext); in makeCurrent()
75 glXMakeCurrent(mGlxIntegration->xDisplay(),0,0); in doneCurrent()
83 glXSwapBuffers(mGlxIntegration->xDisplay(),mXWindow); in swapBuffers()
95 return qglx_platformWindowFromGLXFBConfig(mGlxIntegration->xDisplay(),mConfig,mContext); in platformWindowFormat()
128 XDestroyWindow(mGlxIntegration->xDisplay(),mXWindow); in geometryChanged()
131 XVisualInfo *visualInfo = glXGetVisualFromFBConfig(mGlxIntegration->xDisplay(),mConfig); in geometryChanged()
136 a.border_pixel = BlackPixel(mGlxIntegration->xDisplay(), mGlxIntegration->screen()); in geometryChanged()
143 XMapWindow(mGlxIntegration->xDisplay(), mXWindow); in geometryChanged()
[all …]
/dports/x11/virtualgl/virtualgl-3.0/glxdemos/
H A Dtestgl5.c22 Display *xDisplay; variable
46 glXDestroyContext(xDisplay, glxPbufferContext); in configure()
50 glXDestroyPbuffer(xDisplay, glxPbuffer); in configure()
55 glxPbuffer = glXCreatePbuffer(xDisplay, glxFBConfig, pbuffer_attrib); in configure()
77 glXMakeContextCurrent(xDisplay, glxWindow, glxWindow, glxContext); in drawBuffer()
112 glXMakeContextCurrent(xDisplay, glxPbuffer, glxPbuffer, glxContext); in drawBuffer()
147 glXMakeContextCurrent(xDisplay, glxWindow, glxWindow, glxContext); in drawBuffer()
163 glXMakeContextCurrent(xDisplay, glxWindow, glxPbuffer, glxContext); in drawBuffer()
187 glXMakeContextCurrent(xDisplay, glxWindow, glxWindow, glxContext); in drawBuffer()
231 glXMakeContextCurrent(xDisplay, glxWindow, glxWindow, glxContext); in drawBuffer()
[all …]
/dports/audio/vst3sdk/vst3sdk-3.7.1_build_50-1-g8199057/public.sdk/samples/vst-hosting/editorhost/source/platform/linux/
H A Dwindow.cpp216 Display* xDisplay {nullptr}; member
547 xDisplay = display; in init()
572 XCreateColormap (xDisplay, XDefaultRootWindow (xDisplay), vInfo.visual, AllocNone); in init()
574 xWindow = XCreateWindow (xDisplay, RootWindow (xDisplay, screen_num), 0, 0, displayWidth, in init()
577 XFlush (xDisplay); in init()
613 XSetForeground (xDisplay, xGraphicContext, WhitePixel (xDisplay, screen_num)); in init()
614 XSetBackground (xDisplay, xGraphicContext, BlackPixel (xDisplay, screen_num)); in init()
713 XMapWindow (xDisplay, xWindow); in show()
719 XUnmapWindow (xDisplay, xWindow); in close()
728 xDisplay = nullptr; in onClose()
[all …]
/dports/audio/surge-synthesizer-lv2/surge-release_1.9.0/vst3sdk/public.sdk/samples/vst-hosting/editorhost/source/platform/linux/
H A Dwindow.cpp216 Display* xDisplay {nullptr}; member
547 xDisplay = display; in init()
572 XCreateColormap (xDisplay, XDefaultRootWindow (xDisplay), vInfo.visual, AllocNone); in init()
574 xWindow = XCreateWindow (xDisplay, RootWindow (xDisplay, screen_num), 0, 0, displayWidth, in init()
577 XFlush (xDisplay); in init()
613 XSetForeground (xDisplay, xGraphicContext, WhitePixel (xDisplay, screen_num)); in init()
614 XSetBackground (xDisplay, xGraphicContext, BlackPixel (xDisplay, screen_num)); in init()
713 XMapWindow (xDisplay, xWindow); in show()
719 XUnmapWindow (xDisplay, xWindow); in close()
728 xDisplay = nullptr; in onClose()
[all …]
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.platform.swt/bundles/org.eclipse.swt/Eclipse SWT OpenGL/gtk/org/eclipse/swt/opengl/
H A DGLCanvas.java115 long infoPtr = GLX.glXChooseVisual (xDisplay, OS.XDefaultScreen (xDisplay), glxAttrib); in GLCanvas()
126 context = GLX.glXCreateContext (xDisplay, vinfo, share, true); in GLCanvas()
198 long xDisplay = gdk_x11_display_get_xdisplay (window); in getGLData() local
203 GLX.glXGetConfig (xDisplay, vinfo, GLX.GLX_STEREO, value); in getGLData()
205 GLX.glXGetConfig (xDisplay, vinfo, GLX.GLX_RED_SIZE, value); in getGLData()
209 GLX.glXGetConfig (xDisplay, vinfo, GLX.GLX_BLUE_SIZE, value); in getGLData()
227 GLX.glXGetConfig (xDisplay, vinfo, GLX.GLX_SAMPLES, value); in getGLData()
261 long xDisplay = gdk_x11_display_get_xdisplay (window); in setCurrent() local
262 GLX.glXMakeCurrent (xDisplay, xWindow, context); in setCurrent()
276 long xDisplay = gdk_x11_display_get_xdisplay (window); in swapBuffers() local
[all …]
/dports/x11-toolkits/wmapp/wmapp-0.0.4.3/
H A Dxwrapper.cc11 xDisplay = X::XOpenDisplay(0); in Xwrapper()
13 xRootWindow = DefaultRootWindow(xDisplay); in Xwrapper()
18 xGC = X::XCreateGC(xDisplay, xRootWindow, in Xwrapper()
25 X::XFreeGC(xDisplay, xGC); in ~Xwrapper()
26 X::XCloseDisplay(xDisplay); in ~Xwrapper()
32 X::XSetForeground(xDisplay, gc, color_to_xcolor(c)); in set_GC()
33 X::XSetFillStyle(xDisplay, gc, X_MACRO(FillSolid)); in set_GC()
108 DefaultDepth(xDisplay, in create_pixmap()
109 DefaultScreen(xDisplay))); in create_pixmap()
131 X::XFreeGC(xDisplay, dest.gc); in free_pixmap()
[all …]
/dports/graphics/qt5-wayland/kde-qtwayland-5.15.2p37/src/hardwareintegration/client/xcomposite-glx/
H A Dqwaylandxcompositeglxwindow.cpp57 …, m_config(qglx_findConfig(glxIntegration->xDisplay(), glxIntegration->screen(), window->format(),… in QWaylandXCompositeGLXWindow()
72 XDestroyWindow(m_glxIntegration->xDisplay(), m_xWindow); in setGeometry()
93 if (!m_glxIntegration->xDisplay()) { in createSurface()
98 XVisualInfo *visualInfo = glXGetVisualFromFBConfig(m_glxIntegration->xDisplay(), m_config); in createSurface()
99 Colormap cmap = XCreateColormap(m_glxIntegration->xDisplay(), m_glxIntegration->rootWindow(), in createSurface()
103 a.background_pixel = WhitePixel(m_glxIntegration->xDisplay(), m_glxIntegration->screen()); in createSurface()
104 a.border_pixel = BlackPixel(m_glxIntegration->xDisplay(), m_glxIntegration->screen()); in createSurface()
106 …m_xWindow = XCreateWindow(m_glxIntegration->xDisplay(), m_glxIntegration->rootWindow(),0, 0, size.… in createSurface()
110 XCompositeRedirectWindow(m_glxIntegration->xDisplay(), m_xWindow, CompositeRedirectManual); in createSurface()
111 XMapWindow(m_glxIntegration->xDisplay(), m_xWindow); in createSurface()
[all …]
/dports/x11-toolkits/redkite/redkite-1.3.1/src/platforms/xwin/
H A DRkWindowX.cpp51 , xDisplay{parent.display}
68 if (xDisplay) { in ~RkWindowX()
70 XDestroyWindow(xDisplay, xWindow); in ~RkWindowX()
72 XCloseDisplay(xDisplay); in ~RkWindowX()
83 xDisplay = XOpenDisplay(nullptr); in openDisplay()
84 screenNumber = DefaultScreen(xDisplay); in openDisplay()
85 return xDisplay != nullptr; in openDisplay()
130 xWindow = XCreateWindow(xDisplay, parent, in init()
153 windowInfo->display = xDisplay; in init()
173 return xDisplay; in display()
[all …]
/dports/audio/geonkick-lv2/geonkick-2.8.0/redkite/src/platforms/xwin/
H A DRkWindowX.cpp51 , xDisplay{parent.display}
68 if (xDisplay) { in ~RkWindowX()
70 XDestroyWindow(xDisplay, xWindow); in ~RkWindowX()
72 XCloseDisplay(xDisplay); in ~RkWindowX()
83 xDisplay = XOpenDisplay(nullptr); in openDisplay()
84 screenNumber = DefaultScreen(xDisplay); in openDisplay()
85 return xDisplay != nullptr; in openDisplay()
130 xWindow = XCreateWindow(xDisplay, parent, in init()
153 windowInfo->display = xDisplay; in init()
173 return xDisplay; in display()
[all …]
/dports/x11-wm/obpager/obpager-1.8/src/
H A DXHelperClasses.h183 acquire(xDisplay); in XDisplayKeeper()
197 void acquire(Display* xDisplay) in acquire() argument
201 mDisplay = xDisplay; in acquire()
283 acquire(xDisplay, xWindow); in XWindowKeeper()
301 mDisplay = xDisplay; in acquire()
387 acquire(xDisplay, xFontStruct); in XFontStructKeeper()
405 mDisplay = xDisplay; in acquire()
495 acquire(xDisplay, xGC); in XGCKeeper()
513 mDisplay = xDisplay; in acquire()
604 acquire(xDisplay, xPixmap); in XPixmapKeeper()
[all …]
/dports/x11-toolkits/swt/swt-4.20/org/eclipse/swt/opengl/
H A DGLCanvas.java116 long infoPtr = GLX.glXChooseVisual (xDisplay, OS.XDefaultScreen (xDisplay), glxAttrib); in GLCanvas()
127 context = GLX.glXCreateContext (xDisplay, vinfo, share, true); in GLCanvas()
206 long xDisplay = gdk_x11_display_get_xdisplay (window); in getGLData() local
211 GLX.glXGetConfig (xDisplay, vinfo, GLX.GLX_STEREO, value); in getGLData()
213 GLX.glXGetConfig (xDisplay, vinfo, GLX.GLX_RED_SIZE, value); in getGLData()
217 GLX.glXGetConfig (xDisplay, vinfo, GLX.GLX_BLUE_SIZE, value); in getGLData()
235 GLX.glXGetConfig (xDisplay, vinfo, GLX.GLX_SAMPLES, value); in getGLData()
269 long xDisplay = gdk_x11_display_get_xdisplay (window); in setCurrent() local
270 GLX.glXMakeCurrent (xDisplay, xWindow, context); in setCurrent()
284 long xDisplay = gdk_x11_display_get_xdisplay (window); in swapBuffers() local
[all …]
/dports/graphics/ogre3d/ogre-1.11.6/RenderSystems/GLSupport/src/GLX/
H A DOgreGLXWindow.cpp82 Display* xDisplay = mGLSupport->getXDisplay(); in ~GLXWindow() local
91 XDestroyWindow(xDisplay, mWindow); in ~GLXWindow()
109 Display *xDisplay = mGLSupport->getXDisplay(); in create() local
121 int left = DisplayWidth(xDisplay, DefaultScreen(xDisplay))/2 - width/2; in create()
122 int top = DisplayHeight(xDisplay, DefaultScreen(xDisplay))/2 - height/2; in create()
250 if (parentWindow != DefaultRootWindow(xDisplay)) in create()
388 …attr.colormap = XCreateColormap(xDisplay, DefaultRootWindow(xDisplay), visualInfo->visual, AllocNo… in create()
425 int depth = DisplayPlanes(xDisplay, DefaultScreen(xDisplay)); in create()
477 XFlush(xDisplay); in create()
696 Display* xDisplay = mGLSupport->getXDisplay(); in windowMovedOrResized() local
[all …]
/dports/graphics/ogre3d19/sinbad-ogre-dd30349ea667/RenderSystems/GL3Plus/src/GLX/
H A DOgreGLXWindow.cpp82 Display* xDisplay = mGLSupport->getXDisplay(); in ~GLXWindow() local
91 XDestroyWindow(xDisplay, mWindow); in ~GLXWindow()
109 Display *xDisplay = mGLSupport->getXDisplay(); in create() local
120 Window parentWindow = DefaultRootWindow(xDisplay); in create()
121 int left = DisplayWidth(xDisplay, DefaultScreen(xDisplay))/2 - width/2; in create()
122 int top = DisplayHeight(xDisplay, DefaultScreen(xDisplay))/2 - height/2; in create()
231 if (parentWindow != DefaultRootWindow(xDisplay)) in create()
335 …attr.colormap = XCreateColormap(xDisplay, DefaultRootWindow(xDisplay), visualInfo->visual, AllocNo… in create()
372 int depth = DisplayPlanes(xDisplay, DefaultScreen(xDisplay)); in create()
424 XFlush(xDisplay); in create()
[all …]
/dports/graphics/ogre3d19/sinbad-ogre-dd30349ea667/RenderSystems/GL/src/GLX/
H A DOgreGLXWindow.cpp84 Display* xDisplay = mGLSupport->getXDisplay(); in ~GLXWindow() local
93 XDestroyWindow(xDisplay, mWindow); in ~GLXWindow()
111 Display *xDisplay = mGLSupport->getXDisplay(); in create() local
122 Window parentWindow = DefaultRootWindow(xDisplay); in create()
123 int left = DisplayWidth(xDisplay, DefaultScreen(xDisplay))/2 - width/2; in create()
124 int top = DisplayHeight(xDisplay, DefaultScreen(xDisplay))/2 - height/2; in create()
233 if (parentWindow != DefaultRootWindow(xDisplay)) in create()
337 …attr.colormap = XCreateColormap(xDisplay, DefaultRootWindow(xDisplay), visualInfo->visual, AllocNo… in create()
374 int depth = DisplayPlanes(xDisplay, DefaultScreen(xDisplay)); in create()
428 XFlush(xDisplay); in create()
[all …]
/dports/x11/gskrab/GSKrab-0.0.1/GSKrabServer/
H A DGSKrabX11Interface.m47 rc = PreviousErrorHandler (xDisplay, error);
195 rootWindow = DefaultRootWindow (xDisplay);
205 xDisplay = XOpenDisplay (NULL);
206 if (!xDisplay)
232 XCloseDisplay (xDisplay);
261 XLockDisplay (xDisplay);
274 XUnlockDisplay (xDisplay);
345 XLockDisplay (xDisplay);
351 XUnlockDisplay (xDisplay);
360 XLockDisplay (xDisplay);
[all …]
/dports/converters/wkhtmltopdf/qt-5db36ec/src/plugins/platforms/wayland/gl_integration/readback_glx/
H A Dqwaylandreadbackglxcontext.cpp77 …, mConfig(qglx_findConfig(glxIntegration->xDisplay(),glxIntegration->screen(),window->widget()->pl… in QWaylandReadbackGlxContext()
80 XVisualInfo *visualInfo = glXGetVisualFromFBConfig(glxIntegration->xDisplay(),mConfig); in QWaylandReadbackGlxContext()
81 mContext = glXCreateContext(glxIntegration->xDisplay(),visualInfo,0,TRUE); in QWaylandReadbackGlxContext()
90 glXMakeCurrent(mGlxIntegration->xDisplay(),mGlxPixmap,mContext); in makeCurrent()
133 return qglx_platformWindowFromGLXFBConfig(mGlxIntegration->xDisplay(),mConfig,mContext); in platformWindowFormat()
149 XFreePixmap(mGlxIntegration->xDisplay(),mPixmap); in geometryChanged()
154 int depth = XDefaultDepth(mGlxIntegration->xDisplay(),mGlxIntegration->screen()); in geometryChanged()
155 …mPixmap = XCreatePixmap(mGlxIntegration->xDisplay(),mGlxIntegration->rootWindow(),size.width(),siz… in geometryChanged()
156 XSync(mGlxIntegration->xDisplay(),False); in geometryChanged()
158 mGlxPixmap = glXCreatePixmap(mGlxIntegration->xDisplay(),mConfig,mPixmap,0); in geometryChanged()

12345678