Re: [AD] Fw: Acquire/Release speed issue

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


> Doesn't create_video_bitmap() initially allocate from the same surface
> as the screen?

No, almost never.  Only if the bitmap has the same dimensions as the screen.

> Also, I don't really see how the locking mechanism scales. 479 scanlines
> takes 6.8s, but 480 scanlines takes 7.1s.

It doesn't scale: locking means locking the outermost parent.

> Then shouldn't video2 be just as slow as sub-screen?

No.  video2 is the same as video.

-- 
Eric Botcazou




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/