VirtualBox

Changeset 54769 in vbox for trunk/src/VBox/HostServices


Ignore:
Timestamp:
Mar 16, 2015 12:06:30 AM (10 years ago)
Author:
vboxsync
Message:

VMSVGA3d: We need no dock tile either, it seems.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostServices/SharedOpenGL/render/renderspu_cocoa_helper.m

    r54768 r54769  
    743743@end
    744744
     745#ifndef IN_VMSVGA3D
    745746@class DockOverlayView;
     747#endif
    746748
    747749/**
     
    768770    GLuint              m_FBOId;
    769771
     772#ifndef IN_VMSVGA3D
    770773    /** The corresponding dock tile view of this OpenGL view & all helper
    771774     * members. */
     
    775778    GLfloat             m_FBOThumbScaleY;
    776779    uint64_t            m_msDockUpdateTS;
     780#endif
    777781
    778782    /** @name For clipping
     
    832836- (void)vboxReshapeOnReparentPerform;
    833837
     838#ifndef IN_VMSVGA3D
    834839- (void)createDockTile;
    835840- (void)deleteDockTile;
     841#endif
    836842
    837843- (void)makeCurrentFBO;
     
    859865- (GLboolean)vboxNeedsEmptyPresent;
    860866
     867#ifndef IN_VMSVGA3D
    861868- (NSView *)dockTileScreen;
    862869- (void)reshapeDockTile;
     870#endif
    863871- (void)cleanupData;
    864872@end
     
    904912
    905913
     914#ifndef IN_VMSVGA3D
    906915/**
    907916 * Dock overlay view class.
     
    10591068}
    10601069@end
     1070#endif /* !IN_VMSVGA3D */
    10611071
    10621072
     
    13801390    COCOA_LOG_FLOW(("%s: self=%p\n", __PRETTY_FUNCTION__, (void *)self));
    13811391
     1392#ifndef IN_VMSVGA3D
    13821393    [self deleteDockTile];
     1394#endif
    13831395
    13841396    [self setGLCtx:nil];
     
    16521664
    16531665    [self vboxReshapePerform];
     1666#ifndef IN_VMSVGA3D
    16541667    [self createDockTile];
     1668#endif
    16551669
    16561670    /* have to rebind GL_TEXTURE_RECTANGLE_ARB as m_FBOTexId could be changed in updateFBO call */
     
    16771691    COCOA_LOG_FLOW(("%s: self=%p\n", __PRETTY_FUNCTION__, (void *)self));
    16781692    [self vboxReshapePerform];
     1693#ifndef IN_VMSVGA3D
    16791694    [self createDockTile];
     1695#endif
    16801696    COCOA_LOG_FLOW(("%s: returns\n", __PRETTY_FUNCTION__));
    16811697}
     
    18251841- (void)vboxReshapePerform
    18261842{
     1843#ifndef IN_VMSVGA3D
    18271844    COCOA_LOG_FLOW(("%s: self=%p - m_DockTileView=%p\n", __PRETTY_FUNCTION__, (void *)self, (void *)m_DockTileView));
     1845#else
     1846    COCOA_LOG_FLOW(("%s: self=%p\n", __PRETTY_FUNCTION__, (void *)self));
     1847#endif
    18281848
    18291849    /* NOTE: Please consider the next naming convention for variables.
     
    18931913    [[self window] setFrame:windowFrameSCS display:YES];
    18941914
     1915#ifndef IN_VMSVGA3D
    18951916    /* Inform the dock tile view as well. */
    18961917    [self reshapeDockTile];
     1918#endif
    18971919
    18981920    /* Make sure the context is updated accordingly. */
     
    19101932    COCOA_LOG_FLOW(("%s: returns\n", __PRETTY_FUNCTION__));
    19111933}
     1934
     1935#ifndef IN_VMSVGA3D
    19121936
    19131937- (void)createDockTile
     
    19441968    COCOA_LOG_FLOW(("%s: returns\n", __PRETTY_FUNCTION__));
    19451969}
     1970
     1971#endif /* !IN_VMSVGA3D */
    19461972
    19471973- (void)makeCurrentFBO
     
    26622688}
    26632689
     2690#ifndef IN_VMSVGA3D
     2691
    26642692- (NSView *)dockTileScreen
    26652693{
     
    27122740                    (int)newFrame.origin.y, (int)newFrame.size.width, (int)newFrame.size.height, (void *)pView));
    27132741}
     2742
     2743#endif /* !IN_VMSVGA3D */
    27142744
    27152745@end /* @implementation OverlayView */
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