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
Please register or sign in to comment