Changeset 21609 in vbox for trunk/src/VBox/Additions
- Timestamp:
- Jul 15, 2009 2:01:56 PM (15 years ago)
- Location:
- trunk/src/VBox/Additions/WINNT/Graphics
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/Graphics/Display/dd.c
r21596 r21609 1073 1073 pBody->u.in.hSurf = pDesc->hHostHandle; 1074 1074 1075 if(lpLock->bHasRect) 1076 { 1077 pRect = &lpLock->rArea; 1078 } 1079 else 1080 { 1081 tmpRect.left=0; 1082 tmpRect.top=0; 1083 tmpRect.right=lpSurfaceGlobal->wWidth-1; 1084 tmpRect.bottom=lpSurfaceGlobal->wHeight-1; 1085 pRect = &tmpRect; 1086 } 1087 1075 1088 if(VBOXDD_CHECKFLAG(lpLock->dwFlags, DDLOCK_DISCARDCONTENTS)) 1076 1089 { 1077 1090 pBody->u.in.flags |= VBOXVHWA_LOCK_DISCARDCONTENTS; 1078 // if(lpLock->bHasRect) 1079 // { 1080 // pRect = &lpLock->rArea; 1081 // } 1082 // else 1083 // { 1084 // tmpRect.left=0; 1085 // tmpRect.top=0; 1086 // tmpRect.right=lpSurfaceGlobal->wWidth-1; 1087 // tmpRect.bottom=lpSurfaceGlobal->wHeight-1; 1088 // pRect = &tmpRect; 1089 // } 1090 // 1091 // if(vboxVHWARegionIncluded(&pDesc->DirtyRegion, pRect)) 1092 // { 1093 // vboxVHWARegionClear(&pDesc->DirtyRegion); 1094 // } 1091 1092 if(vboxVHWARegionIncluded(&pDesc->DirtyRegion, pRect)) 1093 { 1094 vboxVHWARegionClear(&pDesc->DirtyRegion); 1095 } 1095 1096 // } 1096 1097 // else if(vboxVHWARegionInterse) 1097 1098 /* we're not interested in completion, just send the command */ 1099 vboxVHWACommandSubmitAsynch(pDev, pCmd, vboxVHWAFreeCmdCompletion, NULL); 1100 } 1101 else if(!vboxVHWARegionIntersects(&pDesc->DirtyRegion, pRect)) 1102 { 1098 1103 vboxVHWACommandSubmitAsynch(pDev, pCmd, vboxVHWAFreeCmdCompletion, NULL); 1099 1104 } -
trunk/src/VBox/Additions/WINNT/Graphics/Display/vbox.c
r21596 r21609 782 782 783 783 /* complete it asynchronously by setting event */ 784 pCmd->Flags = VBOXVHWACMD_FLAG_ASYNCH_EVENT;784 pCmd->Flags |= VBOXVHWACMD_FLAG_ASYNCH_EVENT; 785 785 vboxHGSMIBufferSubmit (ppdev, pCmd); 786 786 … … 800 800 if(brc) 801 801 { 802 pCmd->Flags = VBOXVHWACMD_FLAG_ASYNCH_IRQ; 802 803 vboxVHWACommandSubmitAsynchByEvent (ppdev, pCmd, pEvent); 803 804 -
trunk/src/VBox/Additions/WINNT/Graphics/Miniport/VBoxVideo.h
r21597 r21609 116 116 #ifdef VBOX_WITH_HGSMI 117 117 volatile HGSMIHOSTFLAGS * pHostFlags; /* HGSMI host flags */ 118 bool bHostCmdProcessing; 119 PSPIN_LOCK pSynchLock; 118 120 #endif 119 121
Note:
See TracChangeset
for help on using the changeset viewer.