Commit Graph

10673 Commits (2f46414ea7a7565dd50980feda8d382e2f07ad92)

Author SHA1 Message Date
l10n daemon script 2f46414ea7 SVN_SILENT made messages (.desktop file) 2013-07-31 06:46:21 +00:00
l10n daemon script 8cae78b2d8 SVN_SILENT made messages (.desktop file) 2013-07-30 07:20:00 +00:00
Casian Andrei 4d24fe8b30 Fix many color correction problems with OpenGL ES
On GLES, check for OES_texture_3D extension for color correction

Remove a block of ugly hack code that was supposedly needed to build
with OpenGL ES.

Convert the lookup texture data to uint8 on OpenGL ES before sending it
via glTexImage3D, because uint16 is not supported.

Check if the shaders have been reinitialized successfuly when trying to
activate color correction, prevent black screens when there are issues
with the shaders.

BUG: 315419
REVIEW: 111225
(cherry picked from commit 68c68ee3c2b54f968c4d8275f1e8a2e0ccc90dd7)
2013-07-28 17:44:06 +03:00
Thomas Lübking 3aa2e22b32 fix passive startup feedback
BUG: 260727
FIXED-IN: 4.11
REVIEW: 111634
2013-07-24 21:04:32 +02:00
Thomas Lübking 10e7ef75ba harmonize combo/lineedit enabling connections
BUG: 322650
FIXED-IN: 4.11
REVIEW: 111627
2013-07-24 21:04:08 +02:00
Thomas Lübking 2a98e58d5e remove mouse polling from cube effect
entirely superfluous and causes laggy interaction

BUG: 308439
FIXED-IN: 4.11
REVIEW: 111669
2013-07-24 21:03:53 +02:00
l10n daemon script f433daf0cb SVN_SILENT made messages (.desktop file) 2013-07-24 06:42:52 +00:00
l10n daemon script 52461e5885 SVN_SILENT made messages (.desktop file) 2013-07-20 06:40:25 +00:00
Thomas Lübking 04aa9e9531 rather omit lanczos than capping windows
capping shadows is seen as bug (and is ugly and
because of the non lanczos transition causes visual
flicker) so if the window+shadows extends the buffer,
lanczos is simply not possible.

BUG: 314838
FIXED-IN: 4.11
REVIEW: 111425
2013-07-19 22:18:49 +02:00
Thomas Lübking 674a1a051f fix logout effect shaderfile locations
CCBUG: 322136
REVIEW: 111600
2013-07-19 22:18:14 +02:00
Thomas Lübking 7f858da008 ignore unredirection configuration on intel
the only thing it does on these systems is cause users
trouble because usually when there's a client where
unredirection makes sense, that uses OpenGL - and then
things break in the driver.

CCBUG: 252817
REVIEW: 111476
2013-07-19 21:20:12 +02:00
Thomas Lübking f97fa509ae align initial slider and desscription
BUG: 322522
FIXED-IN: 4.11
REVIEW: 111565
2013-07-19 21:19:49 +02:00
Thomas Lübking 8406aebda8 trigger quick tiling on edges of maximize area
screen area can be inacecssible due to panels

BUG: 322493
FIXED-IN: 4.11
REVIEW: 111556
2013-07-19 21:19:26 +02:00
Thomas Lübking d9b567699c connect shortcut editor changed signal
BUG: 322441
FIXED-IN: 4.11
REVIEW: 111550
2013-07-19 21:19:02 +02:00
Thomas Lübking 55daad4d68 sanitize screenedge activation timer logics
The logics relied on a static timout to arm the timer:
when last successfull activation had been longer ago than 250ms.

We now cap the configured reactivation timeout at min 250m
guessing that this was somehow supposed as well by this.

BUG: 322057
FIXED-IN: 4.11
REVIEW: 111549
2013-07-19 21:17:33 +02:00
Thomas Lübking b6c4f0a7fb fake mouse move to unhover close window on hide
BUG: 322260
FIXED-IN: 4.11
REVIEW: 111538
2013-07-19 21:17:16 +02:00
Thomas Lübking 287acae1db handle closebutton arm state inside effect only
the enabled/disabled change is a useless distraction

