Diffusion KWin b837a3fca184

Render Shadow with only one GL texture

Authored by graesslin.

Description

Render Shadow with only one GL texture

Copies the shadow parts into one image and creates a GLTexture
from the image, so that we can render the complete shadow with
just one texture and one painting pass.

Should remove most of the overhead involved when rendering the new Shadows.

As a side effect this should fix missing shadows with non-NPOT GPUs and
a rendering glitch reported with NVIDIA.

REVIEW: 101742

Details

Committed
graesslinJul 3 2011, 7:24 AM
Parents
R108:a1b110634f6f: zoom effect: fix xcursor loading, implement cursor scaling for XRender
Branches
Unknown
Tags
Unknown