On 4/24/07, Simon TRENY <[EMAIL PROTECTED]> wrote:
>
> from this:
> 1. Creation of a drawable
> 2. Creation of the GL-engine from the drawable
> 3. While (1) do { engine->render() }
>
> to this:
> 1. Creation of a drawable
> 2. Creation of a GL-context from the drawable
> 2. Creation of the GL-engine
> 3. While (1) do { engine->render(); swap_buffers(GL-context) }

Is there any reason that this could not be controlled simply by the
engine info passed at setup time?

If the info contains a GL-context, use the passed context and don't
call swap_buffers, otherwise use the current behavior. Seems like you
would get the best of both worlds and the usual case would still be
just as simple as it is now.

-------------------------------------------------------------------------
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/
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to