[squeak-dev] Re: Still pounding head against wall over glReadPixels => external buffer

Lawson English lenglish5 at cox.net
Thu Feb 11 21:54:14 UTC 2010


Lawson English wrote:
>
>
> So,  I can now draw using squeak opengl calls and they are now 
> accessible in another process.
>

Benchmark:

Time millisecondsToRun: [1000 timesRepeat: [
ogl                     "read pixels into my buffer"
    glReadPixels: 0
    with:  0
    with: 1000
    with: 1000
    with: ogl imagePixelFormat32
    with: ogl imagePixelType32
    with: xData.
]]   => 5930


:-)


Lawson



More information about the Squeak-dev mailing list