diff options
author | Adam Jackson <ajax@redhat.com> | 2017-02-16 14:56:45 -0500 |
---|---|---|
committer | Adam Jackson <ajax@redhat.com> | 2017-03-01 10:16:20 -0500 |
commit | dc7ceda90fdedb2212f105095fe8d449bfdb0eb4 (patch) | |
tree | 3ac043c6520ea3a18987ec97792510f5906af74b /damageext | |
parent | 8c9909a99292b2fb4a86de694bb0029f61e35662 (diff) |
dispatch: Mark swapped dispatch as _X_COLD
This touches everything that ends up in the Xorg binary; the big missing
part is GLX since that's all generated code. Cuts about 14k from the
binary on amd64.
Signed-off-by: Adam Jackson <ajax@redhat.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
Diffstat (limited to 'damageext')
-rw-r--r-- | damageext/damageext.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/damageext/damageext.c b/damageext/damageext.c index 86b54eef4..b186d2c40 100644 --- a/damageext/damageext.c +++ b/damageext/damageext.c @@ -489,7 +489,7 @@ ProcDamageDispatch(ClientPtr client) return (*ProcDamageVector[stuff->damageReqType]) (client); } -static int +static int _X_COLD SProcDamageQueryVersion(ClientPtr client) { REQUEST(xDamageQueryVersionReq); @@ -501,7 +501,7 @@ SProcDamageQueryVersion(ClientPtr client) return (*ProcDamageVector[stuff->damageReqType]) (client); } -static int +static int _X_COLD SProcDamageCreate(ClientPtr client) { REQUEST(xDamageCreateReq); @@ -513,7 +513,7 @@ SProcDamageCreate(ClientPtr client) return (*ProcDamageVector[stuff->damageReqType]) (client); } -static int +static int _X_COLD SProcDamageDestroy(ClientPtr client) { REQUEST(xDamageDestroyReq); @@ -524,7 +524,7 @@ SProcDamageDestroy(ClientPtr client) return (*ProcDamageVector[stuff->damageReqType]) (client); } -static int +static int _X_COLD SProcDamageSubtract(ClientPtr client) { REQUEST(xDamageSubtractReq); @@ -537,7 +537,7 @@ SProcDamageSubtract(ClientPtr client) return (*ProcDamageVector[stuff->damageReqType]) (client); } -static int +static int _X_COLD SProcDamageAdd(ClientPtr client) { REQUEST(xDamageAddReq); @@ -559,7 +559,7 @@ static int (*SProcDamageVector[XDamageNumberRequests]) (ClientPtr) = { SProcDamageAdd, }; -static int +static int _X_COLD SProcDamageDispatch(ClientPtr client) { REQUEST(xDamageReq); @@ -584,7 +584,7 @@ FreeDamageExt(void *value, XID did) return Success; } -static void +static void _X_COLD SDamageNotifyEvent(xDamageNotifyEvent * from, xDamageNotifyEvent * to) { to->type = from->type; |