Bug ID: 393073
           Summary: Perspective incorrect texture mapping
           Product: kwin
           Version: unspecified
          Platform: Other
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: scene-opengl
  Target Milestone: ---

Created attachment 111982
Window texture is not interpolated correctly across the trapezoid. There
shouldn't be any triangles.

Steps to reproduce:

* Apply the following patch
diff --git a/effects/magiclamp/magiclamp.cpp b/effects/magiclamp/magiclamp.cpp
index a392d4942..a95efa16c 100644
--- a/effects/magiclamp/magiclamp.cpp
+++ b/effects/magiclamp/magiclamp.cpp
@@ -91,7 +91,6 @@ void MagicLampEffect::prePaintWindow(EffectWindow* w,
WindowPrePaintData& data,
     if (mTimeLineWindows.contains(w)) {
         // We'll transform this window
-        data.quads = data.quads.makeGrid(40);

* Enable Magic lamp
* Set duration to 5000
* Minimize a window

Actual results:
Textures aren't properly mapped.

Expected results:
Textures should have been mapped something like this

Please note that Magic lamp behaves weird when the grid consists only of 1
cell, but this bug report
not about that! This bug report about correct texture mapping when window quads
have been transformed.


Another view on the problem:

On the left hand side: what KWin is currently doing, on the right hand side:
what KWin should do.

You are receiving this mail because:
You are watching all bug changes.

Reply via email to