implicitly fixes
BUG: 321810
FIXED-IN: 4.11
REVIEW: 111538
2013-07-19 21:16:44 +02:00
Thomas Lübking 0f57c9407a depend titlebar protection dir pref on cap dir
when visualPixels is not 0, this means the titlebar does
not touch an upper/lower border, thus moving that direction
is ok and protection should be sought horizontally

BUG: 322507
FIXED-IN: 4.11
REVIEW: 111573
2013-07-19 21:16:15 +02:00
Thomas Lübking 02ed20662d prevent shrinking away titlebar f. bottom corners
it's the same condition as shriking away from plain edges
(one can resize exclusively in that direction as well)

REVIEW: 111573
2013-07-19 21:14:43 +02:00
Martin Gräßlin 93e2ce4bfd Use QVector instead of QList for the list of active effects
We only append to the list, so the advantage of insertion into QList
does not matter.

Thanks to Milian Wolff to point this out in his Akademy talk [1] and for
pointing me to Marc Mutz blog post [2] discussing this topic and
recommending the usage of QVector over QList.

[1] http://milianw.de/files/apps-on-speed-akademy2013/index.html
[2] http://marcmutz.wordpress.com/effective-qt/containers/

REVIEW: 111597
2013-07-19 16:03:50 +02:00
Martin Gräßlin 13ad458cca Use const_iterators for our Effect iterators
We never modify the list, so we don't need the mutuable iterator. This
ensures that the data doesn't get detached.
2013-07-19 16:03:50 +02:00
Martin Gräßlin 4ab0a6a223 Disable lanczos filter also for SandyBridge on Mesa 9.1
Debian gave me an update to 9.1 and I started feeling the pain...
Mesa 9.2 works fine on the same hardware.

REVIEW: 111558
2013-07-18 16:02:38 +02:00
l10n daemon script 2fc1ae684b SVN_SILENT made messages (.desktop file) 2013-07-14 06:59:57 +00:00
l10n daemon script 88e8e01ea7 SVN_SILENT made messages (.desktop file) 2013-07-13 06:44:24 +00:00
l10n daemon script f203861b12 SVN_SILENT made messages (.desktop file) 2013-07-10 02:34:48 +00:00
Thomas Lübking 3ad47552d0 non-empty attrib_list for glXCreateContextAttribsARB
empty list is legal but causes bogus context on at least i915

BUG: 321843
REVIEW: 111355
FIXED-IN: 4.11
2013-07-08 18:53:37 +02:00
Thomas Lübking 5bd49bfee2 update visibleRect when elevating toplevel
required to clean eg. the blur cache and because the
stacking changes.

BUG: 321831
FIXED-IN: 4.11
REVIEW: 111359
2013-07-08 18:53:37 +02:00
Thomas Lübking 5cf328fbec ensure to not add NULL effect windows to stacking
happens during threaded startup and crashes in blur effect
when initially enabled

REVIEW: 111360
2013-07-08 18:53:37 +02:00
Thomas Lübking 3b285ba572 don't query effects threaded
calls sycoca/kconfiggroup...

BUG: 321576
FIXED-IN: 4.11
REVIEW: 111374
2013-07-08 18:53:36 +02:00
Thomas Lübking 9f69a793e8 fix GL1.2 saturation modulation for non opaques
whether a window is ARGB or just not opaque does
not matter

BUG: 319091
FIXED-IN: 4.11
REVIEW: 111433
2013-07-08 18:53:36 +02:00
Thomas Lübking bcf6c9c319 use configured xrender filter
that's why it's configured

REVIEW: 111428
BUG: 322074
FIXED-IN: 4.11
2013-07-08 18:53:36 +02:00
Martin Gräßlin 2689bcbec4 ScopedCPointer instead of QScopedPointer 2013-07-08 08:34:06 +02:00
Martin Gräßlin 71940e879d Fix modulation in Invert effect
Thanks to Kevin for spotting and providing a fix.

