Changeset 45066 in vbox for trunk/src/VBox/HostServices/SharedOpenGL/render/renderspu_glx.c
- Timestamp:
- Mar 18, 2013 5:08:39 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostServices/SharedOpenGL/render/renderspu_glx.c
r45039 r45066 1972 1972 } 1973 1973 1974 void renderspu_SystemVBoxPresentComposition( WindowInfo *window, struct VBOXVR_SCR_COMPOSITOR * pCompositor, struct VBOXVR_SCR_COMPOSITOR_ENTRY *pChangedEntry )1974 void renderspu_SystemVBoxPresentComposition( WindowInfo *window, struct VBOXVR_SCR_COMPOSITOR_ENTRY *pChangedEntry ) 1975 1975 { 1976 1976 /* the CR_RENDER_FORCE_PRESENT_MAIN_THREAD is actually inherited from cocoa backend impl, … … 1979 1979 * @todo: change to some more generic macro name */ 1980 1980 #ifndef CR_RENDER_FORCE_PRESENT_MAIN_THREAD 1981 struct VBOXVR_SCR_COMPOSITOR *pC urCompositor;1981 struct VBOXVR_SCR_COMPOSITOR *pCompositor; 1982 1982 /* we do not want to be blocked with the GUI thread here, so only draw her eif we are really able to do that w/o bllocking */ 1983 int rc = renderspuVBoxCompositorTryAcquire(window, &pC urCompositor);1983 int rc = renderspuVBoxCompositorTryAcquire(window, &pCompositor); 1984 1984 if (RT_SUCCESS(rc)) 1985 1985 { 1986 Assert(pCurCompositor == pCompositor);1987 1986 renderspuVBoxPresentCompositionGeneric(window, pCompositor, pChangedEntry, 0); 1988 1987 renderspuVBoxCompositorRelease(window);
Note:
See TracChangeset
for help on using the changeset viewer.