MFDesktopToRTP/DesktopDuplication.cpp
HBITMAP cImageCapturingModuleId3d11Impl::getCurrentFrameAsBitmap()
{
	HBITMAP  hbitmapCurrentFrame = NULL;

	getBitmapFromTextureId3d11(m_CurrentFrameTexture, &hbitmapCurrentFrame);

	return hbitmapCurrentFrame;
}
//TODO: This can be also done by getting locked rect from GPU and passing it directly to CxImage (As in formImageDataToSend)
//Done like this just to maintain compatibility with bitmaps if needed.

This can be also done by getting locked rect from GPU and passing it directly to CxImage (As in formImageDataToSend)
Done like this just to maintain compatibility with bitmaps if needed.
This can be also done by getting locked rect from GPU and passing it directly to CxImage ( As in formImageDataToSend ) Done like this just to maintain compatibility with bitmaps if needed .
HBITMAP cImageCapturingModuleId3d11Impl::getCurrentFrameAsBitmap()
{
	HBITMAP  hbitmapCurrentFrame = NULL;
	getBitmapFromTextureId3d11(m_CurrentFrameTexture, &hbitmapCurrentFrame);
	return hbitmapCurrentFrame;
}
HBITMAP cImageCapturingModuleId3d11Impl :: getCurrentFrameAsBitmap ( ) { HBITMAP hbitmapCurrentFrame = NULL ; getBitmapFromTextureId3d11 ( m_CurrentFrameTexture , & hbitmapCurrentFrame ) ; return hbitmapCurrentFrame ; }
TODO: This can be also done by getting locked rect from GPU and passing it directly to CxImage (As in formImageDataToSend)
Done like this just to maintain compatibility with bitmaps if needed.
TODO : This can be also done by getting locked rect from GPU and passing it directly to CxImage ( As in formImageDataToSend ) Done like this just to maintain compatibility with bitmaps if needed .