Quoting James Su ([EMAIL PROTECTED]):
> Then, must I remeber whether the sub surface begins at odd pixel? Or is 
> there some way to get this information from current data structure?

data->area.current.(x/y) contains the offset the sub surface relative
to the beginning of the whole surface. I think restricting sub surfaces
to even x coordinates is ok. The problems related to DFB_BYTES_PER_PIXEL
should be eliminated using DFB_BYTES_PER_LINE with the x offset.

-- 
Best regards,
  Denis Oliver Kropp

.------------------------------------------.
| DirectFB - Hardware accelerated graphics |
| http://www.directfb.org/                 |
"------------------------------------------"

                            Convergence GmbH


-- 
Info:  To unsubscribe send a mail to [EMAIL PROTECTED] with 
"unsubscribe directfb-dev" as subject.

Reply via email to