- Timestamp:
- Oct 10, 2019 11:21:37 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/VBoxFBOverlay.cpp
r79365 r81210 2562 2562 { 2563 2563 VBoxVHWASurfaceBase *pSurf = handle2Surface(pCmd->u.in.hSurf); 2564 AssertReturn(pSurf, VERR_INVALID_PARAMETER); 2564 2565 VBoxVHWASurfList *pList = pSurf->getComplexList(); 2565 2566 Assert(pSurf->handle() != VBOXVHWA_SURFHANDLE_INVALID); … … 2640 2641 { 2641 2642 VBoxVHWASurfaceBase *pSurf = handle2Surface(pCmd->u.in.hSurf); 2643 AssertReturn(pSurf, VERR_INVALID_PARAMETER); 2642 2644 VBOXQGLLOG_ENTER(("pSurf (0x%x)\n",pSurf)); 2645 2643 2646 vboxCheckUpdateAddress (pSurf, pCmd->u.in.offSurface); 2644 2647 if (pCmd->u.in.rectValid) … … 2653 2656 { 2654 2657 VBoxVHWASurfaceBase *pSurf = handle2Surface(pCmd->u.in.hSurf); 2658 AssertReturn(pSurf, VERR_INVALID_PARAMETER); 2655 2659 #ifdef DEBUG_misha 2656 2660 /* for performance reasons we should receive unlock for visible surfaces only … … 2700 2704 { 2701 2705 VBoxVHWASurfaceBase *pTargSurf = handle2Surface(pCmd->u.in.hTargSurf); 2706 AssertReturn(pTargSurf, VERR_INVALID_PARAMETER); 2702 2707 VBoxVHWASurfaceBase *pCurrSurf = handle2Surface(pCmd->u.in.hCurrSurf); 2703 VBOXQGLLOG_ENTER(("pTargSurf (0x%x), pCurrSurf (0x%x)\n",pTargSurf,pCurrSurf)); 2708 AssertReturn(pCurrSurf, VERR_INVALID_PARAMETER); 2709 VBOXQGLLOG_ENTER(("pTargSurf (0x%x), pCurrSurf (0x%x)\n", pTargSurf, pCurrSurf)); 2704 2710 vboxCheckUpdateAddress (pCurrSurf, pCmd->u.in.offCurrSurface); 2705 2711 vboxCheckUpdateAddress (pTargSurf, pCmd->u.in.offTargSurface); … … 2811 2817 { 2812 2818 VBoxVHWASurfaceBase *pSrcSurf = handle2Surface(pCmd->u.in.hSrcSurf); 2819 AssertReturn(pSrcSurf, VERR_INVALID_PARAMETER); 2813 2820 VBoxVHWASurfList *pList = pSrcSurf->getComplexList(); 2814 2821 vboxCheckUpdateAddress (pSrcSurf, pCmd->u.in.offSrcSurface); … … 2819 2826 { 2820 2827 pDstSurf = handle2Surface(pCmd->u.in.hDstSurf); 2828 AssertReturn(pDstSurf, VERR_INVALID_PARAMETER); 2821 2829 vboxCheckUpdateAddress (pDstSurf, pCmd->u.in.offDstSurface); 2822 2830 VBOXQGLLOG(("pDstSurf (0x%x)\n",pDstSurf)); … … 2845 2853 if (pCmd->u.in.xFlags & VBOXVHWACMD_SURF_OVERLAY_UPDATE_F_DSTMEMRECT) 2846 2854 { 2855 AssertReturn(pDstSurf, VERR_INVALID_PARAMETER); 2847 2856 QRect r = VBOXVHWA_CONSTRUCT_QRECT_FROM_RECTL_WH(&pCmd->u.in.xUpdatedDstMemRect); 2848 2857 pDstSurf->updatedMem(&r); … … 2878 2887 { 2879 2888 VBoxVHWASurfaceBase *pDstSurf = handle2Surface(pCmd->u.in.hDstSurf); 2889 AssertReturn(pDstSurf, VERR_INVALID_PARAMETER); 2880 2890 VBoxVHWASurfaceBase *pSrcSurf = handle2Surface(pCmd->u.in.hSrcSurf); 2891 AssertReturn(pSrcSurf, VERR_INVALID_PARAMETER); 2881 2892 2882 2893 VBOXQGLLOG_ENTER(("pDstSurf (0x%x), pSrcSurf (0x%x)\n",pDstSurf,pSrcSurf)); … … 2919 2930 { 2920 2931 VBoxVHWASurfaceBase *pSurf = handle2Surface(pCmd->u.in.hSurf); 2932 AssertReturn(pSurf, VERR_INVALID_PARAMETER); 2921 2933 VBOXQGLLOG_ENTER(("pSurf (0x%x)\n", pSurf)); 2922 2934
Note:
See TracChangeset
for help on using the changeset viewer.