Commit Graph

7882 Commits (175b45c5def9ddc0c168d00b1d3497c24ecccb19)

Author SHA1 Message Date
Martin Gräßlin b145ad6065 Lanczos not available in ES 2011-01-30 14:11:56 +01:00
Martin Gräßlin 5fae85f2a5 Scene OpenGL compiles with ES
It's mostly just ifdef away everything that cannot work.
Needs to be split into a scene_xgl and scene_egl.
2011-01-30 14:11:56 +01:00
Martin Gräßlin 1947f67e80 Temporarily disable building of effects in ES mode 2011-01-30 14:11:56 +01:00
Martin Gräßlin e25f43ceb0 Attribute stack not available in ES 2011-01-30 14:11:56 +01:00
Martin Gräßlin 70e167aca7 GLPlatform not available in OpenGL ES
Should be replaced by a short implementation
2011-01-30 14:11:56 +01:00
Martin Gräßlin 2db7538891 ShaderEffect not available in OpenGL ES.
Deprecate the ShaderEffect, will probably be dropped in 4.7
2011-01-30 14:11:56 +01:00
Martin Gräßlin 2cf5f79880 Remove some more unsupported functions 2011-01-30 14:11:56 +01:00
Martin Gräßlin fd8dfa2084 OpenGL ES always supports VBO 2011-01-30 14:11:56 +01:00
Martin Gräßlin e5640dc655 ES does not support Vertex array - only use core painting 2011-01-30 14:11:56 +01:00
Martin Gräßlin b13f3f5f11 In ES it's GL_FRAMEBUFFER instead of GL_FRAMEBUFFER_EXT
I hope this does not break in desktop mode.
2011-01-30 14:11:55 +01:00
Martin Gräßlin 90eb1ed1a0 No GL_TEXTURE_RECTANGLE_ARB in ES 2011-01-30 14:11:55 +01:00
Martin Gräßlin d7321dae71 ES does not support GL_RGBA8 and GL_BGRA for textures 2011-01-30 14:11:55 +01:00
Martin Gräßlin d4e75aa1da RenderGLGeometry and texture coord normalization are noops in ES 2011-01-30 14:11:55 +01:00
Martin Gräßlin e87e2b43a2 Use OpenGL ES 2 for mobile 2011-01-30 14:11:55 +01:00
Martin Gräßlin aefb076a7b OpenGL ES does not support Quads 2011-01-30 14:11:55 +01:00
Martin Gräßlin faa86c2464 We do not need to resolve extensions in OpenGL ES.
Therefore the kwinglutils_funcs.h includes just GLES/gl.h and
the .cpp does not do anything
2011-01-30 14:11:55 +01:00
Martin Gräßlin 8f2f126c31 CMake check to find OpenGLES 2011-01-30 14:11:55 +01:00
Martin Gräßlin 6cc19ebc7d OpenGL rendering debug
Renders same geometry with polygon mode lines and the shader colorizes the fragments.
Enabled with environment variable KWIN_GL_DEBUG=1
2011-01-30 14:11:55 +01:00
Martin Gräßlin 56ce39def8 Core profile compatible basic scene rendering.
Adds a shader to render an untransformed scene. renderGLGeometry is not used any more and replaced by generated triangles stored in a GLVertexBuffer.
The GLVertexBuffer has a new attribute to decide whether a core profile compatible rendering has to be performed.
Currently windows and EffectFrames can make use of the new shader.
The shader contains a debug mode which colours all rendered fragments in green. It is currently enabled in scene_opengl.
Rendering transformed geometries (without shader) is currently broken.
2011-01-30 14:11:55 +01:00
Hugo Pereira Da Costa 71d4bdd45d added dbus signal+connection to update shadows on fly in demo.
svn path=/trunk/KDE/kdebase/workspace/; revision=1217941
2011-01-29 18:33:01 +00:00
Hugo Pereira Da Costa fdddfcf9ee Added oxygen-shadow-demo to demonstrate shadow painting, add the possibility to save pixmaps
into files, and for debugging.

svn path=/trunk/KDE/kdebase/workspace/; revision=1217934
2011-01-29 18:12:23 +00:00
Hugo Pereira Da Costa 025e7a5859 Fixed some coding style.
Changed tileset definition so that all shadow pixmaps have same size.

svn path=/trunk/KDE/kdebase/workspace/; revision=1217933
2011-01-29 18:10:00 +00:00
Hugo Pereira Da Costa 5a41506500 Fixed typo on saving offsets.
svn path=/trunk/KDE/kdebase/workspace/; revision=1217908
2011-01-29 14:55:14 +00:00
Script Kiddy 8ac192425f SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=1217852
2011-01-29 06:08:12 +00:00
Hugo Pereira Da Costa 92bea91686 - moved rendering of antialiased corners from Oxygen::ShadowCache to Oxygen::Client.
- simplified caching of ShadowCache accordingly. Notably, it should make it easier to pass the shadows to kwin.
- removed unnecessary QPainter::save()/restore() calls
- set painter AntiAliasing render hint earlier in Client::paintEvent
- modified drawing of drop target rect accordingly.
- oh. And fixed krazy warnings.

