kwin/libkwineffects
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
..
autotests Unit test for WindowQuadList::makeGrid and ::makeRegularGrid 2013-11-25 09:27:31 +01:00
anidata.cpp Make constants const, saves a few symbols in the .data section. 2014-09-27 20:30:49 +02:00
anidata_p.h add effect debug interface and dbus export 2013-03-28 20:31:02 +01:00
CMakeLists.txt use standard way to version applications in Plasma 2014-08-20 15:43:27 +02:00
kwinanimationeffect.cpp Remove displayWidth and displayHeight from the compositor 2014-11-27 09:00:19 +01:00
kwinanimationeffect.h Remove the decoration opacity property 2014-08-25 17:25:04 +02:00
kwinconfig.h.cmake Provide OpenGL over Egl 2012-10-04 17:17:01 +02:00
kwineffects.cpp Add a model-view and a projection matrix in WindowPaintData 2014-12-04 19:19:30 +01:00
kwineffects.h Add a model-view and a projection matrix in WindowPaintData 2014-12-04 19:19:30 +01:00
kwinglcolorcorrection.cpp Remove most calls to checkGLError() 2014-11-25 21:57:57 +01:00
kwinglcolorcorrection.h Replace NULL with nullptr in libkwineffects 2014-01-08 11:55:49 +01:00
kwinglcolorcorrection_p.h Remove most calls to checkGLError() 2014-11-25 21:57:57 +01:00
kwinglobals.h Create dedicated kwin_x11 and kwin_wayland binaries 2014-08-18 08:50:44 +02:00
kwinglplatform.cpp Merge branch 'Plasma/5.0' 2014-07-22 13:22:48 +02:00
kwinglplatform.h [kwinglutils] Add ::platformInterface() to GLPlatform 2014-05-13 09:23:03 +02:00
kwingltexture.cpp Add a levels parameter to the GLTexture ctor 2014-12-14 18:33:52 +01:00
kwingltexture.h Add a levels parameter to the GLTexture ctor 2014-12-14 18:33:52 +01:00
kwingltexture_p.h Add a levels parameter to the GLTexture ctor 2014-12-14 18:33:52 +01:00
kwinglutils.cpp Test the generated shaders on startup 2014-12-04 19:19:30 +01:00
kwinglutils.h Test the generated shaders on startup 2014-12-04 19:19:30 +01:00
kwinglutils_funcs.cpp Make the GL extension list a QList<QByteArray> 2014-07-14 12:04:37 +02:00
kwinglutils_funcs.h Fix the GLES build 2014-07-22 13:07:48 +02:00
kwinxrenderutils.cpp Add XRenderUtils::findPictFormat() and findPictFormatInfo() 2014-09-01 17:45:58 +02:00
kwinxrenderutils.h Add XRenderUtils::findPictFormat() and findPictFormatInfo() 2014-09-01 17:45:58 +02:00
Mainpage.dox Move kwineffects library into own directory 2011-02-19 10:01:31 +01:00
Messages.sh Improve message extraction 2011-02-20 16:02:33 +01:00