summaryrefslogtreecommitdiff
path: root/render
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2017-02-16 14:56:45 -0500
committerAdam Jackson <ajax@redhat.com>2017-03-01 10:16:20 -0500
commitdc7ceda90fdedb2212f105095fe8d449bfdb0eb4 (patch)
tree3ac043c6520ea3a18987ec97792510f5906af74b /render
parent8c9909a99292b2fb4a86de694bb0029f61e35662 (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 'render')
-rw-r--r--render/render.c74
1 files changed, 37 insertions, 37 deletions
diff --git a/render/render.c b/render/render.c
index b9a932ee3..8dc1f3425 100644
--- a/render/render.c
+++ b/render/render.c
@@ -1978,7 +1978,7 @@ ProcRenderDispatch(ClientPtr client)
return BadRequest;
}
-static int
+static int _X_COLD
SProcRenderQueryVersion(ClientPtr client)
{
REQUEST(xRenderQueryVersionReq);
@@ -1989,7 +1989,7 @@ SProcRenderQueryVersion(ClientPtr client)
return (*ProcRenderVector[stuff->renderReqType]) (client);
}
-static int
+static int _X_COLD
SProcRenderQueryPictFormats(ClientPtr client)
{
REQUEST(xRenderQueryPictFormatsReq);
@@ -1998,7 +1998,7 @@ SProcRenderQueryPictFormats(ClientPtr client)
return (*ProcRenderVector[stuff->renderReqType]) (client);
}
-static int
+static int _X_COLD
SProcRenderQueryPictIndexValues(ClientPtr client)
{
REQUEST(xRenderQueryPictIndexValuesReq);
@@ -2008,13 +2008,13 @@ SProcRenderQueryPictIndexValues(ClientPtr client)
return (*ProcRenderVector[stuff->renderReqType]) (client);
}
-static int
+static int _X_COLD
SProcRenderQueryDithers(ClientPtr client)
{
return BadImplementation;
}
-static int
+static int _X_COLD
SProcRenderCreatePicture(ClientPtr client)
{
REQUEST(xRenderCreatePictureReq);
@@ -2028,7 +2028,7 @@ SProcRenderCreatePicture(ClientPtr client)
return (*ProcRenderVector[stuff->renderReqType]) (client);
}
-static int
+static int _X_COLD
SProcRenderChangePicture(ClientPtr client)
{
REQUEST(xRenderChangePictureReq);
@@ -2040,7 +2040,7 @@ SProcRenderChangePicture(ClientPtr client)
return (*ProcRenderVector[stuff->renderReqType]) (client);
}
-static int
+static int _X_COLD
SProcRenderSetPictureClipRectangles(ClientPtr client)
{
REQUEST(xRenderSetPictureClipRectanglesReq);
@@ -2053,7 +2053,7 @@ SProcRenderSetPictureClipRectangles(ClientPtr client)
return (*ProcRenderVector[stuff->renderReqType]) (client);
}
-static int
+static int _X_COLD
SProcRenderFreePicture(ClientPtr client)
{
REQUEST(xRenderFreePictureReq);
@@ -2063,7 +2063,7 @@ SProcRenderFreePicture(ClientPtr client)
return (*ProcRenderVector[stuff->renderReqType]) (client);
}
-static int
+static int _X_COLD
SProcRenderComposite(ClientPtr client)
{
REQUEST(xRenderCompositeReq);
@@ -2083,13 +2083,13 @@ SProcRenderComposite(ClientPtr client)
return (*ProcRenderVector[stuff->renderReqType]) (client);
}
-static int
+static int _X_COLD
SProcRenderScale(ClientPtr client)
{
return BadImplementation;
}
-static int
+static int _X_COLD
SProcRenderTrapezoids(ClientPtr client)
{
REQUEST(xRenderTrapezoidsReq);
@@ -2105,7 +2105,7 @@ SProcRenderTrapezoids(ClientPtr client)
return (*ProcRenderVector[stuff->renderReqType]) (client);
}
-static int
+static int _X_COLD
SProcRenderTriangles(ClientPtr client)
{
REQUEST(xRenderTrianglesReq);
@@ -2121,7 +2121,7 @@ SProcRenderTriangles(ClientPtr client)
return (*ProcRenderVector[stuff->renderReqType]) (client);
}
-static int
+static int _X_COLD
SProcRenderTriStrip(ClientPtr client)
{
REQUEST(xRenderTriStripReq);
@@ -2137,7 +2137,7 @@ SProcRenderTriStrip(ClientPtr client)
return (*ProcRenderVector[stuff->renderReqType]) (client);
}
-static int
+static int _X_COLD
SProcRenderTriFan(ClientPtr client)
{
REQUEST(xRenderTriFanReq);
@@ -2153,25 +2153,25 @@ SProcRenderTriFan(ClientPtr client)
return (*ProcRenderVector[stuff->renderReqType]) (client);
}
-static int
+static int _X_COLD
SProcRenderColorTrapezoids(ClientPtr client)
{
return BadImplementation;
}
-static int
+static int _X_COLD
SProcRenderColorTriangles(ClientPtr client)
{
return BadImplementation;
}
-static int
+static int _X_COLD
SProcRenderTransform(ClientPtr client)
{
return BadImplementation;
}
-static int
+static int _X_COLD
SProcRenderCreateGlyphSet(ClientPtr client)
{
REQUEST(xRenderCreateGlyphSetReq);
@@ -2182,7 +2182,7 @@ SProcRenderCreateGlyphSet(ClientPtr client)
return (*ProcRenderVector[stuff->renderReqType]) (client);
}
-static int
+static int _X_COLD
SProcRenderReferenceGlyphSet(ClientPtr client)
{
REQUEST(xRenderReferenceGlyphSetReq);
@@ -2193,7 +2193,7 @@ SProcRenderReferenceGlyphSet(ClientPtr client)
return (*ProcRenderVector[stuff->renderReqType]) (client);
}
-static int
+static int _X_COLD
SProcRenderFreeGlyphSet(ClientPtr client)
{
REQUEST(xRenderFreeGlyphSetReq);
@@ -2203,7 +2203,7 @@ SProcRenderFreeGlyphSet(ClientPtr client)
return (*ProcRenderVector[stuff->renderReqType]) (client);
}
-static int
+static int _X_COLD
SProcRenderAddGlyphs(ClientPtr client)
{
register int i;
@@ -2237,13 +2237,13 @@ SProcRenderAddGlyphs(ClientPtr client)
return (*ProcRenderVector[stuff->renderReqType]) (client);
}
-static int
+static int _X_COLD
SProcRenderAddGlyphsFromPicture(ClientPtr client)
{
return BadImplementation;
}
-static int
+static int _X_COLD
SProcRenderFreeGlyphs(ClientPtr client)
{
REQUEST(xRenderFreeGlyphsReq);
@@ -2254,7 +2254,7 @@ SProcRenderFreeGlyphs(ClientPtr client)
return (*ProcRenderVector[stuff->renderReqType]) (client);
}
-static int
+static int _X_COLD
SProcRenderCompositeGlyphs(ClientPtr client)
{
xGlyphElt *elt;
@@ -2326,7 +2326,7 @@ SProcRenderCompositeGlyphs(ClientPtr client)
return (*ProcRenderVector[stuff->renderReqType]) (client);
}
-static int
+static int _X_COLD
SProcRenderFillRectangles(ClientPtr client)
{
REQUEST(xRenderFillRectanglesReq);
@@ -2342,7 +2342,7 @@ SProcRenderFillRectangles(ClientPtr client)
return (*ProcRenderVector[stuff->renderReqType]) (client);
}
-static int
+static int _X_COLD
SProcRenderCreateCursor(ClientPtr client)
{
REQUEST(xRenderCreateCursorReq);
@@ -2356,7 +2356,7 @@ SProcRenderCreateCursor(ClientPtr client)
return (*ProcRenderVector[stuff->renderReqType]) (client);
}
-static int
+static int _X_COLD
SProcRenderSetPictureTransform(ClientPtr client)
{
REQUEST(xRenderSetPictureTransformReq);
@@ -2376,7 +2376,7 @@ SProcRenderSetPictureTransform(ClientPtr client)
return (*ProcRenderVector[stuff->renderReqType]) (client);
}
-static int
+static int _X_COLD
SProcRenderQueryFilters(ClientPtr client)
{
REQUEST(xRenderQueryFiltersReq);
@@ -2387,7 +2387,7 @@ SProcRenderQueryFilters(ClientPtr client)
return (*ProcRenderVector[stuff->renderReqType]) (client);
}
-static int
+static int _X_COLD
SProcRenderSetPictureFilter(ClientPtr client)
{
REQUEST(xRenderSetPictureFilterReq);
@@ -2399,7 +2399,7 @@ SProcRenderSetPictureFilter(ClientPtr client)
return (*ProcRenderVector[stuff->renderReqType]) (client);
}
-static int
+static int _X_COLD
SProcRenderCreateAnimCursor(ClientPtr client)
{
REQUEST(xRenderCreateAnimCursorReq);
@@ -2411,7 +2411,7 @@ SProcRenderCreateAnimCursor(ClientPtr client)
return (*ProcRenderVector[stuff->renderReqType]) (client);
}
-static int
+static int _X_COLD
SProcRenderAddTraps(ClientPtr client)
{
REQUEST(xRenderAddTrapsReq);
@@ -2425,7 +2425,7 @@ SProcRenderAddTraps(ClientPtr client)
return (*ProcRenderVector[stuff->renderReqType]) (client);
}
-static int
+static int _X_COLD
SProcRenderCreateSolidFill(ClientPtr client)
{
REQUEST(xRenderCreateSolidFillReq);
@@ -2440,7 +2440,7 @@ SProcRenderCreateSolidFill(ClientPtr client)
return (*ProcRenderVector[stuff->renderReqType]) (client);
}
-static void
+static void _X_COLD
swapStops(void *stuff, int num)
{
int i;
@@ -2459,7 +2459,7 @@ swapStops(void *stuff, int num)
}
}
-static int
+static int _X_COLD
SProcRenderCreateLinearGradient(ClientPtr client)
{
int len;
@@ -2486,7 +2486,7 @@ SProcRenderCreateLinearGradient(ClientPtr client)
return (*ProcRenderVector[stuff->renderReqType]) (client);
}
-static int
+static int _X_COLD
SProcRenderCreateRadialGradient(ClientPtr client)
{
int len;
@@ -2515,7 +2515,7 @@ SProcRenderCreateRadialGradient(ClientPtr client)
return (*ProcRenderVector[stuff->renderReqType]) (client);
}
-static int
+static int _X_COLD
SProcRenderCreateConicalGradient(ClientPtr client)
{
int len;
@@ -2541,7 +2541,7 @@ SProcRenderCreateConicalGradient(ClientPtr client)
return (*ProcRenderVector[stuff->renderReqType]) (client);
}
-static int
+static int _X_COLD
SProcRenderDispatch(ClientPtr client)
{
REQUEST(xReq);