glapi: Add the safe_{add,mul,pad} functions from xserver
authorAdam Jackson <ajax@redhat.com>
Thu, 24 Mar 2016 17:57:58 +0000 (13:57 -0400)
committerAdam Jackson <ajax@redhat.com>
Tue, 17 May 2016 19:04:56 +0000 (15:04 -0400)
commit88cfc9ddaab5577260293fcbd4f7413fbd4aba21
tree309116774159d5880221de33d4f7b54de4dac0f4
parent7bc5c7f58685e67985b3da1722391432fdd9ba31
glapi: Add the safe_{add,mul,pad} functions from xserver

We're about to update the generator scripts to use these, easier not to
vary between client and server.

Reviewed-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Adam Jackson <ajax@redhat.com>
src/mapi/glapi/gen/glX_proto_send.py