Skip to content
Commit 15d1bc6b authored by Fredrik Höglund's avatar Fredrik Höglund
Browse files

kwin: Use texture atlases for the decorations

Use two textures per window instead of four, storing the left and
right borders in the first texture, and the top and bottom borders
in the second.

This makes it possible to render the whole decoration with only two
calls to glDrawArrays(). It also reduces the number of texture
allocations while resizing a window.
parent 4b546557
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment