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 /dri3 | |
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 'dri3')
-rw-r--r-- | dri3/dri3_request.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/dri3/dri3_request.c b/dri3/dri3_request.c index 8c15dbe16..b28d883a5 100644 --- a/dri3/dri3_request.c +++ b/dri3/dri3_request.c @@ -319,7 +319,7 @@ proc_dri3_dispatch(ClientPtr client) return (*proc_dri3_vector[stuff->data]) (client); } -static int +static int _X_COLD sproc_dri3_query_version(ClientPtr client) { REQUEST(xDRI3QueryVersionReq); @@ -331,7 +331,7 @@ sproc_dri3_query_version(ClientPtr client) return (*proc_dri3_vector[stuff->dri3ReqType]) (client); } -static int +static int _X_COLD sproc_dri3_open(ClientPtr client) { REQUEST(xDRI3OpenReq); @@ -343,7 +343,7 @@ sproc_dri3_open(ClientPtr client) return (*proc_dri3_vector[stuff->dri3ReqType]) (client); } -static int +static int _X_COLD sproc_dri3_pixmap_from_buffer(ClientPtr client) { REQUEST(xDRI3PixmapFromBufferReq); @@ -359,7 +359,7 @@ sproc_dri3_pixmap_from_buffer(ClientPtr client) return (*proc_dri3_vector[stuff->dri3ReqType]) (client); } -static int +static int _X_COLD sproc_dri3_buffer_from_pixmap(ClientPtr client) { REQUEST(xDRI3BufferFromPixmapReq); @@ -370,7 +370,7 @@ sproc_dri3_buffer_from_pixmap(ClientPtr client) return (*proc_dri3_vector[stuff->dri3ReqType]) (client); } -static int +static int _X_COLD sproc_dri3_fence_from_fd(ClientPtr client) { REQUEST(xDRI3FenceFromFDReq); @@ -382,7 +382,7 @@ sproc_dri3_fence_from_fd(ClientPtr client) return (*proc_dri3_vector[stuff->dri3ReqType]) (client); } -static int +static int _X_COLD sproc_dri3_fd_from_fence(ClientPtr client) { REQUEST(xDRI3FDFromFenceReq); @@ -403,7 +403,7 @@ int (*sproc_dri3_vector[DRI3NumberRequests]) (ClientPtr) = { sproc_dri3_fd_from_fence, /* 5 */ }; -int +int _X_COLD sproc_dri3_dispatch(ClientPtr client) { REQUEST(xReq); |