kwin/effects
Fredrik Höglund 450be6a378 Add a levels parameter to the GLTexture ctor
Prior to this commit we didn't know if mipmaps were going to be used
when we created the GL texture, which meant that we couldn't tell the
driver whether to allocate storage for mipmaps or not.

This resulted in one of two things happening depending on the driver;
either it would allocate storage for mipmaps that in most cases would
never be used, or it wouldn't and would later be forced to reallocate
the texture when mipmaps were added.

By adding this parameter we can now explicitly tell the driver how
many mipmap levels will be used.

The parameter is only added to the non-image constructor for now. The
image constructor is changed to only allocate a single level, which
matches how textures created from images are used in kwin. This may
need to be revisited in the future.
2014-12-14 18:33:52 +01:00
..
backgroundcontrast Remove displayWidth and displayHeight from the compositor 2014-11-27 09:00:19 +01:00
blur Fixed data type for _KDE_NET_WM_BLUR_BEHIND_REGION 2014-12-12 17:02:38 +01:00
coverswitch Do not register dbus service org.kde.kwin.Effects 2014-05-15 10:55:29 +02:00
cube cube: Always set the shader in WindowPaintData 2014-12-04 19:19:30 +01:00
dashboard Do not register dbus service org.kde.kwin.Effects 2014-05-15 10:55:29 +02:00
desktopgrid setup desktopgrid for screencount change 2014-06-04 16:30:29 +02:00
dialogparent SVN_SILENT made messages (.desktop file) 2014-05-03 08:32:58 +00:00
diminactive Do not register dbus service org.kde.kwin.Effects 2014-05-15 10:55:29 +02:00
dimscreen [effects] Drop the .desktop files for the BuiltIn Effects 2014-04-28 13:52:43 +02:00
fade SVN_SILENT made messages (.desktop file) 2014-05-03 08:32:58 +00:00
fadedesktop SVN_SILENT made messages (.desktop file) 2014-05-03 08:32:58 +00:00
fallapart [effects] Drop the .desktop files for the BuiltIn Effects 2014-04-28 13:52:43 +02:00
flipswitch Do not register dbus service org.kde.kwin.Effects 2014-05-15 10:55:29 +02:00
glide Fix warnings in kwin/effects/glide/glide_config.ui 2014-12-05 20:07:37 +01:00
highlightwindow [effects] Drop the .desktop files for the BuiltIn Effects 2014-04-28 13:52:43 +02:00
invert SVN_SILENT made messages (.desktop file) 2014-09-28 15:11:49 +00:00
kscreen don't access array to check whether ptr is nullptr 2014-11-27 20:01:10 +01:00
login SVN_SILENT made messages (.desktop file) 2014-10-29 08:42:18 +00:00
logout Add a levels parameter to the GLTexture ctor 2014-12-14 18:33:52 +01:00
lookingglass Add a levels parameter to the GLTexture ctor 2014-12-14 18:33:52 +01:00
magiclamp Do not register dbus service org.kde.kwin.Effects 2014-05-15 10:55:29 +02:00
magnifier SVN_SILENT made messages (.desktop file) 2014-09-28 15:11:49 +00:00
maximize SVN_SILENT made messages (.desktop file) 2014-10-29 08:42:18 +00:00
minimizeanimation [effects] Drop the .desktop files for the BuiltIn Effects 2014-04-28 13:52:43 +02:00
mouseclick Make constants const, saves a few symbols in the .data section. 2014-09-27 20:30:49 +02:00
mousemark Do not register dbus service org.kde.kwin.Effects 2014-05-15 10:55:29 +02:00
presentwindows Don't hardcode Present Windows close button size 2014-08-11 12:27:21 +02:00
resize Do not register dbus service org.kde.kwin.Effects 2014-05-15 10:55:29 +02:00
scalein SVN_SILENT made messages (.desktop file) 2014-05-03 08:32:58 +00:00
screenedge [effects] Drop the .desktop files for the BuiltIn Effects 2014-04-28 13:52:43 +02:00
screenshot screenshot: Use the new matrix API 2014-12-04 19:19:30 +01:00
sheet [effects] Drop the .desktop files for the BuiltIn Effects 2014-04-28 13:52:43 +02:00
showfps Do not register dbus service org.kde.kwin.Effects 2014-05-15 10:55:29 +02:00
showpaint [effects] Drop the .desktop files for the BuiltIn Effects 2014-04-28 13:52:43 +02:00
slide [effects] Drop the .desktop files for the BuiltIn Effects 2014-04-28 13:52:43 +02:00
slideback [effects] Drop the .desktop files for the BuiltIn Effects 2014-04-28 13:52:43 +02:00
slidingpopups [effects] Drop the .desktop files for the BuiltIn Effects 2014-04-28 13:52:43 +02:00
snaphelper [effects] Drop the .desktop files for the BuiltIn Effects 2014-04-28 13:52:43 +02:00
startupfeedback [effects] Add type property to StartupFeedback Effect 2014-10-20 14:50:41 +02:00
thumbnailaside Do not register dbus service org.kde.kwin.Effects 2014-05-15 10:55:29 +02:00
trackmouse make trackmouse FX account paintdata scale/trans 2014-07-10 13:36:44 +02:00
translucency Remove the decoration opacity property 2014-08-25 17:25:04 +02:00
windowgeometry SVN_SILENT made messages (.desktop file) 2014-06-10 10:37:36 +00:00
wobblywindows Make constants const, saves a few symbols in the .data section. 2014-09-27 20:30:49 +02:00
zoom SVN_SILENT made messages (.desktop file) 2014-09-28 15:11:49 +00:00
CMakeLists.txt Adjust effects_builtins for new ki18n 2014-05-05 08:03:54 +02:00
effect_builtins.cpp [kcmkwin/compositing] Use BuiltinEffects to find all built-in effects 2014-04-28 13:51:30 +02:00
effect_builtins.h Fix compilation with gcc-4.9 2014-04-29 07:49:54 +02:00
kwineffect.desktop SVN_SILENT made messages (.desktop file) 2014-05-03 08:32:58 +00:00
logging.cpp Changed debug statements in kwin/effects from qDebug() to qCDebug(KWINEFFECTS) 2013-11-29 08:47:56 +01:00
Messages.sh Remove temporary file 2008-07-02 07:04:51 +00:00