[Deinterlace-checkins] CVS: DScaler/DScaler PaintingHDC.h,1.3,1.4 PaintingHDC.cpp,1.3,1.4
Brought to you by:
adcockj,
dschmelzer
From: Atsushi N. <at...@us...> - 2003-02-27 01:28:08
|
Update of /cvsroot/deinterlace/DScaler/DScaler In directory sc8-pr-cvs1:/tmp/cvs-serv8536/DScaler Modified Files: PaintingHDC.h PaintingHDC.cpp Log Message: Fixes bug with BeginPaint/EndPaint region Index: PaintingHDC.h =================================================================== RCS file: /cvsroot/deinterlace/DScaler/DScaler/PaintingHDC.h,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -r1.3 -r1.4 *** PaintingHDC.h 24 Jan 2003 01:55:17 -0000 1.3 --- PaintingHDC.h 27 Feb 2003 01:28:03 -0000 1.4 *************** *** 17,20 **** --- 17,23 ---- // // $Log$ + // Revision 1.4 2003/02/27 01:28:03 atnak + // Fixes bug with BeginPaint/EndPaint region + // // Revision 1.3 2003/01/24 01:55:17 atnak // OSD + Teletext conflict fix, offscreen buffering for OSD and Teletext, *************** *** 55,58 **** --- 58,62 ---- HDC m_hOriginalDC; RECT m_Rect; + RECT m_PaintRect; HGDIOBJ m_hSaveBmp; HBITMAP m_hBmp; Index: PaintingHDC.cpp =================================================================== RCS file: /cvsroot/deinterlace/DScaler/DScaler/PaintingHDC.cpp,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -r1.3 -r1.4 *** PaintingHDC.cpp 24 Jan 2003 01:55:17 -0000 1.3 --- PaintingHDC.cpp 27 Feb 2003 01:28:03 -0000 1.4 *************** *** 19,22 **** --- 19,25 ---- // // $Log$ + // Revision 1.4 2003/02/27 01:28:03 atnak + // Fixes bug with BeginPaint/EndPaint region + // // Revision 1.3 2003/01/24 01:55:17 atnak // OSD + Teletext conflict fix, offscreen buffering for OSD and Teletext, *************** *** 58,61 **** --- 61,65 ---- { UpdateGeometry(hDC, pRect); + CopyRect(&m_PaintRect, pRect); return m_hBufferDC; } *************** *** 64,68 **** void CPaintingHDC::EndPaint() { ! BitBltRects(&m_Rect, 1); m_hOriginalDC = NULL; } --- 68,72 ---- void CPaintingHDC::EndPaint() { ! BitBltRects(&m_PaintRect, 1); m_hOriginalDC = NULL; } |