[Qt-interest] [OT] RE: Fast displaying of 8bit images
Oliver.Knoll at comit.ch
Oliver.Knoll at comit.ch
Thu Apr 2 13:45:36 CEST 2009
Pavel Koshevoy wrote on Wednesday, April 01, 2009 5:45 PM:
> ...
> It has been over 2 years since I've last looked into this. I have
> found sample code on the Apple web site, and in the VideoLAN VLC
> player (which can use OpenGL for frame rendering).
Thanks for the links - the VLC hint was a good one, too, will have a look into that code.
> Here is the link for APPLE_client_storage extension:
> http://developer.apple.com/documentation/GraphicsImaging/Conceptual/OpenGL-MacProgGuide/opengl_texturedata/opengl_texturedata.html#//apple_ref/doc/uid/TP40001987-CH407-SW24
>
> Apple OpenGL docs are pretty good even if you aren't writing Mac
> software.
That's true - as a matter of fact I also found this link a couple of weeks ago, when investigating about how to transfer texture data in a quick manner. It is more general about OpenGL optimisations, but as you say, not necessarily limited to OSX-development:
http://developer.apple.com/graphicsimaging/opengl/optimizingdata.html
>> And does that only help for "displaying" such "textures", or could
>> they also remain in the GPU memory for scaling ...
>
> Don't know, but you should be able to test this yourself.
I assume that for transforming (scaling etc.) such textures they probably *have* to eventually be downloaded to the GPU memory. But I will study the Apple docs. Thanks again for your links, highly appreciated!
Oliver
--
Oliver Knoll
Dipl. Informatik-Ing. ETH
COMIT AG - ++41 79 520 95 22
More information about the Qt-interest-old
mailing list