Changeset 52309 in vbox for trunk/src/VBox/Main
- Timestamp:
- Aug 7, 2014 7:17:50 AM (10 years ago)
- Location:
- trunk/src/VBox/Main
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/include/DisplayImpl.h
r52200 r52309 414 414 415 415 private: 416 static voidi_InvalidateAndUpdateEMT(Display *pDisplay, unsigned uId, bool fUpdateAll);417 static int 416 static int i_InvalidateAndUpdateEMT(Display *pDisplay, unsigned uId, bool fUpdateAll); 417 static int i_drawToScreenEMT(Display *pDisplay, ULONG aScreenId, BYTE *address, ULONG x, ULONG y, ULONG width, ULONG height); 418 418 419 419 int i_videoAccelRefreshProcess(void); -
trunk/src/VBox/Main/src-client/DisplayImpl.cpp
r52237 r52309 3160 3160 } 3161 3161 3162 void Display::i_InvalidateAndUpdateEMT(Display *pDisplay, unsigned uId, bool fUpdateAll) 3163 { 3162 int Display::i_InvalidateAndUpdateEMT(Display *pDisplay, unsigned uId, bool fUpdateAll) 3163 { 3164 LogRelFlowFunc(("uId=%d, fUpdateAll %d\n", uId, fUpdateAll)); 3165 3164 3166 unsigned uScreenId; 3165 3167 for (uScreenId = (fUpdateAll ? 0 : uId); uScreenId < pDisplay->mcMonitors; uScreenId++) … … 3244 3246 break; 3245 3247 } 3248 LogRelFlowFunc(("done\n")); 3249 return VINF_SUCCESS; 3246 3250 } 3247 3251 … … 3272 3276 alock.release(); 3273 3277 3274 /* pdm.h says that this has to be called from the EMT thread */ 3275 int rcVBox = VMR3ReqCallVoidWaitU(ptrVM.rawUVM(), VMCPUID_ANY, (PFNRT)Display::i_InvalidateAndUpdateEMT, 3276 3, this, 0, true); 3278 int rcVBox = VMR3ReqCallNoWaitU(ptrVM.rawUVM(), VMCPUID_ANY, (PFNRT)Display::i_InvalidateAndUpdateEMT, 3279 3, this, 0, true); 3277 3280 alock.acquire(); 3278 3281 … … 3295 3298 return ptrVM.rc(); 3296 3299 3297 /* pdm.h says that this has to be called from the EMT thread */ 3298 int rcVBox = VMR3ReqCallVoidWaitU(ptrVM.rawUVM(), VMCPUID_ANY, (PFNRT)Display::i_InvalidateAndUpdateEMT, 3299 3, this, aScreenId, false); 3300 int rcVBox = VMR3ReqCallNoWaitU(ptrVM.rawUVM(), VMCPUID_ANY, (PFNRT)Display::i_InvalidateAndUpdateEMT, 3301 3, this, aScreenId, false); 3300 3302 if (RT_FAILURE(rcVBox)) 3301 3303 rc = setError(VBOX_E_IPRT_ERROR,
Note:
See TracChangeset
for help on using the changeset viewer.