Diffusion KWin 7fa62bfa51c3

kwin: Use the new map() interface in renderQuads()

Authored by fredrik on Sep 18 2012, 8:24 PM.

Description

kwin: Use the new map() interface in renderQuads()

Write the vertex data directly into the buffer object, instead of
allocating two temporary arrays, coyping the data into them, and
then copying the data from the arrays into the buffer object.

This also makes renderQuads() handle coordinates for rectangular
textures correctly.

Details

Committed
fredrikMay 28 2013, 4:13 PM
Parents
R108:e2e4f1f01b3a: kwin: Use the new map() interface in makeDecorationArrays()
Branches
Unknown
Tags
Unknown