Thread (3 messages) flat view 3 messages, 2 authors, 2007-05-12

Re: [PATCH] smart blitter usage for scrolling(cleaned)

From: Krzysztof Helt <hidden>
Date: 2007-05-12 06:06:54

Dnia 11-05-2007 o godz. 21:41 Antonino A. Daplas napisa³(a):
#####
quoted
+			if (attr != (c & 0xff00)) {
+				attr = c & 0xff00;
+				if (s > start) {
+					ops->bmove(vc, info, line + ycount, x, 
line, x, 1, s-start);
quoted
+					x += s - start;
+					start = s;
+				}
+			}
#####

The code block above is probably not needed. It just checks if 
the
attribute of the character (ie the color) has changed.  This is 
required
for putcs, but is unnecessary for bmove.

Please remove it from the patch. It may only speed up scrolling 
by blitter.

Regards,
Krzysztof 

----------------------------------------------------
Znów dosta³e¶ du¿o spamu?! Masz ju¿ tego do¶æ..?
Twoje dane s± zagro¿one..?
mks_vir 2k7 -  program antywirusowy i antyszpiegowski
http://klik.wp.pl/?adr=www.mks.com.pl&sid=1137



-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help