VirtualBox

Ignore:
Timestamp:
Oct 19, 2010 4:37:06 PM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
66790
Message:

wddm/3d: chromium hgsmi working (still disabled to make some cleaning)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/GuestHost/OpenGL/util/vboxhgsmi.c

    r33223 r33241  
    1616 * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
    1717 */
    18 ///#define IN_GUEST
     18//#define IN_GUEST
    1919#ifdef IN_GUEST
    2020#ifdef RT_OS_WINDOWS
     
    249249    rc = pClient->pCmdBuffer->pfnLock(pClient->pCmdBuffer, 0, cbBuffer, fFlags, (void**)&pHdr);
    250250    AssertRC(rc);
    251     if (RT_FAILURE(rc))
    252         crWarning("Failed to Lock the command buffer of size(%d), rc(%d)\n", cbBuffer, rc);
    253     return pHdr;
     251    if (RT_SUCCESS(rc))
     252        return pHdr;
     253
     254    crWarning("Failed to Lock the command buffer of size(%d), rc(%d)\n", cbBuffer, rc);
     255    return NULL;
    254256}
    255257
     
    365367    if (!buf)
    366368    {
    367         Assert(0);
    368 
    369369        crDebug("Buffer pool %p was empty; allocating new %d byte buffer.",
    370370                        (void *) pClient->bufpool,
     
    394394    if (!pBuf)
    395395    {
    396         Assert(0);
    397 
    398396        pBuf = (CRVBOXHGSMIBUFFER*)crAlloc(CRVBOXHGSMI_BUF_HDR_SIZE() + cbSize);
    399397        Assert(pBuf);
     
    695693            rc = pBuf->pfnUnlock(pBuf);
    696694            AssertRC(rc);
    697             CRASSERT(rc);
     695            CRASSERT(RT_SUCCESS(rc));
    698696        }
    699697        else
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