BUG: 322013
FIXED-IN: 4.11
2013-07-08 08:31:51 +02:00
l10n daemon script 93ca1c4396 SVN_SILENT made messages (.desktop file) 2013-07-08 04:04:09 +00:00
Fredrik Höglund 4b120288b6 kwin: Use glBufferSubData() when preferred
Use glBufferData() to reallocate the data store, and glBufferSubData()
to upload data to unused ranges of vertex buffers.
2013-07-08 01:23:38 +02:00
Fredrik Höglund 9de4c490ba kwin: Add GLPlatform::preferBufferSubData()
This method returns true when glMapBufferRange() is likely to perform
worse than glBufferSubData() when updating an unused range in a buffer
object.

This is the case with the NVIDIA driver, where glMapBufferRange()
will force thread serialization. The driver tracks which ranges of
the buffer are in use, so calls to glBufferSubData() should not
cause a pipeline stall.
2013-07-08 01:23:37 +02:00
Christoph Feck 4e897f2315 Fix crash after zoom when not using XRender
Commit for bug 304435 missed a check for OpenGL.
OK'd by Thomas Lübking.

BUG: 322073
2013-07-08 00:22:27 +02:00
l10n daemon script 205c557f89 SVN_SILENT made messages (.desktop file) 2013-07-05 03:48:50 +00:00
l10n daemon script cc001b9be0 SVN_SILENT made messages (.desktop file) 2013-07-04 03:55:20 +00:00
Fredrik Höglund a87e8f5e8e kwin: Drop the xcb_icccm dependency
This dependency is causing build problems on a number of systems,
and it doesn't make much sense to bring in a whole library for three
one-line convenience functions.
2013-07-02 00:21:32 +02:00
Thomas Lübking a3d502338d delay adding Unmanaged clients by 50ms
This provides some sort of synthetic XSYNC support
for unmanaged clients and allows them to do an initial
update after mapping and before being painted (prevent
flicker)
Also it helps with Unmanaged clients performing quick
map/unmap/map cycles what also seems to induce the black
window issue on the nvidia blob.

CCBUG: 284888
BUG: 319184
FIXED-IN: 4.11
REVIEW: 111292
2013-07-01 21:19:54 +02:00
Thomas Lübking f71457b2cf Don't highlight hoverd window while PW start/stops
Instead have a synthetic motion after the effect started
and explicitly set the selected window on click/drags

BUG: 314840
BUG: 314715
FIXED-IN: 4.11
CCBUG: 314717
REVIEW: 111276
2013-07-01 21:19:53 +02:00
Thomas Lübking eb647c7489 do not emit maximizeChange if mode didn't change
BUG: 321638
FIXED-IN: 4.11
REVIEW: 111262
2013-07-01 21:19:53 +02:00
Thomas Lübking 9694330aa8 grant minimizability to transient special clients
This will not provide a 100% fix, since at least KMainWindow
toolbars at some point start to behave like override_redirects

BUG: 320921
REVIEW: 111303
FIXED-IN: 4.11
2013-07-01 21:19:53 +02:00
Thomas Lübking 89a1027ac8 fix secondary test for hiding utility windows
broke with 2ae475ce
CCBUG: 320921
REVIEW: 111302
2013-07-01 21:19:52 +02:00
l10n daemon script dcd670692b SVN_SILENT made messages (.desktop file) 2013-07-01 03:54:58 +00:00
l10n daemon script b83d4b1583 SVN_SILENT made messages (.desktop file) 2013-06-30 03:57:16 +00:00
Fredrik Höglund 6562fcc665 kwin: Don't query GL_VIEWPORT in pushRenderTarget()
Assume that the default framebuffer has the same dimensions as the screen.

By not quering the dimensions of the viewport we don't risk serialization
in drivers that use threaded dispatch.
2013-06-27 00:06:54 +02:00
Fredrik Höglund 7124f5190b Revert "kwin: Make WindowQuadList inherit from QVector"
This reverts commit 23dff966437bb664a2ffdb3f7957ef39978f5fad.

Using QVector is not a win when effects such as wobbly windows are
active, due to the realloc overhead. So revert this change for now.
2013-06-27 00:06:49 +02:00
Martin Gräßlin db2e6687e1 Remove dead assignment in GLVertexBuffer::draw
Variable primitiveMode is not read in the branch and there's a return in
the same branch.

REVIEW: 111192
2013-06-26 17:58:48 +02:00