VirtualBox

Changeset 54639 in vbox for trunk/src


Ignore:
Timestamp:
Mar 5, 2015 12:34:02 AM (10 years ago)
Author:
vboxsync
Message:

logging

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Graphics/DevVGA-SVGA3d-ogl.cpp

    r54633 r54639  
    163163#elif defined(RT_OS_DARWIN)
    164164# define VMSVGA3D_SET_CURRENT_CONTEXT(pState, pContext) \
    165     if ((pState)->idActiveContext != (pContext)->id)                    \
    166     {                                                                   \
     165    if ((pState)->idActiveContext != (pContext)->id) \
     166    { \
    167167        vmsvga3dCocoaViewMakeCurrentContext((pContext)->cocoaView, (pContext)->cocoaContext); \
    168168        LogFlowFunc(("Changing context: %#x -> %#x\n", (pState)->idActiveContext, (pContext)->id)); \
    169         (pState)->idActiveContext = (pContext)->id;                     \
     169        (pState)->idActiveContext = (pContext)->id; \
    170170    } else do { } while (0)
    171171#else
     
    182182#endif
    183183
    184 /** @def VMSVGA3D_CLEAR_LAST_ERRORS
     184/** @def VMSVGA3D_CLEAR_GL_ERRORS
    185185 * Clears all pending OpenGL errors.
    186186 *
     
    251251    do { \
    252252        AssertMsg((a_pState)->idActiveContext == (a_pContext)->id, \
    253                   ("idActiveContext=%#x id=%#x\n", (a_pState)->idActiveContext, (a_pContext)->id)); \
     253                  ("idActiveContext=%#x id=%x\n", (a_pState)->idActiveContext, (a_pContext)->id)); \
    254254        RTAssertMsg2Weak a_LogRelDetails; \
    255255        GLenum iNextError; \
     
    27752775    VMSVGA3D_CHECK_LAST_ERROR(pState, pContext);
    27762776
    2777     LogFlow(("vmsvga3dCreateTexture: sid=%#x idAssociatedContext %#x -> %#x; oglId.texture=%#x\n",
     2777    LogFlow(("vmsvga3dCreateTexture: sid=%x idAssociatedContext %#x -> %#x; oglId.texture=%#x\n",
    27782778             pSurface->id, pSurface->idAssociatedContext, idAssociatedContext, pSurface->oglId.texture));
    27792779    pSurface->flags              |= SVGA3D_SURFACE_HINT_TEXTURE;
     
    28052805    AssertReturn(pSurfaceDest->faces[0].numMipLevels > dest.mipmap, VERR_INVALID_PARAMETER);
    28062806
    2807     Log(("vmsvga3dSurfaceStretchBlt: src sid=%x cid=%#x (%d,%d)(%d,%d) dest sid=%x cid=%#x (%d,%d)(%d,%d) mode=%x\n",
     2807    Log(("vmsvga3dSurfaceStretchBlt: src sid=%x cid=%x (%d,%d)(%d,%d) dest sid=%x cid=%x (%d,%d)(%d,%d) mode=%x\n",
    28082808         src.sid, pSurfaceSrc->idAssociatedContext, srcBox.x, srcBox.y, srcBox.x + srcBox.w, srcBox.y + srcBox.h,
    28092809         dest.sid, pSurfaceDest->idAssociatedContext, destBox.x, destBox.y, destBox.x + destBox.w, destBox.y + destBox.h, mode));
     
    52785278            VMSVGA3D_CHECK_LAST_ERROR(pState, pContext);
    52795279
    5280             LogFlow(("vmsvga3dSetRenderTarget: sid=%#x idAssociatedContext %#x -> %#x\n", pRenderTarget->id, pRenderTarget->idAssociatedContext, cid));
     5280            LogFlow(("vmsvga3dSetRenderTarget: sid=%x idAssociatedContext %#x -> %#x\n", pRenderTarget->id, pRenderTarget->idAssociatedContext, cid));
    52815281            pRenderTarget->idAssociatedContext = cid;
    52825282        }
     
    63656365    }
    63666366    pVertexSurface->idAssociatedContext = pContext->id;
    6367     LogFlow(("vmsvga3dDrawPrimitivesProcessVertexDecls: sid=%#x idAssociatedContext %#x -> %#x\n", pVertexSurface->id, pVertexSurface->idAssociatedContext, pContext->id));
     6367    LogFlow(("vmsvga3dDrawPrimitivesProcessVertexDecls: sid=%x idAssociatedContext %#x -> %#x\n", pVertexSurface->id, pVertexSurface->idAssociatedContext, pContext->id));
    63686368
    63696369    /* Setup the vertex declarations. */
     
    66676667                VMSVGA3D_CHECK_LAST_ERROR(pState, pContext);
    66686668            }
    6669             LogFlow(("vmsvga3dDrawPrimitives: sid=%#x idAssociatedContext %#x -> %#x\n", pIndexSurface->id, pIndexSurface->idAssociatedContext, pContext->id));
     6669            LogFlow(("vmsvga3dDrawPrimitives: sid=%x idAssociatedContext %#x -> %#x\n", pIndexSurface->id, pIndexSurface->idAssociatedContext, pContext->id));
    66706670            pIndexSurface->idAssociatedContext = pContext->id;
    66716671        }
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette