-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/112755/#review40111
-----------------------------------------------------------



tier1/kwindowsystem/src/kxutils.cpp
<http://git.reviewboard.kde.org/r/112755/#comment29677>

    X pixmaps use premultiplied alpha.



tier1/kwindowsystem/src/kxutils.cpp
<http://git.reviewboard.kde.org/r/112755/#comment29678>

    A bitmap is typically fetched as an XY_PIXMAP.
    



tier1/kwindowsystem/src/kxutils_p.h
<http://git.reviewboard.kde.org/r/112755/#comment29676>

    This statement is no longer true. If the pixmap is not an ARGB32 pixmap, 
the function will crash. It will also fail if the image byte order doesn't 
match the CPU byte order, if the mask has the wrong size, or the mask isn't a 
bitmap.
    


- Fredrik Höglund


On Sept. 16, 2013, 7:27 a.m., Martin Gräßlin wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/112755/
> -----------------------------------------------------------
> 
> (Updated Sept. 16, 2013, 7:27 a.m.)
> 
> 
> Review request for KDE Frameworks.
> 
> 
> Description
> -------
> 
> Implements the createPixmapFromHandle by getting the image for the pixmaps 
> and using it as either the Pixmap or the bitmap mask.
> 
> 
> Diffs
> -----
> 
>   tier1/kwindowsystem/src/kxutils.cpp 33bd678 
>   tier1/kwindowsystem/src/kxutils_p.h 84d639b 
> 
> Diff: http://git.reviewboard.kde.org/r/112755/diff/
> 
> 
> Testing
> -------
> 
> Adjusted KWin to take this codepath and say thanks to Iceweasel for having a 
> mask
> 
> 
> Thanks,
> 
> Martin Gräßlin
> 
>

_______________________________________________
Kde-frameworks-devel mailing list
Kde-frameworks-devel@kde.org
https://mail.kde.org/mailman/listinfo/kde-frameworks-devel

Reply via email to