Changeset 39981 in vbox for trunk/src/VBox/Additions/WINNT/Graphics/Video/mp/wddm/VBoxMPMisc.h
- Timestamp:
- Feb 3, 2012 12:13:33 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/Graphics/Video/mp/wddm/VBoxMPMisc.h
r39160 r39981 19 19 #ifndef ___VBoxMPMisc_h__ 20 20 #define ___VBoxMPMisc_h__ 21 22 #include "../../common/VBoxVideoTools.h" 21 23 22 24 DECLINLINE(void) vboxVideoLeDetach(LIST_ENTRY *pList, LIST_ENTRY *pDstList) … … 162 164 #endif 163 165 166 /* visible rects */ 167 typedef struct VBOXWDDMVR_LIST 168 { 169 LIST_ENTRY ListHead; 170 UINT cEntries; 171 } VBOXWDDMVR_LIST, *PVBOXWDDMVR_LIST; 172 173 DECLINLINE(UINT) VBoxWddmVrListRectsCount(PVBOXWDDMVR_LIST pList) 174 { 175 return pList->cEntries; 176 } 177 178 DECLINLINE(BOOLEAN) VBoxWddmVrListIsEmpty(PVBOXWDDMVR_LIST pList) 179 { 180 return !VBoxWddmVrListRectsCount(pList); 181 } 182 183 DECLINLINE(void) VBoxWddmVrListInit(PVBOXWDDMVR_LIST pList) 184 { 185 InitializeListHead(&pList->ListHead); 186 pList->cEntries = 0; 187 } 188 189 void VBoxWddmVrListClear(PVBOXWDDMVR_LIST pList); 190 191 void VBoxWddmVrListTranslate(PVBOXWDDMVR_LIST pList, LONG x, LONG y); 192 193 NTSTATUS VBoxWddmVrListRectsAdd(PVBOXWDDMVR_LIST pList, UINT cRects, const PRECT aRects, BOOLEAN *pfChanged); 194 NTSTATUS VBoxWddmVrListRectsSubst(PVBOXWDDMVR_LIST pList, UINT cRects, const PRECT aRects, BOOLEAN *pfChanged); 195 NTSTATUS VBoxWddmVrListRectsGet(PVBOXWDDMVR_LIST pList, UINT cRects, PRECT aRects); 196 197 NTSTATUS VBoxWddmVrInit(); 198 void VBoxWddmVrTerm(); 199 164 200 #endif /* #ifndef ___VBoxMPMisc_h__ */
Note:
See TracChangeset
for help on using the changeset viewer.