Changeset 52368 in vbox for trunk/src/VBox/HostServices/SharedOpenGL/render
- Timestamp:
- Aug 13, 2014 3:08:02 PM (10 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:mergeinfo changed
/branches/VBox-4.3 merged: 95507
- Property svn:mergeinfo changed
-
trunk/src/VBox
- Property svn:mergeinfo changed
/branches/VBox-4.3/src/VBox merged: 95507
- Property svn:mergeinfo changed
-
trunk/src/VBox/HostServices/SharedOpenGL/render/renderspu.c
r51975 r52368 758 758 visible = !!flag; 759 759 760 if (window->visible != visible)760 // if (window->visible != visible) 761 761 { 762 762 renderspu_SystemShowWindow( window, visible ); -
trunk/src/VBox/HostServices/SharedOpenGL/render/renderspu_cocoa_helper.m
r51975 r52368 376 376 - (void)makeCurrentFBO; 377 377 - (void)swapFBO; 378 - (void)vboxSubmitVisible:(GLboolean)fVisible; 379 - (void)vboxSetVisibleUI; 380 - (void)vboxSetHiddenUI; 378 381 - (void)vboxTryDraw; 379 382 - (void)vboxTryDrawUI; … … 1179 1182 /* issue to the gui thread */ 1180 1183 [self setNeedsDisplay:YES]; 1184 } 1185 1186 - (void)vboxSubmitVisible:(GLboolean)fVisible 1187 { 1188 if (fVisible) 1189 [self performSelectorOnMainThread:@selector(vboxSetVisibleUI) withObject:nil waitUntilDone:NO]; 1190 else 1191 [self performSelectorOnMainThread:@selector(vboxSetHiddenUI) withObject:nil waitUntilDone:NO]; 1192 } 1193 1194 - (void)vboxSetVisibleUI 1195 { 1196 [self setHidden: NO]; 1197 } 1198 1199 - (void)vboxSetHiddenUI 1200 { 1201 [self setHidden: YES]; 1181 1202 } 1182 1203 … … 1853 1874 NSAutoreleasePool *pPool = [[NSAutoreleasePool alloc] init]; 1854 1875 1855 [pView setHidden: fShowIt==GL_TRUE?NO:YES];1876 [pView vboxSubmitVisible:fShowIt]; 1856 1877 1857 1878 [pPool release];
Note:
See TracChangeset
for help on using the changeset viewer.