thanks, I'll experiment. Igor's NBOpenGl and GLDisplay would be the best
route to use for this, but the Mac interface for it doesn't work with
partial screen areas yet. In the meantime, I get to learn more about
OpenGL and such.
Lawson
On 1/21/12 10:19 AM, Marcel Taeumel wrote:
> Hi.
>
> You should not draw the full scene graph into a buffer that will be copied
> to your OGL stuff in every step/loop. This is slow. You should make use of
> the default world redraw optimization with dirty rectangles. Maybe like
> this:
>
> 1. Modify WorldState>>displayWorldSafely: to draw into a buffer form and NOT
> into the DisplayScreen.
> 2. Add a postprocessing step to WorldState>>doOneCycleFor: or use #step in a
> Morph (with stepTime == 0) to copy this buffer to your OGL stuff.
>
> I don't know how specific the form DisplayScreen is. Maybe you can directly
> copy its contents into your OGL world.
>
> Marcel
>
> --
> View this message in context:
http://forum.world.st/speeding-up-copying-World-using-dirty-rectangles-tp4313876p4316471.html> Sent from the Squeak - Dev mailing list archive at Nabble.com.
>
>