[prev in list] [next in list] [prev in thread] [next in thread]
List: helix-video-cvs
Subject: [Video-cvs] sitelib basesurf.cpp,1.34.2.5,1.34.2.6
From: sfu () helixcommunity ! org
Date: 2008-10-21 3:33:31
Message-ID: 200810210340.m9L3eC1w002437 () mailer ! progressive-comp ! com
[Download RAW message or body]
Update of /cvsroot/video/sitelib
In directory cvs01.internal.helixcommunity.org:/tmp/cvs-serv29964
Modified Files:
Tag: hxclient_3_1_0_atlas
basesurf.cpp
Log Message:
bug 228435 fix: back out the performance optimization code in Blt()
Index: basesurf.cpp
===================================================================
RCS file: /cvsroot/video/sitelib/basesurf.cpp,v
retrieving revision 1.34.2.5
retrieving revision 1.34.2.6
diff -u -d -r1.34.2.5 -r1.34.2.6
--- basesurf.cpp 1 Oct 2008 13:15:39 -0000 1.34.2.5
+++ basesurf.cpp 21 Oct 2008 03:33:28 -0000 1.34.2.6
@@ -2616,37 +2616,6 @@
INT32 nCID = GETBITMAPCOLOR(pBitmapInfo);
INT32 nCIDOld = GETBITMAPCOLOR(&m_bmiLastBlt);
-#ifdef HELIX_CONFIG_NIMBUS
- // FXD: ra/ve optimization
- // if we are going to schedule a REDRAW_ALL anyway, skip all actions in this Blt.
- // REDRAW_ALL will come back to do Blt again.
- // the original copy of this code (sans the early return logic) is in the middle of Blt,
- // making at least everything before it in Blt to be done twice.
- // WARNING: this is only tested within the ra/ve environment. It may or may not work
- // in general cases.
-
- {
- int nTot = m_pSite->m_AlphaBlendNotifiers.GetCount();
- if( nTot>0 &&
- !m_pSite->IsCompositionMode() &&
- (!IsYUV(nCID)||m_bOffBecauseofShinking || !m_bUseOverlays)
- )
- {
- //XXXgfw Once we have optimized YUV blenders, don't even bother
- //calling this as YUV blends from the bottom up and all this
- //has already been done.
- if( m_pSite && m_pSite->m_pTopLevelSite && !m_pSite->m_pTopLevelSite->m_bForceRedrawNeeded)
- {
- m_pSite->m_pTopLevelSite->ScheduleCallback(REDRAW_ALL, 0);
-
- // bypass this Blt
- m_pSite->_TLSUnlock();
- return HXR_OK;
- }
- }
- }
-#endif
-
//// Capture image
if (m_pSite && m_pSite->m_pCaptureResponse != NULL)
{
_______________________________________________
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