Ian Romanick
5f1f229f8d
Pixel oriented render functions are now generated by the
...
glX_proto_send.py script. This eliminates ~600 lines of non-generated
code. With proper compiler optimization settings, it also decreases the
size of libGL.so by about 3KB.
2005-01-07 02:39:09 +00:00
Ian Romanick
3385d7cec3
The generic_*_byte functions did not rount the command size to a
...
multiple of 4 correctly in some cases.
2005-01-07 02:29:42 +00:00
Ian Romanick
3276c192b7
The opcode and command length fields of RenderLarge commands were
...
mistakenly emitted in the wrong order.
2005-01-03 21:03:03 +00:00
Ian Romanick
83fcf49647
Fixed two problems with the handling of GLX protocol replies. The logic
...
for determining when extra data needed to be read after a reply (to ensure
4-byte alignment) and the logic to determine whether or not to read reply
data after the SingleReply packet were both slightly wrong.
2004-12-27 08:29:54 +00:00
Ian Romanick
990dec7ea0
Used GCC's __builtin_expect when available. Change the way code is
...
generated for commands that can use RenderLarge packets. Tweak the code for
__glXFlushRenderBuffer slightly.
2004-12-21 23:06:02 +00:00
Ian Romanick
1d27084043
Added some comments and fixed typeos. Slightly refactored the way
...
function parameters are iterated. There are no changes in the generated
code.
2004-12-21 21:26:36 +00:00
Ian Romanick
74764061fa
Move common GLX code to glX_XML.py. This will make adding glX_proto_recv.py
...
easier later on.
2004-12-03 20:31:59 +00:00
Ian Romanick
47719fda0c
Fix a minor bug in glXEnumFunction::PrintUsingTable. Add some comments.
...
Add the (currently unused) utility funciton glXFunction::opcode_real_value.
2004-12-03 20:24:50 +00:00
Ian Romanick
b53df18624
Slightly tweak the format of the size prototypes.
2004-12-01 09:06:34 +00:00
Ian Romanick
e9789cf071
Python script to generate various bits of client-side GLX protocol code.
2004-12-01 08:35:37 +00:00