VirtualBox

Changeset 51693 in vbox


Ignore:
Timestamp:
Jun 23, 2014 4:04:07 PM (11 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
94475
Message:

FE/Qt: Runtime UI: Small cleanup for [I/C]Framebuffer usage.

Location:
trunk/src/VBox/Frontends/VirtualBox/src/runtime
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIFrameBuffer.cpp

    r51670 r51693  
    265265}
    266266
    267 STDMETHODIMP UIFrameBuffer::NotifyUpdateImage(ULONG aX,
    268                                               ULONG aY,
    269                                               ULONG aWidth,
    270                                               ULONG aHeight,
    271                                               ComSafeArrayIn(BYTE, aImage))
    272 {
     267STDMETHODIMP UIFrameBuffer::NotifyUpdateImage(ULONG uX, ULONG uY,
     268                                              ULONG uWidth, ULONG uHeight,
     269                                              ComSafeArrayIn(BYTE, image))
     270{
     271    Q_UNUSED(uX);
     272    Q_UNUSED(uY);
     273    Q_UNUSED(uWidth);
     274    Q_UNUSED(uHeight);
     275    Q_UNUSED(image);
    273276    return E_NOTIMPL;
    274277}
     
    409412}
    410413
    411 STDMETHODIMP UIFrameBuffer::Notify3DEvent(ULONG uType, ComSafeArrayIn(BYTE, aData))
     414STDMETHODIMP UIFrameBuffer::Notify3DEvent(ULONG uType, ComSafeArrayIn(BYTE, data))
    412415{
    413416    /* Lock access to frame-buffer: */
     
    426429    }
    427430
    428     com::SafeArray<BYTE> data(ComSafeArrayInArg(aData));
     431    com::SafeArray<BYTE> eventData(ComSafeArrayInArg(data));
    429432    switch (uType)
    430433    {
     
    433436            /* Notify machine-view with the async-signal
    434437             * about 3D overlay visibility change: */
    435             BOOL fVisible = data[0];
     438            BOOL fVisible = eventData[0];
    436439            LogRel2(("UIFrameBuffer::Notify3DEvent: Sending to async-handler: "
    437440                     "(VBOX3D_NOTIFY_EVENT_TYPE_VISIBLE_3DDATA = %s)\n",
  • trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIFrameBuffer.h

    r51670 r51693  
    2727
    2828/* COM includes: */
    29 #include "CFramebuffer.h"
    3029#include "CDisplaySourceBitmap.h"
    3130
     
    127126      * @note         Calls to this and #setMarkAsUnused method are synchronized (from GUI side). */
    128127    STDMETHOD(NotifyUpdate)(ULONG uX, ULONG uY, ULONG uWidth, ULONG uHeight);
    129     STDMETHOD(NotifyUpdateImage)(ULONG x, ULONG y, ULONG w, ULONG h, ComSafeArrayIn(BYTE, aImage));
     128    /** EMT callback which is not used in current implementation. */
     129    STDMETHOD(NotifyUpdateImage)(ULONG uX, ULONG uY, ULONG uWidth, ULONG uHeight, ComSafeArrayIn(BYTE, image));
    130130
    131131    /** EMT callback: Returns whether the frame-buffer implementation is willing to support a given video-mode.
     
    155155      * @note         Any EMT callback is subsequent. No any other EMT callback can be called until this one processed.
    156156      * @note         Calls to this and #setMarkAsUnused method are synchronized (from GUI side). */
    157     STDMETHOD(Notify3DEvent)(ULONG uType, ComSafeArrayIn(BYTE, aData));
     157    STDMETHOD(Notify3DEvent)(ULONG uType, ComSafeArrayIn(BYTE, data));
    158158
    159159    /** Returns frame-buffer data address. */
  • trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIMouseHandler.cpp

    r51476 r51693  
    6161#include "CConsole.h"
    6262#include "CMouse.h"
    63 #include "CFramebuffer.h"
    6463#include "CDisplay.h"
    6564
  • trunk/src/VBox/Frontends/VirtualBox/src/runtime/UISession.cpp

    r51679 r51693  
    7070#include "CMediumAttachment.h"
    7171#include "CDisplay.h"
    72 #include "CFramebuffer.h"
    7372#include "CNetworkAdapter.h"
    7473#include "CHostNetworkInterface.h"
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