void VMware::UnlockBitmap( SrvBitmap* pcDstBitmap, SrvBitmap* pcSrcBitmap, os::IRect cSrc, os::IRect cDst ) { if( pcDstBitmap->m_bVideoMem == false ) return; // ACQUIRE lock m_cGELock.Lock(); if(m_bFifoCmds) FifoSync(); Fifo_UpdateRect(cDst.left, cDst.top, cDst.Width()+1, cDst.Height()+1); // RELEASE lock m_cGELock.Unlock(); }
IntRect::IntRect(const os::IRect& r) : m_location(r.LeftTop()) , m_size(r.Width() + 1, r.Height() + 1) { }