VirtualBox

Ignore:
Timestamp:
Sep 30, 2019 1:42:47 PM (6 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
133687
Message:

WDDM: display driver: added asserts.

Location:
trunk/src/VBox/Additions/WINNT/Graphics/Video/disp/wddm/gallium
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/WINNT/Graphics/Video/disp/wddm/gallium/GaDdi.cpp

    r79792 r81082  
    153153                    pointDst.y = pData->DstRect.top;
    154154                    hr = pDevice9If->UpdateSurface(pSrcSurfIf, &pData->SrcRect, pDstSurfIf, &pointDst);
     155                    Assert(hr == S_OK);
    155156                }
    156157            }
     
    174175                                          pSrcRc->RcDesc.enmFormat, pSrcSurfIf, &pData->SrcRect,
    175176                                          pDstRc->RcDesc.enmFormat, pDstSurfIf, &pointDst);
     177                    Assert(hr == S_OK);
    176178                }
    177179                else
     
    201203                         */
    202204                        hr = pDevice9If->StretchRect(pSrcSurfIf, &pData->SrcRect, pDstSurfIf, &pData->DstRect, Filter);
     205                        Assert(hr == S_OK);
    203206                    }
    204207                    else
  • trunk/src/VBox/Additions/WINNT/Graphics/Video/disp/wddm/gallium/GaWddm.cpp

    r80959 r81082  
    245245            PVBOXWDDMDISP_ALLOCATION pAlloc = &pRc->aAllocations[i];
    246246            Assert(pAlloc->pvMem);
     247            Assert(pAlloc->pvMem != Rect.pBits);
    247248
    248249            VBoxD3DIfLockUnlockMemSynch(pAlloc, &Rect, NULL, fToBackend);
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