[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: QPixmap::fill() slowness
From:       Michael Lentner <michaell () gmx ! net>
Date:       2008-05-23 14:17:57
Message-ID: 200805231617.57331.michaell () gmx ! net
[Download RAW message or body]

> Interesting. How do you create this 1x1 32 bit pixmap? from an image?
>
> Aurélien

Yes, with only one pixel the converting is quick and if it will be often used, 
it can be stored somewhere, too. With Qt4.3 one could get and change the 
private pixmap data with a class, named like a QPixmap's friend class, but 
this way somehow doesn't work with Qt4.4 anymore. It also doesn't matter, 
because I couldn't see any speed difference between the direct creation and 
copying from a 1x1 pixmap (with proprietary nvidia driver).

Michael
 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic