Changeset 25441 in vbox for trunk/src/VBox/Frontends/VirtualBox
- Timestamp:
- Dec 16, 2009 5:13:10 PM (15 years ago)
- svn:sync-xref-src-repo-rev:
- 56092
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/VBoxFBOverlay.cpp
r25440 r25441 311 311 static VBoxVHWATextureImage* vboxVHWAImageCreate(const QRect & aRect, const VBoxVHWAColorFormat & aFormat, class VBoxVHWAGlProgramMngr * pMgr, bool bDisablePBO) 312 312 { 313 #ifdef VBOXVHWA_NEW_PBO 313 314 const VBoxVHWAInfo & info = vboxVHWAGetSupportInfo(NULL); 314 #ifdef VBOXVHWA_NEW_PBO315 315 if(!bDisablePBO && info.getGlInfo().isPBOSupported()) 316 316 { … … 2889 2889 } 2890 2890 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 }2904 2891 return VINF_SUCCESS; 2905 2892 } … … 5122 5109 { 5123 5110 return createSetDisplay(pDst, pDstRect, pSrcRect, 5124 pDstCKey, pSrcCKey, bNotIntersected, 5125 &mVisibleDisplay, &mpProgram); 5111 pDstCKey, pSrcCKey, bNotIntersected); 5126 5112 5127 5113 } … … 5187 5173 5188 5174 int 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) 5191 5176 { 5192 5177 deleteDisplay(); … … 5218 5203 GLuint *pDisplay) 5219 5204 { 5205 Q_UNUSED(pDstCKey); 5206 Q_UNUSED(pSrcCKey); 5207 Q_UNUSED(bNotIntersected); 5208 5220 5209 glGetError(); /* clear the err flag */ 5221 5210 GLuint display = glGenLists(1); -
trunk/src/VBox/Frontends/VirtualBox/src/VBoxFBOverlay.h
r25440 r25441 509 509 510 510 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); 513 512 514 513 virtual int createDisplayList(VBoxVHWATextureImage *pDst, const QRect * pDstRect, const QRect * pSrcRect,
Note:
See TracChangeset
for help on using the changeset viewer.