Changeset 47623 in vbox for trunk/src/VBox/GuestHost/OpenGL/util
- Timestamp:
- Aug 8, 2013 9:19:43 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/GuestHost/OpenGL/util/vreg.cpp
r47566 r47623 1862 1862 1863 1863 1864 static int crVrScrCompositorEntryRegionsAdd(PVBOXVR_SCR_COMPOSITOR pCompositor, PVBOXVR_SCR_COMPOSITOR_ENTRY pEntry, uint32_t cRegions, const RTRECT *paRegions, uint32_t *pfChangedFlags)1864 static int crVrScrCompositorEntryRegionsAdd(PVBOXVR_SCR_COMPOSITOR pCompositor, PVBOXVR_SCR_COMPOSITOR_ENTRY pEntry, uint32_t cRegions, const RTRECT *paRegions, VBOXVR_SCR_COMPOSITOR_ENTRY **ppReplacedScrEntry, uint32_t *pfChangedFlags) 1865 1865 { 1866 1866 uint32_t fChangedFlags = 0; … … 1900 1900 if (pfChangedFlags) 1901 1901 *pfChangedFlags = fChangedFlags; 1902 1903 if (ppReplacedScrEntry) 1904 *ppReplacedScrEntry = pReplacedScrEntry; 1905 1902 1906 return VINF_SUCCESS; 1903 1907 } … … 1987 1991 } 1988 1992 1989 VBOXVREGDECL(int) CrVrScrCompositorEntryRegionsAdd(PVBOXVR_SCR_COMPOSITOR pCompositor, PVBOXVR_SCR_COMPOSITOR_ENTRY pEntry, const RTPOINT *pPos, uint32_t cRegions, const RTRECT *paRegions, bool fPosRelated, uint32_t *pfChangeFlags)1993 VBOXVREGDECL(int) CrVrScrCompositorEntryRegionsAdd(PVBOXVR_SCR_COMPOSITOR pCompositor, PVBOXVR_SCR_COMPOSITOR_ENTRY pEntry, const RTPOINT *pPos, uint32_t cRegions, const RTRECT *paRegions, bool fPosRelated, VBOXVR_SCR_COMPOSITOR_ENTRY **ppReplacedScrEntry, uint32_t *pfChangeFlags) 1990 1994 { 1991 1995 int rc; … … 2028 2032 } 2029 2033 2030 rc = crVrScrCompositorEntryRegionsAdd(pCompositor, pEntry, cRegions, paRegions, &fChangeFlags);2034 rc = crVrScrCompositorEntryRegionsAdd(pCompositor, pEntry, cRegions, paRegions, ppReplacedScrEntry, &fChangeFlags); 2031 2035 if (!RT_SUCCESS(rc)) 2032 2036 { … … 2054 2058 if (fChangeFlags & VBOXVR_COMPOSITOR_CF_ENTRY_REPLACED) 2055 2059 fPosChanged = false; 2060 else if (ppReplacedScrEntry) 2061 *ppReplacedScrEntry = NULL; 2056 2062 2057 2063 if (pfChangeFlags)
Note:
See TracChangeset
for help on using the changeset viewer.