diff options
Diffstat (limited to 'nexgb/glx')
| -rw-r--r-- | nexgb/glx/glx.go | 769 | 
1 files changed, 334 insertions, 435 deletions
| diff --git a/nexgb/glx/glx.go b/nexgb/glx/glx.go index cba9593..07755cc 100644 --- a/nexgb/glx/glx.go +++ b/nexgb/glx/glx.go @@ -1031,7 +1031,7 @@ type AreTexturesResidentCookie struct {  }  // AreTexturesResident sends a checked request. -// If an error occurs, it will be returned with the reply by calling AreTexturesResidentCookie.Reply() +// If an error occurs, it will be returned with the reply by calling AreTexturesResidentCookie.Reply.  func AreTexturesResident(c *xgb.Conn, ContextTag ContextTag, N int32, Textures []uint32) AreTexturesResidentCookie {  	c.ExtLock.RLock()  	defer c.ExtLock.RUnlock() @@ -1109,8 +1109,7 @@ func areTexturesResidentReply(buf []byte) *AreTexturesResidentReply {  	return v  } -// Write request to wire for AreTexturesResident -// areTexturesResidentRequest writes a AreTexturesResident request to a byte slice. +// areTexturesResidentRequest writes a AreTexturesResident request to a byte slice for transfer.  func areTexturesResidentRequest(c *xgb.Conn, ContextTag ContextTag, N int32, Textures []uint32) []byte {  	size := xgb.Pad((12 + xgb.Pad((int(N) * 4))))  	b := 0 @@ -1160,7 +1159,7 @@ func ChangeDrawableAttributes(c *xgb.Conn, Drawable Drawable, NumAttribs uint32,  }  // ChangeDrawableAttributesChecked sends a checked request. -// If an error occurs, it can be retrieved using ChangeDrawableAttributesCookie.Check() +// If an error occurs, it can be retrieved using ChangeDrawableAttributesCookie.Check.  func ChangeDrawableAttributesChecked(c *xgb.Conn, Drawable Drawable, NumAttribs uint32, Attribs []uint32) ChangeDrawableAttributesCookie {  	c.ExtLock.RLock()  	defer c.ExtLock.RUnlock() @@ -1178,8 +1177,7 @@ func (cook ChangeDrawableAttributesCookie) Check() error {  	return cook.Cookie.Check()  } -// Write request to wire for ChangeDrawableAttributes -// changeDrawableAttributesRequest writes a ChangeDrawableAttributes request to a byte slice. +// changeDrawableAttributesRequest writes a ChangeDrawableAttributes request to a byte slice for transfer.  func changeDrawableAttributesRequest(c *xgb.Conn, Drawable Drawable, NumAttribs uint32, Attribs []uint32) []byte {  	size := xgb.Pad((12 + xgb.Pad(((int(NumAttribs) * 2) * 4))))  	b := 0 @@ -1217,7 +1215,7 @@ type ClientInfoCookie struct {  // ClientInfo sends an unchecked request.  // If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent. -func ClientInfo(c *xgb.Conn, MajorVersion uint32, MinorVersion uint32, StrLen uint32, String string) ClientInfoCookie { +func ClientInfo(c *xgb.Conn, MajorVersion, MinorVersion, StrLen uint32, String string) ClientInfoCookie {  	c.ExtLock.RLock()  	defer c.ExtLock.RUnlock()  	if _, ok := c.Extensions["GLX"]; !ok { @@ -1229,8 +1227,8 @@ func ClientInfo(c *xgb.Conn, MajorVersion uint32, MinorVersion uint32, StrLen ui  }  // ClientInfoChecked sends a checked request. -// If an error occurs, it can be retrieved using ClientInfoCookie.Check() -func ClientInfoChecked(c *xgb.Conn, MajorVersion uint32, MinorVersion uint32, StrLen uint32, String string) ClientInfoCookie { +// If an error occurs, it can be retrieved using ClientInfoCookie.Check. +func ClientInfoChecked(c *xgb.Conn, MajorVersion, MinorVersion, StrLen uint32, String string) ClientInfoCookie {  	c.ExtLock.RLock()  	defer c.ExtLock.RUnlock()  	if _, ok := c.Extensions["GLX"]; !ok { @@ -1247,9 +1245,8 @@ func (cook ClientInfoCookie) Check() error {  	return cook.Cookie.Check()  } -// Write request to wire for ClientInfo -// clientInfoRequest writes a ClientInfo request to a byte slice. -func clientInfoRequest(c *xgb.Conn, MajorVersion uint32, MinorVersion uint32, StrLen uint32, String string) []byte { +// clientInfoRequest writes a ClientInfo request to a byte slice for transfer. +func clientInfoRequest(c *xgb.Conn, MajorVersion, MinorVersion, StrLen uint32, String string) []byte {  	size := xgb.Pad((16 + xgb.Pad((int(StrLen) * 1))))  	b := 0  	buf := make([]byte, size) @@ -1287,7 +1284,7 @@ type CopyContextCookie struct {  // CopyContext sends an unchecked request.  // If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent. -func CopyContext(c *xgb.Conn, Src Context, Dest Context, Mask uint32, SrcContextTag ContextTag) CopyContextCookie { +func CopyContext(c *xgb.Conn, Src, Dest Context, Mask uint32, SrcContextTag ContextTag) CopyContextCookie {  	c.ExtLock.RLock()  	defer c.ExtLock.RUnlock()  	if _, ok := c.Extensions["GLX"]; !ok { @@ -1299,8 +1296,8 @@ func CopyContext(c *xgb.Conn, Src Context, Dest Context, Mask uint32, SrcContext  }  // CopyContextChecked sends a checked request. -// If an error occurs, it can be retrieved using CopyContextCookie.Check() -func CopyContextChecked(c *xgb.Conn, Src Context, Dest Context, Mask uint32, SrcContextTag ContextTag) CopyContextCookie { +// If an error occurs, it can be retrieved using CopyContextCookie.Check. +func CopyContextChecked(c *xgb.Conn, Src, Dest Context, Mask uint32, SrcContextTag ContextTag) CopyContextCookie {  	c.ExtLock.RLock()  	defer c.ExtLock.RUnlock()  	if _, ok := c.Extensions["GLX"]; !ok { @@ -1317,9 +1314,8 @@ func (cook CopyContextCookie) Check() error {  	return cook.Cookie.Check()  } -// Write request to wire for CopyContext -// copyContextRequest writes a CopyContext request to a byte slice. -func copyContextRequest(c *xgb.Conn, Src Context, Dest Context, Mask uint32, SrcContextTag ContextTag) []byte { +// copyContextRequest writes a CopyContext request to a byte slice for transfer. +func copyContextRequest(c *xgb.Conn, Src, Dest Context, Mask uint32, SrcContextTag ContextTag) []byte {  	size := 20  	b := 0  	buf := make([]byte, size) @@ -1369,7 +1365,7 @@ func CreateContext(c *xgb.Conn, Context Context, Visual xproto.Visualid, Screen  }  // CreateContextChecked sends a checked request. -// If an error occurs, it can be retrieved using CreateContextCookie.Check() +// If an error occurs, it can be retrieved using CreateContextCookie.Check.  func CreateContextChecked(c *xgb.Conn, Context Context, Visual xproto.Visualid, Screen uint32, ShareList Context, IsDirect bool) CreateContextCookie {  	c.ExtLock.RLock()  	defer c.ExtLock.RUnlock() @@ -1387,8 +1383,7 @@ func (cook CreateContextCookie) Check() error {  	return cook.Cookie.Check()  } -// Write request to wire for CreateContext -// createContextRequest writes a CreateContext request to a byte slice. +// createContextRequest writes a CreateContext request to a byte slice for transfer.  func createContextRequest(c *xgb.Conn, Context Context, Visual xproto.Visualid, Screen uint32, ShareList Context, IsDirect bool) []byte {  	size := 24  	b := 0 @@ -1448,7 +1443,7 @@ func CreateContextAttribsARB(c *xgb.Conn, Context Context, Fbconfig Fbconfig, Sc  }  // CreateContextAttribsARBChecked sends a checked request. -// If an error occurs, it can be retrieved using CreateContextAttribsARBCookie.Check() +// If an error occurs, it can be retrieved using CreateContextAttribsARBCookie.Check.  func CreateContextAttribsARBChecked(c *xgb.Conn, Context Context, Fbconfig Fbconfig, Screen uint32, ShareList Context, IsDirect bool, NumAttribs uint32, Attribs []uint32) CreateContextAttribsARBCookie {  	c.ExtLock.RLock()  	defer c.ExtLock.RUnlock() @@ -1466,8 +1461,7 @@ func (cook CreateContextAttribsARBCookie) Check() error {  	return cook.Cookie.Check()  } -// Write request to wire for CreateContextAttribsARB -// createContextAttribsARBRequest writes a CreateContextAttribsARB request to a byte slice. +// createContextAttribsARBRequest writes a CreateContextAttribsARB request to a byte slice for transfer.  func createContextAttribsARBRequest(c *xgb.Conn, Context Context, Fbconfig Fbconfig, Screen uint32, ShareList Context, IsDirect bool, NumAttribs uint32, Attribs []uint32) []byte {  	size := xgb.Pad((28 + xgb.Pad(((int(NumAttribs) * 2) * 4))))  	b := 0 @@ -1535,7 +1529,7 @@ func CreateGLXPixmap(c *xgb.Conn, Screen uint32, Visual xproto.Visualid, Pixmap  }  // CreateGLXPixmapChecked sends a checked request. -// If an error occurs, it can be retrieved using CreateGLXPixmapCookie.Check() +// If an error occurs, it can be retrieved using CreateGLXPixmapCookie.Check.  func CreateGLXPixmapChecked(c *xgb.Conn, Screen uint32, Visual xproto.Visualid, Pixmap xproto.Pixmap, GlxPixmap Pixmap) CreateGLXPixmapCookie {  	c.ExtLock.RLock()  	defer c.ExtLock.RUnlock() @@ -1553,8 +1547,7 @@ func (cook CreateGLXPixmapCookie) Check() error {  	return cook.Cookie.Check()  } -// Write request to wire for CreateGLXPixmap -// createGLXPixmapRequest writes a CreateGLXPixmap request to a byte slice. +// createGLXPixmapRequest writes a CreateGLXPixmap request to a byte slice for transfer.  func createGLXPixmapRequest(c *xgb.Conn, Screen uint32, Visual xproto.Visualid, Pixmap xproto.Pixmap, GlxPixmap Pixmap) []byte {  	size := 20  	b := 0 @@ -1593,7 +1586,7 @@ type CreateNewContextCookie struct {  // CreateNewContext sends an unchecked request.  // If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent. -func CreateNewContext(c *xgb.Conn, Context Context, Fbconfig Fbconfig, Screen uint32, RenderType uint32, ShareList Context, IsDirect bool) CreateNewContextCookie { +func CreateNewContext(c *xgb.Conn, Context Context, Fbconfig Fbconfig, Screen, RenderType uint32, ShareList Context, IsDirect bool) CreateNewContextCookie {  	c.ExtLock.RLock()  	defer c.ExtLock.RUnlock()  	if _, ok := c.Extensions["GLX"]; !ok { @@ -1605,8 +1598,8 @@ func CreateNewContext(c *xgb.Conn, Context Context, Fbconfig Fbconfig, Screen ui  }  // CreateNewContextChecked sends a checked request. -// If an error occurs, it can be retrieved using CreateNewContextCookie.Check() -func CreateNewContextChecked(c *xgb.Conn, Context Context, Fbconfig Fbconfig, Screen uint32, RenderType uint32, ShareList Context, IsDirect bool) CreateNewContextCookie { +// If an error occurs, it can be retrieved using CreateNewContextCookie.Check. +func CreateNewContextChecked(c *xgb.Conn, Context Context, Fbconfig Fbconfig, Screen, RenderType uint32, ShareList Context, IsDirect bool) CreateNewContextCookie {  	c.ExtLock.RLock()  	defer c.ExtLock.RUnlock()  	if _, ok := c.Extensions["GLX"]; !ok { @@ -1623,9 +1616,8 @@ func (cook CreateNewContextCookie) Check() error {  	return cook.Cookie.Check()  } -// Write request to wire for CreateNewContext -// createNewContextRequest writes a CreateNewContext request to a byte slice. -func createNewContextRequest(c *xgb.Conn, Context Context, Fbconfig Fbconfig, Screen uint32, RenderType uint32, ShareList Context, IsDirect bool) []byte { +// createNewContextRequest writes a CreateNewContext request to a byte slice for transfer. +func createNewContextRequest(c *xgb.Conn, Context Context, Fbconfig Fbconfig, Screen, RenderType uint32, ShareList Context, IsDirect bool) []byte {  	size := 28  	b := 0  	buf := make([]byte, size) @@ -1687,7 +1679,7 @@ func CreatePbuffer(c *xgb.Conn, Screen uint32, Fbconfig Fbconfig, Pbuffer Pbuffe  }  // CreatePbufferChecked sends a checked request. -// If an error occurs, it can be retrieved using CreatePbufferCookie.Check() +// If an error occurs, it can be retrieved using CreatePbufferCookie.Check.  func CreatePbufferChecked(c *xgb.Conn, Screen uint32, Fbconfig Fbconfig, Pbuffer Pbuffer, NumAttribs uint32, Attribs []uint32) CreatePbufferCookie {  	c.ExtLock.RLock()  	defer c.ExtLock.RUnlock() @@ -1705,8 +1697,7 @@ func (cook CreatePbufferCookie) Check() error {  	return cook.Cookie.Check()  } -// Write request to wire for CreatePbuffer -// createPbufferRequest writes a CreatePbuffer request to a byte slice. +// createPbufferRequest writes a CreatePbuffer request to a byte slice for transfer.  func createPbufferRequest(c *xgb.Conn, Screen uint32, Fbconfig Fbconfig, Pbuffer Pbuffer, NumAttribs uint32, Attribs []uint32) []byte {  	size := xgb.Pad((20 + xgb.Pad(((int(NumAttribs) * 2) * 4))))  	b := 0 @@ -1762,7 +1753,7 @@ func CreatePixmap(c *xgb.Conn, Screen uint32, Fbconfig Fbconfig, Pixmap xproto.P  }  // CreatePixmapChecked sends a checked request. -// If an error occurs, it can be retrieved using CreatePixmapCookie.Check() +// If an error occurs, it can be retrieved using CreatePixmapCookie.Check.  func CreatePixmapChecked(c *xgb.Conn, Screen uint32, Fbconfig Fbconfig, Pixmap xproto.Pixmap, GlxPixmap Pixmap, NumAttribs uint32, Attribs []uint32) CreatePixmapCookie {  	c.ExtLock.RLock()  	defer c.ExtLock.RUnlock() @@ -1780,8 +1771,7 @@ func (cook CreatePixmapCookie) Check() error {  	return cook.Cookie.Check()  } -// Write request to wire for CreatePixmap -// createPixmapRequest writes a CreatePixmap request to a byte slice. +// createPixmapRequest writes a CreatePixmap request to a byte slice for transfer.  func createPixmapRequest(c *xgb.Conn, Screen uint32, Fbconfig Fbconfig, Pixmap xproto.Pixmap, GlxPixmap Pixmap, NumAttribs uint32, Attribs []uint32) []byte {  	size := xgb.Pad((24 + xgb.Pad(((int(NumAttribs) * 2) * 4))))  	b := 0 @@ -1840,7 +1830,7 @@ func CreateWindow(c *xgb.Conn, Screen uint32, Fbconfig Fbconfig, Window xproto.W  }  // CreateWindowChecked sends a checked request. -// If an error occurs, it can be retrieved using CreateWindowCookie.Check() +// If an error occurs, it can be retrieved using CreateWindowCookie.Check.  func CreateWindowChecked(c *xgb.Conn, Screen uint32, Fbconfig Fbconfig, Window xproto.Window, GlxWindow Window, NumAttribs uint32, Attribs []uint32) CreateWindowCookie {  	c.ExtLock.RLock()  	defer c.ExtLock.RUnlock() @@ -1858,8 +1848,7 @@ func (cook CreateWindowCookie) Check() error {  	return cook.Cookie.Check()  } -// Write request to wire for CreateWindow -// createWindowRequest writes a CreateWindow request to a byte slice. +// createWindowRequest writes a CreateWindow request to a byte slice for transfer.  func createWindowRequest(c *xgb.Conn, Screen uint32, Fbconfig Fbconfig, Window xproto.Window, GlxWindow Window, NumAttribs uint32, Attribs []uint32) []byte {  	size := xgb.Pad((24 + xgb.Pad(((int(NumAttribs) * 2) * 4))))  	b := 0 @@ -1918,7 +1907,7 @@ func DeleteLists(c *xgb.Conn, ContextTag ContextTag, List uint32, Range int32) D  }  // DeleteListsChecked sends a checked request. -// If an error occurs, it can be retrieved using DeleteListsCookie.Check() +// If an error occurs, it can be retrieved using DeleteListsCookie.Check.  func DeleteListsChecked(c *xgb.Conn, ContextTag ContextTag, List uint32, Range int32) DeleteListsCookie {  	c.ExtLock.RLock()  	defer c.ExtLock.RUnlock() @@ -1936,8 +1925,7 @@ func (cook DeleteListsCookie) Check() error {  	return cook.Cookie.Check()  } -// Write request to wire for DeleteLists -// deleteListsRequest writes a DeleteLists request to a byte slice. +// deleteListsRequest writes a DeleteLists request to a byte slice for transfer.  func deleteListsRequest(c *xgb.Conn, ContextTag ContextTag, List uint32, Range int32) []byte {  	size := 16  	b := 0 @@ -1985,7 +1973,7 @@ func DeleteQueriesARB(c *xgb.Conn, ContextTag ContextTag, N int32, Ids []uint32)  }  // DeleteQueriesARBChecked sends a checked request. -// If an error occurs, it can be retrieved using DeleteQueriesARBCookie.Check() +// If an error occurs, it can be retrieved using DeleteQueriesARBCookie.Check.  func DeleteQueriesARBChecked(c *xgb.Conn, ContextTag ContextTag, N int32, Ids []uint32) DeleteQueriesARBCookie {  	c.ExtLock.RLock()  	defer c.ExtLock.RUnlock() @@ -2003,8 +1991,7 @@ func (cook DeleteQueriesARBCookie) Check() error {  	return cook.Cookie.Check()  } -// Write request to wire for DeleteQueriesARB -// deleteQueriesARBRequest writes a DeleteQueriesARB request to a byte slice. +// deleteQueriesARBRequest writes a DeleteQueriesARB request to a byte slice for transfer.  func deleteQueriesARBRequest(c *xgb.Conn, ContextTag ContextTag, N int32, Ids []uint32) []byte {  	size := xgb.Pad((12 + xgb.Pad((int(N) * 4))))  	b := 0 @@ -2054,7 +2041,7 @@ func DeleteTextures(c *xgb.Conn, ContextTag ContextTag, N int32, Textures []uint  }  // DeleteTexturesChecked sends a checked request. -// If an error occurs, it can be retrieved using DeleteTexturesCookie.Check() +// If an error occurs, it can be retrieved using DeleteTexturesCookie.Check.  func DeleteTexturesChecked(c *xgb.Conn, ContextTag ContextTag, N int32, Textures []uint32) DeleteTexturesCookie {  	c.ExtLock.RLock()  	defer c.ExtLock.RUnlock() @@ -2072,8 +2059,7 @@ func (cook DeleteTexturesCookie) Check() error {  	return cook.Cookie.Check()  } -// Write request to wire for DeleteTextures -// deleteTexturesRequest writes a DeleteTextures request to a byte slice. +// deleteTexturesRequest writes a DeleteTextures request to a byte slice for transfer.  func deleteTexturesRequest(c *xgb.Conn, ContextTag ContextTag, N int32, Textures []uint32) []byte {  	size := xgb.Pad((12 + xgb.Pad((int(N) * 4))))  	b := 0 @@ -2123,7 +2109,7 @@ func DeleteWindow(c *xgb.Conn, Glxwindow Window) DeleteWindowCookie {  }  // DeleteWindowChecked sends a checked request. -// If an error occurs, it can be retrieved using DeleteWindowCookie.Check() +// If an error occurs, it can be retrieved using DeleteWindowCookie.Check.  func DeleteWindowChecked(c *xgb.Conn, Glxwindow Window) DeleteWindowCookie {  	c.ExtLock.RLock()  	defer c.ExtLock.RUnlock() @@ -2141,8 +2127,7 @@ func (cook DeleteWindowCookie) Check() error {  	return cook.Cookie.Check()  } -// Write request to wire for DeleteWindow -// deleteWindowRequest writes a DeleteWindow request to a byte slice. +// deleteWindowRequest writes a DeleteWindow request to a byte slice for transfer.  func deleteWindowRequest(c *xgb.Conn, Glxwindow Window) []byte {  	size := 8  	b := 0 @@ -2184,7 +2169,7 @@ func DestroyContext(c *xgb.Conn, Context Context) DestroyContextCookie {  }  // DestroyContextChecked sends a checked request. -// If an error occurs, it can be retrieved using DestroyContextCookie.Check() +// If an error occurs, it can be retrieved using DestroyContextCookie.Check.  func DestroyContextChecked(c *xgb.Conn, Context Context) DestroyContextCookie {  	c.ExtLock.RLock()  	defer c.ExtLock.RUnlock() @@ -2202,8 +2187,7 @@ func (cook DestroyContextCookie) Check() error {  	return cook.Cookie.Check()  } -// Write request to wire for DestroyContext -// destroyContextRequest writes a DestroyContext request to a byte slice. +// destroyContextRequest writes a DestroyContext request to a byte slice for transfer.  func destroyContextRequest(c *xgb.Conn, Context Context) []byte {  	size := 8  	b := 0 @@ -2245,7 +2229,7 @@ func DestroyGLXPixmap(c *xgb.Conn, GlxPixmap Pixmap) DestroyGLXPixmapCookie {  }  // DestroyGLXPixmapChecked sends a checked request. -// If an error occurs, it can be retrieved using DestroyGLXPixmapCookie.Check() +// If an error occurs, it can be retrieved using DestroyGLXPixmapCookie.Check.  func DestroyGLXPixmapChecked(c *xgb.Conn, GlxPixmap Pixmap) DestroyGLXPixmapCookie {  	c.ExtLock.RLock()  	defer c.ExtLock.RUnlock() @@ -2263,8 +2247,7 @@ func (cook DestroyGLXPixmapCookie) Check() error {  	return cook.Cookie.Check()  } -// Write request to wire for DestroyGLXPixmap -// destroyGLXPixmapRequest writes a DestroyGLXPixmap request to a byte slice. +// destroyGLXPixmapRequest writes a DestroyGLXPixmap request to a byte slice for transfer.  func destroyGLXPixmapRequest(c *xgb.Conn, GlxPixmap Pixmap) []byte {  	size := 8  	b := 0 @@ -2306,7 +2289,7 @@ func DestroyPbuffer(c *xgb.Conn, Pbuffer Pbuffer) DestroyPbufferCookie {  }  // DestroyPbufferChecked sends a checked request. -// If an error occurs, it can be retrieved using DestroyPbufferCookie.Check() +// If an error occurs, it can be retrieved using DestroyPbufferCookie.Check.  func DestroyPbufferChecked(c *xgb.Conn, Pbuffer Pbuffer) DestroyPbufferCookie {  	c.ExtLock.RLock()  	defer c.ExtLock.RUnlock() @@ -2324,8 +2307,7 @@ func (cook DestroyPbufferCookie) Check() error {  	return cook.Cookie.Check()  } -// Write request to wire for DestroyPbuffer -// destroyPbufferRequest writes a DestroyPbuffer request to a byte slice. +// destroyPbufferRequest writes a DestroyPbuffer request to a byte slice for transfer.  func destroyPbufferRequest(c *xgb.Conn, Pbuffer Pbuffer) []byte {  	size := 8  	b := 0 @@ -2367,7 +2349,7 @@ func DestroyPixmap(c *xgb.Conn, GlxPixmap Pixmap) DestroyPixmapCookie {  }  // DestroyPixmapChecked sends a checked request. -// If an error occurs, it can be retrieved using DestroyPixmapCookie.Check() +// If an error occurs, it can be retrieved using DestroyPixmapCookie.Check.  func DestroyPixmapChecked(c *xgb.Conn, GlxPixmap Pixmap) DestroyPixmapCookie {  	c.ExtLock.RLock()  	defer c.ExtLock.RUnlock() @@ -2385,8 +2367,7 @@ func (cook DestroyPixmapCookie) Check() error {  	return cook.Cookie.Check()  } -// Write request to wire for DestroyPixmap -// destroyPixmapRequest writes a DestroyPixmap request to a byte slice. +// destroyPixmapRequest writes a DestroyPixmap request to a byte slice for transfer.  func destroyPixmapRequest(c *xgb.Conn, GlxPixmap Pixmap) []byte {  	size := 8  	b := 0 @@ -2428,7 +2409,7 @@ func EndList(c *xgb.Conn, ContextTag ContextTag) EndListCookie {  }  // EndListChecked sends a checked request. -// If an error occurs, it can be retrieved using EndListCookie.Check() +// If an error occurs, it can be retrieved using EndListCookie.Check.  func EndListChecked(c *xgb.Conn, ContextTag ContextTag) EndListCookie {  	c.ExtLock.RLock()  	defer c.ExtLock.RUnlock() @@ -2446,8 +2427,7 @@ func (cook EndListCookie) Check() error {  	return cook.Cookie.Check()  } -// Write request to wire for EndList -// endListRequest writes a EndList request to a byte slice. +// endListRequest writes a EndList request to a byte slice for transfer.  func endListRequest(c *xgb.Conn, ContextTag ContextTag) []byte {  	size := 8  	b := 0 @@ -2477,7 +2457,7 @@ type FeedbackBufferCookie struct {  // FeedbackBuffer sends an unchecked request.  // If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent. -func FeedbackBuffer(c *xgb.Conn, ContextTag ContextTag, Size int32, Type int32) FeedbackBufferCookie { +func FeedbackBuffer(c *xgb.Conn, ContextTag ContextTag, Size, Type int32) FeedbackBufferCookie {  	c.ExtLock.RLock()  	defer c.ExtLock.RUnlock()  	if _, ok := c.Extensions["GLX"]; !ok { @@ -2489,8 +2469,8 @@ func FeedbackBuffer(c *xgb.Conn, ContextTag ContextTag, Size int32, Type int32)  }  // FeedbackBufferChecked sends a checked request. -// If an error occurs, it can be retrieved using FeedbackBufferCookie.Check() -func FeedbackBufferChecked(c *xgb.Conn, ContextTag ContextTag, Size int32, Type int32) FeedbackBufferCookie { +// If an error occurs, it can be retrieved using FeedbackBufferCookie.Check. +func FeedbackBufferChecked(c *xgb.Conn, ContextTag ContextTag, Size, Type int32) FeedbackBufferCookie {  	c.ExtLock.RLock()  	defer c.ExtLock.RUnlock()  	if _, ok := c.Extensions["GLX"]; !ok { @@ -2507,9 +2487,8 @@ func (cook FeedbackBufferCookie) Check() error {  	return cook.Cookie.Check()  } -// Write request to wire for FeedbackBuffer -// feedbackBufferRequest writes a FeedbackBuffer request to a byte slice. -func feedbackBufferRequest(c *xgb.Conn, ContextTag ContextTag, Size int32, Type int32) []byte { +// feedbackBufferRequest writes a FeedbackBuffer request to a byte slice for transfer. +func feedbackBufferRequest(c *xgb.Conn, ContextTag ContextTag, Size, Type int32) []byte {  	size := 16  	b := 0  	buf := make([]byte, size) @@ -2543,7 +2522,7 @@ type FinishCookie struct {  }  // Finish sends a checked request. -// If an error occurs, it will be returned with the reply by calling FinishCookie.Reply() +// If an error occurs, it will be returned with the reply by calling FinishCookie.Reply.  func Finish(c *xgb.Conn, ContextTag ContextTag) FinishCookie {  	c.ExtLock.RLock()  	defer c.ExtLock.RUnlock() @@ -2603,8 +2582,7 @@ func finishReply(buf []byte) *FinishReply {  	return v  } -// Write request to wire for Finish -// finishRequest writes a Finish request to a byte slice. +// finishRequest writes a Finish request to a byte slice for transfer.  func finishRequest(c *xgb.Conn, ContextTag ContextTag) []byte {  	size := 8  	b := 0 @@ -2646,7 +2624,7 @@ func Flush(c *xgb.Conn, ContextTag ContextTag) FlushCookie {  }  // FlushChecked sends a checked request. -// If an error occurs, it can be retrieved using FlushCookie.Check() +// If an error occurs, it can be retrieved using FlushCookie.Check.  func FlushChecked(c *xgb.Conn, ContextTag ContextTag) FlushCookie {  	c.ExtLock.RLock()  	defer c.ExtLock.RUnlock() @@ -2664,8 +2642,7 @@ func (cook FlushCookie) Check() error {  	return cook.Cookie.Check()  } -// Write request to wire for Flush -// flushRequest writes a Flush request to a byte slice. +// flushRequest writes a Flush request to a byte slice for transfer.  func flushRequest(c *xgb.Conn, ContextTag ContextTag) []byte {  	size := 8  	b := 0 @@ -2694,7 +2671,7 @@ type GenListsCookie struct {  }  // GenLists sends a checked request. -// If an error occurs, it will be returned with the reply by calling GenListsCookie.Reply() +// If an error occurs, it will be returned with the reply by calling GenListsCookie.Reply.  func GenLists(c *xgb.Conn, ContextTag ContextTag, Range int32) GenListsCookie {  	c.ExtLock.RLock()  	defer c.ExtLock.RUnlock() @@ -2758,8 +2735,7 @@ func genListsReply(buf []byte) *GenListsReply {  	return v  } -// Write request to wire for GenLists -// genListsRequest writes a GenLists request to a byte slice. +// genListsRequest writes a GenLists request to a byte slice for transfer.  func genListsRequest(c *xgb.Conn, ContextTag ContextTag, Range int32) []byte {  	size := 12  	b := 0 @@ -2791,7 +2767,7 @@ type GenQueriesARBCookie struct {  }  // GenQueriesARB sends a checked request. -// If an error occurs, it will be returned with the reply by calling GenQueriesARBCookie.Reply() +// If an error occurs, it will be returned with the reply by calling GenQueriesARBCookie.Reply.  func GenQueriesARB(c *xgb.Conn, ContextTag ContextTag, N int32) GenQueriesARBCookie {  	c.ExtLock.RLock()  	defer c.ExtLock.RUnlock() @@ -2861,8 +2837,7 @@ func genQueriesARBReply(buf []byte) *GenQueriesARBReply {  	return v  } -// Write request to wire for GenQueriesARB -// genQueriesARBRequest writes a GenQueriesARB request to a byte slice. +// genQueriesARBRequest writes a GenQueriesARB request to a byte slice for transfer.  func genQueriesARBRequest(c *xgb.Conn, ContextTag ContextTag, N int32) []byte {  	size := 12  	b := 0 @@ -2894,7 +2869,7 @@ type GenTexturesCookie struct {  }  // GenTextures sends a checked request. -// If an error occurs, it will be returned with the reply by calling GenTexturesCookie.Reply() +// If an error occurs, it will be returned with the reply by calling GenTexturesCookie.Reply.  func GenTextures(c *xgb.Conn, ContextTag ContextTag, N int32) GenTexturesCookie {  	c.ExtLock.RLock()  	defer c.ExtLock.RUnlock() @@ -2964,8 +2939,7 @@ func genTexturesReply(buf []byte) *GenTexturesReply {  	return v  } -// Write request to wire for GenTextures -// genTexturesRequest writes a GenTextures request to a byte slice. +// genTexturesRequest writes a GenTextures request to a byte slice for transfer.  func genTexturesRequest(c *xgb.Conn, ContextTag ContextTag, N int32) []byte {  	size := 12  	b := 0 @@ -2997,7 +2971,7 @@ type GetBooleanvCookie struct {  }  // GetBooleanv sends a checked request. -// If an error occurs, it will be returned with the reply by calling GetBooleanvCookie.Reply() +// If an error occurs, it will be returned with the reply by calling GetBooleanvCookie.Reply.  func GetBooleanv(c *xgb.Conn, ContextTag ContextTag, Pname int32) GetBooleanvCookie {  	c.ExtLock.RLock()  	defer c.ExtLock.RUnlock() @@ -3086,8 +3060,7 @@ func getBooleanvReply(buf []byte) *GetBooleanvReply {  	return v  } -// Write request to wire for GetBooleanv -// getBooleanvRequest writes a GetBooleanv request to a byte slice. +// getBooleanvRequest writes a GetBooleanv request to a byte slice for transfer.  func getBooleanvRequest(c *xgb.Conn, ContextTag ContextTag, Pname int32) []byte {  	size := 12  	b := 0 @@ -3119,7 +3092,7 @@ type GetClipPlaneCookie struct {  }  // GetClipPlane sends a checked request. -// If an error occurs, it will be returned with the reply by calling GetClipPlaneCookie.Reply() +// If an error occurs, it will be returned with the reply by calling GetClipPlaneCookie.Reply.  func GetClipPlane(c *xgb.Conn, ContextTag ContextTag, Plane int32) GetClipPlaneCookie {  	c.ExtLock.RLock()  	defer c.ExtLock.RUnlock() @@ -3189,8 +3162,7 @@ func getClipPlaneReply(buf []byte) *GetClipPlaneReply {  	return v  } -// Write request to wire for GetClipPlane -// getClipPlaneRequest writes a GetClipPlane request to a byte slice. +// getClipPlaneRequest writes a GetClipPlane request to a byte slice for transfer.  func getClipPlaneRequest(c *xgb.Conn, ContextTag ContextTag, Plane int32) []byte {  	size := 12  	b := 0 @@ -3222,8 +3194,8 @@ type GetColorTableCookie struct {  }  // GetColorTable sends a checked request. -// If an error occurs, it will be returned with the reply by calling GetColorTableCookie.Reply() -func GetColorTable(c *xgb.Conn, ContextTag ContextTag, Target uint32, Format uint32, Type uint32, SwapBytes bool) GetColorTableCookie { +// If an error occurs, it will be returned with the reply by calling GetColorTableCookie.Reply. +func GetColorTable(c *xgb.Conn, ContextTag ContextTag, Target, Format, Type uint32, SwapBytes bool) GetColorTableCookie {  	c.ExtLock.RLock()  	defer c.ExtLock.RUnlock()  	if _, ok := c.Extensions["GLX"]; !ok { @@ -3236,7 +3208,7 @@ func GetColorTable(c *xgb.Conn, ContextTag ContextTag, Target uint32, Format uin  // GetColorTableUnchecked sends an unchecked request.  // If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent. -func GetColorTableUnchecked(c *xgb.Conn, ContextTag ContextTag, Target uint32, Format uint32, Type uint32, SwapBytes bool) GetColorTableCookie { +func GetColorTableUnchecked(c *xgb.Conn, ContextTag ContextTag, Target, Format, Type uint32, SwapBytes bool) GetColorTableCookie {  	c.ExtLock.RLock()  	defer c.ExtLock.RUnlock()  	if _, ok := c.Extensions["GLX"]; !ok { @@ -3297,9 +3269,8 @@ func getColorTableReply(buf []byte) *GetColorTableReply {  	return v  } -// Write request to wire for GetColorTable -// getColorTableRequest writes a GetColorTable request to a byte slice. -func getColorTableRequest(c *xgb.Conn, ContextTag ContextTag, Target uint32, Format uint32, Type uint32, SwapBytes bool) []byte { +// getColorTableRequest writes a GetColorTable request to a byte slice for transfer. +func getColorTableRequest(c *xgb.Conn, ContextTag ContextTag, Target, Format, Type uint32, SwapBytes bool) []byte {  	size := 24  	b := 0  	buf := make([]byte, size) @@ -3343,8 +3314,8 @@ type GetColorTableParameterfvCookie struct {  }  // GetColorTableParameterfv sends a checked request. -// If an error occurs, it will be returned with the reply by calling GetColorTableParameterfvCookie.Reply() -func GetColorTableParameterfv(c *xgb.Conn, ContextTag ContextTag, Target uint32, Pname uint32) GetColorTableParameterfvCookie { +// If an error occurs, it will be returned with the reply by calling GetColorTableParameterfvCookie.Reply. +func GetColorTableParameterfv(c *xgb.Conn, ContextTag ContextTag, Target, Pname uint32) GetColorTableParameterfvCookie {  	c.ExtLock.RLock()  	defer c.ExtLock.RUnlock()  	if _, ok := c.Extensions["GLX"]; !ok { @@ -3357,7 +3328,7 @@ func GetColorTableParameterfv(c *xgb.Conn, ContextTag ContextTag, Target uint32,  // GetColorTableParameterfvUnchecked sends an unchecked request.  // If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent. -func GetColorTableParameterfvUnchecked(c *xgb.Conn, ContextTag ContextTag, Target uint32, Pname uint32) GetColorTableParameterfvCookie { +func GetColorTableParameterfvUnchecked(c *xgb.Conn, ContextTag ContextTag, Target, Pname uint32) GetColorTableParameterfvCookie {  	c.ExtLock.RLock()  	defer c.ExtLock.RUnlock()  	if _, ok := c.Extensions["GLX"]; !ok { @@ -3424,9 +3395,8 @@ func getColorTableParameterfvReply(buf []byte) *GetColorTableParameterfvReply {  	return v  } -// Write request to wire for GetColorTableParameterfv -// getColorTableParameterfvRequest writes a GetColorTableParameterfv request to a byte slice. -func getColorTableParameterfvRequest(c *xgb.Conn, ContextTag ContextTag, Target uint32, Pname uint32) []byte { +// getColorTableParameterfvRequest writes a GetColorTableParameterfv request to a byte slice for transfer. +func getColorTableParameterfvRequest(c *xgb.Conn, ContextTag ContextTag, Target, Pname uint32) []byte {  	size := 16  	b := 0  	buf := make([]byte, size) @@ -3460,8 +3430,8 @@ type GetColorTableParameterivCookie struct {  }  // GetColorTableParameteriv sends a checked request. -// If an error occurs, it will be returned with the reply by calling GetColorTableParameterivCookie.Reply() -func GetColorTableParameteriv(c *xgb.Conn, ContextTag ContextTag, Target uint32, Pname uint32) GetColorTableParameterivCookie { +// If an error occurs, it will be returned with the reply by calling GetColorTableParameterivCookie.Reply. +func GetColorTableParameteriv(c *xgb.Conn, ContextTag ContextTag, Target, Pname uint32) GetColorTableParameterivCookie {  	c.ExtLock.RLock()  	defer c.ExtLock.RUnlock()  	if _, ok := c.Extensions["GLX"]; !ok { @@ -3474,7 +3444,7 @@ func GetColorTableParameteriv(c *xgb.Conn, ContextTag ContextTag, Target uint32,  // GetColorTableParameterivUnchecked sends an unchecked request.  // If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent. -func GetColorTableParameterivUnchecked(c *xgb.Conn, ContextTag ContextTag, Target uint32, Pname uint32) GetColorTableParameterivCookie { +func GetColorTableParameterivUnchecked(c *xgb.Conn, ContextTag ContextTag, Target, Pname uint32) GetColorTableParameterivCookie {  	c.ExtLock.RLock()  	defer c.ExtLock.RUnlock()  	if _, ok := c.Extensions["GLX"]; !ok { @@ -3541,9 +3511,8 @@ func getColorTableParameterivReply(buf []byte) *GetColorTableParameterivReply {  	return v  } -// Write request to wire for GetColorTableParameteriv -// getColorTableParameterivRequest writes a GetColorTableParameteriv request to a byte slice. -func getColorTableParameterivRequest(c *xgb.Conn, ContextTag ContextTag, Target uint32, Pname uint32) []byte { +// getColorTableParameterivRequest writes a GetColorTableParameteriv request to a byte slice for transfer. +func getColorTableParameterivRequest(c *xgb.Conn, ContextTag ContextTag, Target, Pname uint32) []byte {  	size := 16  	b := 0  	buf := make([]byte, size) @@ -3577,7 +3546,7 @@ type GetCompressedTexImageARBCookie struct {  }  // GetCompressedTexImageARB sends a checked request. -// If an error occurs, it will be returned with the reply by calling GetCompressedTexImageARBCookie.Reply() +// If an error occurs, it will be returned with the reply by calling GetCompressedTexImageARBCookie.Reply.  func GetCompressedTexImageARB(c *xgb.Conn, ContextTag ContextTag, Target uint32, Level int32) GetCompressedTexImageARBCookie {  	c.ExtLock.RLock()  	defer c.ExtLock.RUnlock() @@ -3652,8 +3621,7 @@ func getCompressedTexImageARBReply(buf []byte) *GetCompressedTexImageARBReply {  	return v  } -// Write request to wire for GetCompressedTexImageARB -// getCompressedTexImageARBRequest writes a GetCompressedTexImageARB request to a byte slice. +// getCompressedTexImageARBRequest writes a GetCompressedTexImageARB request to a byte slice for transfer.  func getCompressedTexImageARBRequest(c *xgb.Conn, ContextTag ContextTag, Target uint32, Level int32) []byte {  	size := 16  	b := 0 @@ -3688,8 +3656,8 @@ type GetConvolutionFilterCookie struct {  }  // GetConvolutionFilter sends a checked request. -// If an error occurs, it will be returned with the reply by calling GetConvolutionFilterCookie.Reply() -func GetConvolutionFilter(c *xgb.Conn, ContextTag ContextTag, Target uint32, Format uint32, Type uint32, SwapBytes bool) GetConvolutionFilterCookie { +// If an error occurs, it will be returned with the reply by calling GetConvolutionFilterCookie.Reply. +func GetConvolutionFilter(c *xgb.Conn, ContextTag ContextTag, Target, Format, Type uint32, SwapBytes bool) GetConvolutionFilterCookie {  	c.ExtLock.RLock()  	defer c.ExtLock.RUnlock()  	if _, ok := c.Extensions["GLX"]; !ok { @@ -3702,7 +3670,7 @@ func GetConvolutionFilter(c *xgb.Conn, ContextTag ContextTag, Target uint32, For  // GetConvolutionFilterUnchecked sends an unchecked request.  // If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent. -func GetConvolutionFilterUnchecked(c *xgb.Conn, ContextTag ContextTag, Target uint32, Format uint32, Type uint32, SwapBytes bool) GetConvolutionFilterCookie { +func GetConvolutionFilterUnchecked(c *xgb.Conn, ContextTag ContextTag, Target, Format, Type uint32, SwapBytes bool) GetConvolutionFilterCookie {  	c.ExtLock.RLock()  	defer c.ExtLock.RUnlock()  	if _, ok := c.Extensions["GLX"]; !ok { @@ -3767,9 +3735,8 @@ func getConvolutionFilterReply(buf []byte) *GetConvolutionFilterReply {  	return v  } -// Write request to wire for GetConvolutionFilter -// getConvolutionFilterRequest writes a GetConvolutionFilter request to a byte slice. -func getConvolutionFilterRequest(c *xgb.Conn, ContextTag ContextTag, Target uint32, Format uint32, Type uint32, SwapBytes bool) []byte { +// getConvolutionFilterRequest writes a GetConvolutionFilter request to a byte slice for transfer. +func getConvolutionFilterRequest(c *xgb.Conn, ContextTag ContextTag, Target, Format, Type uint32, SwapBytes bool) []byte {  	size := 24  	b := 0  	buf := make([]byte, size) @@ -3813,8 +3780,8 @@ type GetConvolutionParameterfvCookie struct {  }  // GetConvolutionParameterfv sends a checked request. -// If an error occurs, it will be returned with the reply by calling GetConvolutionParameterfvCookie.Reply() -func GetConvolutionParameterfv(c *xgb.Conn, ContextTag ContextTag, Target uint32, Pname uint32) GetConvolutionParameterfvCookie { +// If an error occurs, it will be returned with the reply by calling GetConvolutionParameterfvCookie.Reply. +func GetConvolutionParameterfv(c *xgb.Conn, ContextTag ContextTag, Target, Pname uint32) GetConvolutionParameterfvCookie {  	c.ExtLock.RLock()  	defer c.ExtLock.RUnlock()  	if _, ok := c.Extensions["GLX"]; !ok { @@ -3827,7 +3794,7 @@ func GetConvolutionParameterfv(c *xgb.Conn, ContextTag ContextTag, Target uint32  // GetConvolutionParameterfvUnchecked sends an unchecked request.  // If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent. -func GetConvolutionParameterfvUnchecked(c *xgb.Conn, ContextTag ContextTag, Target uint32, Pname uint32) GetConvolutionParameterfvCookie { +func GetConvolutionParameterfvUnchecked(c *xgb.Conn, ContextTag ContextTag, Target, Pname uint32) GetConvolutionParameterfvCookie {  	c.ExtLock.RLock()  	defer c.ExtLock.RUnlock()  	if _, ok := c.Extensions["GLX"]; !ok { @@ -3894,9 +3861,8 @@ func getConvolutionParameterfvReply(buf []byte) *GetConvolutionParameterfvReply  	return v  } -// Write request to wire for GetConvolutionParameterfv -// getConvolutionParameterfvRequest writes a GetConvolutionParameterfv request to a byte slice. -func getConvolutionParameterfvRequest(c *xgb.Conn, ContextTag ContextTag, Target uint32, Pname uint32) []byte { +// getConvolutionParameterfvRequest writes a GetConvolutionParameterfv request to a byte slice for transfer. +func getConvolutionParameterfvRequest(c *xgb.Conn, ContextTag ContextTag, Target, Pname uint32) []byte {  	size := 16  	b := 0  	buf := make([]byte, size) @@ -3930,8 +3896,8 @@ type GetConvolutionParameterivCookie struct {  }  // GetConvolutionParameteriv sends a checked request. -// If an error occurs, it will be returned with the reply by calling GetConvolutionParameterivCookie.Reply() -func GetConvolutionParameteriv(c *xgb.Conn, ContextTag ContextTag, Target uint32, Pname uint32) GetConvolutionParameterivCookie { +// If an error occurs, it will be returned with the reply by calling GetConvolutionParameterivCookie.Reply. +func GetConvolutionParameteriv(c *xgb.Conn, ContextTag ContextTag, Target, Pname uint32) GetConvolutionParameterivCookie {  	c.ExtLock.RLock()  	defer c.ExtLock.RUnlock()  	if _, ok := c.Extensions["GLX"]; !ok { @@ -3944,7 +3910,7 @@ func GetConvolutionParameteriv(c *xgb.Conn, ContextTag ContextTag, Target uint32  // GetConvolutionParameterivUnchecked sends an unchecked request.  // If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent. -func GetConvolutionParameterivUnchecked(c *xgb.Conn, ContextTag ContextTag, Target uint32, Pname uint32) GetConvolutionParameterivCookie { +func GetConvolutionParameterivUnchecked(c *xgb.Conn, ContextTag ContextTag, Target, Pname uint32) GetConvolutionParameterivCookie {  	c.ExtLock.RLock()  	defer c.ExtLock.RUnlock()  	if _, ok := c.Extensions["GLX"]; !ok { @@ -4011,9 +3977,8 @@ func getConvolutionParameterivReply(buf []byte) *GetConvolutionParameterivReply  	return v  } -// Write request to wire for GetConvolutionParameteriv -// getConvolutionParameterivRequest writes a GetConvolutionParameteriv request to a byte slice. -func getConvolutionParameterivRequest(c *xgb.Conn, ContextTag ContextTag, Target uint32, Pname uint32) []byte { +// getConvolutionParameterivRequest writes a GetConvolutionParameteriv request to a byte slice for transfer. +func getConvolutionParameterivRequest(c *xgb.Conn, ContextTag ContextTag, Target, Pname uint32) []byte {  	size := 16  	b := 0  	buf := make([]byte, size) @@ -4047,7 +4012,7 @@ type GetDoublevCookie struct {  }  // GetDoublev sends a checked request. -// If an error occurs, it will be returned with the reply by calling GetDoublevCookie.Reply() +// If an error occurs, it will be returned with the reply by calling GetDoublevCookie.Reply.  func GetDoublev(c *xgb.Conn, ContextTag ContextTag, Pname uint32) GetDoublevCookie {  	c.ExtLock.RLock()  	defer c.ExtLock.RUnlock() @@ -4128,8 +4093,7 @@ func getDoublevReply(buf []byte) *GetDoublevReply {  	return v  } -// Write request to wire for GetDoublev -// getDoublevRequest writes a GetDoublev request to a byte slice. +// getDoublevRequest writes a GetDoublev request to a byte slice for transfer.  func getDoublevRequest(c *xgb.Conn, ContextTag ContextTag, Pname uint32) []byte {  	size := 12  	b := 0 @@ -4161,7 +4125,7 @@ type GetDrawableAttributesCookie struct {  }  // GetDrawableAttributes sends a checked request. -// If an error occurs, it will be returned with the reply by calling GetDrawableAttributesCookie.Reply() +// If an error occurs, it will be returned with the reply by calling GetDrawableAttributesCookie.Reply.  func GetDrawableAttributes(c *xgb.Conn, Drawable Drawable) GetDrawableAttributesCookie {  	c.ExtLock.RLock()  	defer c.ExtLock.RUnlock() @@ -4235,8 +4199,7 @@ func getDrawableAttributesReply(buf []byte) *GetDrawableAttributesReply {  	return v  } -// Write request to wire for GetDrawableAttributes -// getDrawableAttributesRequest writes a GetDrawableAttributes request to a byte slice. +// getDrawableAttributesRequest writes a GetDrawableAttributes request to a byte slice for transfer.  func getDrawableAttributesRequest(c *xgb.Conn, Drawable Drawable) []byte {  	size := 8  	b := 0 @@ -4265,7 +4228,7 @@ type GetErrorCookie struct {  }  // GetError sends a checked request. -// If an error occurs, it will be returned with the reply by calling GetErrorCookie.Reply() +// If an error occurs, it will be returned with the reply by calling GetErrorCookie.Reply.  func GetError(c *xgb.Conn, ContextTag ContextTag) GetErrorCookie {  	c.ExtLock.RLock()  	defer c.ExtLock.RUnlock() @@ -4329,8 +4292,7 @@ func getErrorReply(buf []byte) *GetErrorReply {  	return v  } -// Write request to wire for GetError -// getErrorRequest writes a GetError request to a byte slice. +// getErrorRequest writes a GetError request to a byte slice for transfer.  func getErrorRequest(c *xgb.Conn, ContextTag ContextTag) []byte {  	size := 8  	b := 0 @@ -4359,7 +4321,7 @@ type GetFBConfigsCookie struct {  }  // GetFBConfigs sends a checked request. -// If an error occurs, it will be returned with the reply by calling GetFBConfigsCookie.Reply() +// If an error occurs, it will be returned with the reply by calling GetFBConfigsCookie.Reply.  func GetFBConfigs(c *xgb.Conn, Screen uint32) GetFBConfigsCookie {  	c.ExtLock.RLock()  	defer c.ExtLock.RUnlock() @@ -4437,8 +4399,7 @@ func getFBConfigsReply(buf []byte) *GetFBConfigsReply {  	return v  } -// Write request to wire for GetFBConfigs -// getFBConfigsRequest writes a GetFBConfigs request to a byte slice. +// getFBConfigsRequest writes a GetFBConfigs request to a byte slice for transfer.  func getFBConfigsRequest(c *xgb.Conn, Screen uint32) []byte {  	size := 8  	b := 0 @@ -4467,7 +4428,7 @@ type GetFloatvCookie struct {  }  // GetFloatv sends a checked request. -// If an error occurs, it will be returned with the reply by calling GetFloatvCookie.Reply() +// If an error occurs, it will be returned with the reply by calling GetFloatvCookie.Reply.  func GetFloatv(c *xgb.Conn, ContextTag ContextTag, Pname uint32) GetFloatvCookie {  	c.ExtLock.RLock()  	defer c.ExtLock.RUnlock() @@ -4548,8 +4509,7 @@ func getFloatvReply(buf []byte) *GetFloatvReply {  	return v  } -// Write request to wire for GetFloatv -// getFloatvRequest writes a GetFloatv request to a byte slice. +// getFloatvRequest writes a GetFloatv request to a byte slice for transfer.  func getFloatvRequest(c *xgb.Conn, ContextTag ContextTag, Pname uint32) []byte {  	size := 12  	b := 0 @@ -4581,8 +4541,8 @@ type GetHistogramCookie struct {  }  // GetHistogram sends a checked request. -// If an error occurs, it will be returned with the reply by calling GetHistogramCookie.Reply() -func GetHistogram(c *xgb.Conn, ContextTag ContextTag, Target uint32, Format uint32, Type uint32, SwapBytes bool, Reset bool) GetHistogramCookie { +// If an error occurs, it will be returned with the reply by calling GetHistogramCookie.Reply. +func GetHistogram(c *xgb.Conn, ContextTag ContextTag, Target, Format, Type uint32, SwapBytes, Reset bool) GetHistogramCookie {  	c.ExtLock.RLock()  	defer c.ExtLock.RUnlock()  	if _, ok := c.Extensions["GLX"]; !ok { @@ -4595,7 +4555,7 @@ func GetHistogram(c *xgb.Conn, ContextTag ContextTag, Target uint32, Format uint  // GetHistogramUnchecked sends an unchecked request.  // If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent. -func GetHistogramUnchecked(c *xgb.Conn, ContextTag ContextTag, Target uint32, Format uint32, Type uint32, SwapBytes bool, Reset bool) GetHistogramCookie { +func GetHistogramUnchecked(c *xgb.Conn, ContextTag ContextTag, Target, Format, Type uint32, SwapBytes, Reset bool) GetHistogramCookie {  	c.ExtLock.RLock()  	defer c.ExtLock.RUnlock()  	if _, ok := c.Extensions["GLX"]; !ok { @@ -4656,9 +4616,8 @@ func getHistogramReply(buf []byte) *GetHistogramReply {  	return v  } -// Write request to wire for GetHistogram -// getHistogramRequest writes a GetHistogram request to a byte slice. -func getHistogramRequest(c *xgb.Conn, ContextTag ContextTag, Target uint32, Format uint32, Type uint32, SwapBytes bool, Reset bool) []byte { +// getHistogramRequest writes a GetHistogram request to a byte slice for transfer. +func getHistogramRequest(c *xgb.Conn, ContextTag ContextTag, Target, Format, Type uint32, SwapBytes, Reset bool) []byte {  	size := 24  	b := 0  	buf := make([]byte, size) @@ -4709,8 +4668,8 @@ type GetHistogramParameterfvCookie struct {  }  // GetHistogramParameterfv sends a checked request. -// If an error occurs, it will be returned with the reply by calling GetHistogramParameterfvCookie.Reply() -func GetHistogramParameterfv(c *xgb.Conn, ContextTag ContextTag, Target uint32, Pname uint32) GetHistogramParameterfvCookie { +// If an error occurs, it will be returned with the reply by calling GetHistogramParameterfvCookie.Reply. +func GetHistogramParameterfv(c *xgb.Conn, ContextTag ContextTag, Target, Pname uint32) GetHistogramParameterfvCookie {  	c.ExtLock.RLock()  	defer c.ExtLock.RUnlock()  	if _, ok := c.Extensions["GLX"]; !ok { @@ -4723,7 +4682,7 @@ func GetHistogramParameterfv(c *xgb.Conn, ContextTag ContextTag, Target uint32,  // GetHistogramParameterfvUnchecked sends an unchecked request.  // If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent. -func GetHistogramParameterfvUnchecked(c *xgb.Conn, ContextTag ContextTag, Target uint32, Pname uint32) GetHistogramParameterfvCookie { +func GetHistogramParameterfvUnchecked(c *xgb.Conn, ContextTag ContextTag, Target, Pname uint32) GetHistogramParameterfvCookie {  	c.ExtLock.RLock()  	defer c.ExtLock.RUnlock()  	if _, ok := c.Extensions["GLX"]; !ok { @@ -4790,9 +4749,8 @@ func getHistogramParameterfvReply(buf []byte) *GetHistogramParameterfvReply {  	return v  } -// Write request to wire for GetHistogramParameterfv -// getHistogramParameterfvRequest writes a GetHistogramParameterfv request to a byte slice. -func getHistogramParameterfvRequest(c *xgb.Conn, ContextTag ContextTag, Target uint32, Pname uint32) []byte { +// getHistogramParameterfvRequest writes a GetHistogramParameterfv request to a byte slice for transfer. +func getHistogramParameterfvRequest(c *xgb.Conn, ContextTag ContextTag, Target, Pname uint32) []byte {  	size := 16  	b := 0  	buf := make([]byte, size) @@ -4826,8 +4784,8 @@ type GetHistogramParameterivCookie struct {  }  // GetHistogramParameteriv sends a checked request. -// If an error occurs, it will be returned with the reply by calling GetHistogramParameterivCookie.Reply() -func GetHistogramParameteriv(c *xgb.Conn, ContextTag ContextTag, Target uint32, Pname uint32) GetHistogramParameterivCookie { +// If an error occurs, it will be returned with the reply by calling GetHistogramParameterivCookie.Reply. +func GetHistogramParameteriv(c *xgb.Conn, ContextTag ContextTag, Target, Pname uint32) GetHistogramParameterivCookie {  	c.ExtLock.RLock()  	defer c.ExtLock.RUnlock()  	if _, ok := c.Extensions["GLX"]; !ok { @@ -4840,7 +4798,7 @@ func GetHistogramParameteriv(c *xgb.Conn, ContextTag ContextTag, Target uint32,  // GetHistogramParameterivUnchecked sends an unchecked request.  // If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent. -func GetHistogramParameterivUnchecked(c *xgb.Conn, ContextTag ContextTag, Target uint32, Pname uint32) GetHistogramParameterivCookie { +func GetHistogramParameterivUnchecked(c *xgb.Conn, ContextTag ContextTag, Target, Pname uint32) GetHistogramParameterivCookie {  	c.ExtLock.RLock()  	defer c.ExtLock.RUnlock()  	if _, ok := c.Extensions["GLX"]; !ok { @@ -4907,9 +4865,8 @@ func getHistogramParameterivReply(buf []byte) *GetHistogramParameterivReply {  	return v  } -// Write request to wire for GetHistogramParameteriv -// getHistogramParameterivRequest writes a GetHistogramParameteriv request to a byte slice. -func getHistogramParameterivRequest(c *xgb.Conn, ContextTag ContextTag, Target uint32, Pname uint32) []byte { +// getHistogramParameterivRequest writes a GetHistogramParameteriv request to a byte slice for transfer. +func getHistogramParameterivRequest(c *xgb.Conn, ContextTag ContextTag, Target, Pname uint32) []byte {  	size := 16  	b := 0  	buf := make([]byte, size) @@ -4943,7 +4900,7 @@ type GetIntegervCookie struct {  }  // GetIntegerv sends a checked request. -// If an error occurs, it will be returned with the reply by calling GetIntegervCookie.Reply() +// If an error occurs, it will be returned with the reply by calling GetIntegervCookie.Reply.  func GetIntegerv(c *xgb.Conn, ContextTag ContextTag, Pname uint32) GetIntegervCookie {  	c.ExtLock.RLock()  	defer c.ExtLock.RUnlock() @@ -5024,8 +4981,7 @@ func getIntegervReply(buf []byte) *GetIntegervReply {  	return v  } -// Write request to wire for GetIntegerv -// getIntegervRequest writes a GetIntegerv request to a byte slice. +// getIntegervRequest writes a GetIntegerv request to a byte slice for transfer.  func getIntegervRequest(c *xgb.Conn, ContextTag ContextTag, Pname uint32) []byte {  	size := 12  	b := 0 @@ -5057,8 +5013,8 @@ type GetLightfvCookie struct {  }  // GetLightfv sends a checked request. -// If an error occurs, it will be returned with the reply by calling GetLightfvCookie.Reply() -func GetLightfv(c *xgb.Conn, ContextTag ContextTag, Light uint32, Pname uint32) GetLightfvCookie { +// If an error occurs, it will be returned with the reply by calling GetLightfvCookie.Reply. +func GetLightfv(c *xgb.Conn, ContextTag ContextTag, Light, Pname uint32) GetLightfvCookie {  	c.ExtLock.RLock()  	defer c.ExtLock.RUnlock()  	if _, ok := c.Extensions["GLX"]; !ok { @@ -5071,7 +5027,7 @@ func GetLightfv(c *xgb.Conn, ContextTag ContextTag, Light uint32, Pname uint32)  // GetLightfvUnchecked sends an unchecked request.  // If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent. -func GetLightfvUnchecked(c *xgb.Conn, ContextTag ContextTag, Light uint32, Pname uint32) GetLightfvCookie { +func GetLightfvUnchecked(c *xgb.Conn, ContextTag ContextTag, Light, Pname uint32) GetLightfvCookie {  	c.ExtLock.RLock()  	defer c.ExtLock.RUnlock()  	if _, ok := c.Extensions["GLX"]; !ok { @@ -5138,9 +5094,8 @@ func getLightfvReply(buf []byte) *GetLightfvReply {  	return v  } -// Write request to wire for GetLightfv -// getLightfvRequest writes a GetLightfv request to a byte slice. -func getLightfvRequest(c *xgb.Conn, ContextTag ContextTag, Light uint32, Pname uint32) []byte { +// getLightfvRequest writes a GetLightfv request to a byte slice for transfer. +func getLightfvRequest(c *xgb.Conn, ContextTag ContextTag, Light, Pname uint32) []byte {  	size := 16  	b := 0  	buf := make([]byte, size) @@ -5174,8 +5129,8 @@ type GetLightivCookie struct {  }  // GetLightiv sends a checked request. -// If an error occurs, it will be returned with the reply by calling GetLightivCookie.Reply() -func GetLightiv(c *xgb.Conn, ContextTag ContextTag, Light uint32, Pname uint32) GetLightivCookie { +// If an error occurs, it will be returned with the reply by calling GetLightivCookie.Reply. +func GetLightiv(c *xgb.Conn, ContextTag ContextTag, Light, Pname uint32) GetLightivCookie {  	c.ExtLock.RLock()  	defer c.ExtLock.RUnlock()  	if _, ok := c.Extensions["GLX"]; !ok { @@ -5188,7 +5143,7 @@ func GetLightiv(c *xgb.Conn, ContextTag ContextTag, Light uint32, Pname uint32)  // GetLightivUnchecked sends an unchecked request.  // If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent. -func GetLightivUnchecked(c *xgb.Conn, ContextTag ContextTag, Light uint32, Pname uint32) GetLightivCookie { +func GetLightivUnchecked(c *xgb.Conn, ContextTag ContextTag, Light, Pname uint32) GetLightivCookie {  	c.ExtLock.RLock()  	defer c.ExtLock.RUnlock()  	if _, ok := c.Extensions["GLX"]; !ok { @@ -5255,9 +5210,8 @@ func getLightivReply(buf []byte) *GetLightivReply {  	return v  } -// Write request to wire for GetLightiv -// getLightivRequest writes a GetLightiv request to a byte slice. -func getLightivRequest(c *xgb.Conn, ContextTag ContextTag, Light uint32, Pname uint32) []byte { +// getLightivRequest writes a GetLightiv request to a byte slice for transfer. +func getLightivRequest(c *xgb.Conn, ContextTag ContextTag, Light, Pname uint32) []byte {  	size := 16  	b := 0  	buf := make([]byte, size) @@ -5291,8 +5245,8 @@ type GetMapdvCookie struct {  }  // GetMapdv sends a checked request. -// If an error occurs, it will be returned with the reply by calling GetMapdvCookie.Reply() -func GetMapdv(c *xgb.Conn, ContextTag ContextTag, Target uint32, Query uint32) GetMapdvCookie { +// If an error occurs, it will be returned with the reply by calling GetMapdvCookie.Reply. +func GetMapdv(c *xgb.Conn, ContextTag ContextTag, Target, Query uint32) GetMapdvCookie {  	c.ExtLock.RLock()  	defer c.ExtLock.RUnlock()  	if _, ok := c.Extensions["GLX"]; !ok { @@ -5305,7 +5259,7 @@ func GetMapdv(c *xgb.Conn, ContextTag ContextTag, Target uint32, Query uint32) G  // GetMapdvUnchecked sends an unchecked request.  // If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent. -func GetMapdvUnchecked(c *xgb.Conn, ContextTag ContextTag, Target uint32, Query uint32) GetMapdvCookie { +func GetMapdvUnchecked(c *xgb.Conn, ContextTag ContextTag, Target, Query uint32) GetMapdvCookie {  	c.ExtLock.RLock()  	defer c.ExtLock.RUnlock()  	if _, ok := c.Extensions["GLX"]; !ok { @@ -5372,9 +5326,8 @@ func getMapdvReply(buf []byte) *GetMapdvReply {  	return v  } -// Write request to wire for GetMapdv -// getMapdvRequest writes a GetMapdv request to a byte slice. -func getMapdvRequest(c *xgb.Conn, ContextTag ContextTag, Target uint32, Query uint32) []byte { +// getMapdvRequest writes a GetMapdv request to a byte slice for transfer. +func getMapdvRequest(c *xgb.Conn, ContextTag ContextTag, Target, Query uint32) []byte {  	size := 16  	b := 0  	buf := make([]byte, size) @@ -5408,8 +5361,8 @@ type GetMapfvCookie struct {  }  // GetMapfv sends a checked request. -// If an error occurs, it will be returned with the reply by calling GetMapfvCookie.Reply() -func GetMapfv(c *xgb.Conn, ContextTag ContextTag, Target uint32, Query uint32) GetMapfvCookie { +// If an error occurs, it will be returned with the reply by calling GetMapfvCookie.Reply. +func GetMapfv(c *xgb.Conn, ContextTag ContextTag, Target, Query uint32) GetMapfvCookie {  	c.ExtLock.RLock()  	defer c.ExtLock.RUnlock()  	if _, ok := c.Extensions["GLX"]; !ok { @@ -5422,7 +5375,7 @@ func GetMapfv(c *xgb.Conn, ContextTag ContextTag, Target uint32, Query uint32) G  // GetMapfvUnchecked sends an unchecked request.  // If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent. -func GetMapfvUnchecked(c *xgb.Conn, ContextTag ContextTag, Target uint32, Query uint32) GetMapfvCookie { +func GetMapfvUnchecked(c *xgb.Conn, ContextTag ContextTag, Target, Query uint32) GetMapfvCookie {  	c.ExtLock.RLock()  	defer c.ExtLock.RUnlock()  	if _, ok := c.Extensions["GLX"]; !ok { @@ -5489,9 +5442,8 @@ func getMapfvReply(buf []byte) *GetMapfvReply {  	return v  } -// Write request to wire for GetMapfv -// getMapfvRequest writes a GetMapfv request to a byte slice. -func getMapfvRequest(c *xgb.Conn, ContextTag ContextTag, Target uint32, Query uint32) []byte { +// getMapfvRequest writes a GetMapfv request to a byte slice for transfer. +func getMapfvRequest(c *xgb.Conn, ContextTag ContextTag, Target, Query uint32) []byte {  	size := 16  	b := 0  	buf := make([]byte, size) @@ -5525,8 +5477,8 @@ type GetMapivCookie struct {  }  // GetMapiv sends a checked request. -// If an error occurs, it will be returned with the reply by calling GetMapivCookie.Reply() -func GetMapiv(c *xgb.Conn, ContextTag ContextTag, Target uint32, Query uint32) GetMapivCookie { +// If an error occurs, it will be returned with the reply by calling GetMapivCookie.Reply. +func GetMapiv(c *xgb.Conn, ContextTag ContextTag, Target, Query uint32) GetMapivCookie {  	c.ExtLock.RLock()  	defer c.ExtLock.RUnlock()  	if _, ok := c.Extensions["GLX"]; !ok { @@ -5539,7 +5491,7 @@ func GetMapiv(c *xgb.Conn, ContextTag ContextTag, Target uint32, Query uint32) G  // GetMapivUnchecked sends an unchecked request.  // If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent. -func GetMapivUnchecked(c *xgb.Conn, ContextTag ContextTag, Target uint32, Query uint32) GetMapivCookie { +func GetMapivUnchecked(c *xgb.Conn, ContextTag ContextTag, Target, Query uint32) GetMapivCookie {  	c.ExtLock.RLock()  	defer c.ExtLock.RUnlock()  	if _, ok := c.Extensions["GLX"]; !ok { @@ -5606,9 +5558,8 @@ func getMapivReply(buf []byte) *GetMapivReply {  	return v  } -// Write request to wire for GetMapiv -// getMapivRequest writes a GetMapiv request to a byte slice. -func getMapivRequest(c *xgb.Conn, ContextTag ContextTag, Target uint32, Query uint32) []byte { +// getMapivRequest writes a GetMapiv request to a byte slice for transfer. +func getMapivRequest(c *xgb.Conn, ContextTag ContextTag, Target, Query uint32) []byte {  	size := 16  	b := 0  	buf := make([]byte, size) @@ -5642,8 +5593,8 @@ type GetMaterialfvCookie struct {  }  // GetMaterialfv sends a checked request. -// If an error occurs, it will be returned with the reply by calling GetMaterialfvCookie.Reply() -func GetMaterialfv(c *xgb.Conn, ContextTag ContextTag, Face uint32, Pname uint32) GetMaterialfvCookie { +// If an error occurs, it will be returned with the reply by calling GetMaterialfvCookie.Reply. +func GetMaterialfv(c *xgb.Conn, ContextTag ContextTag, Face, Pname uint32) GetMaterialfvCookie {  	c.ExtLock.RLock()  	defer c.ExtLock.RUnlock()  	if _, ok := c.Extensions["GLX"]; !ok { @@ -5656,7 +5607,7 @@ func GetMaterialfv(c *xgb.Conn, ContextTag ContextTag, Face uint32, Pname uint32  // GetMaterialfvUnchecked sends an unchecked request.  // If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent. -func GetMaterialfvUnchecked(c *xgb.Conn, ContextTag ContextTag, Face uint32, Pname uint32) GetMaterialfvCookie { +func GetMaterialfvUnchecked(c *xgb.Conn, ContextTag ContextTag, Face, Pname uint32) GetMaterialfvCookie {  	c.ExtLock.RLock()  	defer c.ExtLock.RUnlock()  	if _, ok := c.Extensions["GLX"]; !ok { @@ -5723,9 +5674,8 @@ func getMaterialfvReply(buf []byte) *GetMaterialfvReply {  	return v  } -// Write request to wire for GetMaterialfv -// getMaterialfvRequest writes a GetMaterialfv request to a byte slice. -func getMaterialfvRequest(c *xgb.Conn, ContextTag ContextTag, Face uint32, Pname uint32) []byte { +// getMaterialfvRequest writes a GetMaterialfv request to a byte slice for transfer. +func getMaterialfvRequest(c *xgb.Conn, ContextTag ContextTag, Face, Pname uint32) []byte {  	size := 16  	b := 0  	buf := make([]byte, size) @@ -5759,8 +5709,8 @@ type GetMaterialivCookie struct {  }  // GetMaterialiv sends a checked request. -// If an error occurs, it will be returned with the reply by calling GetMaterialivCookie.Reply() -func GetMaterialiv(c *xgb.Conn, ContextTag ContextTag, Face uint32, Pname uint32) GetMaterialivCookie { +// If an error occurs, it will be returned with the reply by calling GetMaterialivCookie.Reply. +func GetMaterialiv(c *xgb.Conn, ContextTag ContextTag, Face, Pname uint32) GetMaterialivCookie {  	c.ExtLock.RLock()  	defer c.ExtLock.RUnlock()  	if _, ok := c.Extensions["GLX"]; !ok { @@ -5773,7 +5723,7 @@ func GetMaterialiv(c *xgb.Conn, ContextTag ContextTag, Face uint32, Pname uint32  // GetMaterialivUnchecked sends an unchecked request.  // If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent. -func GetMaterialivUnchecked(c *xgb.Conn, ContextTag ContextTag, Face uint32, Pname uint32) GetMaterialivCookie { +func GetMaterialivUnchecked(c *xgb.Conn, ContextTag ContextTag, Face, Pname uint32) GetMaterialivCookie {  	c.ExtLock.RLock()  	defer c.ExtLock.RUnlock()  	if _, ok := c.Extensions["GLX"]; !ok { @@ -5840,9 +5790,8 @@ func getMaterialivReply(buf []byte) *GetMaterialivReply {  	return v  } -// Write request to wire for GetMaterialiv -// getMaterialivRequest writes a GetMaterialiv request to a byte slice. -func getMaterialivRequest(c *xgb.Conn, ContextTag ContextTag, Face uint32, Pname uint32) []byte { +// getMaterialivRequest writes a GetMaterialiv request to a byte slice for transfer. +func getMaterialivRequest(c *xgb.Conn, ContextTag ContextTag, Face, Pname uint32) []byte {  	size := 16  	b := 0  	buf := make([]byte, size) @@ -5876,8 +5825,8 @@ type GetMinmaxCookie struct {  }  // GetMinmax sends a checked request. -// If an error occurs, it will be returned with the reply by calling GetMinmaxCookie.Reply() -func GetMinmax(c *xgb.Conn, ContextTag ContextTag, Target uint32, Format uint32, Type uint32, SwapBytes bool, Reset bool) GetMinmaxCookie { +// If an error occurs, it will be returned with the reply by calling GetMinmaxCookie.Reply. +func GetMinmax(c *xgb.Conn, ContextTag ContextTag, Target, Format, Type uint32, SwapBytes, Reset bool) GetMinmaxCookie {  	c.ExtLock.RLock()  	defer c.ExtLock.RUnlock()  	if _, ok := c.Extensions["GLX"]; !ok { @@ -5890,7 +5839,7 @@ func GetMinmax(c *xgb.Conn, ContextTag ContextTag, Target uint32, Format uint32,  // GetMinmaxUnchecked sends an unchecked request.  // If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent. -func GetMinmaxUnchecked(c *xgb.Conn, ContextTag ContextTag, Target uint32, Format uint32, Type uint32, SwapBytes bool, Reset bool) GetMinmaxCookie { +func GetMinmaxUnchecked(c *xgb.Conn, ContextTag ContextTag, Target, Format, Type uint32, SwapBytes, Reset bool) GetMinmaxCookie {  	c.ExtLock.RLock()  	defer c.ExtLock.RUnlock()  	if _, ok := c.Extensions["GLX"]; !ok { @@ -5944,9 +5893,8 @@ func getMinmaxReply(buf []byte) *GetMinmaxReply {  	return v  } -// Write request to wire for GetMinmax -// getMinmaxRequest writes a GetMinmax request to a byte slice. -func getMinmaxRequest(c *xgb.Conn, ContextTag ContextTag, Target uint32, Format uint32, Type uint32, SwapBytes bool, Reset bool) []byte { +// getMinmaxRequest writes a GetMinmax request to a byte slice for transfer. +func getMinmaxRequest(c *xgb.Conn, ContextTag ContextTag, Target, Format, Type uint32, SwapBytes, Reset bool) []byte {  	size := 24  	b := 0  	buf := make([]byte, size) @@ -5997,8 +5945,8 @@ type GetMinmaxParameterfvCookie struct {  }  // GetMinmaxParameterfv sends a checked request. -// If an error occurs, it will be returned with the reply by calling GetMinmaxParameterfvCookie.Reply() -func GetMinmaxParameterfv(c *xgb.Conn, ContextTag ContextTag, Target uint32, Pname uint32) GetMinmaxParameterfvCookie { +// If an error occurs, it will be returned with the reply by calling GetMinmaxParameterfvCookie.Reply. +func GetMinmaxParameterfv(c *xgb.Conn, ContextTag ContextTag, Target, Pname uint32) GetMinmaxParameterfvCookie {  	c.ExtLock.RLock()  	defer c.ExtLock.RUnlock()  	if _, ok := c.Extensions["GLX"]; !ok { @@ -6011,7 +5959,7 @@ func GetMinmaxParameterfv(c *xgb.Conn, ContextTag ContextTag, Target uint32, Pna  // GetMinmaxParameterfvUnchecked sends an unchecked request.  // If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent. -func GetMinmaxParameterfvUnchecked(c *xgb.Conn, ContextTag ContextTag, Target uint32, Pname uint32) GetMinmaxParameterfvCookie { +func GetMinmaxParameterfvUnchecked(c *xgb.Conn, ContextTag ContextTag, Target, Pname uint32) GetMinmaxParameterfvCookie {  	c.ExtLock.RLock()  	defer c.ExtLock.RUnlock()  	if _, ok := c.Extensions["GLX"]; !ok { @@ -6078,9 +6026,8 @@ func getMinmaxParameterfvReply(buf []byte) *GetMinmaxParameterfvReply {  	return v  } -// Write request to wire for GetMinmaxParameterfv -// getMinmaxParameterfvRequest writes a GetMinmaxParameterfv request to a byte slice. -func getMinmaxParameterfvRequest(c *xgb.Conn, ContextTag ContextTag, Target uint32, Pname uint32) []byte { +// getMinmaxParameterfvRequest writes a GetMinmaxParameterfv request to a byte slice for transfer. +func getMinmaxParameterfvRequest(c *xgb.Conn, ContextTag ContextTag, Target, Pname uint32) []byte {  	size := 16  	b := 0  	buf := make([]byte, size) @@ -6114,8 +6061,8 @@ type GetMinmaxParameterivCookie struct {  }  // GetMinmaxParameteriv sends a checked request. -// If an error occurs, it will be returned with the reply by calling GetMinmaxParameterivCookie.Reply() -func GetMinmaxParameteriv(c *xgb.Conn, ContextTag ContextTag, Target uint32, Pname uint32) GetMinmaxParameterivCookie { +// If an error occurs, it will be returned with the reply by calling GetMinmaxParameterivCookie.Reply. +func GetMinmaxParameteriv(c *xgb.Conn, ContextTag ContextTag, Target, Pname uint32) GetMinmaxParameterivCookie {  	c.ExtLock.RLock()  	defer c.ExtLock.RUnlock()  	if _, ok := c.Extensions["GLX"]; !ok { @@ -6128,7 +6075,7 @@ func GetMinmaxParameteriv(c *xgb.Conn, ContextTag ContextTag, Target uint32, Pna  // GetMinmaxParameterivUnchecked sends an unchecked request.  // If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent. -func GetMinmaxParameterivUnchecked(c *xgb.Conn, ContextTag ContextTag, Target uint32, Pname uint32) GetMinmaxParameterivCookie { +func GetMinmaxParameterivUnchecked(c *xgb.Conn, ContextTag ContextTag, Target, Pname uint32) GetMinmaxParameterivCookie {  	c.ExtLock.RLock()  	defer c.ExtLock.RUnlock()  	if _, ok := c.Extensions["GLX"]; !ok { @@ -6195,9 +6142,8 @@ func getMinmaxParameterivReply(buf []byte) *GetMinmaxParameterivReply {  	return v  } -// Write request to wire for GetMinmaxParameteriv -// getMinmaxParameterivRequest writes a GetMinmaxParameteriv request to a byte slice. -func getMinmaxParameterivRequest(c *xgb.Conn, ContextTag ContextTag, Target uint32, Pname uint32) []byte { +// getMinmaxParameterivRequest writes a GetMinmaxParameteriv request to a byte slice for transfer. +func getMinmaxParameterivRequest(c *xgb.Conn, ContextTag ContextTag, Target, Pname uint32) []byte {  	size := 16  	b := 0  	buf := make([]byte, size) @@ -6231,7 +6177,7 @@ type GetPixelMapfvCookie struct {  }  // GetPixelMapfv sends a checked request. -// If an error occurs, it will be returned with the reply by calling GetPixelMapfvCookie.Reply() +// If an error occurs, it will be returned with the reply by calling GetPixelMapfvCookie.Reply.  func GetPixelMapfv(c *xgb.Conn, ContextTag ContextTag, Map uint32) GetPixelMapfvCookie {  	c.ExtLock.RLock()  	defer c.ExtLock.RUnlock() @@ -6312,8 +6258,7 @@ func getPixelMapfvReply(buf []byte) *GetPixelMapfvReply {  	return v  } -// Write request to wire for GetPixelMapfv -// getPixelMapfvRequest writes a GetPixelMapfv request to a byte slice. +// getPixelMapfvRequest writes a GetPixelMapfv request to a byte slice for transfer.  func getPixelMapfvRequest(c *xgb.Conn, ContextTag ContextTag, Map uint32) []byte {  	size := 12  	b := 0 @@ -6345,7 +6290,7 @@ type GetPixelMapuivCookie struct {  }  // GetPixelMapuiv sends a checked request. -// If an error occurs, it will be returned with the reply by calling GetPixelMapuivCookie.Reply() +// If an error occurs, it will be returned with the reply by calling GetPixelMapuivCookie.Reply.  func GetPixelMapuiv(c *xgb.Conn, ContextTag ContextTag, Map uint32) GetPixelMapuivCookie {  	c.ExtLock.RLock()  	defer c.ExtLock.RUnlock() @@ -6426,8 +6371,7 @@ func getPixelMapuivReply(buf []byte) *GetPixelMapuivReply {  	return v  } -// Write request to wire for GetPixelMapuiv -// getPixelMapuivRequest writes a GetPixelMapuiv request to a byte slice. +// getPixelMapuivRequest writes a GetPixelMapuiv request to a byte slice for transfer.  func getPixelMapuivRequest(c *xgb.Conn, ContextTag ContextTag, Map uint32) []byte {  	size := 12  	b := 0 @@ -6459,7 +6403,7 @@ type GetPixelMapusvCookie struct {  }  // GetPixelMapusv sends a checked request. -// If an error occurs, it will be returned with the reply by calling GetPixelMapusvCookie.Reply() +// If an error occurs, it will be returned with the reply by calling GetPixelMapusvCookie.Reply.  func GetPixelMapusv(c *xgb.Conn, ContextTag ContextTag, Map uint32) GetPixelMapusvCookie {  	c.ExtLock.RLock()  	defer c.ExtLock.RUnlock() @@ -6540,8 +6484,7 @@ func getPixelMapusvReply(buf []byte) *GetPixelMapusvReply {  	return v  } -// Write request to wire for GetPixelMapusv -// getPixelMapusvRequest writes a GetPixelMapusv request to a byte slice. +// getPixelMapusvRequest writes a GetPixelMapusv request to a byte slice for transfer.  func getPixelMapusvRequest(c *xgb.Conn, ContextTag ContextTag, Map uint32) []byte {  	size := 12  	b := 0 @@ -6573,7 +6516,7 @@ type GetPolygonStippleCookie struct {  }  // GetPolygonStipple sends a checked request. -// If an error occurs, it will be returned with the reply by calling GetPolygonStippleCookie.Reply() +// If an error occurs, it will be returned with the reply by calling GetPolygonStippleCookie.Reply.  func GetPolygonStipple(c *xgb.Conn, ContextTag ContextTag, LsbFirst bool) GetPolygonStippleCookie {  	c.ExtLock.RLock()  	defer c.ExtLock.RUnlock() @@ -6641,8 +6584,7 @@ func getPolygonStippleReply(buf []byte) *GetPolygonStippleReply {  	return v  } -// Write request to wire for GetPolygonStipple -// getPolygonStippleRequest writes a GetPolygonStipple request to a byte slice. +// getPolygonStippleRequest writes a GetPolygonStipple request to a byte slice for transfer.  func getPolygonStippleRequest(c *xgb.Conn, ContextTag ContextTag, LsbFirst bool) []byte {  	size := 12  	b := 0 @@ -6678,8 +6620,8 @@ type GetQueryObjectivARBCookie struct {  }  // GetQueryObjectivARB sends a checked request. -// If an error occurs, it will be returned with the reply by calling GetQueryObjectivARBCookie.Reply() -func GetQueryObjectivARB(c *xgb.Conn, ContextTag ContextTag, Id uint32, Pname uint32) GetQueryObjectivARBCookie { +// If an error occurs, it will be returned with the reply by calling GetQueryObjectivARBCookie.Reply. +func GetQueryObjectivARB(c *xgb.Conn, ContextTag ContextTag, Id, Pname uint32) GetQueryObjectivARBCookie {  	c.ExtLock.RLock()  	defer c.ExtLock.RUnlock()  	if _, ok := c.Extensions["GLX"]; !ok { @@ -6692,7 +6634,7 @@ func GetQueryObjectivARB(c *xgb.Conn, ContextTag ContextTag, Id uint32, Pname ui  // GetQueryObjectivARBUnchecked sends an unchecked request.  // If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent. -func GetQueryObjectivARBUnchecked(c *xgb.Conn, ContextTag ContextTag, Id uint32, Pname uint32) GetQueryObjectivARBCookie { +func GetQueryObjectivARBUnchecked(c *xgb.Conn, ContextTag ContextTag, Id, Pname uint32) GetQueryObjectivARBCookie {  	c.ExtLock.RLock()  	defer c.ExtLock.RUnlock()  	if _, ok := c.Extensions["GLX"]; !ok { @@ -6759,9 +6701,8 @@ func getQueryObjectivARBReply(buf []byte) *GetQueryObjectivARBReply {  	return v  } -// Write request to wire for GetQueryObjectivARB -// getQueryObjectivARBRequest writes a GetQueryObjectivARB request to a byte slice. -func getQueryObjectivARBRequest(c *xgb.Conn, ContextTag ContextTag, Id uint32, Pname uint32) []byte { +// getQueryObjectivARBRequest writes a GetQueryObjectivARB request to a byte slice for transfer. +func getQueryObjectivARBRequest(c *xgb.Conn, ContextTag ContextTag, Id, Pname uint32) []byte {  	size := 16  	b := 0  	buf := make([]byte, size) @@ -6795,8 +6736,8 @@ type GetQueryObjectuivARBCookie struct {  }  // GetQueryObjectuivARB sends a checked request. -// If an error occurs, it will be returned with the reply by calling GetQueryObjectuivARBCookie.Reply() -func GetQueryObjectuivARB(c *xgb.Conn, ContextTag ContextTag, Id uint32, Pname uint32) GetQueryObjectuivARBCookie { +// If an error occurs, it will be returned with the reply by calling GetQueryObjectuivARBCookie.Reply. +func GetQueryObjectuivARB(c *xgb.Conn, ContextTag ContextTag, Id, Pname uint32) GetQueryObjectuivARBCookie {  	c.ExtLock.RLock()  	defer c.ExtLock.RUnlock()  	if _, ok := c.Extensions["GLX"]; !ok { @@ -6809,7 +6750,7 @@ func GetQueryObjectuivARB(c *xgb.Conn, ContextTag ContextTag, Id uint32, Pname u  // GetQueryObjectuivARBUnchecked sends an unchecked request.  // If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent. -func GetQueryObjectuivARBUnchecked(c *xgb.Conn, ContextTag ContextTag, Id uint32, Pname uint32) GetQueryObjectuivARBCookie { +func GetQueryObjectuivARBUnchecked(c *xgb.Conn, ContextTag ContextTag, Id, Pname uint32) GetQueryObjectuivARBCookie {  	c.ExtLock.RLock()  	defer c.ExtLock.RUnlock()  	if _, ok := c.Extensions["GLX"]; !ok { @@ -6876,9 +6817,8 @@ func getQueryObjectuivARBReply(buf []byte) *GetQueryObjectuivARBReply {  	return v  } -// Write request to wire for GetQueryObjectuivARB -// getQueryObjectuivARBRequest writes a GetQueryObjectuivARB request to a byte slice. -func getQueryObjectuivARBRequest(c *xgb.Conn, ContextTag ContextTag, Id uint32, Pname uint32) []byte { +// getQueryObjectuivARBRequest writes a GetQueryObjectuivARB request to a byte slice for transfer. +func getQueryObjectuivARBRequest(c *xgb.Conn, ContextTag ContextTag, Id, Pname uint32) []byte {  	size := 16  	b := 0  	buf := make([]byte, size) @@ -6912,8 +6852,8 @@ type GetQueryivARBCookie struct {  }  // GetQueryivARB sends a checked request. -// If an error occurs, it will be returned with the reply by calling GetQueryivARBCookie.Reply() -func GetQueryivARB(c *xgb.Conn, ContextTag ContextTag, Target uint32, Pname uint32) GetQueryivARBCookie { +// If an error occurs, it will be returned with the reply by calling GetQueryivARBCookie.Reply. +func GetQueryivARB(c *xgb.Conn, ContextTag ContextTag, Target, Pname uint32) GetQueryivARBCookie {  	c.ExtLock.RLock()  	defer c.ExtLock.RUnlock()  	if _, ok := c.Extensions["GLX"]; !ok { @@ -6926,7 +6866,7 @@ func GetQueryivARB(c *xgb.Conn, ContextTag ContextTag, Target uint32, Pname uint  // GetQueryivARBUnchecked sends an unchecked request.  // If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent. -func GetQueryivARBUnchecked(c *xgb.Conn, ContextTag ContextTag, Target uint32, Pname uint32) GetQueryivARBCookie { +func GetQueryivARBUnchecked(c *xgb.Conn, ContextTag ContextTag, Target, Pname uint32) GetQueryivARBCookie {  	c.ExtLock.RLock()  	defer c.ExtLock.RUnlock()  	if _, ok := c.Extensions["GLX"]; !ok { @@ -6993,9 +6933,8 @@ func getQueryivARBReply(buf []byte) *GetQueryivARBReply {  	return v  } -// Write request to wire for GetQueryivARB -// getQueryivARBRequest writes a GetQueryivARB request to a byte slice. -func getQueryivARBRequest(c *xgb.Conn, ContextTag ContextTag, Target uint32, Pname uint32) []byte { +// getQueryivARBRequest writes a GetQueryivARB request to a byte slice for transfer. +func getQueryivARBRequest(c *xgb.Conn, ContextTag ContextTag, Target, Pname uint32) []byte {  	size := 16  	b := 0  	buf := make([]byte, size) @@ -7029,8 +6968,8 @@ type GetSeparableFilterCookie struct {  }  // GetSeparableFilter sends a checked request. -// If an error occurs, it will be returned with the reply by calling GetSeparableFilterCookie.Reply() -func GetSeparableFilter(c *xgb.Conn, ContextTag ContextTag, Target uint32, Format uint32, Type uint32, SwapBytes bool) GetSeparableFilterCookie { +// If an error occurs, it will be returned with the reply by calling GetSeparableFilterCookie.Reply. +func GetSeparableFilter(c *xgb.Conn, ContextTag ContextTag, Target, Format, Type uint32, SwapBytes bool) GetSeparableFilterCookie {  	c.ExtLock.RLock()  	defer c.ExtLock.RUnlock()  	if _, ok := c.Extensions["GLX"]; !ok { @@ -7043,7 +6982,7 @@ func GetSeparableFilter(c *xgb.Conn, ContextTag ContextTag, Target uint32, Forma  // GetSeparableFilterUnchecked sends an unchecked request.  // If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent. -func GetSeparableFilterUnchecked(c *xgb.Conn, ContextTag ContextTag, Target uint32, Format uint32, Type uint32, SwapBytes bool) GetSeparableFilterCookie { +func GetSeparableFilterUnchecked(c *xgb.Conn, ContextTag ContextTag, Target, Format, Type uint32, SwapBytes bool) GetSeparableFilterCookie {  	c.ExtLock.RLock()  	defer c.ExtLock.RUnlock()  	if _, ok := c.Extensions["GLX"]; !ok { @@ -7108,9 +7047,8 @@ func getSeparableFilterReply(buf []byte) *GetSeparableFilterReply {  	return v  } -// Write request to wire for GetSeparableFilter -// getSeparableFilterRequest writes a GetSeparableFilter request to a byte slice. -func getSeparableFilterRequest(c *xgb.Conn, ContextTag ContextTag, Target uint32, Format uint32, Type uint32, SwapBytes bool) []byte { +// getSeparableFilterRequest writes a GetSeparableFilter request to a byte slice for transfer. +func getSeparableFilterRequest(c *xgb.Conn, ContextTag ContextTag, Target, Format, Type uint32, SwapBytes bool) []byte {  	size := 24  	b := 0  	buf := make([]byte, size) @@ -7154,7 +7092,7 @@ type GetStringCookie struct {  }  // GetString sends a checked request. -// If an error occurs, it will be returned with the reply by calling GetStringCookie.Reply() +// If an error occurs, it will be returned with the reply by calling GetStringCookie.Reply.  func GetString(c *xgb.Conn, ContextTag ContextTag, Name uint32) GetStringCookie {  	c.ExtLock.RLock()  	defer c.ExtLock.RUnlock() @@ -7232,8 +7170,7 @@ func getStringReply(buf []byte) *GetStringReply {  	return v  } -// Write request to wire for GetString -// getStringRequest writes a GetString request to a byte slice. +// getStringRequest writes a GetString request to a byte slice for transfer.  func getStringRequest(c *xgb.Conn, ContextTag ContextTag, Name uint32) []byte {  	size := 12  	b := 0 @@ -7265,8 +7202,8 @@ type GetTexEnvfvCookie struct {  }  // GetTexEnvfv sends a checked request. -// If an error occurs, it will be returned with the reply by calling GetTexEnvfvCookie.Reply() -func GetTexEnvfv(c *xgb.Conn, ContextTag ContextTag, Target uint32, Pname uint32) GetTexEnvfvCookie { +// If an error occurs, it will be returned with the reply by calling GetTexEnvfvCookie.Reply. +func GetTexEnvfv(c *xgb.Conn, ContextTag ContextTag, Target, Pname uint32) GetTexEnvfvCookie {  	c.ExtLock.RLock()  	defer c.ExtLock.RUnlock()  	if _, ok := c.Extensions["GLX"]; !ok { @@ -7279,7 +7216,7 @@ func GetTexEnvfv(c *xgb.Conn, ContextTag ContextTag, Target uint32, Pname uint32  // GetTexEnvfvUnchecked sends an unchecked request.  // If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent. -func GetTexEnvfvUnchecked(c *xgb.Conn, ContextTag ContextTag, Target uint32, Pname uint32) GetTexEnvfvCookie { +func GetTexEnvfvUnchecked(c *xgb.Conn, ContextTag ContextTag, Target, Pname uint32) GetTexEnvfvCookie {  	c.ExtLock.RLock()  	defer c.ExtLock.RUnlock()  	if _, ok := c.Extensions["GLX"]; !ok { @@ -7346,9 +7283,8 @@ func getTexEnvfvReply(buf []byte) *GetTexEnvfvReply {  	return v  } -// Write request to wire for GetTexEnvfv -// getTexEnvfvRequest writes a GetTexEnvfv request to a byte slice. -func getTexEnvfvRequest(c *xgb.Conn, ContextTag ContextTag, Target uint32, Pname uint32) []byte { +// getTexEnvfvRequest writes a GetTexEnvfv request to a byte slice for transfer. +func getTexEnvfvRequest(c *xgb.Conn, ContextTag ContextTag, Target, Pname uint32) []byte {  	size := 16  	b := 0  	buf := make([]byte, size) @@ -7382,8 +7318,8 @@ type GetTexEnvivCookie struct {  }  // GetTexEnviv sends a checked request. -// If an error occurs, it will be returned with the reply by calling GetTexEnvivCookie.Reply() -func GetTexEnviv(c *xgb.Conn, ContextTag ContextTag, Target uint32, Pname uint32) GetTexEnvivCookie { +// If an error occurs, it will be returned with the reply by calling GetTexEnvivCookie.Reply. +func GetTexEnviv(c *xgb.Conn, ContextTag ContextTag, Target, Pname uint32) GetTexEnvivCookie {  	c.ExtLock.RLock()  	defer c.ExtLock.RUnlock()  	if _, ok := c.Extensions["GLX"]; !ok { @@ -7396,7 +7332,7 @@ func GetTexEnviv(c *xgb.Conn, ContextTag ContextTag, Target uint32, Pname uint32  // GetTexEnvivUnchecked sends an unchecked request.  // If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent. -func GetTexEnvivUnchecked(c *xgb.Conn, ContextTag ContextTag, Target uint32, Pname uint32) GetTexEnvivCookie { +func GetTexEnvivUnchecked(c *xgb.Conn, ContextTag ContextTag, Target, Pname uint32) GetTexEnvivCookie {  	c.ExtLock.RLock()  	defer c.ExtLock.RUnlock()  	if _, ok := c.Extensions["GLX"]; !ok { @@ -7463,9 +7399,8 @@ func getTexEnvivReply(buf []byte) *GetTexEnvivReply {  	return v  } -// Write request to wire for GetTexEnviv -// getTexEnvivRequest writes a GetTexEnviv request to a byte slice. -func getTexEnvivRequest(c *xgb.Conn, ContextTag ContextTag, Target uint32, Pname uint32) []byte { +// getTexEnvivRequest writes a GetTexEnviv request to a byte slice for transfer. +func getTexEnvivRequest(c *xgb.Conn, ContextTag ContextTag, Target, Pname uint32) []byte {  	size := 16  	b := 0  	buf := make([]byte, size) @@ -7499,8 +7434,8 @@ type GetTexGendvCookie struct {  }  // GetTexGendv sends a checked request. -// If an error occurs, it will be returned with the reply by calling GetTexGendvCookie.Reply() -func GetTexGendv(c *xgb.Conn, ContextTag ContextTag, Coord uint32, Pname uint32) GetTexGendvCookie { +// If an error occurs, it will be returned with the reply by calling GetTexGendvCookie.Reply. +func GetTexGendv(c *xgb.Conn, ContextTag ContextTag, Coord, Pname uint32) GetTexGendvCookie {  	c.ExtLock.RLock()  	defer c.ExtLock.RUnlock()  	if _, ok := c.Extensions["GLX"]; !ok { @@ -7513,7 +7448,7 @@ func GetTexGendv(c *xgb.Conn, ContextTag ContextTag, Coord uint32, Pname uint32)  // GetTexGendvUnchecked sends an unchecked request.  // If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent. -func GetTexGendvUnchecked(c *xgb.Conn, ContextTag ContextTag, Coord uint32, Pname uint32) GetTexGendvCookie { +func GetTexGendvUnchecked(c *xgb.Conn, ContextTag ContextTag, Coord, Pname uint32) GetTexGendvCookie {  	c.ExtLock.RLock()  	defer c.ExtLock.RUnlock()  	if _, ok := c.Extensions["GLX"]; !ok { @@ -7580,9 +7515,8 @@ func getTexGendvReply(buf []byte) *GetTexGendvReply {  	return v  } -// Write request to wire for GetTexGendv -// getTexGendvRequest writes a GetTexGendv request to a byte slice. -func getTexGendvRequest(c *xgb.Conn, ContextTag ContextTag, Coord uint32, Pname uint32) []byte { +// getTexGendvRequest writes a GetTexGendv request to a byte slice for transfer. +func getTexGendvRequest(c *xgb.Conn, ContextTag ContextTag, Coord, Pname uint32) []byte {  	size := 16  	b := 0  	buf := make([]byte, size) @@ -7616,8 +7550,8 @@ type GetTexGenfvCookie struct {  }  // GetTexGenfv sends a checked request. -// If an error occurs, it will be returned with the reply by calling GetTexGenfvCookie.Reply() -func GetTexGenfv(c *xgb.Conn, ContextTag ContextTag, Coord uint32, Pname uint32) GetTexGenfvCookie { +// If an error occurs, it will be returned with the reply by calling GetTexGenfvCookie.Reply. +func GetTexGenfv(c *xgb.Conn, ContextTag ContextTag, Coord, Pname uint32) GetTexGenfvCookie {  	c.ExtLock.RLock()  	defer c.ExtLock.RUnlock()  	if _, ok := c.Extensions["GLX"]; !ok { @@ -7630,7 +7564,7 @@ func GetTexGenfv(c *xgb.Conn, ContextTag ContextTag, Coord uint32, Pname uint32)  // GetTexGenfvUnchecked sends an unchecked request.  // If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent. -func GetTexGenfvUnchecked(c *xgb.Conn, ContextTag ContextTag, Coord uint32, Pname uint32) GetTexGenfvCookie { +func GetTexGenfvUnchecked(c *xgb.Conn, ContextTag ContextTag, Coord, Pname uint32) GetTexGenfvCookie {  	c.ExtLock.RLock()  	defer c.ExtLock.RUnlock()  	if _, ok := c.Extensions["GLX"]; !ok { @@ -7697,9 +7631,8 @@ func getTexGenfvReply(buf []byte) *GetTexGenfvReply {  	return v  } -// Write request to wire for GetTexGenfv -// getTexGenfvRequest writes a GetTexGenfv request to a byte slice. -func getTexGenfvRequest(c *xgb.Conn, ContextTag ContextTag, Coord uint32, Pname uint32) []byte { +// getTexGenfvRequest writes a GetTexGenfv request to a byte slice for transfer. +func getTexGenfvRequest(c *xgb.Conn, ContextTag ContextTag, Coord, Pname uint32) []byte {  	size := 16  	b := 0  	buf := make([]byte, size) @@ -7733,8 +7666,8 @@ type GetTexGenivCookie struct {  }  // GetTexGeniv sends a checked request. -// If an error occurs, it will be returned with the reply by calling GetTexGenivCookie.Reply() -func GetTexGeniv(c *xgb.Conn, ContextTag ContextTag, Coord uint32, Pname uint32) GetTexGenivCookie { +// If an error occurs, it will be returned with the reply by calling GetTexGenivCookie.Reply. +func GetTexGeniv(c *xgb.Conn, ContextTag ContextTag, Coord, Pname uint32) GetTexGenivCookie {  	c.ExtLock.RLock()  	defer c.ExtLock.RUnlock()  	if _, ok := c.Extensions["GLX"]; !ok { @@ -7747,7 +7680,7 @@ func GetTexGeniv(c *xgb.Conn, ContextTag ContextTag, Coord uint32, Pname uint32)  // GetTexGenivUnchecked sends an unchecked request.  // If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent. -func GetTexGenivUnchecked(c *xgb.Conn, ContextTag ContextTag, Coord uint32, Pname uint32) GetTexGenivCookie { +func GetTexGenivUnchecked(c *xgb.Conn, ContextTag ContextTag, Coord, Pname uint32) GetTexGenivCookie {  	c.ExtLock.RLock()  	defer c.ExtLock.RUnlock()  	if _, ok := c.Extensions["GLX"]; !ok { @@ -7814,9 +7747,8 @@ func getTexGenivReply(buf []byte) *GetTexGenivReply {  	return v  } -// Write request to wire for GetTexGeniv -// getTexGenivRequest writes a GetTexGeniv request to a byte slice. -func getTexGenivRequest(c *xgb.Conn, ContextTag ContextTag, Coord uint32, Pname uint32) []byte { +// getTexGenivRequest writes a GetTexGeniv request to a byte slice for transfer. +func getTexGenivRequest(c *xgb.Conn, ContextTag ContextTag, Coord, Pname uint32) []byte {  	size := 16  	b := 0  	buf := make([]byte, size) @@ -7850,8 +7782,8 @@ type GetTexImageCookie struct {  }  // GetTexImage sends a checked request. -// If an error occurs, it will be returned with the reply by calling GetTexImageCookie.Reply() -func GetTexImage(c *xgb.Conn, ContextTag ContextTag, Target uint32, Level int32, Format uint32, Type uint32, SwapBytes bool) GetTexImageCookie { +// If an error occurs, it will be returned with the reply by calling GetTexImageCookie.Reply. +func GetTexImage(c *xgb.Conn, ContextTag ContextTag, Target uint32, Level int32, Format, Type uint32, SwapBytes bool) GetTexImageCookie {  	c.ExtLock.RLock()  	defer c.ExtLock.RUnlock()  	if _, ok := c.Extensions["GLX"]; !ok { @@ -7864,7 +7796,7 @@ func GetTexImage(c *xgb.Conn, ContextTag ContextTag, Target uint32, Level int32,  // GetTexImageUnchecked sends an unchecked request.  // If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent. -func GetTexImageUnchecked(c *xgb.Conn, ContextTag ContextTag, Target uint32, Level int32, Format uint32, Type uint32, SwapBytes bool) GetTexImageCookie { +func GetTexImageUnchecked(c *xgb.Conn, ContextTag ContextTag, Target uint32, Level int32, Format, Type uint32, SwapBytes bool) GetTexImageCookie {  	c.ExtLock.RLock()  	defer c.ExtLock.RUnlock()  	if _, ok := c.Extensions["GLX"]; !ok { @@ -7933,9 +7865,8 @@ func getTexImageReply(buf []byte) *GetTexImageReply {  	return v  } -// Write request to wire for GetTexImage -// getTexImageRequest writes a GetTexImage request to a byte slice. -func getTexImageRequest(c *xgb.Conn, ContextTag ContextTag, Target uint32, Level int32, Format uint32, Type uint32, SwapBytes bool) []byte { +// getTexImageRequest writes a GetTexImage request to a byte slice for transfer. +func getTexImageRequest(c *xgb.Conn, ContextTag ContextTag, Target uint32, Level int32, Format, Type uint32, SwapBytes bool) []byte {  	size := 28  	b := 0  	buf := make([]byte, size) @@ -7982,7 +7913,7 @@ type GetTexLevelParameterfvCookie struct {  }  // GetTexLevelParameterfv sends a checked request. -// If an error occurs, it will be returned with the reply by calling GetTexLevelParameterfvCookie.Reply() +// If an error occurs, it will be returned with the reply by calling GetTexLevelParameterfvCookie.Reply.  func GetTexLevelParameterfv(c *xgb.Conn, ContextTag ContextTag, Target uint32, Level int32, Pname uint32) GetTexLevelParameterfvCookie {  	c.ExtLock.RLock()  	defer c.ExtLock.RUnlock() @@ -8063,8 +7994,7 @@ func getTexLevelParameterfvReply(buf []byte) *GetTexLevelParameterfvReply {  	return v  } -// Write request to wire for GetTexLevelParameterfv -// getTexLevelParameterfvRequest writes a GetTexLevelParameterfv request to a byte slice. +// getTexLevelParameterfvRequest writes a GetTexLevelParameterfv request to a byte slice for transfer.  func getTexLevelParameterfvRequest(c *xgb.Conn, ContextTag ContextTag, Target uint32, Level int32, Pname uint32) []byte {  	size := 20  	b := 0 @@ -8102,7 +8032,7 @@ type GetTexLevelParameterivCookie struct {  }  // GetTexLevelParameteriv sends a checked request. -// If an error occurs, it will be returned with the reply by calling GetTexLevelParameterivCookie.Reply() +// If an error occurs, it will be returned with the reply by calling GetTexLevelParameterivCookie.Reply.  func GetTexLevelParameteriv(c *xgb.Conn, ContextTag ContextTag, Target uint32, Level int32, Pname uint32) GetTexLevelParameterivCookie {  	c.ExtLock.RLock()  	defer c.ExtLock.RUnlock() @@ -8183,8 +8113,7 @@ func getTexLevelParameterivReply(buf []byte) *GetTexLevelParameterivReply {  	return v  } -// Write request to wire for GetTexLevelParameteriv -// getTexLevelParameterivRequest writes a GetTexLevelParameteriv request to a byte slice. +// getTexLevelParameterivRequest writes a GetTexLevelParameteriv request to a byte slice for transfer.  func getTexLevelParameterivRequest(c *xgb.Conn, ContextTag ContextTag, Target uint32, Level int32, Pname uint32) []byte {  	size := 20  	b := 0 @@ -8222,8 +8151,8 @@ type GetTexParameterfvCookie struct {  }  // GetTexParameterfv sends a checked request. -// If an error occurs, it will be returned with the reply by calling GetTexParameterfvCookie.Reply() -func GetTexParameterfv(c *xgb.Conn, ContextTag ContextTag, Target uint32, Pname uint32) GetTexParameterfvCookie { +// If an error occurs, it will be returned with the reply by calling GetTexParameterfvCookie.Reply. +func GetTexParameterfv(c *xgb.Conn, ContextTag ContextTag, Target, Pname uint32) GetTexParameterfvCookie {  	c.ExtLock.RLock()  	defer c.ExtLock.RUnlock()  	if _, ok := c.Extensions["GLX"]; !ok { @@ -8236,7 +8165,7 @@ func GetTexParameterfv(c *xgb.Conn, ContextTag ContextTag, Target uint32, Pname  // GetTexParameterfvUnchecked sends an unchecked request.  // If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent. -func GetTexParameterfvUnchecked(c *xgb.Conn, ContextTag ContextTag, Target uint32, Pname uint32) GetTexParameterfvCookie { +func GetTexParameterfvUnchecked(c *xgb.Conn, ContextTag ContextTag, Target, Pname uint32) GetTexParameterfvCookie {  	c.ExtLock.RLock()  	defer c.ExtLock.RUnlock()  	if _, ok := c.Extensions["GLX"]; !ok { @@ -8303,9 +8232,8 @@ func getTexParameterfvReply(buf []byte) *GetTexParameterfvReply {  	return v  } -// Write request to wire for GetTexParameterfv -// getTexParameterfvRequest writes a GetTexParameterfv request to a byte slice. -func getTexParameterfvRequest(c *xgb.Conn, ContextTag ContextTag, Target uint32, Pname uint32) []byte { +// getTexParameterfvRequest writes a GetTexParameterfv request to a byte slice for transfer. +func getTexParameterfvRequest(c *xgb.Conn, ContextTag ContextTag, Target, Pname uint32) []byte {  	size := 16  	b := 0  	buf := make([]byte, size) @@ -8339,8 +8267,8 @@ type GetTexParameterivCookie struct {  }  // GetTexParameteriv sends a checked request. -// If an error occurs, it will be returned with the reply by calling GetTexParameterivCookie.Reply() -func GetTexParameteriv(c *xgb.Conn, ContextTag ContextTag, Target uint32, Pname uint32) GetTexParameterivCookie { +// If an error occurs, it will be returned with the reply by calling GetTexParameterivCookie.Reply. +func GetTexParameteriv(c *xgb.Conn, ContextTag ContextTag, Target, Pname uint32) GetTexParameterivCookie {  	c.ExtLock.RLock()  	defer c.ExtLock.RUnlock()  	if _, ok := c.Extensions["GLX"]; !ok { @@ -8353,7 +8281,7 @@ func GetTexParameteriv(c *xgb.Conn, ContextTag ContextTag, Target uint32, Pname  // GetTexParameterivUnchecked sends an unchecked request.  // If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent. -func GetTexParameterivUnchecked(c *xgb.Conn, ContextTag ContextTag, Target uint32, Pname uint32) GetTexParameterivCookie { +func GetTexParameterivUnchecked(c *xgb.Conn, ContextTag ContextTag, Target, Pname uint32) GetTexParameterivCookie {  	c.ExtLock.RLock()  	defer c.ExtLock.RUnlock()  	if _, ok := c.Extensions["GLX"]; !ok { @@ -8420,9 +8348,8 @@ func getTexParameterivReply(buf []byte) *GetTexParameterivReply {  	return v  } -// Write request to wire for GetTexParameteriv -// getTexParameterivRequest writes a GetTexParameteriv request to a byte slice. -func getTexParameterivRequest(c *xgb.Conn, ContextTag ContextTag, Target uint32, Pname uint32) []byte { +// getTexParameterivRequest writes a GetTexParameteriv request to a byte slice for transfer. +func getTexParameterivRequest(c *xgb.Conn, ContextTag ContextTag, Target, Pname uint32) []byte {  	size := 16  	b := 0  	buf := make([]byte, size) @@ -8456,7 +8383,7 @@ type GetVisualConfigsCookie struct {  }  // GetVisualConfigs sends a checked request. -// If an error occurs, it will be returned with the reply by calling GetVisualConfigsCookie.Reply() +// If an error occurs, it will be returned with the reply by calling GetVisualConfigsCookie.Reply.  func GetVisualConfigs(c *xgb.Conn, Screen uint32) GetVisualConfigsCookie {  	c.ExtLock.RLock()  	defer c.ExtLock.RUnlock() @@ -8534,8 +8461,7 @@ func getVisualConfigsReply(buf []byte) *GetVisualConfigsReply {  	return v  } -// Write request to wire for GetVisualConfigs -// getVisualConfigsRequest writes a GetVisualConfigs request to a byte slice. +// getVisualConfigsRequest writes a GetVisualConfigs request to a byte slice for transfer.  func getVisualConfigsRequest(c *xgb.Conn, Screen uint32) []byte {  	size := 8  	b := 0 @@ -8564,7 +8490,7 @@ type IsDirectCookie struct {  }  // IsDirect sends a checked request. -// If an error occurs, it will be returned with the reply by calling IsDirectCookie.Reply() +// If an error occurs, it will be returned with the reply by calling IsDirectCookie.Reply.  func IsDirect(c *xgb.Conn, Context Context) IsDirectCookie {  	c.ExtLock.RLock()  	defer c.ExtLock.RUnlock() @@ -8635,8 +8561,7 @@ func isDirectReply(buf []byte) *IsDirectReply {  	return v  } -// Write request to wire for IsDirect -// isDirectRequest writes a IsDirect request to a byte slice. +// isDirectRequest writes a IsDirect request to a byte slice for transfer.  func isDirectRequest(c *xgb.Conn, Context Context) []byte {  	size := 8  	b := 0 @@ -8665,7 +8590,7 @@ type IsEnabledCookie struct {  }  // IsEnabled sends a checked request. -// If an error occurs, it will be returned with the reply by calling IsEnabledCookie.Reply() +// If an error occurs, it will be returned with the reply by calling IsEnabledCookie.Reply.  func IsEnabled(c *xgb.Conn, ContextTag ContextTag, Capability uint32) IsEnabledCookie {  	c.ExtLock.RLock()  	defer c.ExtLock.RUnlock() @@ -8729,8 +8654,7 @@ func isEnabledReply(buf []byte) *IsEnabledReply {  	return v  } -// Write request to wire for IsEnabled -// isEnabledRequest writes a IsEnabled request to a byte slice. +// isEnabledRequest writes a IsEnabled request to a byte slice for transfer.  func isEnabledRequest(c *xgb.Conn, ContextTag ContextTag, Capability uint32) []byte {  	size := 12  	b := 0 @@ -8762,7 +8686,7 @@ type IsListCookie struct {  }  // IsList sends a checked request. -// If an error occurs, it will be returned with the reply by calling IsListCookie.Reply() +// If an error occurs, it will be returned with the reply by calling IsListCookie.Reply.  func IsList(c *xgb.Conn, ContextTag ContextTag, List uint32) IsListCookie {  	c.ExtLock.RLock()  	defer c.ExtLock.RUnlock() @@ -8826,8 +8750,7 @@ func isListReply(buf []byte) *IsListReply {  	return v  } -// Write request to wire for IsList -// isListRequest writes a IsList request to a byte slice. +// isListRequest writes a IsList request to a byte slice for transfer.  func isListRequest(c *xgb.Conn, ContextTag ContextTag, List uint32) []byte {  	size := 12  	b := 0 @@ -8859,7 +8782,7 @@ type IsQueryARBCookie struct {  }  // IsQueryARB sends a checked request. -// If an error occurs, it will be returned with the reply by calling IsQueryARBCookie.Reply() +// If an error occurs, it will be returned with the reply by calling IsQueryARBCookie.Reply.  func IsQueryARB(c *xgb.Conn, ContextTag ContextTag, Id uint32) IsQueryARBCookie {  	c.ExtLock.RLock()  	defer c.ExtLock.RUnlock() @@ -8923,8 +8846,7 @@ func isQueryARBReply(buf []byte) *IsQueryARBReply {  	return v  } -// Write request to wire for IsQueryARB -// isQueryARBRequest writes a IsQueryARB request to a byte slice. +// isQueryARBRequest writes a IsQueryARB request to a byte slice for transfer.  func isQueryARBRequest(c *xgb.Conn, ContextTag ContextTag, Id uint32) []byte {  	size := 12  	b := 0 @@ -8956,7 +8878,7 @@ type IsTextureCookie struct {  }  // IsTexture sends a checked request. -// If an error occurs, it will be returned with the reply by calling IsTextureCookie.Reply() +// If an error occurs, it will be returned with the reply by calling IsTextureCookie.Reply.  func IsTexture(c *xgb.Conn, ContextTag ContextTag, Texture uint32) IsTextureCookie {  	c.ExtLock.RLock()  	defer c.ExtLock.RUnlock() @@ -9020,8 +8942,7 @@ func isTextureReply(buf []byte) *IsTextureReply {  	return v  } -// Write request to wire for IsTexture -// isTextureRequest writes a IsTexture request to a byte slice. +// isTextureRequest writes a IsTexture request to a byte slice for transfer.  func isTextureRequest(c *xgb.Conn, ContextTag ContextTag, Texture uint32) []byte {  	size := 12  	b := 0 @@ -9053,8 +8974,8 @@ type MakeContextCurrentCookie struct {  }  // MakeContextCurrent sends a checked request. -// If an error occurs, it will be returned with the reply by calling MakeContextCurrentCookie.Reply() -func MakeContextCurrent(c *xgb.Conn, OldContextTag ContextTag, Drawable Drawable, ReadDrawable Drawable, Context Context) MakeContextCurrentCookie { +// If an error occurs, it will be returned with the reply by calling MakeContextCurrentCookie.Reply. +func MakeContextCurrent(c *xgb.Conn, OldContextTag ContextTag, Drawable, ReadDrawable Drawable, Context Context) MakeContextCurrentCookie {  	c.ExtLock.RLock()  	defer c.ExtLock.RUnlock()  	if _, ok := c.Extensions["GLX"]; !ok { @@ -9067,7 +8988,7 @@ func MakeContextCurrent(c *xgb.Conn, OldContextTag ContextTag, Drawable Drawable  // MakeContextCurrentUnchecked sends an unchecked request.  // If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent. -func MakeContextCurrentUnchecked(c *xgb.Conn, OldContextTag ContextTag, Drawable Drawable, ReadDrawable Drawable, Context Context) MakeContextCurrentCookie { +func MakeContextCurrentUnchecked(c *xgb.Conn, OldContextTag ContextTag, Drawable, ReadDrawable Drawable, Context Context) MakeContextCurrentCookie {  	c.ExtLock.RLock()  	defer c.ExtLock.RUnlock()  	if _, ok := c.Extensions["GLX"]; !ok { @@ -9120,9 +9041,8 @@ func makeContextCurrentReply(buf []byte) *MakeContextCurrentReply {  	return v  } -// Write request to wire for MakeContextCurrent -// makeContextCurrentRequest writes a MakeContextCurrent request to a byte slice. -func makeContextCurrentRequest(c *xgb.Conn, OldContextTag ContextTag, Drawable Drawable, ReadDrawable Drawable, Context Context) []byte { +// makeContextCurrentRequest writes a MakeContextCurrent request to a byte slice for transfer. +func makeContextCurrentRequest(c *xgb.Conn, OldContextTag ContextTag, Drawable, ReadDrawable Drawable, Context Context) []byte {  	size := 20  	b := 0  	buf := make([]byte, size) @@ -9159,7 +9079,7 @@ type MakeCurrentCookie struct {  }  // MakeCurrent sends a checked request. -// If an error occurs, it will be returned with the reply by calling MakeCurrentCookie.Reply() +// If an error occurs, it will be returned with the reply by calling MakeCurrentCookie.Reply.  func MakeCurrent(c *xgb.Conn, Drawable Drawable, Context Context, OldContextTag ContextTag) MakeCurrentCookie {  	c.ExtLock.RLock()  	defer c.ExtLock.RUnlock() @@ -9226,8 +9146,7 @@ func makeCurrentReply(buf []byte) *MakeCurrentReply {  	return v  } -// Write request to wire for MakeCurrent -// makeCurrentRequest writes a MakeCurrent request to a byte slice. +// makeCurrentRequest writes a MakeCurrent request to a byte slice for transfer.  func makeCurrentRequest(c *xgb.Conn, Drawable Drawable, Context Context, OldContextTag ContextTag) []byte {  	size := 16  	b := 0 @@ -9263,7 +9182,7 @@ type NewListCookie struct {  // NewList sends an unchecked request.  // If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent. -func NewList(c *xgb.Conn, ContextTag ContextTag, List uint32, Mode uint32) NewListCookie { +func NewList(c *xgb.Conn, ContextTag ContextTag, List, Mode uint32) NewListCookie {  	c.ExtLock.RLock()  	defer c.ExtLock.RUnlock()  	if _, ok := c.Extensions["GLX"]; !ok { @@ -9275,8 +9194,8 @@ func NewList(c *xgb.Conn, ContextTag ContextTag, List uint32, Mode uint32) NewLi  }  // NewListChecked sends a checked request. -// If an error occurs, it can be retrieved using NewListCookie.Check() -func NewListChecked(c *xgb.Conn, ContextTag ContextTag, List uint32, Mode uint32) NewListCookie { +// If an error occurs, it can be retrieved using NewListCookie.Check. +func NewListChecked(c *xgb.Conn, ContextTag ContextTag, List, Mode uint32) NewListCookie {  	c.ExtLock.RLock()  	defer c.ExtLock.RUnlock()  	if _, ok := c.Extensions["GLX"]; !ok { @@ -9293,9 +9212,8 @@ func (cook NewListCookie) Check() error {  	return cook.Cookie.Check()  } -// Write request to wire for NewList -// newListRequest writes a NewList request to a byte slice. -func newListRequest(c *xgb.Conn, ContextTag ContextTag, List uint32, Mode uint32) []byte { +// newListRequest writes a NewList request to a byte slice for transfer. +func newListRequest(c *xgb.Conn, ContextTag ContextTag, List, Mode uint32) []byte {  	size := 16  	b := 0  	buf := make([]byte, size) @@ -9342,7 +9260,7 @@ func PixelStoref(c *xgb.Conn, ContextTag ContextTag, Pname uint32, Datum Float32  }  // PixelStorefChecked sends a checked request. -// If an error occurs, it can be retrieved using PixelStorefCookie.Check() +// If an error occurs, it can be retrieved using PixelStorefCookie.Check.  func PixelStorefChecked(c *xgb.Conn, ContextTag ContextTag, Pname uint32, Datum Float32) PixelStorefCookie {  	c.ExtLock.RLock()  	defer c.ExtLock.RUnlock() @@ -9360,8 +9278,7 @@ func (cook PixelStorefCookie) Check() error {  	return cook.Cookie.Check()  } -// Write request to wire for PixelStoref -// pixelStorefRequest writes a PixelStoref request to a byte slice. +// pixelStorefRequest writes a PixelStoref request to a byte slice for transfer.  func pixelStorefRequest(c *xgb.Conn, ContextTag ContextTag, Pname uint32, Datum Float32) []byte {  	size := 16  	b := 0 @@ -9409,7 +9326,7 @@ func PixelStorei(c *xgb.Conn, ContextTag ContextTag, Pname uint32, Datum int32)  }  // PixelStoreiChecked sends a checked request. -// If an error occurs, it can be retrieved using PixelStoreiCookie.Check() +// If an error occurs, it can be retrieved using PixelStoreiCookie.Check.  func PixelStoreiChecked(c *xgb.Conn, ContextTag ContextTag, Pname uint32, Datum int32) PixelStoreiCookie {  	c.ExtLock.RLock()  	defer c.ExtLock.RUnlock() @@ -9427,8 +9344,7 @@ func (cook PixelStoreiCookie) Check() error {  	return cook.Cookie.Check()  } -// Write request to wire for PixelStorei -// pixelStoreiRequest writes a PixelStorei request to a byte slice. +// pixelStoreiRequest writes a PixelStorei request to a byte slice for transfer.  func pixelStoreiRequest(c *xgb.Conn, ContextTag ContextTag, Pname uint32, Datum int32) []byte {  	size := 16  	b := 0 @@ -9463,7 +9379,7 @@ type QueryContextCookie struct {  }  // QueryContext sends a checked request. -// If an error occurs, it will be returned with the reply by calling QueryContextCookie.Reply() +// If an error occurs, it will be returned with the reply by calling QueryContextCookie.Reply.  func QueryContext(c *xgb.Conn, Context Context) QueryContextCookie {  	c.ExtLock.RLock()  	defer c.ExtLock.RUnlock() @@ -9537,8 +9453,7 @@ func queryContextReply(buf []byte) *QueryContextReply {  	return v  } -// Write request to wire for QueryContext -// queryContextRequest writes a QueryContext request to a byte slice. +// queryContextRequest writes a QueryContext request to a byte slice for transfer.  func queryContextRequest(c *xgb.Conn, Context Context) []byte {  	size := 8  	b := 0 @@ -9567,7 +9482,7 @@ type QueryExtensionsStringCookie struct {  }  // QueryExtensionsString sends a checked request. -// If an error occurs, it will be returned with the reply by calling QueryExtensionsStringCookie.Reply() +// If an error occurs, it will be returned with the reply by calling QueryExtensionsStringCookie.Reply.  func QueryExtensionsString(c *xgb.Conn, Screen uint32) QueryExtensionsStringCookie {  	c.ExtLock.RLock()  	defer c.ExtLock.RUnlock() @@ -9637,8 +9552,7 @@ func queryExtensionsStringReply(buf []byte) *QueryExtensionsStringReply {  	return v  } -// Write request to wire for QueryExtensionsString -// queryExtensionsStringRequest writes a QueryExtensionsString request to a byte slice. +// queryExtensionsStringRequest writes a QueryExtensionsString request to a byte slice for transfer.  func queryExtensionsStringRequest(c *xgb.Conn, Screen uint32) []byte {  	size := 8  	b := 0 @@ -9667,8 +9581,8 @@ type QueryServerStringCookie struct {  }  // QueryServerString sends a checked request. -// If an error occurs, it will be returned with the reply by calling QueryServerStringCookie.Reply() -func QueryServerString(c *xgb.Conn, Screen uint32, Name uint32) QueryServerStringCookie { +// If an error occurs, it will be returned with the reply by calling QueryServerStringCookie.Reply. +func QueryServerString(c *xgb.Conn, Screen, Name uint32) QueryServerStringCookie {  	c.ExtLock.RLock()  	defer c.ExtLock.RUnlock()  	if _, ok := c.Extensions["GLX"]; !ok { @@ -9681,7 +9595,7 @@ func QueryServerString(c *xgb.Conn, Screen uint32, Name uint32) QueryServerStrin  // QueryServerStringUnchecked sends an unchecked request.  // If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent. -func QueryServerStringUnchecked(c *xgb.Conn, Screen uint32, Name uint32) QueryServerStringCookie { +func QueryServerStringUnchecked(c *xgb.Conn, Screen, Name uint32) QueryServerStringCookie {  	c.ExtLock.RLock()  	defer c.ExtLock.RUnlock()  	if _, ok := c.Extensions["GLX"]; !ok { @@ -9745,9 +9659,8 @@ func queryServerStringReply(buf []byte) *QueryServerStringReply {  	return v  } -// Write request to wire for QueryServerString -// queryServerStringRequest writes a QueryServerString request to a byte slice. -func queryServerStringRequest(c *xgb.Conn, Screen uint32, Name uint32) []byte { +// queryServerStringRequest writes a QueryServerString request to a byte slice for transfer. +func queryServerStringRequest(c *xgb.Conn, Screen, Name uint32) []byte {  	size := 12  	b := 0  	buf := make([]byte, size) @@ -9778,8 +9691,8 @@ type QueryVersionCookie struct {  }  // QueryVersion sends a checked request. -// If an error occurs, it will be returned with the reply by calling QueryVersionCookie.Reply() -func QueryVersion(c *xgb.Conn, MajorVersion uint32, MinorVersion uint32) QueryVersionCookie { +// If an error occurs, it will be returned with the reply by calling QueryVersionCookie.Reply. +func QueryVersion(c *xgb.Conn, MajorVersion, MinorVersion uint32) QueryVersionCookie {  	c.ExtLock.RLock()  	defer c.ExtLock.RUnlock()  	if _, ok := c.Extensions["GLX"]; !ok { @@ -9792,7 +9705,7 @@ func QueryVersion(c *xgb.Conn, MajorVersion uint32, MinorVersion uint32) QueryVe  // QueryVersionUnchecked sends an unchecked request.  // If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent. -func QueryVersionUnchecked(c *xgb.Conn, MajorVersion uint32, MinorVersion uint32) QueryVersionCookie { +func QueryVersionUnchecked(c *xgb.Conn, MajorVersion, MinorVersion uint32) QueryVersionCookie {  	c.ExtLock.RLock()  	defer c.ExtLock.RUnlock()  	if _, ok := c.Extensions["GLX"]; !ok { @@ -9849,9 +9762,8 @@ func queryVersionReply(buf []byte) *QueryVersionReply {  	return v  } -// Write request to wire for QueryVersion -// queryVersionRequest writes a QueryVersion request to a byte slice. -func queryVersionRequest(c *xgb.Conn, MajorVersion uint32, MinorVersion uint32) []byte { +// queryVersionRequest writes a QueryVersion request to a byte slice for transfer. +func queryVersionRequest(c *xgb.Conn, MajorVersion, MinorVersion uint32) []byte {  	size := 12  	b := 0  	buf := make([]byte, size) @@ -9882,8 +9794,8 @@ type ReadPixelsCookie struct {  }  // ReadPixels sends a checked request. -// If an error occurs, it will be returned with the reply by calling ReadPixelsCookie.Reply() -func ReadPixels(c *xgb.Conn, ContextTag ContextTag, X int32, Y int32, Width int32, Height int32, Format uint32, Type uint32, SwapBytes bool, LsbFirst bool) ReadPixelsCookie { +// If an error occurs, it will be returned with the reply by calling ReadPixelsCookie.Reply. +func ReadPixels(c *xgb.Conn, ContextTag ContextTag, X, Y, Width, Height int32, Format, Type uint32, SwapBytes, LsbFirst bool) ReadPixelsCookie {  	c.ExtLock.RLock()  	defer c.ExtLock.RUnlock()  	if _, ok := c.Extensions["GLX"]; !ok { @@ -9896,7 +9808,7 @@ func ReadPixels(c *xgb.Conn, ContextTag ContextTag, X int32, Y int32, Width int3  // ReadPixelsUnchecked sends an unchecked request.  // If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent. -func ReadPixelsUnchecked(c *xgb.Conn, ContextTag ContextTag, X int32, Y int32, Width int32, Height int32, Format uint32, Type uint32, SwapBytes bool, LsbFirst bool) ReadPixelsCookie { +func ReadPixelsUnchecked(c *xgb.Conn, ContextTag ContextTag, X, Y, Width, Height int32, Format, Type uint32, SwapBytes, LsbFirst bool) ReadPixelsCookie {  	c.ExtLock.RLock()  	defer c.ExtLock.RUnlock()  	if _, ok := c.Extensions["GLX"]; !ok { @@ -9950,9 +9862,8 @@ func readPixelsReply(buf []byte) *ReadPixelsReply {  	return v  } -// Write request to wire for ReadPixels -// readPixelsRequest writes a ReadPixels request to a byte slice. -func readPixelsRequest(c *xgb.Conn, ContextTag ContextTag, X int32, Y int32, Width int32, Height int32, Format uint32, Type uint32, SwapBytes bool, LsbFirst bool) []byte { +// readPixelsRequest writes a ReadPixels request to a byte slice for transfer. +func readPixelsRequest(c *xgb.Conn, ContextTag ContextTag, X, Y, Width, Height int32, Format, Type uint32, SwapBytes, LsbFirst bool) []byte {  	size := 36  	b := 0  	buf := make([]byte, size) @@ -10025,7 +9936,7 @@ func Render(c *xgb.Conn, ContextTag ContextTag, Data []byte) RenderCookie {  }  // RenderChecked sends a checked request. -// If an error occurs, it can be retrieved using RenderCookie.Check() +// If an error occurs, it can be retrieved using RenderCookie.Check.  func RenderChecked(c *xgb.Conn, ContextTag ContextTag, Data []byte) RenderCookie {  	c.ExtLock.RLock()  	defer c.ExtLock.RUnlock() @@ -10043,8 +9954,7 @@ func (cook RenderCookie) Check() error {  	return cook.Cookie.Check()  } -// Write request to wire for Render -// renderRequest writes a Render request to a byte slice. +// renderRequest writes a Render request to a byte slice for transfer.  func renderRequest(c *xgb.Conn, ContextTag ContextTag, Data []byte) []byte {  	size := xgb.Pad((8 + xgb.Pad((len(Data) * 1))))  	b := 0 @@ -10077,7 +9987,7 @@ type RenderLargeCookie struct {  // RenderLarge sends an unchecked request.  // If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent. -func RenderLarge(c *xgb.Conn, ContextTag ContextTag, RequestNum uint16, RequestTotal uint16, DataLen uint32, Data []byte) RenderLargeCookie { +func RenderLarge(c *xgb.Conn, ContextTag ContextTag, RequestNum, RequestTotal uint16, DataLen uint32, Data []byte) RenderLargeCookie {  	c.ExtLock.RLock()  	defer c.ExtLock.RUnlock()  	if _, ok := c.Extensions["GLX"]; !ok { @@ -10089,8 +9999,8 @@ func RenderLarge(c *xgb.Conn, ContextTag ContextTag, RequestNum uint16, RequestT  }  // RenderLargeChecked sends a checked request. -// If an error occurs, it can be retrieved using RenderLargeCookie.Check() -func RenderLargeChecked(c *xgb.Conn, ContextTag ContextTag, RequestNum uint16, RequestTotal uint16, DataLen uint32, Data []byte) RenderLargeCookie { +// If an error occurs, it can be retrieved using RenderLargeCookie.Check. +func RenderLargeChecked(c *xgb.Conn, ContextTag ContextTag, RequestNum, RequestTotal uint16, DataLen uint32, Data []byte) RenderLargeCookie {  	c.ExtLock.RLock()  	defer c.ExtLock.RUnlock()  	if _, ok := c.Extensions["GLX"]; !ok { @@ -10107,9 +10017,8 @@ func (cook RenderLargeCookie) Check() error {  	return cook.Cookie.Check()  } -// Write request to wire for RenderLarge -// renderLargeRequest writes a RenderLarge request to a byte slice. -func renderLargeRequest(c *xgb.Conn, ContextTag ContextTag, RequestNum uint16, RequestTotal uint16, DataLen uint32, Data []byte) []byte { +// renderLargeRequest writes a RenderLarge request to a byte slice for transfer. +func renderLargeRequest(c *xgb.Conn, ContextTag ContextTag, RequestNum, RequestTotal uint16, DataLen uint32, Data []byte) []byte {  	size := xgb.Pad((16 + xgb.Pad((int(DataLen) * 1))))  	b := 0  	buf := make([]byte, size) @@ -10149,7 +10058,7 @@ type RenderModeCookie struct {  }  // RenderMode sends a checked request. -// If an error occurs, it will be returned with the reply by calling RenderModeCookie.Reply() +// If an error occurs, it will be returned with the reply by calling RenderModeCookie.Reply.  func RenderMode(c *xgb.Conn, ContextTag ContextTag, Mode uint32) RenderModeCookie {  	c.ExtLock.RLock()  	defer c.ExtLock.RUnlock() @@ -10231,8 +10140,7 @@ func renderModeReply(buf []byte) *RenderModeReply {  	return v  } -// Write request to wire for RenderMode -// renderModeRequest writes a RenderMode request to a byte slice. +// renderModeRequest writes a RenderMode request to a byte slice for transfer.  func renderModeRequest(c *xgb.Conn, ContextTag ContextTag, Mode uint32) []byte {  	size := 12  	b := 0 @@ -10277,7 +10185,7 @@ func SelectBuffer(c *xgb.Conn, ContextTag ContextTag, Size int32) SelectBufferCo  }  // SelectBufferChecked sends a checked request. -// If an error occurs, it can be retrieved using SelectBufferCookie.Check() +// If an error occurs, it can be retrieved using SelectBufferCookie.Check.  func SelectBufferChecked(c *xgb.Conn, ContextTag ContextTag, Size int32) SelectBufferCookie {  	c.ExtLock.RLock()  	defer c.ExtLock.RUnlock() @@ -10295,8 +10203,7 @@ func (cook SelectBufferCookie) Check() error {  	return cook.Cookie.Check()  } -// Write request to wire for SelectBuffer -// selectBufferRequest writes a SelectBuffer request to a byte slice. +// selectBufferRequest writes a SelectBuffer request to a byte slice for transfer.  func selectBufferRequest(c *xgb.Conn, ContextTag ContextTag, Size int32) []byte {  	size := 12  	b := 0 @@ -10329,7 +10236,7 @@ type SetClientInfo2ARBCookie struct {  // SetClientInfo2ARB sends an unchecked request.  // If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent. -func SetClientInfo2ARB(c *xgb.Conn, MajorVersion uint32, MinorVersion uint32, NumVersions uint32, GlStrLen uint32, GlxStrLen uint32, GlVersions []uint32, GlExtensionString string, GlxExtensionString string) SetClientInfo2ARBCookie { +func SetClientInfo2ARB(c *xgb.Conn, MajorVersion, MinorVersion, NumVersions, GlStrLen, GlxStrLen uint32, GlVersions []uint32, GlExtensionString, GlxExtensionString string) SetClientInfo2ARBCookie {  	c.ExtLock.RLock()  	defer c.ExtLock.RUnlock()  	if _, ok := c.Extensions["GLX"]; !ok { @@ -10341,8 +10248,8 @@ func SetClientInfo2ARB(c *xgb.Conn, MajorVersion uint32, MinorVersion uint32, Nu  }  // SetClientInfo2ARBChecked sends a checked request. -// If an error occurs, it can be retrieved using SetClientInfo2ARBCookie.Check() -func SetClientInfo2ARBChecked(c *xgb.Conn, MajorVersion uint32, MinorVersion uint32, NumVersions uint32, GlStrLen uint32, GlxStrLen uint32, GlVersions []uint32, GlExtensionString string, GlxExtensionString string) SetClientInfo2ARBCookie { +// If an error occurs, it can be retrieved using SetClientInfo2ARBCookie.Check. +func SetClientInfo2ARBChecked(c *xgb.Conn, MajorVersion, MinorVersion, NumVersions, GlStrLen, GlxStrLen uint32, GlVersions []uint32, GlExtensionString, GlxExtensionString string) SetClientInfo2ARBCookie {  	c.ExtLock.RLock()  	defer c.ExtLock.RUnlock()  	if _, ok := c.Extensions["GLX"]; !ok { @@ -10359,9 +10266,8 @@ func (cook SetClientInfo2ARBCookie) Check() error {  	return cook.Cookie.Check()  } -// Write request to wire for SetClientInfo2ARB -// setClientInfo2ARBRequest writes a SetClientInfo2ARB request to a byte slice. -func setClientInfo2ARBRequest(c *xgb.Conn, MajorVersion uint32, MinorVersion uint32, NumVersions uint32, GlStrLen uint32, GlxStrLen uint32, GlVersions []uint32, GlExtensionString string, GlxExtensionString string) []byte { +// setClientInfo2ARBRequest writes a SetClientInfo2ARB request to a byte slice for transfer. +func setClientInfo2ARBRequest(c *xgb.Conn, MajorVersion, MinorVersion, NumVersions, GlStrLen, GlxStrLen uint32, GlVersions []uint32, GlExtensionString, GlxExtensionString string) []byte {  	size := xgb.Pad((((24 + xgb.Pad(((int(NumVersions) * 3) * 4))) + xgb.Pad((int(GlStrLen) * 1))) + xgb.Pad((int(GlxStrLen) * 1))))  	b := 0  	buf := make([]byte, size) @@ -10413,7 +10319,7 @@ type SetClientInfoARBCookie struct {  // SetClientInfoARB sends an unchecked request.  // If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent. -func SetClientInfoARB(c *xgb.Conn, MajorVersion uint32, MinorVersion uint32, NumVersions uint32, GlStrLen uint32, GlxStrLen uint32, GlVersions []uint32, GlExtensionString string, GlxExtensionString string) SetClientInfoARBCookie { +func SetClientInfoARB(c *xgb.Conn, MajorVersion, MinorVersion, NumVersions, GlStrLen, GlxStrLen uint32, GlVersions []uint32, GlExtensionString, GlxExtensionString string) SetClientInfoARBCookie {  	c.ExtLock.RLock()  	defer c.ExtLock.RUnlock()  	if _, ok := c.Extensions["GLX"]; !ok { @@ -10425,8 +10331,8 @@ func SetClientInfoARB(c *xgb.Conn, MajorVersion uint32, MinorVersion uint32, Num  }  // SetClientInfoARBChecked sends a checked request. -// If an error occurs, it can be retrieved using SetClientInfoARBCookie.Check() -func SetClientInfoARBChecked(c *xgb.Conn, MajorVersion uint32, MinorVersion uint32, NumVersions uint32, GlStrLen uint32, GlxStrLen uint32, GlVersions []uint32, GlExtensionString string, GlxExtensionString string) SetClientInfoARBCookie { +// If an error occurs, it can be retrieved using SetClientInfoARBCookie.Check. +func SetClientInfoARBChecked(c *xgb.Conn, MajorVersion, MinorVersion, NumVersions, GlStrLen, GlxStrLen uint32, GlVersions []uint32, GlExtensionString, GlxExtensionString string) SetClientInfoARBCookie {  	c.ExtLock.RLock()  	defer c.ExtLock.RUnlock()  	if _, ok := c.Extensions["GLX"]; !ok { @@ -10443,9 +10349,8 @@ func (cook SetClientInfoARBCookie) Check() error {  	return cook.Cookie.Check()  } -// Write request to wire for SetClientInfoARB -// setClientInfoARBRequest writes a SetClientInfoARB request to a byte slice. -func setClientInfoARBRequest(c *xgb.Conn, MajorVersion uint32, MinorVersion uint32, NumVersions uint32, GlStrLen uint32, GlxStrLen uint32, GlVersions []uint32, GlExtensionString string, GlxExtensionString string) []byte { +// setClientInfoARBRequest writes a SetClientInfoARB request to a byte slice for transfer. +func setClientInfoARBRequest(c *xgb.Conn, MajorVersion, MinorVersion, NumVersions, GlStrLen, GlxStrLen uint32, GlVersions []uint32, GlExtensionString, GlxExtensionString string) []byte {  	size := xgb.Pad((((24 + xgb.Pad(((int(NumVersions) * 2) * 4))) + xgb.Pad((int(GlStrLen) * 1))) + xgb.Pad((int(GlxStrLen) * 1))))  	b := 0  	buf := make([]byte, size) @@ -10509,7 +10414,7 @@ func SwapBuffers(c *xgb.Conn, ContextTag ContextTag, Drawable Drawable) SwapBuff  }  // SwapBuffersChecked sends a checked request. -// If an error occurs, it can be retrieved using SwapBuffersCookie.Check() +// If an error occurs, it can be retrieved using SwapBuffersCookie.Check.  func SwapBuffersChecked(c *xgb.Conn, ContextTag ContextTag, Drawable Drawable) SwapBuffersCookie {  	c.ExtLock.RLock()  	defer c.ExtLock.RUnlock() @@ -10527,8 +10432,7 @@ func (cook SwapBuffersCookie) Check() error {  	return cook.Cookie.Check()  } -// Write request to wire for SwapBuffers -// swapBuffersRequest writes a SwapBuffers request to a byte slice. +// swapBuffersRequest writes a SwapBuffers request to a byte slice for transfer.  func swapBuffersRequest(c *xgb.Conn, ContextTag ContextTag, Drawable Drawable) []byte {  	size := 12  	b := 0 @@ -10561,7 +10465,7 @@ type UseXFontCookie struct {  // UseXFont sends an unchecked request.  // If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent. -func UseXFont(c *xgb.Conn, ContextTag ContextTag, Font xproto.Font, First uint32, Count uint32, ListBase uint32) UseXFontCookie { +func UseXFont(c *xgb.Conn, ContextTag ContextTag, Font xproto.Font, First, Count, ListBase uint32) UseXFontCookie {  	c.ExtLock.RLock()  	defer c.ExtLock.RUnlock()  	if _, ok := c.Extensions["GLX"]; !ok { @@ -10573,8 +10477,8 @@ func UseXFont(c *xgb.Conn, ContextTag ContextTag, Font xproto.Font, First uint32  }  // UseXFontChecked sends a checked request. -// If an error occurs, it can be retrieved using UseXFontCookie.Check() -func UseXFontChecked(c *xgb.Conn, ContextTag ContextTag, Font xproto.Font, First uint32, Count uint32, ListBase uint32) UseXFontCookie { +// If an error occurs, it can be retrieved using UseXFontCookie.Check. +func UseXFontChecked(c *xgb.Conn, ContextTag ContextTag, Font xproto.Font, First, Count, ListBase uint32) UseXFontCookie {  	c.ExtLock.RLock()  	defer c.ExtLock.RUnlock()  	if _, ok := c.Extensions["GLX"]; !ok { @@ -10591,9 +10495,8 @@ func (cook UseXFontCookie) Check() error {  	return cook.Cookie.Check()  } -// Write request to wire for UseXFont -// useXFontRequest writes a UseXFont request to a byte slice. -func useXFontRequest(c *xgb.Conn, ContextTag ContextTag, Font xproto.Font, First uint32, Count uint32, ListBase uint32) []byte { +// useXFontRequest writes a UseXFont request to a byte slice for transfer. +func useXFontRequest(c *xgb.Conn, ContextTag ContextTag, Font xproto.Font, First, Count, ListBase uint32) []byte {  	size := 24  	b := 0  	buf := make([]byte, size) @@ -10646,7 +10549,7 @@ func VendorPrivate(c *xgb.Conn, VendorCode uint32, ContextTag ContextTag, Data [  }  // VendorPrivateChecked sends a checked request. -// If an error occurs, it can be retrieved using VendorPrivateCookie.Check() +// If an error occurs, it can be retrieved using VendorPrivateCookie.Check.  func VendorPrivateChecked(c *xgb.Conn, VendorCode uint32, ContextTag ContextTag, Data []byte) VendorPrivateCookie {  	c.ExtLock.RLock()  	defer c.ExtLock.RUnlock() @@ -10664,8 +10567,7 @@ func (cook VendorPrivateCookie) Check() error {  	return cook.Cookie.Check()  } -// Write request to wire for VendorPrivate -// vendorPrivateRequest writes a VendorPrivate request to a byte slice. +// vendorPrivateRequest writes a VendorPrivate request to a byte slice for transfer.  func vendorPrivateRequest(c *xgb.Conn, VendorCode uint32, ContextTag ContextTag, Data []byte) []byte {  	size := xgb.Pad((12 + xgb.Pad((len(Data) * 1))))  	b := 0 @@ -10700,7 +10602,7 @@ type VendorPrivateWithReplyCookie struct {  }  // VendorPrivateWithReply sends a checked request. -// If an error occurs, it will be returned with the reply by calling VendorPrivateWithReplyCookie.Reply() +// If an error occurs, it will be returned with the reply by calling VendorPrivateWithReplyCookie.Reply.  func VendorPrivateWithReply(c *xgb.Conn, VendorCode uint32, ContextTag ContextTag, Data []byte) VendorPrivateWithReplyCookie {  	c.ExtLock.RLock()  	defer c.ExtLock.RUnlock() @@ -10774,8 +10676,7 @@ func vendorPrivateWithReplyReply(buf []byte) *VendorPrivateWithReplyReply {  	return v  } -// Write request to wire for VendorPrivateWithReply -// vendorPrivateWithReplyRequest writes a VendorPrivateWithReply request to a byte slice. +// vendorPrivateWithReplyRequest writes a VendorPrivateWithReply request to a byte slice for transfer.  func vendorPrivateWithReplyRequest(c *xgb.Conn, VendorCode uint32, ContextTag ContextTag, Data []byte) []byte {  	size := xgb.Pad((12 + xgb.Pad((len(Data) * 1))))  	b := 0 @@ -10823,7 +10724,7 @@ func WaitGL(c *xgb.Conn, ContextTag ContextTag) WaitGLCookie {  }  // WaitGLChecked sends a checked request. -// If an error occurs, it can be retrieved using WaitGLCookie.Check() +// If an error occurs, it can be retrieved using WaitGLCookie.Check.  func WaitGLChecked(c *xgb.Conn, ContextTag ContextTag) WaitGLCookie {  	c.ExtLock.RLock()  	defer c.ExtLock.RUnlock() @@ -10841,8 +10742,7 @@ func (cook WaitGLCookie) Check() error {  	return cook.Cookie.Check()  } -// Write request to wire for WaitGL -// waitGLRequest writes a WaitGL request to a byte slice. +// waitGLRequest writes a WaitGL request to a byte slice for transfer.  func waitGLRequest(c *xgb.Conn, ContextTag ContextTag) []byte {  	size := 8  	b := 0 @@ -10884,7 +10784,7 @@ func WaitX(c *xgb.Conn, ContextTag ContextTag) WaitXCookie {  }  // WaitXChecked sends a checked request. -// If an error occurs, it can be retrieved using WaitXCookie.Check() +// If an error occurs, it can be retrieved using WaitXCookie.Check.  func WaitXChecked(c *xgb.Conn, ContextTag ContextTag) WaitXCookie {  	c.ExtLock.RLock()  	defer c.ExtLock.RUnlock() @@ -10902,8 +10802,7 @@ func (cook WaitXCookie) Check() error {  	return cook.Cookie.Check()  } -// Write request to wire for WaitX -// waitXRequest writes a WaitX request to a byte slice. +// waitXRequest writes a WaitX request to a byte slice for transfer.  func waitXRequest(c *xgb.Conn, ContextTag ContextTag) []byte {  	size := 8  	b := 0 | 
