On 1/22/12 4:27 PM, Igor Stasenko wrote:
On 22 January 2012 15:13, Stéphane Ducassestephane.ducasse@inria.fr wrote:
On Jan 22, 2012, at 1:29 PM, Lawson English wrote:
- large windows tended to leave a lot of artifacts behind during movement (the video shows this towards the end).
there is two "modes" to blit on Morphic display - one is just copy directly to Display, and another is to separate form and then draw that form as usual. so, these artefact is not related to OpenGL per se, but mainly to how you make rendered results appear integrated in morphic.
Is there a way to directly draw to the system window using OpenGL so that intermediate software blitting is eliminated?
The integration of 3D and 2D on the squeak desktop (World morph) would be much easier and faster if there weren't so many layers of copying being done, as is the case with my demo video.
If there IS a way, can you create a demo of it,, or explain to me how to create a demo of it?
Thanks, Lawson
Am 23.01.2012 18:03, schrieb Lawson English:
Is there a way to directly draw to the system window using OpenGL so that intermediate software blitting is eliminated?
The opengl context is already drawing directly to the screen (or rather, to the back buffer managed by opengl). There is no intermediate software blitting involved AFAIK.
Cheers, Hans-Martin
Kool. So how could I make the entire World a drawing surface so that I could use the OpenGL drawing throughout the entire squeak/pharo OS window, instead of within another window?
Could a 2D/3D mashup like I have in this video be accomplished? The fps is too slow to be useable for most things, at this point: http://www.youtube.com/watch?v=nSLZKIXeXR4
On 1/23/12 3:00 PM, Hans-Martin Mosner wrote:
Am 23.01.2012 18:03, schrieb Lawson English:
Is there a way to directly draw to the system window using OpenGL so that intermediate software blitting is eliminated?
The opengl context is already drawing directly to the screen (or rather, to the back buffer managed by opengl). There is no intermediate software blitting involved AFAIK.
Cheers, Hans-Martin
squeak-dev@lists.squeakfoundation.org