예제 #1
0
파일: vmware.cpp 프로젝트: rickcaudill/Pyro
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();
}
예제 #2
0
IntRect::IntRect(const os::IRect& r)
    : m_location(r.LeftTop())
    , m_size(r.Width() + 1, r.Height() + 1)
{
}