/vbox/src/VBox/Frontends/VirtualBox/src/platform/x11/ |
H A D | XKeyboard.h | 23 void initMappedX11Keyboard(Display *pDisplay, QString remapScancodes); 31 unsigned long wrapXkbKeycodeToKeysym(Display *pDisplay, unsigned char cCode,
|
H A D | XKeyboard-new.cpp | 250 void initMappedX11Keyboard(Display *pDisplay, QString remapScancodes) argument 272 initXKeyboard (pDisplay ,scancodes); 278 unsigned long wrapXkbKeycodeToKeysym(Display *pDisplay, unsigned char cCode, argument 281 KeySym cSym = XkbKeycodeToKeysym(pDisplay, cCode, cGroup, cIndex); 284 return XKeycodeToKeysym(pDisplay, cCode, cGroup * 2 + cIndex % 2);
|
/vbox/src/VBox/Additions/x11/VBoxClient/ |
H A D | main.cpp | 109 static int vboxClientXLibErrorHandler(Display *pDisplay, XErrorEvent *pError) argument 113 XGetErrorText(pDisplay, pError->error_code, errorText, sizeof(errorText)); 122 static int vboxClientXLibIOErrorHandler(Display *pDisplay) argument 171 Display *pDisplay = pEvent->xany.display; local 172 Atom hasVT = XInternAtom(pDisplay, "XFree86_has_VT", False); 175 || pEvent->xproperty.window != DefaultRootWindow(pDisplay) 178 XGetWindowProperty(pDisplay, DefaultRootWindow(pDisplay), hasVT, 0, 1, 209 Display *pDisplay; local 212 pDisplay [all...] |
H A D | display.cpp | 73 Display *pDisplay; member in struct:DISPLAYSTATE 129 pState->pDisplay = XOpenDisplay(NULL); 130 if (!pState->pDisplay) 189 XChangeProperty(pState->pDisplay, DefaultRootWindow(pState->pDisplay), XInternAtom(pState->pDisplay, "VBOX_SIZE_HINTS", 0), 191 XFlush(pState->pDisplay); 248 XChangeProperty(pState->pDisplay, DefaultRootWindow(pState->pDisplay), 249 XInternAtom(pState->pDisplay, "VBOX_MOUSE_CAPABILITIE [all...] |
H A D | draganddrop.cpp | 157 static xHelpers *getInstance(Display *pDisplay = 0) 161 AssertPtrReturn(pDisplay, NULL); 162 m_pInstance = new xHelpers(pDisplay); 198 xHelpers(Display *pDisplay) argument 199 : m_pDisplay(pDisplay) 358 DragInstance(Display *pDisplay, DragAndDropService *pParent); 467 static bool isDnDRespondEvent(Display * /* pDisplay */, XEvent *pEvent, char *pUser) 507 DragInstance::DragInstance(Display *pDisplay, DragAndDropService *pParent) argument 510 , m_pDisplay(pDisplay)
|
H A D | seamless-x11.cpp | 267 Display *pDisplay = (Display *)pvParam; local 269 XShapeSelectInput(pDisplay, pInfo->Core.Key, 0);
|
/vbox/src/VBox/HostServices/SharedOpenGL/crserverlib/presenter/ |
H A D | display_composite.cpp | 40 bool CrFbDisplayComposite::add(CrFbDisplayBase *pDisplay) argument 42 if (pDisplay->isInList()) 48 RTListAppend(&mDisplays, &pDisplay->mNode); 49 pDisplay->mpContainer = this; 50 pDisplay->setFramebuffer(getFramebuffer()); 56 bool CrFbDisplayComposite::remove(CrFbDisplayBase *pDisplay, bool fCleanupDisplay) argument 58 if (pDisplay->getContainer() != this) 64 RTListNodeRemove(&pDisplay->mNode); 65 pDisplay->mpContainer = NULL; 67 pDisplay 79 next(CrFbDisplayBase* pDisplay) argument [all...] |
H A D | server_presenter.cpp | 90 if (pFb->pDisplay) 91 pFb->pDisplay->UpdateBegin(pFb); 109 if (pFb->pDisplay) 110 pFb->pDisplay->UpdateEnd(pFb); 836 if (pFb->pDisplay) 837 pFb->pDisplay->FramebufferChanged(pFb); 865 return pFb->pDisplay; 868 int CrFbDisplaySet(CR_FRAMEBUFFER *pFb, ICrFbDisplay *pDisplay) argument 876 if (pFb->pDisplay == pDisplay) [all...] |
H A D | server_presenter.h | 71 ICrFbDisplay *pDisplay; member in struct:CR_FRAMEBUFFER 178 bool add(CrFbDisplayBase *pDisplay); 179 bool remove(CrFbDisplayBase *pDisplay, bool fCleanupDisplay = true); 181 CrFbDisplayBase* next(CrFbDisplayBase* pDisplay);
|
/vbox/src/VBox/Main/src-client/ |
H A D | DisplaySourceBitmapImpl.cpp | 39 HRESULT DisplaySourceBitmap::init(ComObjPtr<Display> pDisplay, unsigned uScreenId, DISPLAYFBINFO *pFBInfo) argument 43 ComAssertRet(!pDisplay.isNull(), E_INVALIDARG); 49 m.pDisplay = pDisplay; 84 m.pDisplay.setNull();
|
H A D | DisplayImpl.cpp | 74 Display *pDisplay; member in struct:DRVMAINDISPLAY 710 mpDrv->pDisplay = NULL; 1860 BOOL Display::i_displayCheckTakeScreenshotCrOgl(Display *pDisplay, ULONG aScreenId, uint8_t *pu8Data, argument 1863 if ( pDisplay->mfIsCr3DEnabled 1864 && pDisplay->mCrOglCallbacks.pfnHasData 1865 && pDisplay->mCrOglCallbacks.pfnHasData()) 1867 VMMDev *pVMMDev = pDisplay->mParent->i_getVMMDev(); 1892 int rc = pDisplay->i_crCtlSubmitSync(&data.Hdr, sizeof(data)); 1907 int Display::i_displayTakeScreenshotEMT(Display *pDisplay, ULONG aScreenId, uint8_t **ppu8Data, size_t *pcbData, argument 1913 && pDisplay 2003 i_displayTakeScreenshot(PUVM pUVM, Display *pDisplay, struct DRVMAINDISPLAY *pDrv, ULONG aScreenId, BYTE *address, ULONG width, ULONG height) argument 2367 i_drawToScreenEMT(Display *pDisplay, ULONG aScreenId, BYTE *address, ULONG x, ULONG y, ULONG width, ULONG height) argument 2533 i_InvalidateAndUpdateEMT(Display *pDisplay, unsigned uId, bool fUpdateAll) argument [all...] |
H A D | DisplayImplLegacy.cpp | 86 Display *pDisplay; member in struct:_VBVADIRTYREGION 99 prgn->pDisplay = pd; 165 prgn->pDisplay->i_handleDisplayUpdate(uScreenId, phdr->x, phdr->y, phdr->w, phdr->h); 183 prgn->pDisplay->i_handleDisplayUpdate(uScreenId, pDirtyRect->xLeft, pDirtyRect->yTop, w, h); 827 VBOXVIDEOINFODISPLAY *pDisplay = (VBOXVIDEOINFODISPLAY *)pu8; local 829 if (pDisplay->u32Index >= mcMonitors) 831 LogRel(("VBoxVideo: Guest adapter information invalid display index %d!!!\n", pDisplay->u32Index)); 835 DISPLAYFBINFO *pFBInfo = &maFramebuffers[pDisplay->u32Index]; 837 pFBInfo->u32Offset = pDisplay->u32Offset; 838 pFBInfo->u32MaxFramebufferSize = pDisplay [all...] |
H A D | MouseImpl.cpp | 349 DisplayMouseInterface *pDisplay = mParent->i_getDisplayMouseInterface(); 350 if (pDisplay == NULL) 360 return pDisplay->i_reportHostCursorCapabilities(fCapsAdded, fCapsRemoved); 666 DisplayMouseInterface *pDisplay = mParent->i_getDisplayMouseInterface(); local 667 ComAssertRet(pDisplay, E_FAIL); 671 pDisplay->i_reportHostCursorPosition(x - 1, y - 1); 783 DisplayMouseInterface *pDisplay = mParent->i_getDisplayMouseInterface(); local 784 ComAssertRet(pDisplay, E_FAIL); 792 if (!(mfVMMDevGuestCaps & VMMDEV_MOUSE_NEW_PROTOCOL) && !pDisplay->i_isInputMappingSet()) 798 HRESULT rc = pDisplay 942 DisplayMouseInterface *pDisplay = mParent->i_getDisplayMouseInterface(); local [all...] |
H A D | GuestDnDPrivate.cpp | 473 ComPtr<IDisplay> pDisplay; local 474 HRESULT hr = pConsole->COMGETTER(Display)(pDisplay.asOutParam()); 481 hr = pDisplay->GetScreenResolution(uScreenId, &dummy, &dummy, &dummy,
|
H A D | VMMDevInterface.cpp | 297 Display* pDisplay = pConsole->i_getDisplay(); local 298 AssertPtrReturnVoid(pDisplay); 299 pDisplay->i_handleUpdateVMMDevSupportsGraphics(RT_BOOL(newCapabilities & VMMDEV_GUEST_SUPPORTS_GRAPHICS));
|
/vbox/src/VBox/Additions/x11/VBoxClient/testcase/ |
H A D | tstSeamlessX11.cpp | 97 int vboxClientXLibErrorHandler(Display *pDisplay, XErrorEvent *pError) argument 107 XGetErrorText(pDisplay, pError->error_code, errorText, sizeof(errorText));
|
/vbox/src/VBox/Main/include/ |
H A D | DisplayImpl.h | 442 static int i_displayTakeScreenshotEMT(Display *pDisplay, ULONG aScreenId, uint8_t **ppu8Data, size_t *pcbData, 446 static BOOL i_displayCheckTakeScreenshotCrOgl(Display *pDisplay, ULONG aScreenId, uint8_t *pu8Data, 464 static int i_InvalidateAndUpdateEMT(Display *pDisplay, unsigned uId, bool fUpdateAll); 465 static int i_drawToScreenEMT(Display *pDisplay, ULONG aScreenId, BYTE *address, ULONG x, ULONG y, ULONG width, ULONG height); 522 HRESULT init(ComObjPtr<Display> pDisplay, unsigned uScreenId, DISPLAYFBINFO *pFBInfo); 543 ComObjPtr<Display> pDisplay; member in struct:DisplaySourceBitmap::Data
|
/vbox/src/VBox/Frontends/Common/VBoxKeyboard/ |
H A D | keyboard.c | 559 X11DRV_InitKeyboardByXkb(Display *pDisplay) argument 567 if (!XkbQueryExtension(pDisplay, NULL, NULL, &major, &minor, NULL)) 569 pKBDesc = XkbGetKeyboard(pDisplay, XkbAllComponentsMask, XkbUseCoreKbd); 572 if (XkbGetNames(pDisplay, XkbKeyNamesMask, pKBDesc) != Success)
|
/vbox/src/VBox/HostServices/SharedOpenGL/crserver/ |
H A D | crservice.cpp | 79 ComPtr<IDisplay> pDisplay; local 88 CHECK_ERROR2_STMT(g_pConsole, COMGETTER(Display)(pDisplay.asOutParam()), return); 90 CHECK_ERROR2_STMT(pDisplay, QueryFramebuffer(screenId, pFramebuffer.asOutParam()), return); 938 ComPtr<IDisplay> pDisplay; local 946 CHECK_ERROR_BREAK(pConsole, COMGETTER(Display)(pDisplay.asOutParam())); 959 CHECK_ERROR_RET(pDisplay, QueryFramebuffer(i, pFramebuffer.asOutParam()), rc); 973 CHECK_ERROR_RET(pDisplay, GetScreenResolution(i, &dummy, &dummy, &dummy, &xo, &yo, &monitorStatus), rc); 1062 ComPtr<IDisplay> pDisplay; local 1069 CHECK_ERROR_RET(g_pConsole, COMGETTER(Display)(pDisplay.asOutParam()), rc); 1070 CHECK_ERROR_RET(pDisplay, QueryFramebuffe [all...] |
/vbox/src/VBox/GuestHost/SharedClipboard/ |
H A D | x11-clipboard.cpp | 684 static int clipLoadXFixes(Display *pDisplay, CLIPBACKEND *pCtx) argument 702 && !XQueryExtension(pDisplay, "XFIXES", &dummy1, 731 Display *pDisplay; local 740 pDisplay = XtOpenDisplay(pCtx->appContext, 0, 0, "VBoxClipboard", 0, 0, &cArgc, &pcArgv); 741 if (NULL == pDisplay) 749 rc = clipLoadXFixes(pDisplay, pCtx); 758 pDisplay, XtNwidth, 1, XtNheight, 776 pCtx->fixesSelectInput(pDisplay, XtWindow(pCtx->widget), 1078 * @param pDisplay an X11 display structure, needed for conversions 1093 static int clipWinTxtToUtf8ForX11CB(Display *pDisplay, PRTUTF1 argument [all...] |
/vbox/src/VBox/Frontends/VBoxManage/ |
H A D | VBoxManageControlVM.cpp | 1059 ComPtr<IDisplay> pDisplay; local 1060 CHECK_ERROR_BREAK(console, COMGETTER(Display)(pDisplay.asOutParam())); 1061 if (!pDisplay) 1067 CHECK_ERROR_BREAK(pDisplay, SetVideoModeHint(uDisplayIdx, fEnabled, 1366 ComPtr<IDisplay> pDisplay; local 1367 CHECK_ERROR_BREAK(console, COMGETTER(Display)(pDisplay.asOutParam())); 1368 if (!pDisplay) 1377 CHECK_ERROR_BREAK(pDisplay, GetScreenResolution(iScreen, &width, &height, &bpp, &xOrigin, &yOrigin, &monitorStatus)); 1379 CHECK_ERROR_BREAK(pDisplay, TakeScreenShotToArray(iScreen, width, height, BitmapFormat_PNG, ComSafeArrayAsOutParam(saScreenshot)));
|
/vbox/src/VBox/Frontends/VirtualBox/src/globals/ |
H A D | VBoxGlobal.cpp | 473 Display* pDisplay = QX11Info::display(); local 476 if (XineramaIsActive(pDisplay)) 480 XineramaScreenInfo *pScreensData = XineramaQueryScreens(pDisplay, &iScreens); 498 Display *pDisplay = QX11Info::display(); local 504 Atom propNameAtom = XInternAtom(pDisplay, "_NET_CLIENT_LIST", True /* only if exists */); 519 int rc = XGetWindowProperty(pDisplay, window, propNameAtom, 543 Display *pDisplay = QX11Info::display(); local 546 Atom propNameAtom = XInternAtom(pDisplay, "_NET_WM_STRUT_PARTIAL", True /* only if exists */); 561 int rc = XGetWindowProperty(pDisplay, window, propNameAtom, 3267 Display *pDisplay local 4594 const char *pDisplay = RTEnvGet("DISPLAY"); local [all...] |
/vbox/src/VBox/Frontends/VirtualBox/src/runtime/ |
H A D | UIKeyboardHandler.cpp | 180 static Bool checkForX11FocusEventsWorker(Display *pDisplay, XEvent *pEvent, argument 183 NOREF(pDisplay); 1599 Display *pDisplay = QX11Info::display(); local 1600 KeyCode keyCode = XKeysymToKeycode(pDisplay, iHotKey); 1603 KeySym ks = wrapXkbKeycodeToKeysym(pDisplay, keyCode, i, 0); 1605 if (XkbTranslateKeySym(pDisplay, &ks, 0, &symbol, 1, NULL) == 0)
|
/vbox/src/VBox/Frontends/VirtualBox/src/ |
H A D | VBoxFBOverlay.cpp | 3887 VBoxVHWASurfaceBase * pDisplay = mDisplay.setVGA(NULL); 3888 if(pDisplay) 3889 delete pDisplay; 3894 pDisplay = new VBoxVHWASurfaceBase(this, 3905 pDisplay->init(NULL, bUsesGuestVram ? size.VRAM() : NULL); 3906 mDisplay.setVGA(pDisplay); 3953 updateCmd.u.in.hDstSurf = (VBOXVHWA_SURFHANDLE)pDisplay; 3962 updateCmd.u.in.dstRect.right = pDisplay->width(); 3963 updateCmd.u.in.dstRect.top = (pDisplay->height() - height)/2; 5197 void VBoxVHWACommandElementProcessor::reset(CDisplay *pDisplay) [all...] |
H A D | VBoxFBOverlay.h | 593 GLuint *pDisplay, class VBoxVHWAGlProgramVHWA ** ppProgram); 600 GLuint *pDisplay); 1320 void reset(CDisplay *pDisplay); 1652 GLuint *pDisplay, class VBoxVHWAGlProgramVHWA ** ppProgram) 1656 pDisplay, ppProgram); 1650 createDisplay(VBoxVHWATextureImage *pDst, const QRect * pDstRect, const QRect * pSrcRect, const VBoxVHWAColorKey * pDstCKey, const VBoxVHWAColorKey * pSrcCKey, bool bNotIntersected, GLuint *pDisplay, class VBoxVHWAGlProgramVHWA ** ppProgram) argument
|