Quoting Mike Emmel:
> There seems to be no way to query the surface state. I'm getting it
> whith a hack I try and flip the surface then read the return code. I
> think it would be useful to have a get method to get the surface state
> destroyed locked etc at least for debugging.

You should know about its state by yourself. Keep a bool or enum
or whatever in the same structure in which you keep the interface.

I don't like to bloat the API with such things and in most
cases the higher level part has to know those things anyways :)

-- 
Best regards,
  Denis Oliver Kropp
 
.------------------------------------------.
| DirectFB - Hardware accelerated graphics |
| http://www.directfb.org/                 |
"------------------------------------------"

_______________________________________________
directfb-dev mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev

Reply via email to