VirtualBox

Changeset 77130 in vbox for trunk/src/VBox/Devices


Ignore:
Timestamp:
Feb 1, 2019 4:55:20 PM (6 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
128588
Message:

pdmifs/DevVGA/DisplayImpl: add screen id to pfnVBVAReportCursorPosition.
bugref:9376: Complete hardware cursor implementation in VMSVGA.
vboxvideo in Linux passes cursor position information relative to a particular
screen, but we loose this information when we pass it on to the front-end.
Since no front-end has used the information yet this was not noticed. This
change fixes that and converts the co-ordinates to frame-buffer global ones
as early as possible.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Graphics/DevVGA_VBVA.cpp

    r76553 r77130  
    26602660                RT_UNTRUSTED_NONVOLATILE_COPY_FENCE();
    26612661
    2662                 LogRelFlowFunc(("VBVA: ChannelHandler: VBVA_CURSOR_POSITION: fReportPosition=%RTbool, x=%RU32, y=%RU32\n",
    2663                                 RT_BOOL(Report.fReportPosition), Report.x, Report.y));
    2664 
    2665                 pVGAState->pDrv->pfnVBVAReportCursorPosition(pVGAState->pDrv, RT_BOOL(Report.fReportPosition), Report.x, Report.y);
     2662                LogRelFlowFunc(("VBVA: ChannelHandler: VBVA_CURSOR_POSITION: fReportPosition=%RTbool, Id=%RU32, x=%RU32, y=%RU32\n",
     2663                                RT_BOOL(Report.fReportPosition), vbvaViewFromBufferPtr(pIns, pCtx, pvBuffer), Report.x, Report.y));
     2664
     2665                pVGAState->pDrv->pfnVBVAReportCursorPosition(pVGAState->pDrv, RT_BOOL(Report.fReportPosition), vbvaViewFromBufferPtr(pIns, pCtx, pvBuffer), Report.x, Report.y);
    26662666                pReport->x = pCtx->xCursor;
    26672667                pReport->y = pCtx->yCursor;
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette