VirtualBox

Ignore:
Timestamp:
May 8, 2012 6:05:41 PM (13 years ago)
Author:
vboxsync
Message:

Frontends: back out the Framebuffer cleanup, to be retried later

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

Legend:

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

    r41201 r41216  
    77
    88/*
    9  * Copyright (C) 2004-2012 Oracle Corporation
     9 * Copyright (C) 2010 Oracle Corporation
    1010 *
    1111 * This file is part of VirtualBox Open Source Edition (OSE), as
  • trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIFrameBuffer.h

    r41201 r41216  
    66
    77/*
    8  * Copyright (C) 2004-2012 Oracle Corporation
     8 * Copyright (C) 2010-2011 Oracle Corporation
    99 *
    1010 * This file is part of VirtualBox Open Source Edition (OSE), as
     
    127127    void setDeleted(bool fIsDeleted) { m_fIsDeleted = fIsDeleted; }
    128128
    129 #if defined(Q_OS_WIN32)
     129    NS_DECL_ISUPPORTS
     130
     131#if defined (Q_OS_WIN32)
    130132    STDMETHOD_(ULONG, AddRef)()
    131133    {
     
    142144#endif
    143145
    144     BEGIN_COM_MAP(UIFrameBuffer)
    145         VBOX_DEFAULT_INTERFACE_ENTRIES(IFramebuffer)
    146     END_COM_MAP()
     146    VBOX_SCRIPTABLE_DISPATCH_IMPL(IFramebuffer)
    147147
    148148    /* IFramebuffer COM methods */
    149     STDMETHOD(COMGETTER(Address))(BYTE **ppAddress);
    150     STDMETHOD(COMGETTER(Width))(ULONG *puWidth);
    151     STDMETHOD(COMGETTER(Height))(ULONG *puHeight);
    152     STDMETHOD(COMGETTER(BitsPerPixel))(ULONG *puBitsPerPixel);
    153     STDMETHOD(COMGETTER(BytesPerLine))(ULONG *puBytesPerLine);
    154     STDMETHOD(COMGETTER(PixelFormat))(ULONG *puPixelFormat);
    155     STDMETHOD(COMGETTER(UsesGuestVRAM))(BOOL *pbUsesGuestVRAM);
    156     STDMETHOD(COMGETTER(HeightReduction))(ULONG *puHeightReduction);
    157     STDMETHOD(COMGETTER(Overlay))(IFramebufferOverlay **ppOverlay);
    158     STDMETHOD(COMGETTER(WinId))(LONG64 *pWinId);
     149    STDMETHOD(COMGETTER(Address)) (BYTE **ppAddress);
     150    STDMETHOD(COMGETTER(Width)) (ULONG *puWidth);
     151    STDMETHOD(COMGETTER(Height)) (ULONG *puHeight);
     152    STDMETHOD(COMGETTER(BitsPerPixel)) (ULONG *puBitsPerPixel);
     153    STDMETHOD(COMGETTER(BytesPerLine)) (ULONG *puBytesPerLine);
     154    STDMETHOD(COMGETTER(PixelFormat)) (ULONG *puPixelFormat);
     155    STDMETHOD(COMGETTER(UsesGuestVRAM)) (BOOL *pbUsesGuestVRAM);
     156    STDMETHOD(COMGETTER(HeightReduction)) (ULONG *puHeightReduction);
     157    STDMETHOD(COMGETTER(Overlay)) (IFramebufferOverlay **ppOverlay);
     158    STDMETHOD(COMGETTER(WinId)) (LONG64 *pWinId);
    159159
    160160    STDMETHOD(Lock)();
    161161    STDMETHOD(Unlock)();
    162162
    163     STDMETHOD(RequestResize)(ULONG uScreenId, ULONG uPixelFormat,
    164                              BYTE *pVRAM, ULONG uBitsPerPixel, ULONG uBytesPerLine,
    165                              ULONG uWidth, ULONG uHeight,
    166                              BOOL *pbFinished);
    167 
    168     STDMETHOD(VideoModeSupported)(ULONG uWidth, ULONG uHeight, ULONG uBPP,
    169                                   BOOL *pbSupported);
     163    STDMETHOD(RequestResize) (ULONG uScreenId, ULONG uPixelFormat,
     164                              BYTE *pVRAM, ULONG uBitsPerPixel, ULONG uBytesPerLine,
     165                              ULONG uWidth, ULONG uHeight,
     166                              BOOL *pbFinished);
     167
     168    STDMETHOD(VideoModeSupported) (ULONG uWidth, ULONG uHeight, ULONG uBPP,
     169                                   BOOL *pbSupported);
    170170
    171171    STDMETHOD(GetVisibleRegion)(BYTE *pRectangles, ULONG uCount, ULONG *puCountCopied);
     
    247247    bool m_fIsDeleted;
    248248
    249 #if defined(Q_OS_WIN32)
     249#if defined (Q_OS_WIN32)
    250250private:
    251251
Note: See TracChangeset for help on using the changeset viewer.

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