svn path=/trunk/KDE/kdebase/workspace/; revision=1217439
2011-01-27 09:40:48 +00:00
Hugo Pereira Da Costa 37d8ffe6e4 added flag to disable drawing of "corners" in shadows.
svn path=/trunk/KDE/kdebase/workspace/; revision=1217366
2011-01-26 21:28:39 +00:00
Script Kiddy 277816922d SVN_SILENT made messages (.desktop file)
svn path=/branches/KDE/4.6/kdebase/workspace/; revision=1217036
2011-01-25 13:53:56 +00:00
Script Kiddy df48bd6ebb SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=1216405
2011-01-23 06:04:10 +00:00
Script Kiddy 6eadf5a025 SVN_SILENT made messages (.desktop file)
svn path=/branches/KDE/4.6/kdebase/workspace/; revision=1216106
2011-01-21 12:02:04 +00:00
Script Kiddy a238e774e4 SVN_SILENT made messages (.desktop file)
svn path=/branches/KDE/4.6/kdebase/workspace/; revision=1215940
2011-01-20 11:53:16 +00:00
Script Kiddy c04d3a5f0f SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=1215892
2011-01-20 06:11:35 +00:00
Fredrik Höglund 945b62fa79 Disable and delete the fragment program if it fails to compile.
svn path=/branches/KDE/4.6/kdebase/workspace/; revision=1215777
2011-01-19 16:40:37 +00:00
Script Kiddy dd50425b71 SVN_SILENT made messages (.desktop file)
svn path=/branches/KDE/4.6/kdebase/workspace/; revision=1215720
2011-01-19 12:37:25 +00:00
Script Kiddy c14986168c SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=1215655
2011-01-19 06:32:58 +00:00
Fredrik Höglund e7d37dfbb3 Don't specify the texture target explicitly with r300g.
This is reported to cause a performance regression.

FIXED-IN: 4.6.0
BUG: 256654

svn path=/branches/KDE/4.6/kdebase/workspace/; revision=1215519
2011-01-18 23:09:59 +00:00
Fredrik Höglund 35dcccb847 Rewrite the ARB lanczos shader to work with the Radeon R300 limitations.
svn path=/branches/KDE/4.6/kdebase/workspace/; revision=1215505
2011-01-18 22:43:08 +00:00
Fredrik Höglund b51ef59c7c Disable the lanczos filter with the Intel driver in Mesa 7.10.
It's reported to cause kwin to hang when rendering thumbnails.

svn path=/branches/KDE/4.6/kdebase/workspace/; revision=1215502
2011-01-18 22:36:58 +00:00
Script Kiddy 0e05e3fb25 SVN_SILENT made messages (.desktop file)
svn path=/branches/KDE/4.6/kdebase/workspace/; revision=1215360

The following changes were in SVN, but were removed from git:

M	wallpapers/Horos/metadata.desktop
2011-01-18 12:31:25 +00:00
Script Kiddy b592e38a73 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=1215307
2011-01-18 07:23:06 +00:00
Script Kiddy 8c8a717eb4 SVN_SILENT made messages (.desktop file)
svn path=/branches/KDE/4.6/kdebase/workspace/; revision=1215032

The following changes were in SVN, but were removed from git:

M	wallpapers/Blue_Wood/metadata.desktop
M	wallpapers/Grass/metadata.desktop
2011-01-17 11:25:39 +00:00
Script Kiddy d841b706ca SVN_SILENT made messages (.desktop file)
svn path=/branches/KDE/4.6/kdebase/workspace/; revision=1214777

The following changes were in SVN, but were removed from git:

M	wallpapers/Autumn/metadata.desktop
M	wallpapers/Fields_of_Peace/metadata.desktop
M	wallpapers/Grass/metadata.desktop
M	wallpapers/Hanami/metadata.desktop
M	wallpapers/Horos/metadata.desktop
M	wallpapers/Media_Life/metadata.desktop
2011-01-16 11:10:58 +00:00
Martin Gräßlin cf553792a9 Forward port 1214767: Honor font settings in Aurorae.
CCBUG: 249681

svn path=/trunk/KDE/kdebase/workspace/; revision=1214768
2011-01-16 10:25:22 +00:00
Martin Gräßlin 1fa756954b Honor font settings in Aurorae.
BUG: 249681
FIXED-IN: 4.6.0


svn path=/branches/KDE/4.6/kdebase/workspace/; revision=1214767
2011-01-16 10:24:03 +00:00
Script Kiddy c5b05f016c SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=1214743

The following changes were in SVN, but were removed from git:

M	wallpapers/Blue_Wood/metadata.desktop
M	wallpapers/Grass/metadata.desktop
2011-01-16 05:45:12 +00:00
Martin Gräßlin f5da52f78b Backport rev 1214264: Include the desktop window from active screen in alt+tab.
For the tabbox mode to include the desktop window a random desktop
window was picked in a multi screen setup. Now the desktop window
of the current active screen is picked.
CCBUG: 262139


svn path=/branches/KDE/4.6/kdebase/workspace/; revision=1214265
2011-01-13 20:40:30 +00:00
Martin Gräßlin acfc2c0b31 Include the desktop window from active screen in alt+tab.
For the tabbox mode to include the desktop window a random desktop
window was picked in a multi screen setup. Now the desktop window
of the current active screen is picked.
CCBUG: 262139

svn path=/trunk/KDE/kdebase/workspace/; revision=1214264
2011-01-13 20:36:23 +00:00
Thomas Lübking 1d9d989735 backport 1214238, VD constrainment
CCBUG: 261665


svn path=/branches/KDE/4.6/kdebase/workspace/; revision=1214242
2011-01-13 19:08:41 +00:00
Thomas Lübking 628ceadb99 constrain number of virtual desktops
BUG: 261665

svn path=/trunk/KDE/kdebase/workspace/; revision=1214238
2011-01-13 19:05:28 +00:00
Chani Armitage 6bfeef78a6 backport r1214045: improve stack & focuschain activity checks
CCBUG: 262730

svn path=/branches/KDE/4.6/kdebase/workspace/; revision=1214046
2011-01-12 18:11:12 +00:00
Chani Armitage d18e95f9a6 improve stack & focuschain activity checks
BUG: 262730

svn path=/trunk/KDE/kdebase/workspace/; revision=1214045
2011-01-12 18:08:59 +00:00