VirtualBox

Ignore:
Timestamp:
Dec 16, 2009 5:13:10 PM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
56092
Message:

2d: cleanup + warning fixes

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

Legend:

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

    r25440 r25441  
    311311static VBoxVHWATextureImage* vboxVHWAImageCreate(const QRect & aRect, const VBoxVHWAColorFormat & aFormat, class VBoxVHWAGlProgramMngr * pMgr, bool bDisablePBO)
    312312{
     313#ifdef VBOXVHWA_NEW_PBO
    313314    const VBoxVHWAInfo & info = vboxVHWAGetSupportInfo(NULL);
    314 #ifdef VBOXVHWA_NEW_PBO
    315315    if(!bDisablePBO && info.getGlInfo().isPBOSupported())
    316316    {
     
    28892889    }
    28902890
    2891     /* ensure all overlays programs & display lists are updated */
    2892     const OverlayList & overlays = mDisplay.overlays();
    2893     for (OverlayList::const_iterator it = overlays.begin();
    2894          it != overlays.end(); ++ it)
    2895     {
    2896         VBoxVHWASurfList * pSurfList = *it;
    2897         const SurfList & surfaces = pSurfList->surfaces();
    2898         for (SurfList::const_iterator sit = surfaces.begin();
    2899              sit != surfaces.end(); ++ sit)
    2900         {
    2901             VBoxVHWASurfaceBase *pOverlaySurf = *sit;
    2902         }
    2903     }
    29042891    return VINF_SUCCESS;
    29052892}
     
    51225109    {
    51235110        return createSetDisplay(pDst, pDstRect, pSrcRect,
    5124                 pDstCKey, pSrcCKey, bNotIntersected,
    5125                 &mVisibleDisplay, &mpProgram);
     5111                pDstCKey, pSrcCKey, bNotIntersected);
    51265112
    51275113    }
     
    51875173
    51885174int VBoxVHWATextureImage::createSetDisplay(VBoxVHWATextureImage *pDst, const QRect * pDstRect, const QRect * pSrcRect,
    5189         const VBoxVHWAColorKey * pDstCKey, const VBoxVHWAColorKey * pSrcCKey, bool bNotIntersected,
    5190         GLuint *pDisplay, class VBoxVHWAGlProgramVHWA ** ppProgram)
     5175        const VBoxVHWAColorKey * pDstCKey, const VBoxVHWAColorKey * pSrcCKey, bool bNotIntersected)
    51915176{
    51925177    deleteDisplay();
     
    52185203        GLuint *pDisplay)
    52195204{
     5205    Q_UNUSED(pDstCKey);
     5206    Q_UNUSED(pSrcCKey);
     5207    Q_UNUSED(bNotIntersected);
     5208
    52205209    glGetError(); /* clear the err flag */
    52215210    GLuint display = glGenLists(1);
  • trunk/src/VBox/Frontends/VirtualBox/src/VBoxFBOverlay.h

    r25440 r25441  
    509509
    510510    int createSetDisplay(VBoxVHWATextureImage *pDst, const QRect * pDstRect, const QRect * pSrcRect,
    511             const VBoxVHWAColorKey * pDstCKey, const VBoxVHWAColorKey * pSrcCKey, bool bNotIntersected,
    512             GLuint *pDisplay, class VBoxVHWAGlProgramVHWA ** ppProgram);
     511            const VBoxVHWAColorKey * pDstCKey, const VBoxVHWAColorKey * pSrcCKey, bool bNotIntersected);
    513512
    514513    virtual int createDisplayList(VBoxVHWATextureImage *pDst, const QRect * pDstRect, const QRect * pSrcRect,
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