1dae29175f
QImage is implicitly shared. However, methods such as QImage::bits() may detach. In order to avoid the detach, one either needs make the image const or use QImage::constBits() method. Currently, the GLTexture class uses QImage::bits() all over the place. It prevents implicit detaching by storing images in const variables. Such code is fragile. Adding an intermediate (optional) conversion step may result in odd performance regressions. |
||
---|---|---|
.. | ||
anidata.cpp | ||
anidata_p.h | ||
CMakeLists.txt | ||
kwinanimationeffect.cpp | ||
kwinanimationeffect.h | ||
kwinconfig.h.cmake | ||
kwindeformeffect.cpp | ||
kwindeformeffect.h | ||
kwineffectquickview.cpp | ||
kwineffectquickview.h | ||
kwineffects.cpp | ||
kwineffects.h | ||
KWinEffectsConfig.cmake.in | ||
kwineglimagetexture.cpp | ||
kwineglimagetexture.h | ||
kwinglobals.h | ||
kwinglplatform.cpp | ||
kwinglplatform.h | ||
kwingltexture.cpp | ||
kwingltexture.h | ||
kwingltexture_p.h | ||
kwinglutils.cpp | ||
kwinglutils.h | ||
kwinglutils_funcs.cpp | ||
kwinglutils_funcs.h | ||
kwinxrenderutils.cpp | ||
kwinxrenderutils.h | ||
logging.cpp | ||
logging_p.h | ||
Mainpage.dox | ||
Messages.sh |