diff options
author | scop <scop> | 2005-04-21 21:40:06 +0000 |
---|---|---|
committer | scop <scop> | 2005-04-21 21:40:06 +0000 |
commit | 503cdef76383607799731d0d0c4e8dfde02fec1e (patch) | |
tree | f904d7ac888977bd00f6409f134cb36bb5b6ea0a | |
parent | 3c99438d616276422d0635f7a66cdab1b149c4bb (diff) | |
download | vdr-plugin-dxr3-503cdef76383607799731d0d0c4e8dfde02fec1e.tar.gz vdr-plugin-dxr3-503cdef76383607799731d0d0c4e8dfde02fec1e.tar.bz2 |
Disable bitmap transfer optimization for now, http://article.gmane.org/gmane.linux.vdr/21572 (Luca Olivetti).
-rw-r--r-- | dxr3osd_subpicture.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/dxr3osd_subpicture.c b/dxr3osd_subpicture.c index b96b0c2..258d53a 100644 --- a/dxr3osd_subpicture.c +++ b/dxr3osd_subpicture.c @@ -203,6 +203,9 @@ void cDxr3SubpictureOsd::Flush() here. It doesn't hurt too much. */ +// http://article.gmane.org/gmane.linux.vdr/21572 +//#define optimize_bitmap_transfer +#ifdef optimize_bitmap_transfer while ((x1 > 0 || x2 < Bitmap->Width() - 1) && ((x2 - x1) & 7) != 7) { @@ -242,6 +245,12 @@ void cDxr3SubpictureOsd::Flush() x1--; } } +#else + x1 = 0; + y1 = 0; + x2 = Bitmap->Width() - 1; + y2 = Bitmap->Height() - 1; +#endif Spu->SetPalette(i + 1, Palette, Bitmap); int origx = Left() + Bitmap->X0(); |