diff options
author | Emil Velikov <emil.velikov@collabora.com> | 2018-04-02 16:41:24 +0100 |
---|---|---|
committer | Adam Jackson <ajax@redhat.com> | 2018-04-10 15:42:40 -0400 |
commit | a42992a4cca49cedd3930f5694c7a16e4f614b36 (patch) | |
tree | 46ab511445b3a3cebfe277dfcfcb276341cd9a2f /config/dbus-core.c | |
parent | 71a069fd7fbe815d386fc1b3c44cda732cff7af0 (diff) |
dri3: rework format/modifier caching
Cut down the unnecessary malloc/memcpy/free by utilising the explicit
copy provided by the client.
But above all: do so, after ensuring we get valid data from the
implementation.
Fixes: cef12efc15c ("glamor: Implement GetSupportedModifiers")
Cc: Louis-Francis Ratté-Boulianne <lfrb@collabora.com>
Cc: Daniel Stone <daniels@collabora.com>
Reviewed-by: Adam Jackson <ajax@redhat.com>
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Diffstat (limited to 'config/dbus-core.c')
0 files changed, 0 insertions, 0 deletions