Changeset 51975 in vbox for trunk/src/VBox/HostServices/SharedOpenGL/render
- Timestamp:
- Jul 10, 2014 3:48:05 PM (11 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:mergeinfo changed
/branches/VBox-4.3 merged: 94897
- Property svn:mergeinfo changed
-
trunk/src/VBox
- Property svn:mergeinfo changed
/branches/VBox-4.3/src/VBox merged: 94897
- Property svn:mergeinfo changed
-
trunk/src/VBox/HostServices/SharedOpenGL/render/renderspu.c
r51442 r51975 1017 1017 * no need to synch here 1018 1018 * the lock is actually needed to ensure we're in synch with the redraw thread */ 1019 if (window->pCompositor == pCompositor && ! 1019 if (window->pCompositor == pCompositor && !fEmpty) 1020 1020 return !!pCompositor; 1021 1021 … … 1031 1031 } 1032 1032 1033 window->pCompositor = pCompositor;1033 window->pCompositor = !fEmpty ? pCompositor : NULL; 1034 1034 RTCritSectLeave(&window->CompositorLock); 1035 1035 return fNeedPresent; -
trunk/src/VBox/HostServices/SharedOpenGL/render/renderspu_cocoa_helper.m
r51442 r51975 925 925 DEBUG_MSG(("OVIW(%p): setSize: new size: %dx%d\n", (void*)self, (int)size.width, (int)size.height)); 926 926 [self performSelectorOnMainThread:@selector(vboxReshapeOnResizePerform) withObject:nil waitUntilDone:NO]; 927 928 /* ensure window contents is updated after that */ 929 [self setNeedsDisplay:YES]; 927 930 } 928 931 … … 1273 1276 m_fNeedViewportUpdate = false; 1274 1277 } 1278 1279 m_fCleanupNeeded = GL_FALSE; 1275 1280 1276 1281 /* Render FBO content to the dock tile when necessary. */ … … 1946 1951 NSAutoreleasePool *pPool = [[NSAutoreleasePool alloc] init]; 1947 1952 1948 [(OverlayView*)pView vboxNeedsEmptyPresent];1953 GLboolean fNeedsPresent = [(OverlayView*)pView vboxNeedsEmptyPresent]; 1949 1954 1950 1955 [pPool release]; 1956 1957 return fNeedsPresent; 1951 1958 } 1952 1959
Note:
See TracChangeset
for help on using the changeset viewer.