On Fri, Dec 13, 2002 at 03:55:57PM +0800, James Su wrote:
> In my understanding, a surface
> may occupy a block of memory itself or share a block of memory with
> other surface, ie. a sub surface.

Well the only difference between "real" surfaces and sub surfaces is the
way you create them. After that it's just business as usual.

> Am I right? Then, for example if I
> alloc a sub surface from an odd x coordination within the father
> surface, i.e. (3,4), the memory offset of the sub surface will be 1.5
> bytes, but it's impossible!

Perhaps you can simply return DFB_INVAREA in those cases.

-- 
Ville Syrj�l�
[EMAIL PROTECTED]
http://www.sci.fi/~syrjala/


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

Reply via email to