Plasma::Wallpaper does software scaling/copying when it isn't necessary.

Asraniel asraniel at fryx.ch
Sun Jul 4 10:17:09 CEST 2010


from my experience i don't know a hack either, but would be interested for 
animated wallpapers. currently you can't do animated wallpapers without using 
like 30% of you cpu.

beat wolf

Am Sonntag 04 Juli 2010, um 00.28:31 schrieb velociraptor Genjix:
> See the conversation
> http://kde-look.org/content/show.php?content=112105&forumpage=4 titled
> "Phonon video backend?" I do the scaling using hardware acceleration but
> Plasma::Wallpaper requires me to still copy this array with slow software
> acceleration. If the format is correct then just give me the target X
> surface. KDE insists on drawing it's own wallpaper on top though. So this
> is a problem with plasma- is there a workaround or a hack? void
> VideoWallpaper::paint(QPainter *painter, const QRectF&){    // ...   
> const QImage imag(frame->data[0], codec_ctx->width, codec_ctx->height,
> frame->linesize[0], QImage::Format_RGB32);   
> painter->drawImage(boundingRect(), imag);    // ...} It would run ALOT
> faster if there was a way to disable KDE4 rendering a wallpaper or be
> allowed to render directly to that wallpaper. A video wallpaper should be
> as natural as an image or colour in today's world.
> _________________________________________________________________
> http://clk.atdmt.com/UKM/go/195013117/direct/01/



More information about the Plasma-devel mailing list