VirtualBox

Changeset 56419 in vbox for trunk/src/VBox/Devices


Ignore:
Timestamp:
Jun 14, 2015 6:27:41 PM (10 years ago)
Author:
vboxsync
Message:

logging fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Graphics/DevVGA-SVGA3d-cocoa.m

    r56333 r56419  
    129129+ (void)createViewAndContext:(VMSVGA3DCreateViewAndContext *)pParams
    130130{
    131     LogFlow(("OvlWin createViewAndContext:\n"));
     131    LogFlow(("OvlView createViewAndContext:\n"));
    132132
    133133    /*
     
    217217
    218218                [pFmt release];
    219                 LogFlow(("OvlWin createViewAndContext: returns successfully\n"));
     219                LogFlow(("OvlView createViewAndContext: returns successfully\n"));
    220220                return;
    221221            }
     
    227227        AssertFailed();
    228228
    229     LogFlow(("OvlWin createViewAndContext: returns failure\n"));
     229    LogFlow(("OvlView createViewAndContext: returns failure\n"));
    230230    return;
    231231}
     
    233233- (id)initWithFrameAndFormat:(NSRect) frame parentView:(NSView*)pParentView pixelFormat:(NSOpenGLPixelFormat *)pFmt
    234234{
    235     LogFlow(("OvlWin(%p) initWithFrameAndFormat:\n", (void *)self));
     235    LogFlow(("OvlView(%p) initWithFrameAndFormat:\n", (void *)self));
    236236
    237237    m_pParentView    = pParentView;
     
    250250        self.autoresizingMask = NSViewMinXMargin | NSViewMaxXMargin | NSViewMinYMargin | NSViewMaxYMargin;
    251251    }
    252     LogFlow(("OvlWin(%p) initWithFrameAndFormat: returns %p\n", (void *)self, (void *)self));
     252    LogFlow(("OvlView(%p) initWithFrameAndFormat: returns %p\n", (void *)self, (void *)self));
    253253    return self;
    254254}
     
    256256- (void)dealloc
    257257{
    258     LogFlow(("OvlWin(%p) dealloc:\n", (void *)self));
     258    LogFlow(("OvlView(%p) dealloc:\n", (void *)self));
    259259
    260260#ifdef USE_NSOPENGLVIEW
     
    271271    [super dealloc];
    272272
    273     LogFlow(("OvlWin(%p) dealloc: returns\n", (void *)self));
     273    LogFlow(("OvlView(%p) dealloc: returns\n", (void *)self));
    274274}
    275275
     
    277277- (void)setPos:(NSPoint)pos
    278278{
    279     Log(("OvlWin(%p) setPos: (%d,%d)\n", (void *)self, (int)pos.x, (int)pos.y));
     279    Log(("OvlView(%p) setPos: (%d,%d)\n", (void *)self, (int)pos.x, (int)pos.y));
    280280
    281281    m_Pos = pos;
    282282    [self vboxReshape];
    283283
    284     LogFlow(("OvlWin(%p) setPos: returns\n", (void *)self));
     284    LogFlow(("OvlView(%p) setPos: returns\n", (void *)self));
    285285}
    286286
     
    288288- (void)setSize:(NSSize)size
    289289{
    290     Log(("OvlWin(%p) setSize: (%d,%d):\n", (void *)self, (int)size.width, (int)size.height));
     290    Log(("OvlView(%p) setSize: (%d,%d):\n", (void *)self, (int)size.width, (int)size.height));
    291291    m_Size = size;
    292292    [self vboxReshape];
    293     LogFlow(("OvlWin(%p) setSize: returns\n", (void *)self));
     293    LogFlow(("OvlView(%p) setSize: returns\n", (void *)self));
    294294}
    295295
     
    299299#if 1 /* experiment */
    300300    if ([NSThread isMainThread])
    301         Log(("OvlWin(%p) vboxClearBuffers: skip, main thread\n", (void *)self));
     301        Log(("OvlView(%p) vboxClearBuffers: skip, main thread\n", (void *)self));
    302302    else
    303303    {
    304         Log(("OvlWin(%p) vboxClearBuffers: clears\n", (void *)self));
     304        Log(("OvlView(%p) vboxClearBuffers: clears\n", (void *)self));
    305305        NSOpenGLContext *pSavedCtx = [self makeCurrentGLContext];
    306306
     
    321321- (void)vboxReshape
    322322{
    323     LogFlow(("OvlWin(%p) vboxReshape:\n", (void *)self));
     323    LogFlow(("OvlView(%p) vboxReshape:\n", (void *)self));
    324324
    325325    /*
     
    336336    [self vboxClearBuffers];
    337337
    338     LogFlow(("OvlWin(%p) vboxReshape: returns\n", (void *)self));
     338    LogFlow(("OvlView(%p) vboxReshape: returns\n", (void *)self));
    339339}
    340340
     
    519519
    520520    /* The OpenGL context. */
    521     Log(("vmsvga3dCocoaDestroyViewAndContext: ctx  %p ref count=%d\n", (void *)pCtx, [pView retainCount]));
     521    Log(("vmsvga3dCocoaDestroyViewAndContext: ctx  %p ref count=%d\n", (void *)pCtx, [pCtx retainCount]));
    522522    [pCtx release];
    523523
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