sorry sorry sorry sorry sorry sorry sorryn got to work out of my office... and getting by time.
I can exactly tell you how performance grow up... but they did. I have to improve some threading latency now.
Yes, I get ride of the GetDIBs, I have done it with the help of the ZFlash program. They use IViewObjectEx. So there is no more GetDibs after that, just getting a BYTE* buffer.
Code: Select all
OnCreate...
// add code le 28/10/2005
if ( m_pShockwaveFlash8 != NULL ) {
// on rйcupиre l'interface de vue objet
hr = m_pShockwaveFlash8->QueryInterface( IID_IViewObjectEx, (void **)&m_pView );
}
// end code
Then create a buffer
m_hBitmap = CreateDIBSection( m_hdcCompatible, &bInfo, DIB_RGB_COLORS, &m_pFrameBuffer, NULL, 0);
SelectObject( m_hdcCompatible, m_hBitmap );
::SetMapMode( m_hdcCompatible, MM_TEXT);
// to get the buffer
HRESULT hr = m_pView->Draw( DVASPECT_CONTENT, -1, NULL, NULL, NULL, m_hdcCompatible, &m_rectFlash, &m_rectFlash, NULL, NULL );
there still need improve by using events to get new frame....
like DirectShow filter...