[prev in list] [next in list] [prev in thread] [next in thread] 

List:       helix-video-cvs
Subject:    [Video-cvs] sitelib/platform/mac macsurf.cpp,1.25,1.26
From:       milko () helixcommunity ! org
Date:       2007-06-09 1:04:22
Message-ID: 200706090104.l5914bfw018496 () mailer ! progressive-comp ! com
[Download RAW message or body]

Update of /cvsroot/video/sitelib/platform/mac
In directory cvs01.internal.helixcommunity.org:/tmp/cvs-serv11392/platform/mac

Modified Files:
	macsurf.cpp 
Log Message:
Fixed use of overlay in full-screen on Mac.


Index: macsurf.cpp
===================================================================
RCS file: /cvsroot/video/sitelib/platform/mac/macsurf.cpp,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -d -r1.25 -r1.26
--- macsurf.cpp	8 Jun 2007 08:24:04 -0000	1.25
+++ macsurf.cpp	9 Jun 2007 01:04:20 -0000	1.26
@@ -384,7 +384,7 @@
         if (sLastOrigin.h != originalOrigin.h || sLastOrigin.v != originalOrigin.v) \
bOverlayRebuildingRequired = TRUE;  if (zm_pOverlayBuf == nil) \
bOverlayRebuildingRequired = TRUE;  if (surfacePort != sLastPort) \
                bOverlayRebuildingRequired = TRUE;
-	if (m_bUsesOverlay != (m_bUseOverlays && (((CHXMacSite*) \
(m_pSite->m_pTopLevelSite))->m_bUseOverlay || m_pSite->m_bInFullScreen))) \
bOverlayRebuildingRequired = TRUE; +	if (m_bUsesOverlay != (m_bUseOverlays && \
(((CHXMacSite*) (m_pSite->m_pTopLevelSite))->m_bUseOverlay || \
m_pSite->m_pTopLevelSite->m_bInFullScreen))) bOverlayRebuildingRequired = TRUE;  
 	// xxxbobclark this catch up workaround is necessary because with some
 	// parameters of the overlay while the TLC is resizing, a glitch can
@@ -557,7 +557,7 @@
 	    ::OffsetRgn(newMaskRgn, -siteOffsetFromPort.x, -siteOffsetFromPort.y);
 	    
 	    // Always use overlay in full-screen
-	    m_bUsesOverlay = (m_bUseOverlays && (((CHXMacSite*) \
m_pSite->m_pTopLevelSite)->m_bUseOverlay || m_pSite->m_bInFullScreen)); +	    \
m_bUsesOverlay = (m_bUseOverlays && (((CHXMacSite*) \
m_pSite->m_pTopLevelSite)->m_bUseOverlay || \
m_pSite->m_pTopLevelSite->m_bInFullScreen));  
 	    // Trimming the masking region by pixel fill kick us out of overlay
 	    ::SetRectRgn(trimRgn, 


_______________________________________________
Video-cvs mailing list
Video-cvs@helixcommunity.org
http://lists.helixcommunity.org/mailman/listinfo/video-cvs


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic