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 /dbe | |
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 'dbe')
-rw-r--r-- | dbe/dbe.c | 14 |
1 files changed, 7 insertions, 7 deletions
@@ -811,7 +811,7 @@ ProcDbeDispatch(ClientPtr client) * *****************************************************************************/ -static int +static int _X_COLD SProcDbeGetVersion(ClientPtr client) { REQUEST(xDbeGetVersionReq); @@ -844,7 +844,7 @@ SProcDbeGetVersion(ClientPtr client) * *****************************************************************************/ -static int +static int _X_COLD SProcDbeAllocateBackBufferName(ClientPtr client) { REQUEST(xDbeAllocateBackBufferNameReq); @@ -877,7 +877,7 @@ SProcDbeAllocateBackBufferName(ClientPtr client) * *****************************************************************************/ -static int +static int _X_COLD SProcDbeDeallocateBackBufferName(ClientPtr client) { REQUEST(xDbeDeallocateBackBufferNameReq); @@ -912,7 +912,7 @@ SProcDbeDeallocateBackBufferName(ClientPtr client) * *****************************************************************************/ -static int +static int _X_COLD SProcDbeSwapBuffers(ClientPtr client) { REQUEST(xDbeSwapBuffersReq); @@ -960,7 +960,7 @@ SProcDbeSwapBuffers(ClientPtr client) * *****************************************************************************/ -static int +static int _X_COLD SProcDbeGetVisualInfo(ClientPtr client) { REQUEST(xDbeGetVisualInfoReq); @@ -991,7 +991,7 @@ SProcDbeGetVisualInfo(ClientPtr client) * *****************************************************************************/ -static int +static int _X_COLD SProcDbeGetBackBufferAttributes(ClientPtr client) { REQUEST(xDbeGetBackBufferAttributesReq); @@ -1015,7 +1015,7 @@ SProcDbeGetBackBufferAttributes(ClientPtr client) * *****************************************************************************/ -static int +static int _X_COLD SProcDbeDispatch(ClientPtr client) { REQUEST(xReq); |