const ( GcGlCurrentBit = 1 GcGlPointBit = 2 GcGlLineBit = 4 GcGlPolygonBit = 8 GcGlPolygonStippleBit = 16 GcGlPixelModeBit = 32 GcGlLightingBit = 64 GcGlFogBit = 128 GcGlDepthBufferBit = 256 GcGlAccumBufferBit = 512 GcGlStencilBufferBit = 1024 GcGlViewportBit = 2048 GcGlTransformBit = 4096 GcGlEnableBit = 8192 GcGlColorBufferBit = 16384 GcGlHintBit = 32768 GcGlEvalBit = 65536 GcGlListBit = 131072 GcGlTextureBit = 262144 GcGlScissorBit = 524288 GcGlAllAttribBits = 16777215 )
const ( PbcdtWindow = 32793 PbcdtPbuffer = 32794 )
const ( PbcetDamaged = 32791 PbcetSaved = 32792 )
const ( RmGlRender = 7168 RmGlFeedback = 7169 RmGlSelect = 7170 )
BadBadContext is the error number for a BadBadContext.
const BadBadContext = 0
BadBadContextState is the error number for a BadBadContextState.
const BadBadContextState = 1
BadBadContextTag is the error number for a BadBadContextTag.
const BadBadContextTag = 4
BadBadCurrentDrawable is the error number for a BadBadCurrentDrawable.
const BadBadCurrentDrawable = 11
BadBadCurrentWindow is the error number for a BadBadCurrentWindow.
const BadBadCurrentWindow = 5
BadBadDrawable is the error number for a BadBadDrawable.
const BadBadDrawable = 2
BadBadFBConfig is the error number for a BadBadFBConfig.
const BadBadFBConfig = 9
BadBadLargeRequest is the error number for a BadBadLargeRequest.
const BadBadLargeRequest = 7
BadBadPbuffer is the error number for a BadBadPbuffer.
const BadBadPbuffer = 10
BadBadPixmap is the error number for a BadBadPixmap.
const BadBadPixmap = 3
BadBadRenderRequest is the error number for a BadBadRenderRequest.
const BadBadRenderRequest = 6
BadBadWindow is the error number for a BadBadWindow.
const BadBadWindow = 12
BadGLXBadProfileARB is the error number for a BadGLXBadProfileARB.
const BadGLXBadProfileARB = 13
BadGeneric is the error number for a BadGeneric.
const BadGeneric = -1
BadUnsupportedPrivateRequest is the error number for a BadUnsupportedPrivateRequest.
const BadUnsupportedPrivateRequest = 8
BufferSwapComplete is the event number for a BufferSwapCompleteEvent.
const BufferSwapComplete = 1
PbufferClobber is the event number for a PbufferClobberEvent.
const PbufferClobber = 0
func BadContextErrorNew(buf []byte) xgb.Error
BadContextErrorNew constructs a BadContextError value that implements xgb.Error from a byte slice.
func BadContextStateErrorNew(buf []byte) xgb.Error
BadContextStateErrorNew constructs a BadContextStateError value that implements xgb.Error from a byte slice.
func BadContextTagErrorNew(buf []byte) xgb.Error
BadContextTagErrorNew constructs a BadContextTagError value that implements xgb.Error from a byte slice.
func BadCurrentDrawableErrorNew(buf []byte) xgb.Error
BadCurrentDrawableErrorNew constructs a BadCurrentDrawableError value that implements xgb.Error from a byte slice.
func BadCurrentWindowErrorNew(buf []byte) xgb.Error
BadCurrentWindowErrorNew constructs a BadCurrentWindowError value that implements xgb.Error from a byte slice.
func BadDrawableErrorNew(buf []byte) xgb.Error
BadDrawableErrorNew constructs a BadDrawableError value that implements xgb.Error from a byte slice.
func BadFBConfigErrorNew(buf []byte) xgb.Error
BadFBConfigErrorNew constructs a BadFBConfigError value that implements xgb.Error from a byte slice.
func BadLargeRequestErrorNew(buf []byte) xgb.Error
BadLargeRequestErrorNew constructs a BadLargeRequestError value that implements xgb.Error from a byte slice.
func BadPbufferErrorNew(buf []byte) xgb.Error
BadPbufferErrorNew constructs a BadPbufferError value that implements xgb.Error from a byte slice.
func BadPixmapErrorNew(buf []byte) xgb.Error
BadPixmapErrorNew constructs a BadPixmapError value that implements xgb.Error from a byte slice.
func BadRenderRequestErrorNew(buf []byte) xgb.Error
BadRenderRequestErrorNew constructs a BadRenderRequestError value that implements xgb.Error from a byte slice.
func BadWindowErrorNew(buf []byte) xgb.Error
BadWindowErrorNew constructs a BadWindowError value that implements xgb.Error from a byte slice.
func BufferSwapCompleteEventNew(buf []byte) xgb.Event
BufferSwapCompleteEventNew constructs a BufferSwapCompleteEvent value that implements xgb.Event from a byte slice.
func GLXBadProfileARBErrorNew(buf []byte) xgb.Error
GLXBadProfileARBErrorNew constructs a GLXBadProfileARBError value that implements xgb.Error from a byte slice.
func GenericErrorNew(buf []byte) xgb.Error
GenericErrorNew constructs a GenericError value that implements xgb.Error from a byte slice.
func Init(c *xgb.Conn) error
Init must be called before using the GLX extension.
func PbufferClobberEventNew(buf []byte) xgb.Event
PbufferClobberEventNew constructs a PbufferClobberEvent value that implements xgb.Event from a byte slice.
func UnsupportedPrivateRequestErrorNew(buf []byte) xgb.Error
UnsupportedPrivateRequestErrorNew constructs a UnsupportedPrivateRequestError value that implements xgb.Error from a byte slice.
AreTexturesResidentCookie is a cookie used only for AreTexturesResident requests.
type AreTexturesResidentCookie struct { *xgb.Cookie }
func AreTexturesResident(c *xgb.Conn, ContextTag ContextTag, N int32, Textures []uint32) AreTexturesResidentCookie
AreTexturesResident sends a checked request. If an error occurs, it will be returned with the reply by calling AreTexturesResidentCookie.Reply()
func AreTexturesResidentUnchecked(c *xgb.Conn, ContextTag ContextTag, N int32, Textures []uint32) AreTexturesResidentCookie
AreTexturesResidentUnchecked sends an unchecked request. If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent.
func (cook AreTexturesResidentCookie) Reply() (*AreTexturesResidentReply, error)
Reply blocks and returns the reply data for a AreTexturesResident request.
AreTexturesResidentReply represents the data returned from a AreTexturesResident request.
type AreTexturesResidentReply struct { Sequence uint16 // sequence number of the request for this reply Length uint32 // number of bytes in this reply // padding: 1 bytes RetVal Bool32 // padding: 20 bytes Data []bool // size: xgb.Pad(((int(Length) * 4) * 1)) }
type BadContextError GenericError
func (err BadContextError) BadId() uint32
BadId returns the 'BadValue' number if one exists for the BadBadContext error. If no bad value exists, 0 is returned.
func (err BadContextError) Error() string
Error returns a rudimentary string representation of the BadBadContext error.
func (err BadContextError) SequenceId() uint16
SequenceId returns the sequence id attached to the BadBadContext error. This is mostly used internally.
type BadContextStateError GenericError
func (err BadContextStateError) BadId() uint32
BadId returns the 'BadValue' number if one exists for the BadBadContextState error. If no bad value exists, 0 is returned.
func (err BadContextStateError) Error() string
Error returns a rudimentary string representation of the BadBadContextState error.
func (err BadContextStateError) SequenceId() uint16
SequenceId returns the sequence id attached to the BadBadContextState error. This is mostly used internally.
type BadContextTagError GenericError
func (err BadContextTagError) BadId() uint32
BadId returns the 'BadValue' number if one exists for the BadBadContextTag error. If no bad value exists, 0 is returned.
func (err BadContextTagError) Error() string
Error returns a rudimentary string representation of the BadBadContextTag error.
func (err BadContextTagError) SequenceId() uint16
SequenceId returns the sequence id attached to the BadBadContextTag error. This is mostly used internally.
type BadCurrentDrawableError GenericError
func (err BadCurrentDrawableError) BadId() uint32
BadId returns the 'BadValue' number if one exists for the BadBadCurrentDrawable error. If no bad value exists, 0 is returned.
func (err BadCurrentDrawableError) Error() string
Error returns a rudimentary string representation of the BadBadCurrentDrawable error.
func (err BadCurrentDrawableError) SequenceId() uint16
SequenceId returns the sequence id attached to the BadBadCurrentDrawable error. This is mostly used internally.
type BadCurrentWindowError GenericError
func (err BadCurrentWindowError) BadId() uint32
BadId returns the 'BadValue' number if one exists for the BadBadCurrentWindow error. If no bad value exists, 0 is returned.
func (err BadCurrentWindowError) Error() string
Error returns a rudimentary string representation of the BadBadCurrentWindow error.
func (err BadCurrentWindowError) SequenceId() uint16
SequenceId returns the sequence id attached to the BadBadCurrentWindow error. This is mostly used internally.
type BadDrawableError GenericError
func (err BadDrawableError) BadId() uint32
BadId returns the 'BadValue' number if one exists for the BadBadDrawable error. If no bad value exists, 0 is returned.
func (err BadDrawableError) Error() string
Error returns a rudimentary string representation of the BadBadDrawable error.
func (err BadDrawableError) SequenceId() uint16
SequenceId returns the sequence id attached to the BadBadDrawable error. This is mostly used internally.
type BadFBConfigError GenericError
func (err BadFBConfigError) BadId() uint32
BadId returns the 'BadValue' number if one exists for the BadBadFBConfig error. If no bad value exists, 0 is returned.
func (err BadFBConfigError) Error() string
Error returns a rudimentary string representation of the BadBadFBConfig error.
func (err BadFBConfigError) SequenceId() uint16
SequenceId returns the sequence id attached to the BadBadFBConfig error. This is mostly used internally.
type BadLargeRequestError GenericError
func (err BadLargeRequestError) BadId() uint32
BadId returns the 'BadValue' number if one exists for the BadBadLargeRequest error. If no bad value exists, 0 is returned.
func (err BadLargeRequestError) Error() string
Error returns a rudimentary string representation of the BadBadLargeRequest error.
func (err BadLargeRequestError) SequenceId() uint16
SequenceId returns the sequence id attached to the BadBadLargeRequest error. This is mostly used internally.
type BadPbufferError GenericError
func (err BadPbufferError) BadId() uint32
BadId returns the 'BadValue' number if one exists for the BadBadPbuffer error. If no bad value exists, 0 is returned.
func (err BadPbufferError) Error() string
Error returns a rudimentary string representation of the BadBadPbuffer error.
func (err BadPbufferError) SequenceId() uint16
SequenceId returns the sequence id attached to the BadBadPbuffer error. This is mostly used internally.
type BadPixmapError GenericError
func (err BadPixmapError) BadId() uint32
BadId returns the 'BadValue' number if one exists for the BadBadPixmap error. If no bad value exists, 0 is returned.
func (err BadPixmapError) Error() string
Error returns a rudimentary string representation of the BadBadPixmap error.
func (err BadPixmapError) SequenceId() uint16
SequenceId returns the sequence id attached to the BadBadPixmap error. This is mostly used internally.
type BadRenderRequestError GenericError
func (err BadRenderRequestError) BadId() uint32
BadId returns the 'BadValue' number if one exists for the BadBadRenderRequest error. If no bad value exists, 0 is returned.
func (err BadRenderRequestError) Error() string
Error returns a rudimentary string representation of the BadBadRenderRequest error.
func (err BadRenderRequestError) SequenceId() uint16
SequenceId returns the sequence id attached to the BadBadRenderRequest error. This is mostly used internally.
type BadWindowError GenericError
func (err BadWindowError) BadId() uint32
BadId returns the 'BadValue' number if one exists for the BadBadWindow error. If no bad value exists, 0 is returned.
func (err BadWindowError) Error() string
Error returns a rudimentary string representation of the BadBadWindow error.
func (err BadWindowError) SequenceId() uint16
SequenceId returns the sequence id attached to the BadBadWindow error. This is mostly used internally.
type Bool32 uint32
type BufferSwapCompleteEvent struct { Sequence uint16 // padding: 1 bytes EventType uint16 // padding: 2 bytes Drawable Drawable UstHi uint32 UstLo uint32 MscHi uint32 MscLo uint32 Sbc uint32 }
func (v BufferSwapCompleteEvent) Bytes() []byte
Bytes writes a BufferSwapCompleteEvent value to a byte slice.
func (v BufferSwapCompleteEvent) SequenceId() uint16
SequenceId returns the sequence id attached to the BufferSwapComplete event. Events without a sequence number (KeymapNotify) return 0. This is mostly used internally.
func (v BufferSwapCompleteEvent) String() string
String is a rudimentary string representation of BufferSwapCompleteEvent.
ChangeDrawableAttributesCookie is a cookie used only for ChangeDrawableAttributes requests.
type ChangeDrawableAttributesCookie struct { *xgb.Cookie }
func ChangeDrawableAttributes(c *xgb.Conn, Drawable Drawable, NumAttribs uint32, Attribs []uint32) ChangeDrawableAttributesCookie
ChangeDrawableAttributes sends an unchecked request. If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent.
func ChangeDrawableAttributesChecked(c *xgb.Conn, Drawable Drawable, NumAttribs uint32, Attribs []uint32) ChangeDrawableAttributesCookie
ChangeDrawableAttributesChecked sends a checked request. If an error occurs, it can be retrieved using ChangeDrawableAttributesCookie.Check()
func (cook ChangeDrawableAttributesCookie) Check() error
Check returns an error if one occurred for checked requests that are not expecting a reply. This cannot be called for requests expecting a reply, nor for unchecked requests.
ClientInfoCookie is a cookie used only for ClientInfo requests.
type ClientInfoCookie struct { *xgb.Cookie }
func ClientInfo(c *xgb.Conn, MajorVersion uint32, MinorVersion uint32, StrLen uint32, String string) ClientInfoCookie
ClientInfo sends an unchecked request. If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent.
func ClientInfoChecked(c *xgb.Conn, MajorVersion uint32, MinorVersion uint32, StrLen uint32, String string) ClientInfoCookie
ClientInfoChecked sends a checked request. If an error occurs, it can be retrieved using ClientInfoCookie.Check()
func (cook ClientInfoCookie) Check() error
Check returns an error if one occurred for checked requests that are not expecting a reply. This cannot be called for requests expecting a reply, nor for unchecked requests.
type Context uint32
func NewContextId(c *xgb.Conn) (Context, error)
type ContextTag uint32
CopyContextCookie is a cookie used only for CopyContext requests.
type CopyContextCookie struct { *xgb.Cookie }
func CopyContext(c *xgb.Conn, Src Context, Dest Context, Mask uint32, SrcContextTag ContextTag) CopyContextCookie
CopyContext sends an unchecked request. If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent.
func CopyContextChecked(c *xgb.Conn, Src Context, Dest Context, Mask uint32, SrcContextTag ContextTag) CopyContextCookie
CopyContextChecked sends a checked request. If an error occurs, it can be retrieved using CopyContextCookie.Check()
func (cook CopyContextCookie) Check() error
Check returns an error if one occurred for checked requests that are not expecting a reply. This cannot be called for requests expecting a reply, nor for unchecked requests.
CreateContextAttribsARBCookie is a cookie used only for CreateContextAttribsARB requests.
type CreateContextAttribsARBCookie struct { *xgb.Cookie }
func CreateContextAttribsARB(c *xgb.Conn, Context Context, Fbconfig Fbconfig, Screen uint32, ShareList Context, IsDirect bool, NumAttribs uint32, Attribs []uint32) CreateContextAttribsARBCookie
CreateContextAttribsARB sends an unchecked request. If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent.
func CreateContextAttribsARBChecked(c *xgb.Conn, Context Context, Fbconfig Fbconfig, Screen uint32, ShareList Context, IsDirect bool, NumAttribs uint32, Attribs []uint32) CreateContextAttribsARBCookie
CreateContextAttribsARBChecked sends a checked request. If an error occurs, it can be retrieved using CreateContextAttribsARBCookie.Check()
func (cook CreateContextAttribsARBCookie) Check() error
Check returns an error if one occurred for checked requests that are not expecting a reply. This cannot be called for requests expecting a reply, nor for unchecked requests.
CreateContextCookie is a cookie used only for CreateContext requests.
type CreateContextCookie struct { *xgb.Cookie }
func CreateContext(c *xgb.Conn, Context Context, Visual xproto.Visualid, Screen uint32, ShareList Context, IsDirect bool) CreateContextCookie
CreateContext sends an unchecked request. If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent.
func CreateContextChecked(c *xgb.Conn, Context Context, Visual xproto.Visualid, Screen uint32, ShareList Context, IsDirect bool) CreateContextCookie
CreateContextChecked sends a checked request. If an error occurs, it can be retrieved using CreateContextCookie.Check()
func (cook CreateContextCookie) Check() error
Check returns an error if one occurred for checked requests that are not expecting a reply. This cannot be called for requests expecting a reply, nor for unchecked requests.
CreateGLXPixmapCookie is a cookie used only for CreateGLXPixmap requests.
type CreateGLXPixmapCookie struct { *xgb.Cookie }
func CreateGLXPixmap(c *xgb.Conn, Screen uint32, Visual xproto.Visualid, Pixmap xproto.Pixmap, GlxPixmap Pixmap) CreateGLXPixmapCookie
CreateGLXPixmap sends an unchecked request. If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent.
func CreateGLXPixmapChecked(c *xgb.Conn, Screen uint32, Visual xproto.Visualid, Pixmap xproto.Pixmap, GlxPixmap Pixmap) CreateGLXPixmapCookie
CreateGLXPixmapChecked sends a checked request. If an error occurs, it can be retrieved using CreateGLXPixmapCookie.Check()
func (cook CreateGLXPixmapCookie) Check() error
Check returns an error if one occurred for checked requests that are not expecting a reply. This cannot be called for requests expecting a reply, nor for unchecked requests.
CreateNewContextCookie is a cookie used only for CreateNewContext requests.
type CreateNewContextCookie struct { *xgb.Cookie }
func CreateNewContext(c *xgb.Conn, Context Context, Fbconfig Fbconfig, Screen uint32, RenderType uint32, ShareList Context, IsDirect bool) CreateNewContextCookie
CreateNewContext sends an unchecked request. If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent.
func CreateNewContextChecked(c *xgb.Conn, Context Context, Fbconfig Fbconfig, Screen uint32, RenderType uint32, ShareList Context, IsDirect bool) CreateNewContextCookie
CreateNewContextChecked sends a checked request. If an error occurs, it can be retrieved using CreateNewContextCookie.Check()
func (cook CreateNewContextCookie) Check() error
Check returns an error if one occurred for checked requests that are not expecting a reply. This cannot be called for requests expecting a reply, nor for unchecked requests.
CreatePbufferCookie is a cookie used only for CreatePbuffer requests.
type CreatePbufferCookie struct { *xgb.Cookie }
func CreatePbuffer(c *xgb.Conn, Screen uint32, Fbconfig Fbconfig, Pbuffer Pbuffer, NumAttribs uint32, Attribs []uint32) CreatePbufferCookie
CreatePbuffer sends an unchecked request. If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent.
func CreatePbufferChecked(c *xgb.Conn, Screen uint32, Fbconfig Fbconfig, Pbuffer Pbuffer, NumAttribs uint32, Attribs []uint32) CreatePbufferCookie
CreatePbufferChecked sends a checked request. If an error occurs, it can be retrieved using CreatePbufferCookie.Check()
func (cook CreatePbufferCookie) Check() error
Check returns an error if one occurred for checked requests that are not expecting a reply. This cannot be called for requests expecting a reply, nor for unchecked requests.
CreatePixmapCookie is a cookie used only for CreatePixmap requests.
type CreatePixmapCookie struct { *xgb.Cookie }
func CreatePixmap(c *xgb.Conn, Screen uint32, Fbconfig Fbconfig, Pixmap xproto.Pixmap, GlxPixmap Pixmap, NumAttribs uint32, Attribs []uint32) CreatePixmapCookie
CreatePixmap sends an unchecked request. If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent.
func CreatePixmapChecked(c *xgb.Conn, Screen uint32, Fbconfig Fbconfig, Pixmap xproto.Pixmap, GlxPixmap Pixmap, NumAttribs uint32, Attribs []uint32) CreatePixmapCookie
CreatePixmapChecked sends a checked request. If an error occurs, it can be retrieved using CreatePixmapCookie.Check()
func (cook CreatePixmapCookie) Check() error
Check returns an error if one occurred for checked requests that are not expecting a reply. This cannot be called for requests expecting a reply, nor for unchecked requests.
CreateWindowCookie is a cookie used only for CreateWindow requests.
type CreateWindowCookie struct { *xgb.Cookie }
func CreateWindow(c *xgb.Conn, Screen uint32, Fbconfig Fbconfig, Window xproto.Window, GlxWindow Window, NumAttribs uint32, Attribs []uint32) CreateWindowCookie
CreateWindow sends an unchecked request. If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent.
func CreateWindowChecked(c *xgb.Conn, Screen uint32, Fbconfig Fbconfig, Window xproto.Window, GlxWindow Window, NumAttribs uint32, Attribs []uint32) CreateWindowCookie
CreateWindowChecked sends a checked request. If an error occurs, it can be retrieved using CreateWindowCookie.Check()
func (cook CreateWindowCookie) Check() error
Check returns an error if one occurred for checked requests that are not expecting a reply. This cannot be called for requests expecting a reply, nor for unchecked requests.
DeleteListsCookie is a cookie used only for DeleteLists requests.
type DeleteListsCookie struct { *xgb.Cookie }
func DeleteLists(c *xgb.Conn, ContextTag ContextTag, List uint32, Range int32) DeleteListsCookie
DeleteLists sends an unchecked request. If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent.
func DeleteListsChecked(c *xgb.Conn, ContextTag ContextTag, List uint32, Range int32) DeleteListsCookie
DeleteListsChecked sends a checked request. If an error occurs, it can be retrieved using DeleteListsCookie.Check()
func (cook DeleteListsCookie) Check() error
Check returns an error if one occurred for checked requests that are not expecting a reply. This cannot be called for requests expecting a reply, nor for unchecked requests.
DeleteQueriesARBCookie is a cookie used only for DeleteQueriesARB requests.
type DeleteQueriesARBCookie struct { *xgb.Cookie }
func DeleteQueriesARB(c *xgb.Conn, ContextTag ContextTag, N int32, Ids []uint32) DeleteQueriesARBCookie
DeleteQueriesARB sends an unchecked request. If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent.
func DeleteQueriesARBChecked(c *xgb.Conn, ContextTag ContextTag, N int32, Ids []uint32) DeleteQueriesARBCookie
DeleteQueriesARBChecked sends a checked request. If an error occurs, it can be retrieved using DeleteQueriesARBCookie.Check()
func (cook DeleteQueriesARBCookie) Check() error
Check returns an error if one occurred for checked requests that are not expecting a reply. This cannot be called for requests expecting a reply, nor for unchecked requests.
DeleteTexturesCookie is a cookie used only for DeleteTextures requests.
type DeleteTexturesCookie struct { *xgb.Cookie }
func DeleteTextures(c *xgb.Conn, ContextTag ContextTag, N int32, Textures []uint32) DeleteTexturesCookie
DeleteTextures sends an unchecked request. If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent.
func DeleteTexturesChecked(c *xgb.Conn, ContextTag ContextTag, N int32, Textures []uint32) DeleteTexturesCookie
DeleteTexturesChecked sends a checked request. If an error occurs, it can be retrieved using DeleteTexturesCookie.Check()
func (cook DeleteTexturesCookie) Check() error
Check returns an error if one occurred for checked requests that are not expecting a reply. This cannot be called for requests expecting a reply, nor for unchecked requests.
DeleteWindowCookie is a cookie used only for DeleteWindow requests.
type DeleteWindowCookie struct { *xgb.Cookie }
func DeleteWindow(c *xgb.Conn, Glxwindow Window) DeleteWindowCookie
DeleteWindow sends an unchecked request. If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent.
func DeleteWindowChecked(c *xgb.Conn, Glxwindow Window) DeleteWindowCookie
DeleteWindowChecked sends a checked request. If an error occurs, it can be retrieved using DeleteWindowCookie.Check()
func (cook DeleteWindowCookie) Check() error
Check returns an error if one occurred for checked requests that are not expecting a reply. This cannot be called for requests expecting a reply, nor for unchecked requests.
DestroyContextCookie is a cookie used only for DestroyContext requests.
type DestroyContextCookie struct { *xgb.Cookie }
func DestroyContext(c *xgb.Conn, Context Context) DestroyContextCookie
DestroyContext sends an unchecked request. If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent.
func DestroyContextChecked(c *xgb.Conn, Context Context) DestroyContextCookie
DestroyContextChecked sends a checked request. If an error occurs, it can be retrieved using DestroyContextCookie.Check()
func (cook DestroyContextCookie) Check() error
Check returns an error if one occurred for checked requests that are not expecting a reply. This cannot be called for requests expecting a reply, nor for unchecked requests.
DestroyGLXPixmapCookie is a cookie used only for DestroyGLXPixmap requests.
type DestroyGLXPixmapCookie struct { *xgb.Cookie }
func DestroyGLXPixmap(c *xgb.Conn, GlxPixmap Pixmap) DestroyGLXPixmapCookie
DestroyGLXPixmap sends an unchecked request. If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent.
func DestroyGLXPixmapChecked(c *xgb.Conn, GlxPixmap Pixmap) DestroyGLXPixmapCookie
DestroyGLXPixmapChecked sends a checked request. If an error occurs, it can be retrieved using DestroyGLXPixmapCookie.Check()
func (cook DestroyGLXPixmapCookie) Check() error
Check returns an error if one occurred for checked requests that are not expecting a reply. This cannot be called for requests expecting a reply, nor for unchecked requests.
DestroyPbufferCookie is a cookie used only for DestroyPbuffer requests.
type DestroyPbufferCookie struct { *xgb.Cookie }
func DestroyPbuffer(c *xgb.Conn, Pbuffer Pbuffer) DestroyPbufferCookie
DestroyPbuffer sends an unchecked request. If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent.
func DestroyPbufferChecked(c *xgb.Conn, Pbuffer Pbuffer) DestroyPbufferCookie
DestroyPbufferChecked sends a checked request. If an error occurs, it can be retrieved using DestroyPbufferCookie.Check()
func (cook DestroyPbufferCookie) Check() error
Check returns an error if one occurred for checked requests that are not expecting a reply. This cannot be called for requests expecting a reply, nor for unchecked requests.
DestroyPixmapCookie is a cookie used only for DestroyPixmap requests.
type DestroyPixmapCookie struct { *xgb.Cookie }
func DestroyPixmap(c *xgb.Conn, GlxPixmap Pixmap) DestroyPixmapCookie
DestroyPixmap sends an unchecked request. If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent.
func DestroyPixmapChecked(c *xgb.Conn, GlxPixmap Pixmap) DestroyPixmapCookie
DestroyPixmapChecked sends a checked request. If an error occurs, it can be retrieved using DestroyPixmapCookie.Check()
func (cook DestroyPixmapCookie) Check() error
Check returns an error if one occurred for checked requests that are not expecting a reply. This cannot be called for requests expecting a reply, nor for unchecked requests.
type Drawable uint32
func NewDrawableId(c *xgb.Conn) (Drawable, error)
EndListCookie is a cookie used only for EndList requests.
type EndListCookie struct { *xgb.Cookie }
func EndList(c *xgb.Conn, ContextTag ContextTag) EndListCookie
EndList sends an unchecked request. If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent.
func EndListChecked(c *xgb.Conn, ContextTag ContextTag) EndListCookie
EndListChecked sends a checked request. If an error occurs, it can be retrieved using EndListCookie.Check()
func (cook EndListCookie) Check() error
Check returns an error if one occurred for checked requests that are not expecting a reply. This cannot be called for requests expecting a reply, nor for unchecked requests.
type Fbconfig uint32
func NewFbconfigId(c *xgb.Conn) (Fbconfig, error)
FeedbackBufferCookie is a cookie used only for FeedbackBuffer requests.
type FeedbackBufferCookie struct { *xgb.Cookie }
func FeedbackBuffer(c *xgb.Conn, ContextTag ContextTag, Size int32, Type int32) FeedbackBufferCookie
FeedbackBuffer sends an unchecked request. If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent.
func FeedbackBufferChecked(c *xgb.Conn, ContextTag ContextTag, Size int32, Type int32) FeedbackBufferCookie
FeedbackBufferChecked sends a checked request. If an error occurs, it can be retrieved using FeedbackBufferCookie.Check()
func (cook FeedbackBufferCookie) Check() error
Check returns an error if one occurred for checked requests that are not expecting a reply. This cannot be called for requests expecting a reply, nor for unchecked requests.
FinishCookie is a cookie used only for Finish requests.
type FinishCookie struct { *xgb.Cookie }
func Finish(c *xgb.Conn, ContextTag ContextTag) FinishCookie
Finish sends a checked request. If an error occurs, it will be returned with the reply by calling FinishCookie.Reply()
func FinishUnchecked(c *xgb.Conn, ContextTag ContextTag) FinishCookie
FinishUnchecked sends an unchecked request. If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent.
func (cook FinishCookie) Reply() (*FinishReply, error)
Reply blocks and returns the reply data for a Finish request.
FinishReply represents the data returned from a Finish request.
type FinishReply struct { Sequence uint16 // sequence number of the request for this reply Length uint32 // number of bytes in this reply }
type Float32 float64
type Float64 float64
FlushCookie is a cookie used only for Flush requests.
type FlushCookie struct { *xgb.Cookie }
func Flush(c *xgb.Conn, ContextTag ContextTag) FlushCookie
Flush sends an unchecked request. If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent.
func FlushChecked(c *xgb.Conn, ContextTag ContextTag) FlushCookie
FlushChecked sends a checked request. If an error occurs, it can be retrieved using FlushCookie.Check()
func (cook FlushCookie) Check() error
Check returns an error if one occurred for checked requests that are not expecting a reply. This cannot be called for requests expecting a reply, nor for unchecked requests.
type GLXBadProfileARBError GenericError
func (err GLXBadProfileARBError) BadId() uint32
BadId returns the 'BadValue' number if one exists for the BadGLXBadProfileARB error. If no bad value exists, 0 is returned.
func (err GLXBadProfileARBError) Error() string
Error returns a rudimentary string representation of the BadGLXBadProfileARB error.
func (err GLXBadProfileARBError) SequenceId() uint16
SequenceId returns the sequence id attached to the BadGLXBadProfileARB error. This is mostly used internally.
GenListsCookie is a cookie used only for GenLists requests.
type GenListsCookie struct { *xgb.Cookie }
func GenLists(c *xgb.Conn, ContextTag ContextTag, Range int32) GenListsCookie
GenLists sends a checked request. If an error occurs, it will be returned with the reply by calling GenListsCookie.Reply()
func GenListsUnchecked(c *xgb.Conn, ContextTag ContextTag, Range int32) GenListsCookie
GenListsUnchecked sends an unchecked request. If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent.
func (cook GenListsCookie) Reply() (*GenListsReply, error)
Reply blocks and returns the reply data for a GenLists request.
GenListsReply represents the data returned from a GenLists request.
type GenListsReply struct { Sequence uint16 // sequence number of the request for this reply Length uint32 // number of bytes in this reply // padding: 1 bytes RetVal uint32 }
GenQueriesARBCookie is a cookie used only for GenQueriesARB requests.
type GenQueriesARBCookie struct { *xgb.Cookie }
func GenQueriesARB(c *xgb.Conn, ContextTag ContextTag, N int32) GenQueriesARBCookie
GenQueriesARB sends a checked request. If an error occurs, it will be returned with the reply by calling GenQueriesARBCookie.Reply()
func GenQueriesARBUnchecked(c *xgb.Conn, ContextTag ContextTag, N int32) GenQueriesARBCookie
GenQueriesARBUnchecked sends an unchecked request. If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent.
func (cook GenQueriesARBCookie) Reply() (*GenQueriesARBReply, error)
Reply blocks and returns the reply data for a GenQueriesARB request.
GenQueriesARBReply represents the data returned from a GenQueriesARB request.
type GenQueriesARBReply struct { Sequence uint16 // sequence number of the request for this reply Length uint32 // number of bytes in this reply // padding: 1 bytes // padding: 24 bytes Data []uint32 // size: xgb.Pad((int(Length) * 4)) }
GenTexturesCookie is a cookie used only for GenTextures requests.
type GenTexturesCookie struct { *xgb.Cookie }
func GenTextures(c *xgb.Conn, ContextTag ContextTag, N int32) GenTexturesCookie
GenTextures sends a checked request. If an error occurs, it will be returned with the reply by calling GenTexturesCookie.Reply()
func GenTexturesUnchecked(c *xgb.Conn, ContextTag ContextTag, N int32) GenTexturesCookie
GenTexturesUnchecked sends an unchecked request. If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent.
func (cook GenTexturesCookie) Reply() (*GenTexturesReply, error)
Reply blocks and returns the reply data for a GenTextures request.
GenTexturesReply represents the data returned from a GenTextures request.
type GenTexturesReply struct { Sequence uint16 // sequence number of the request for this reply Length uint32 // number of bytes in this reply // padding: 1 bytes // padding: 24 bytes Data []uint32 // size: xgb.Pad((int(Length) * 4)) }
type GenericError struct { Sequence uint16 NiceName string BadValue uint32 MinorOpcode uint16 MajorOpcode byte }
func (err GenericError) BadId() uint32
BadId returns the 'BadValue' number if one exists for the BadGeneric error. If no bad value exists, 0 is returned.
func (err GenericError) Error() string
func (err GenericError) SequenceId() uint16
SequenceId returns the sequence id attached to the BadGeneric error. This is mostly used internally.
GetBooleanvCookie is a cookie used only for GetBooleanv requests.
type GetBooleanvCookie struct { *xgb.Cookie }
func GetBooleanv(c *xgb.Conn, ContextTag ContextTag, Pname int32) GetBooleanvCookie
GetBooleanv sends a checked request. If an error occurs, it will be returned with the reply by calling GetBooleanvCookie.Reply()
func GetBooleanvUnchecked(c *xgb.Conn, ContextTag ContextTag, Pname int32) GetBooleanvCookie
GetBooleanvUnchecked sends an unchecked request. If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent.
func (cook GetBooleanvCookie) Reply() (*GetBooleanvReply, error)
Reply blocks and returns the reply data for a GetBooleanv request.
GetBooleanvReply represents the data returned from a GetBooleanv request.
type GetBooleanvReply struct { Sequence uint16 // sequence number of the request for this reply Length uint32 // number of bytes in this reply // padding: 1 bytes // padding: 4 bytes N uint32 Datum bool // padding: 15 bytes Data []bool // size: xgb.Pad((int(N) * 1)) }
GetClipPlaneCookie is a cookie used only for GetClipPlane requests.
type GetClipPlaneCookie struct { *xgb.Cookie }
func GetClipPlane(c *xgb.Conn, ContextTag ContextTag, Plane int32) GetClipPlaneCookie
GetClipPlane sends a checked request. If an error occurs, it will be returned with the reply by calling GetClipPlaneCookie.Reply()
func GetClipPlaneUnchecked(c *xgb.Conn, ContextTag ContextTag, Plane int32) GetClipPlaneCookie
GetClipPlaneUnchecked sends an unchecked request. If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent.
func (cook GetClipPlaneCookie) Reply() (*GetClipPlaneReply, error)
Reply blocks and returns the reply data for a GetClipPlane request.
GetClipPlaneReply represents the data returned from a GetClipPlane request.
type GetClipPlaneReply struct { Sequence uint16 // sequence number of the request for this reply Length uint32 // number of bytes in this reply // padding: 1 bytes // padding: 24 bytes Data []Float64 // size: xgb.Pad(((int(Length) / 2) * 8)) }
GetColorTableCookie is a cookie used only for GetColorTable requests.
type GetColorTableCookie struct { *xgb.Cookie }
func GetColorTable(c *xgb.Conn, ContextTag ContextTag, Target uint32, Format uint32, Type uint32, SwapBytes bool) GetColorTableCookie
GetColorTable sends a checked request. If an error occurs, it will be returned with the reply by calling GetColorTableCookie.Reply()
func GetColorTableUnchecked(c *xgb.Conn, ContextTag ContextTag, Target uint32, Format uint32, Type uint32, SwapBytes bool) GetColorTableCookie
GetColorTableUnchecked sends an unchecked request. If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent.
func (cook GetColorTableCookie) Reply() (*GetColorTableReply, error)
Reply blocks and returns the reply data for a GetColorTable request.
GetColorTableParameterfvCookie is a cookie used only for GetColorTableParameterfv requests.
type GetColorTableParameterfvCookie struct { *xgb.Cookie }
func GetColorTableParameterfv(c *xgb.Conn, ContextTag ContextTag, Target uint32, Pname uint32) GetColorTableParameterfvCookie
GetColorTableParameterfv sends a checked request. If an error occurs, it will be returned with the reply by calling GetColorTableParameterfvCookie.Reply()
func GetColorTableParameterfvUnchecked(c *xgb.Conn, ContextTag ContextTag, Target uint32, Pname uint32) GetColorTableParameterfvCookie
GetColorTableParameterfvUnchecked sends an unchecked request. If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent.
func (cook GetColorTableParameterfvCookie) Reply() (*GetColorTableParameterfvReply, error)
Reply blocks and returns the reply data for a GetColorTableParameterfv request.
GetColorTableParameterfvReply represents the data returned from a GetColorTableParameterfv request.
type GetColorTableParameterfvReply struct { Sequence uint16 // sequence number of the request for this reply Length uint32 // number of bytes in this reply // padding: 1 bytes // padding: 4 bytes N uint32 Datum Float32 // padding: 12 bytes Data []Float32 // size: xgb.Pad((int(N) * 4)) }
GetColorTableParameterivCookie is a cookie used only for GetColorTableParameteriv requests.
type GetColorTableParameterivCookie struct { *xgb.Cookie }
func GetColorTableParameteriv(c *xgb.Conn, ContextTag ContextTag, Target uint32, Pname uint32) GetColorTableParameterivCookie
GetColorTableParameteriv sends a checked request. If an error occurs, it will be returned with the reply by calling GetColorTableParameterivCookie.Reply()
func GetColorTableParameterivUnchecked(c *xgb.Conn, ContextTag ContextTag, Target uint32, Pname uint32) GetColorTableParameterivCookie
GetColorTableParameterivUnchecked sends an unchecked request. If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent.
func (cook GetColorTableParameterivCookie) Reply() (*GetColorTableParameterivReply, error)
Reply blocks and returns the reply data for a GetColorTableParameteriv request.
GetColorTableParameterivReply represents the data returned from a GetColorTableParameteriv request.
type GetColorTableParameterivReply struct { Sequence uint16 // sequence number of the request for this reply Length uint32 // number of bytes in this reply // padding: 1 bytes // padding: 4 bytes N uint32 Datum int32 // padding: 12 bytes Data []int32 // size: xgb.Pad((int(N) * 4)) }
GetColorTableReply represents the data returned from a GetColorTable request.
type GetColorTableReply struct { Sequence uint16 // sequence number of the request for this reply Length uint32 // number of bytes in this reply // padding: 1 bytes // padding: 8 bytes Width int32 // padding: 12 bytes Data []byte // size: xgb.Pad(((int(Length) * 4) * 1)) }
GetCompressedTexImageARBCookie is a cookie used only for GetCompressedTexImageARB requests.
type GetCompressedTexImageARBCookie struct { *xgb.Cookie }
func GetCompressedTexImageARB(c *xgb.Conn, ContextTag ContextTag, Target uint32, Level int32) GetCompressedTexImageARBCookie
GetCompressedTexImageARB sends a checked request. If an error occurs, it will be returned with the reply by calling GetCompressedTexImageARBCookie.Reply()
func GetCompressedTexImageARBUnchecked(c *xgb.Conn, ContextTag ContextTag, Target uint32, Level int32) GetCompressedTexImageARBCookie
GetCompressedTexImageARBUnchecked sends an unchecked request. If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent.
func (cook GetCompressedTexImageARBCookie) Reply() (*GetCompressedTexImageARBReply, error)
Reply blocks and returns the reply data for a GetCompressedTexImageARB request.
GetCompressedTexImageARBReply represents the data returned from a GetCompressedTexImageARB request.
type GetCompressedTexImageARBReply struct { Sequence uint16 // sequence number of the request for this reply Length uint32 // number of bytes in this reply // padding: 1 bytes // padding: 8 bytes Size int32 // padding: 12 bytes Data []byte // size: xgb.Pad(((int(Length) * 4) * 1)) }
GetConvolutionFilterCookie is a cookie used only for GetConvolutionFilter requests.
type GetConvolutionFilterCookie struct { *xgb.Cookie }
func GetConvolutionFilter(c *xgb.Conn, ContextTag ContextTag, Target uint32, Format uint32, Type uint32, SwapBytes bool) GetConvolutionFilterCookie
GetConvolutionFilter sends a checked request. If an error occurs, it will be returned with the reply by calling GetConvolutionFilterCookie.Reply()
func GetConvolutionFilterUnchecked(c *xgb.Conn, ContextTag ContextTag, Target uint32, Format uint32, Type uint32, SwapBytes bool) GetConvolutionFilterCookie
GetConvolutionFilterUnchecked sends an unchecked request. If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent.
func (cook GetConvolutionFilterCookie) Reply() (*GetConvolutionFilterReply, error)
Reply blocks and returns the reply data for a GetConvolutionFilter request.
GetConvolutionFilterReply represents the data returned from a GetConvolutionFilter request.
type GetConvolutionFilterReply struct { Sequence uint16 // sequence number of the request for this reply Length uint32 // number of bytes in this reply // padding: 1 bytes // padding: 8 bytes Width int32 Height int32 // padding: 8 bytes Data []byte // size: xgb.Pad(((int(Length) * 4) * 1)) }
GetConvolutionParameterfvCookie is a cookie used only for GetConvolutionParameterfv requests.
type GetConvolutionParameterfvCookie struct { *xgb.Cookie }
func GetConvolutionParameterfv(c *xgb.Conn, ContextTag ContextTag, Target uint32, Pname uint32) GetConvolutionParameterfvCookie
GetConvolutionParameterfv sends a checked request. If an error occurs, it will be returned with the reply by calling GetConvolutionParameterfvCookie.Reply()
func GetConvolutionParameterfvUnchecked(c *xgb.Conn, ContextTag ContextTag, Target uint32, Pname uint32) GetConvolutionParameterfvCookie
GetConvolutionParameterfvUnchecked sends an unchecked request. If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent.
func (cook GetConvolutionParameterfvCookie) Reply() (*GetConvolutionParameterfvReply, error)
Reply blocks and returns the reply data for a GetConvolutionParameterfv request.
GetConvolutionParameterfvReply represents the data returned from a GetConvolutionParameterfv request.
type GetConvolutionParameterfvReply struct { Sequence uint16 // sequence number of the request for this reply Length uint32 // number of bytes in this reply // padding: 1 bytes // padding: 4 bytes N uint32 Datum Float32 // padding: 12 bytes Data []Float32 // size: xgb.Pad((int(N) * 4)) }
GetConvolutionParameterivCookie is a cookie used only for GetConvolutionParameteriv requests.
type GetConvolutionParameterivCookie struct { *xgb.Cookie }
func GetConvolutionParameteriv(c *xgb.Conn, ContextTag ContextTag, Target uint32, Pname uint32) GetConvolutionParameterivCookie
GetConvolutionParameteriv sends a checked request. If an error occurs, it will be returned with the reply by calling GetConvolutionParameterivCookie.Reply()
func GetConvolutionParameterivUnchecked(c *xgb.Conn, ContextTag ContextTag, Target uint32, Pname uint32) GetConvolutionParameterivCookie
GetConvolutionParameterivUnchecked sends an unchecked request. If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent.
func (cook GetConvolutionParameterivCookie) Reply() (*GetConvolutionParameterivReply, error)
Reply blocks and returns the reply data for a GetConvolutionParameteriv request.
GetConvolutionParameterivReply represents the data returned from a GetConvolutionParameteriv request.
type GetConvolutionParameterivReply struct { Sequence uint16 // sequence number of the request for this reply Length uint32 // number of bytes in this reply // padding: 1 bytes // padding: 4 bytes N uint32 Datum int32 // padding: 12 bytes Data []int32 // size: xgb.Pad((int(N) * 4)) }
GetDoublevCookie is a cookie used only for GetDoublev requests.
type GetDoublevCookie struct { *xgb.Cookie }
func GetDoublev(c *xgb.Conn, ContextTag ContextTag, Pname uint32) GetDoublevCookie
GetDoublev sends a checked request. If an error occurs, it will be returned with the reply by calling GetDoublevCookie.Reply()
func GetDoublevUnchecked(c *xgb.Conn, ContextTag ContextTag, Pname uint32) GetDoublevCookie
GetDoublevUnchecked sends an unchecked request. If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent.
func (cook GetDoublevCookie) Reply() (*GetDoublevReply, error)
Reply blocks and returns the reply data for a GetDoublev request.
GetDoublevReply represents the data returned from a GetDoublev request.
type GetDoublevReply struct { Sequence uint16 // sequence number of the request for this reply Length uint32 // number of bytes in this reply // padding: 1 bytes // padding: 4 bytes N uint32 Datum Float64 // padding: 8 bytes Data []Float64 // size: xgb.Pad((int(N) * 8)) }
GetDrawableAttributesCookie is a cookie used only for GetDrawableAttributes requests.
type GetDrawableAttributesCookie struct { *xgb.Cookie }
func GetDrawableAttributes(c *xgb.Conn, Drawable Drawable) GetDrawableAttributesCookie
GetDrawableAttributes sends a checked request. If an error occurs, it will be returned with the reply by calling GetDrawableAttributesCookie.Reply()
func GetDrawableAttributesUnchecked(c *xgb.Conn, Drawable Drawable) GetDrawableAttributesCookie
GetDrawableAttributesUnchecked sends an unchecked request. If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent.
func (cook GetDrawableAttributesCookie) Reply() (*GetDrawableAttributesReply, error)
Reply blocks and returns the reply data for a GetDrawableAttributes request.
GetDrawableAttributesReply represents the data returned from a GetDrawableAttributes request.
type GetDrawableAttributesReply struct { Sequence uint16 // sequence number of the request for this reply Length uint32 // number of bytes in this reply // padding: 1 bytes NumAttribs uint32 // padding: 20 bytes Attribs []uint32 // size: xgb.Pad(((int(NumAttribs) * 2) * 4)) }
GetErrorCookie is a cookie used only for GetError requests.
type GetErrorCookie struct { *xgb.Cookie }
func GetError(c *xgb.Conn, ContextTag ContextTag) GetErrorCookie
GetError sends a checked request. If an error occurs, it will be returned with the reply by calling GetErrorCookie.Reply()
func GetErrorUnchecked(c *xgb.Conn, ContextTag ContextTag) GetErrorCookie
GetErrorUnchecked sends an unchecked request. If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent.
func (cook GetErrorCookie) Reply() (*GetErrorReply, error)
Reply blocks and returns the reply data for a GetError request.
GetErrorReply represents the data returned from a GetError request.
type GetErrorReply struct { Sequence uint16 // sequence number of the request for this reply Length uint32 // number of bytes in this reply // padding: 1 bytes Error int32 }
GetFBConfigsCookie is a cookie used only for GetFBConfigs requests.
type GetFBConfigsCookie struct { *xgb.Cookie }
func GetFBConfigs(c *xgb.Conn, Screen uint32) GetFBConfigsCookie
GetFBConfigs sends a checked request. If an error occurs, it will be returned with the reply by calling GetFBConfigsCookie.Reply()
func GetFBConfigsUnchecked(c *xgb.Conn, Screen uint32) GetFBConfigsCookie
GetFBConfigsUnchecked sends an unchecked request. If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent.
func (cook GetFBConfigsCookie) Reply() (*GetFBConfigsReply, error)
Reply blocks and returns the reply data for a GetFBConfigs request.
GetFBConfigsReply represents the data returned from a GetFBConfigs request.
type GetFBConfigsReply struct { Sequence uint16 // sequence number of the request for this reply Length uint32 // number of bytes in this reply // padding: 1 bytes NumFbConfigs uint32 NumProperties uint32 // padding: 16 bytes PropertyList []uint32 // size: xgb.Pad((int(Length) * 4)) }
GetFloatvCookie is a cookie used only for GetFloatv requests.
type GetFloatvCookie struct { *xgb.Cookie }
func GetFloatv(c *xgb.Conn, ContextTag ContextTag, Pname uint32) GetFloatvCookie
GetFloatv sends a checked request. If an error occurs, it will be returned with the reply by calling GetFloatvCookie.Reply()
func GetFloatvUnchecked(c *xgb.Conn, ContextTag ContextTag, Pname uint32) GetFloatvCookie
GetFloatvUnchecked sends an unchecked request. If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent.
func (cook GetFloatvCookie) Reply() (*GetFloatvReply, error)
Reply blocks and returns the reply data for a GetFloatv request.
GetFloatvReply represents the data returned from a GetFloatv request.
type GetFloatvReply struct { Sequence uint16 // sequence number of the request for this reply Length uint32 // number of bytes in this reply // padding: 1 bytes // padding: 4 bytes N uint32 Datum Float32 // padding: 12 bytes Data []Float32 // size: xgb.Pad((int(N) * 4)) }
GetHistogramCookie is a cookie used only for GetHistogram requests.
type GetHistogramCookie struct { *xgb.Cookie }
func GetHistogram(c *xgb.Conn, ContextTag ContextTag, Target uint32, Format uint32, Type uint32, SwapBytes bool, Reset bool) GetHistogramCookie
GetHistogram sends a checked request. If an error occurs, it will be returned with the reply by calling GetHistogramCookie.Reply()
func GetHistogramUnchecked(c *xgb.Conn, ContextTag ContextTag, Target uint32, Format uint32, Type uint32, SwapBytes bool, Reset bool) GetHistogramCookie
GetHistogramUnchecked sends an unchecked request. If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent.
func (cook GetHistogramCookie) Reply() (*GetHistogramReply, error)
Reply blocks and returns the reply data for a GetHistogram request.
GetHistogramParameterfvCookie is a cookie used only for GetHistogramParameterfv requests.
type GetHistogramParameterfvCookie struct { *xgb.Cookie }
func GetHistogramParameterfv(c *xgb.Conn, ContextTag ContextTag, Target uint32, Pname uint32) GetHistogramParameterfvCookie
GetHistogramParameterfv sends a checked request. If an error occurs, it will be returned with the reply by calling GetHistogramParameterfvCookie.Reply()
func GetHistogramParameterfvUnchecked(c *xgb.Conn, ContextTag ContextTag, Target uint32, Pname uint32) GetHistogramParameterfvCookie
GetHistogramParameterfvUnchecked sends an unchecked request. If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent.
func (cook GetHistogramParameterfvCookie) Reply() (*GetHistogramParameterfvReply, error)
Reply blocks and returns the reply data for a GetHistogramParameterfv request.
GetHistogramParameterfvReply represents the data returned from a GetHistogramParameterfv request.
type GetHistogramParameterfvReply struct { Sequence uint16 // sequence number of the request for this reply Length uint32 // number of bytes in this reply // padding: 1 bytes // padding: 4 bytes N uint32 Datum Float32 // padding: 12 bytes Data []Float32 // size: xgb.Pad((int(N) * 4)) }
GetHistogramParameterivCookie is a cookie used only for GetHistogramParameteriv requests.
type GetHistogramParameterivCookie struct { *xgb.Cookie }
func GetHistogramParameteriv(c *xgb.Conn, ContextTag ContextTag, Target uint32, Pname uint32) GetHistogramParameterivCookie
GetHistogramParameteriv sends a checked request. If an error occurs, it will be returned with the reply by calling GetHistogramParameterivCookie.Reply()
func GetHistogramParameterivUnchecked(c *xgb.Conn, ContextTag ContextTag, Target uint32, Pname uint32) GetHistogramParameterivCookie
GetHistogramParameterivUnchecked sends an unchecked request. If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent.
func (cook GetHistogramParameterivCookie) Reply() (*GetHistogramParameterivReply, error)
Reply blocks and returns the reply data for a GetHistogramParameteriv request.
GetHistogramParameterivReply represents the data returned from a GetHistogramParameteriv request.
type GetHistogramParameterivReply struct { Sequence uint16 // sequence number of the request for this reply Length uint32 // number of bytes in this reply // padding: 1 bytes // padding: 4 bytes N uint32 Datum int32 // padding: 12 bytes Data []int32 // size: xgb.Pad((int(N) * 4)) }
GetHistogramReply represents the data returned from a GetHistogram request.
type GetHistogramReply struct { Sequence uint16 // sequence number of the request for this reply Length uint32 // number of bytes in this reply // padding: 1 bytes // padding: 8 bytes Width int32 // padding: 12 bytes Data []byte // size: xgb.Pad(((int(Length) * 4) * 1)) }
GetIntegervCookie is a cookie used only for GetIntegerv requests.
type GetIntegervCookie struct { *xgb.Cookie }
func GetIntegerv(c *xgb.Conn, ContextTag ContextTag, Pname uint32) GetIntegervCookie
GetIntegerv sends a checked request. If an error occurs, it will be returned with the reply by calling GetIntegervCookie.Reply()
func GetIntegervUnchecked(c *xgb.Conn, ContextTag ContextTag, Pname uint32) GetIntegervCookie
GetIntegervUnchecked sends an unchecked request. If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent.
func (cook GetIntegervCookie) Reply() (*GetIntegervReply, error)
Reply blocks and returns the reply data for a GetIntegerv request.
GetIntegervReply represents the data returned from a GetIntegerv request.
type GetIntegervReply struct { Sequence uint16 // sequence number of the request for this reply Length uint32 // number of bytes in this reply // padding: 1 bytes // padding: 4 bytes N uint32 Datum int32 // padding: 12 bytes Data []int32 // size: xgb.Pad((int(N) * 4)) }
GetLightfvCookie is a cookie used only for GetLightfv requests.
type GetLightfvCookie struct { *xgb.Cookie }
func GetLightfv(c *xgb.Conn, ContextTag ContextTag, Light uint32, Pname uint32) GetLightfvCookie
GetLightfv sends a checked request. If an error occurs, it will be returned with the reply by calling GetLightfvCookie.Reply()
func GetLightfvUnchecked(c *xgb.Conn, ContextTag ContextTag, Light uint32, Pname uint32) GetLightfvCookie
GetLightfvUnchecked sends an unchecked request. If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent.
func (cook GetLightfvCookie) Reply() (*GetLightfvReply, error)
Reply blocks and returns the reply data for a GetLightfv request.
GetLightfvReply represents the data returned from a GetLightfv request.
type GetLightfvReply struct { Sequence uint16 // sequence number of the request for this reply Length uint32 // number of bytes in this reply // padding: 1 bytes // padding: 4 bytes N uint32 Datum Float32 // padding: 12 bytes Data []Float32 // size: xgb.Pad((int(N) * 4)) }
GetLightivCookie is a cookie used only for GetLightiv requests.
type GetLightivCookie struct { *xgb.Cookie }
func GetLightiv(c *xgb.Conn, ContextTag ContextTag, Light uint32, Pname uint32) GetLightivCookie
GetLightiv sends a checked request. If an error occurs, it will be returned with the reply by calling GetLightivCookie.Reply()
func GetLightivUnchecked(c *xgb.Conn, ContextTag ContextTag, Light uint32, Pname uint32) GetLightivCookie
GetLightivUnchecked sends an unchecked request. If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent.
func (cook GetLightivCookie) Reply() (*GetLightivReply, error)
Reply blocks and returns the reply data for a GetLightiv request.
GetLightivReply represents the data returned from a GetLightiv request.
type GetLightivReply struct { Sequence uint16 // sequence number of the request for this reply Length uint32 // number of bytes in this reply // padding: 1 bytes // padding: 4 bytes N uint32 Datum int32 // padding: 12 bytes Data []int32 // size: xgb.Pad((int(N) * 4)) }
GetMapdvCookie is a cookie used only for GetMapdv requests.
type GetMapdvCookie struct { *xgb.Cookie }
func GetMapdv(c *xgb.Conn, ContextTag ContextTag, Target uint32, Query uint32) GetMapdvCookie
GetMapdv sends a checked request. If an error occurs, it will be returned with the reply by calling GetMapdvCookie.Reply()
func GetMapdvUnchecked(c *xgb.Conn, ContextTag ContextTag, Target uint32, Query uint32) GetMapdvCookie
GetMapdvUnchecked sends an unchecked request. If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent.
func (cook GetMapdvCookie) Reply() (*GetMapdvReply, error)
Reply blocks and returns the reply data for a GetMapdv request.
GetMapdvReply represents the data returned from a GetMapdv request.
type GetMapdvReply struct { Sequence uint16 // sequence number of the request for this reply Length uint32 // number of bytes in this reply // padding: 1 bytes // padding: 4 bytes N uint32 Datum Float64 // padding: 8 bytes Data []Float64 // size: xgb.Pad((int(N) * 8)) }
GetMapfvCookie is a cookie used only for GetMapfv requests.
type GetMapfvCookie struct { *xgb.Cookie }
func GetMapfv(c *xgb.Conn, ContextTag ContextTag, Target uint32, Query uint32) GetMapfvCookie
GetMapfv sends a checked request. If an error occurs, it will be returned with the reply by calling GetMapfvCookie.Reply()
func GetMapfvUnchecked(c *xgb.Conn, ContextTag ContextTag, Target uint32, Query uint32) GetMapfvCookie
GetMapfvUnchecked sends an unchecked request. If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent.
func (cook GetMapfvCookie) Reply() (*GetMapfvReply, error)
Reply blocks and returns the reply data for a GetMapfv request.
GetMapfvReply represents the data returned from a GetMapfv request.
type GetMapfvReply struct { Sequence uint16 // sequence number of the request for this reply Length uint32 // number of bytes in this reply // padding: 1 bytes // padding: 4 bytes N uint32 Datum Float32 // padding: 12 bytes Data []Float32 // size: xgb.Pad((int(N) * 4)) }
GetMapivCookie is a cookie used only for GetMapiv requests.
type GetMapivCookie struct { *xgb.Cookie }
func GetMapiv(c *xgb.Conn, ContextTag ContextTag, Target uint32, Query uint32) GetMapivCookie
GetMapiv sends a checked request. If an error occurs, it will be returned with the reply by calling GetMapivCookie.Reply()
func GetMapivUnchecked(c *xgb.Conn, ContextTag ContextTag, Target uint32, Query uint32) GetMapivCookie
GetMapivUnchecked sends an unchecked request. If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent.
func (cook GetMapivCookie) Reply() (*GetMapivReply, error)
Reply blocks and returns the reply data for a GetMapiv request.
GetMapivReply represents the data returned from a GetMapiv request.
type GetMapivReply struct { Sequence uint16 // sequence number of the request for this reply Length uint32 // number of bytes in this reply // padding: 1 bytes // padding: 4 bytes N uint32 Datum int32 // padding: 12 bytes Data []int32 // size: xgb.Pad((int(N) * 4)) }
GetMaterialfvCookie is a cookie used only for GetMaterialfv requests.
type GetMaterialfvCookie struct { *xgb.Cookie }
func GetMaterialfv(c *xgb.Conn, ContextTag ContextTag, Face uint32, Pname uint32) GetMaterialfvCookie
GetMaterialfv sends a checked request. If an error occurs, it will be returned with the reply by calling GetMaterialfvCookie.Reply()
func GetMaterialfvUnchecked(c *xgb.Conn, ContextTag ContextTag, Face uint32, Pname uint32) GetMaterialfvCookie
GetMaterialfvUnchecked sends an unchecked request. If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent.
func (cook GetMaterialfvCookie) Reply() (*GetMaterialfvReply, error)
Reply blocks and returns the reply data for a GetMaterialfv request.
GetMaterialfvReply represents the data returned from a GetMaterialfv request.
type GetMaterialfvReply struct { Sequence uint16 // sequence number of the request for this reply Length uint32 // number of bytes in this reply // padding: 1 bytes // padding: 4 bytes N uint32 Datum Float32 // padding: 12 bytes Data []Float32 // size: xgb.Pad((int(N) * 4)) }
GetMaterialivCookie is a cookie used only for GetMaterialiv requests.
type GetMaterialivCookie struct { *xgb.Cookie }
func GetMaterialiv(c *xgb.Conn, ContextTag ContextTag, Face uint32, Pname uint32) GetMaterialivCookie
GetMaterialiv sends a checked request. If an error occurs, it will be returned with the reply by calling GetMaterialivCookie.Reply()
func GetMaterialivUnchecked(c *xgb.Conn, ContextTag ContextTag, Face uint32, Pname uint32) GetMaterialivCookie
GetMaterialivUnchecked sends an unchecked request. If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent.
func (cook GetMaterialivCookie) Reply() (*GetMaterialivReply, error)
Reply blocks and returns the reply data for a GetMaterialiv request.
GetMaterialivReply represents the data returned from a GetMaterialiv request.
type GetMaterialivReply struct { Sequence uint16 // sequence number of the request for this reply Length uint32 // number of bytes in this reply // padding: 1 bytes // padding: 4 bytes N uint32 Datum int32 // padding: 12 bytes Data []int32 // size: xgb.Pad((int(N) * 4)) }
GetMinmaxCookie is a cookie used only for GetMinmax requests.
type GetMinmaxCookie struct { *xgb.Cookie }
func GetMinmax(c *xgb.Conn, ContextTag ContextTag, Target uint32, Format uint32, Type uint32, SwapBytes bool, Reset bool) GetMinmaxCookie
GetMinmax sends a checked request. If an error occurs, it will be returned with the reply by calling GetMinmaxCookie.Reply()
func GetMinmaxUnchecked(c *xgb.Conn, ContextTag ContextTag, Target uint32, Format uint32, Type uint32, SwapBytes bool, Reset bool) GetMinmaxCookie
GetMinmaxUnchecked sends an unchecked request. If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent.
func (cook GetMinmaxCookie) Reply() (*GetMinmaxReply, error)
Reply blocks and returns the reply data for a GetMinmax request.
GetMinmaxParameterfvCookie is a cookie used only for GetMinmaxParameterfv requests.
type GetMinmaxParameterfvCookie struct { *xgb.Cookie }
func GetMinmaxParameterfv(c *xgb.Conn, ContextTag ContextTag, Target uint32, Pname uint32) GetMinmaxParameterfvCookie
GetMinmaxParameterfv sends a checked request. If an error occurs, it will be returned with the reply by calling GetMinmaxParameterfvCookie.Reply()
func GetMinmaxParameterfvUnchecked(c *xgb.Conn, ContextTag ContextTag, Target uint32, Pname uint32) GetMinmaxParameterfvCookie
GetMinmaxParameterfvUnchecked sends an unchecked request. If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent.
func (cook GetMinmaxParameterfvCookie) Reply() (*GetMinmaxParameterfvReply, error)
Reply blocks and returns the reply data for a GetMinmaxParameterfv request.
GetMinmaxParameterfvReply represents the data returned from a GetMinmaxParameterfv request.
type GetMinmaxParameterfvReply struct { Sequence uint16 // sequence number of the request for this reply Length uint32 // number of bytes in this reply // padding: 1 bytes // padding: 4 bytes N uint32 Datum Float32 // padding: 12 bytes Data []Float32 // size: xgb.Pad((int(N) * 4)) }
GetMinmaxParameterivCookie is a cookie used only for GetMinmaxParameteriv requests.
type GetMinmaxParameterivCookie struct { *xgb.Cookie }
func GetMinmaxParameteriv(c *xgb.Conn, ContextTag ContextTag, Target uint32, Pname uint32) GetMinmaxParameterivCookie
GetMinmaxParameteriv sends a checked request. If an error occurs, it will be returned with the reply by calling GetMinmaxParameterivCookie.Reply()
func GetMinmaxParameterivUnchecked(c *xgb.Conn, ContextTag ContextTag, Target uint32, Pname uint32) GetMinmaxParameterivCookie
GetMinmaxParameterivUnchecked sends an unchecked request. If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent.
func (cook GetMinmaxParameterivCookie) Reply() (*GetMinmaxParameterivReply, error)
Reply blocks and returns the reply data for a GetMinmaxParameteriv request.
GetMinmaxParameterivReply represents the data returned from a GetMinmaxParameteriv request.
type GetMinmaxParameterivReply struct { Sequence uint16 // sequence number of the request for this reply Length uint32 // number of bytes in this reply // padding: 1 bytes // padding: 4 bytes N uint32 Datum int32 // padding: 12 bytes Data []int32 // size: xgb.Pad((int(N) * 4)) }
GetMinmaxReply represents the data returned from a GetMinmax request.
type GetMinmaxReply struct { Sequence uint16 // sequence number of the request for this reply Length uint32 // number of bytes in this reply // padding: 1 bytes // padding: 24 bytes Data []byte // size: xgb.Pad(((int(Length) * 4) * 1)) }
GetPixelMapfvCookie is a cookie used only for GetPixelMapfv requests.
type GetPixelMapfvCookie struct { *xgb.Cookie }
func GetPixelMapfv(c *xgb.Conn, ContextTag ContextTag, Map uint32) GetPixelMapfvCookie
GetPixelMapfv sends a checked request. If an error occurs, it will be returned with the reply by calling GetPixelMapfvCookie.Reply()
func GetPixelMapfvUnchecked(c *xgb.Conn, ContextTag ContextTag, Map uint32) GetPixelMapfvCookie
GetPixelMapfvUnchecked sends an unchecked request. If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent.
func (cook GetPixelMapfvCookie) Reply() (*GetPixelMapfvReply, error)
Reply blocks and returns the reply data for a GetPixelMapfv request.
GetPixelMapfvReply represents the data returned from a GetPixelMapfv request.
type GetPixelMapfvReply struct { Sequence uint16 // sequence number of the request for this reply Length uint32 // number of bytes in this reply // padding: 1 bytes // padding: 4 bytes N uint32 Datum Float32 // padding: 12 bytes Data []Float32 // size: xgb.Pad((int(N) * 4)) }
GetPixelMapuivCookie is a cookie used only for GetPixelMapuiv requests.
type GetPixelMapuivCookie struct { *xgb.Cookie }
func GetPixelMapuiv(c *xgb.Conn, ContextTag ContextTag, Map uint32) GetPixelMapuivCookie
GetPixelMapuiv sends a checked request. If an error occurs, it will be returned with the reply by calling GetPixelMapuivCookie.Reply()
func GetPixelMapuivUnchecked(c *xgb.Conn, ContextTag ContextTag, Map uint32) GetPixelMapuivCookie
GetPixelMapuivUnchecked sends an unchecked request. If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent.
func (cook GetPixelMapuivCookie) Reply() (*GetPixelMapuivReply, error)
Reply blocks and returns the reply data for a GetPixelMapuiv request.
GetPixelMapuivReply represents the data returned from a GetPixelMapuiv request.
type GetPixelMapuivReply struct { Sequence uint16 // sequence number of the request for this reply Length uint32 // number of bytes in this reply // padding: 1 bytes // padding: 4 bytes N uint32 Datum uint32 // padding: 12 bytes Data []uint32 // size: xgb.Pad((int(N) * 4)) }
GetPixelMapusvCookie is a cookie used only for GetPixelMapusv requests.
type GetPixelMapusvCookie struct { *xgb.Cookie }
func GetPixelMapusv(c *xgb.Conn, ContextTag ContextTag, Map uint32) GetPixelMapusvCookie
GetPixelMapusv sends a checked request. If an error occurs, it will be returned with the reply by calling GetPixelMapusvCookie.Reply()
func GetPixelMapusvUnchecked(c *xgb.Conn, ContextTag ContextTag, Map uint32) GetPixelMapusvCookie
GetPixelMapusvUnchecked sends an unchecked request. If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent.
func (cook GetPixelMapusvCookie) Reply() (*GetPixelMapusvReply, error)
Reply blocks and returns the reply data for a GetPixelMapusv request.
GetPixelMapusvReply represents the data returned from a GetPixelMapusv request.
type GetPixelMapusvReply struct { Sequence uint16 // sequence number of the request for this reply Length uint32 // number of bytes in this reply // padding: 1 bytes // padding: 4 bytes N uint32 Datum uint16 // padding: 16 bytes Data []uint16 // size: xgb.Pad((int(N) * 2)) }
GetPolygonStippleCookie is a cookie used only for GetPolygonStipple requests.
type GetPolygonStippleCookie struct { *xgb.Cookie }
func GetPolygonStipple(c *xgb.Conn, ContextTag ContextTag, LsbFirst bool) GetPolygonStippleCookie
GetPolygonStipple sends a checked request. If an error occurs, it will be returned with the reply by calling GetPolygonStippleCookie.Reply()
func GetPolygonStippleUnchecked(c *xgb.Conn, ContextTag ContextTag, LsbFirst bool) GetPolygonStippleCookie
GetPolygonStippleUnchecked sends an unchecked request. If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent.
func (cook GetPolygonStippleCookie) Reply() (*GetPolygonStippleReply, error)
Reply blocks and returns the reply data for a GetPolygonStipple request.
GetPolygonStippleReply represents the data returned from a GetPolygonStipple request.
type GetPolygonStippleReply struct { Sequence uint16 // sequence number of the request for this reply Length uint32 // number of bytes in this reply // padding: 1 bytes // padding: 24 bytes Data []byte // size: xgb.Pad(((int(Length) * 4) * 1)) }
GetQueryObjectivARBCookie is a cookie used only for GetQueryObjectivARB requests.
type GetQueryObjectivARBCookie struct { *xgb.Cookie }
func GetQueryObjectivARB(c *xgb.Conn, ContextTag ContextTag, Id uint32, Pname uint32) GetQueryObjectivARBCookie
GetQueryObjectivARB sends a checked request. If an error occurs, it will be returned with the reply by calling GetQueryObjectivARBCookie.Reply()
func GetQueryObjectivARBUnchecked(c *xgb.Conn, ContextTag ContextTag, Id uint32, Pname uint32) GetQueryObjectivARBCookie
GetQueryObjectivARBUnchecked sends an unchecked request. If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent.
func (cook GetQueryObjectivARBCookie) Reply() (*GetQueryObjectivARBReply, error)
Reply blocks and returns the reply data for a GetQueryObjectivARB request.
GetQueryObjectivARBReply represents the data returned from a GetQueryObjectivARB request.
type GetQueryObjectivARBReply struct { Sequence uint16 // sequence number of the request for this reply Length uint32 // number of bytes in this reply // padding: 1 bytes // padding: 4 bytes N uint32 Datum int32 // padding: 12 bytes Data []int32 // size: xgb.Pad((int(N) * 4)) }
GetQueryObjectuivARBCookie is a cookie used only for GetQueryObjectuivARB requests.
type GetQueryObjectuivARBCookie struct { *xgb.Cookie }
func GetQueryObjectuivARB(c *xgb.Conn, ContextTag ContextTag, Id uint32, Pname uint32) GetQueryObjectuivARBCookie
GetQueryObjectuivARB sends a checked request. If an error occurs, it will be returned with the reply by calling GetQueryObjectuivARBCookie.Reply()
func GetQueryObjectuivARBUnchecked(c *xgb.Conn, ContextTag ContextTag, Id uint32, Pname uint32) GetQueryObjectuivARBCookie
GetQueryObjectuivARBUnchecked sends an unchecked request. If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent.
func (cook GetQueryObjectuivARBCookie) Reply() (*GetQueryObjectuivARBReply, error)
Reply blocks and returns the reply data for a GetQueryObjectuivARB request.
GetQueryObjectuivARBReply represents the data returned from a GetQueryObjectuivARB request.
type GetQueryObjectuivARBReply struct { Sequence uint16 // sequence number of the request for this reply Length uint32 // number of bytes in this reply // padding: 1 bytes // padding: 4 bytes N uint32 Datum uint32 // padding: 12 bytes Data []uint32 // size: xgb.Pad((int(N) * 4)) }
GetQueryivARBCookie is a cookie used only for GetQueryivARB requests.
type GetQueryivARBCookie struct { *xgb.Cookie }
func GetQueryivARB(c *xgb.Conn, ContextTag ContextTag, Target uint32, Pname uint32) GetQueryivARBCookie
GetQueryivARB sends a checked request. If an error occurs, it will be returned with the reply by calling GetQueryivARBCookie.Reply()
func GetQueryivARBUnchecked(c *xgb.Conn, ContextTag ContextTag, Target uint32, Pname uint32) GetQueryivARBCookie
GetQueryivARBUnchecked sends an unchecked request. If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent.
func (cook GetQueryivARBCookie) Reply() (*GetQueryivARBReply, error)
Reply blocks and returns the reply data for a GetQueryivARB request.
GetQueryivARBReply represents the data returned from a GetQueryivARB request.
type GetQueryivARBReply struct { Sequence uint16 // sequence number of the request for this reply Length uint32 // number of bytes in this reply // padding: 1 bytes // padding: 4 bytes N uint32 Datum int32 // padding: 12 bytes Data []int32 // size: xgb.Pad((int(N) * 4)) }
GetSeparableFilterCookie is a cookie used only for GetSeparableFilter requests.
type GetSeparableFilterCookie struct { *xgb.Cookie }
func GetSeparableFilter(c *xgb.Conn, ContextTag ContextTag, Target uint32, Format uint32, Type uint32, SwapBytes bool) GetSeparableFilterCookie
GetSeparableFilter sends a checked request. If an error occurs, it will be returned with the reply by calling GetSeparableFilterCookie.Reply()
func GetSeparableFilterUnchecked(c *xgb.Conn, ContextTag ContextTag, Target uint32, Format uint32, Type uint32, SwapBytes bool) GetSeparableFilterCookie
GetSeparableFilterUnchecked sends an unchecked request. If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent.
func (cook GetSeparableFilterCookie) Reply() (*GetSeparableFilterReply, error)
Reply blocks and returns the reply data for a GetSeparableFilter request.
GetSeparableFilterReply represents the data returned from a GetSeparableFilter request.
type GetSeparableFilterReply struct { Sequence uint16 // sequence number of the request for this reply Length uint32 // number of bytes in this reply // padding: 1 bytes // padding: 8 bytes RowW int32 ColH int32 // padding: 8 bytes RowsAndCols []byte // size: xgb.Pad(((int(Length) * 4) * 1)) }
GetStringCookie is a cookie used only for GetString requests.
type GetStringCookie struct { *xgb.Cookie }
func GetString(c *xgb.Conn, ContextTag ContextTag, Name uint32) GetStringCookie
GetString sends a checked request. If an error occurs, it will be returned with the reply by calling GetStringCookie.Reply()
func GetStringUnchecked(c *xgb.Conn, ContextTag ContextTag, Name uint32) GetStringCookie
GetStringUnchecked sends an unchecked request. If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent.
func (cook GetStringCookie) Reply() (*GetStringReply, error)
Reply blocks and returns the reply data for a GetString request.
GetStringReply represents the data returned from a GetString request.
type GetStringReply struct { Sequence uint16 // sequence number of the request for this reply Length uint32 // number of bytes in this reply // padding: 1 bytes // padding: 4 bytes N uint32 // padding: 16 bytes String string // size: xgb.Pad((int(N) * 1)) }
GetTexEnvfvCookie is a cookie used only for GetTexEnvfv requests.
type GetTexEnvfvCookie struct { *xgb.Cookie }
func GetTexEnvfv(c *xgb.Conn, ContextTag ContextTag, Target uint32, Pname uint32) GetTexEnvfvCookie
GetTexEnvfv sends a checked request. If an error occurs, it will be returned with the reply by calling GetTexEnvfvCookie.Reply()
func GetTexEnvfvUnchecked(c *xgb.Conn, ContextTag ContextTag, Target uint32, Pname uint32) GetTexEnvfvCookie
GetTexEnvfvUnchecked sends an unchecked request. If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent.
func (cook GetTexEnvfvCookie) Reply() (*GetTexEnvfvReply, error)
Reply blocks and returns the reply data for a GetTexEnvfv request.
GetTexEnvfvReply represents the data returned from a GetTexEnvfv request.
type GetTexEnvfvReply struct { Sequence uint16 // sequence number of the request for this reply Length uint32 // number of bytes in this reply // padding: 1 bytes // padding: 4 bytes N uint32 Datum Float32 // padding: 12 bytes Data []Float32 // size: xgb.Pad((int(N) * 4)) }
GetTexEnvivCookie is a cookie used only for GetTexEnviv requests.
type GetTexEnvivCookie struct { *xgb.Cookie }
func GetTexEnviv(c *xgb.Conn, ContextTag ContextTag, Target uint32, Pname uint32) GetTexEnvivCookie
GetTexEnviv sends a checked request. If an error occurs, it will be returned with the reply by calling GetTexEnvivCookie.Reply()
func GetTexEnvivUnchecked(c *xgb.Conn, ContextTag ContextTag, Target uint32, Pname uint32) GetTexEnvivCookie
GetTexEnvivUnchecked sends an unchecked request. If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent.
func (cook GetTexEnvivCookie) Reply() (*GetTexEnvivReply, error)
Reply blocks and returns the reply data for a GetTexEnviv request.
GetTexEnvivReply represents the data returned from a GetTexEnviv request.
type GetTexEnvivReply struct { Sequence uint16 // sequence number of the request for this reply Length uint32 // number of bytes in this reply // padding: 1 bytes // padding: 4 bytes N uint32 Datum int32 // padding: 12 bytes Data []int32 // size: xgb.Pad((int(N) * 4)) }
GetTexGendvCookie is a cookie used only for GetTexGendv requests.
type GetTexGendvCookie struct { *xgb.Cookie }
func GetTexGendv(c *xgb.Conn, ContextTag ContextTag, Coord uint32, Pname uint32) GetTexGendvCookie
GetTexGendv sends a checked request. If an error occurs, it will be returned with the reply by calling GetTexGendvCookie.Reply()
func GetTexGendvUnchecked(c *xgb.Conn, ContextTag ContextTag, Coord uint32, Pname uint32) GetTexGendvCookie
GetTexGendvUnchecked sends an unchecked request. If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent.
func (cook GetTexGendvCookie) Reply() (*GetTexGendvReply, error)
Reply blocks and returns the reply data for a GetTexGendv request.
GetTexGendvReply represents the data returned from a GetTexGendv request.
type GetTexGendvReply struct { Sequence uint16 // sequence number of the request for this reply Length uint32 // number of bytes in this reply // padding: 1 bytes // padding: 4 bytes N uint32 Datum Float64 // padding: 8 bytes Data []Float64 // size: xgb.Pad((int(N) * 8)) }
GetTexGenfvCookie is a cookie used only for GetTexGenfv requests.
type GetTexGenfvCookie struct { *xgb.Cookie }
func GetTexGenfv(c *xgb.Conn, ContextTag ContextTag, Coord uint32, Pname uint32) GetTexGenfvCookie
GetTexGenfv sends a checked request. If an error occurs, it will be returned with the reply by calling GetTexGenfvCookie.Reply()
func GetTexGenfvUnchecked(c *xgb.Conn, ContextTag ContextTag, Coord uint32, Pname uint32) GetTexGenfvCookie
GetTexGenfvUnchecked sends an unchecked request. If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent.
func (cook GetTexGenfvCookie) Reply() (*GetTexGenfvReply, error)
Reply blocks and returns the reply data for a GetTexGenfv request.
GetTexGenfvReply represents the data returned from a GetTexGenfv request.
type GetTexGenfvReply struct { Sequence uint16 // sequence number of the request for this reply Length uint32 // number of bytes in this reply // padding: 1 bytes // padding: 4 bytes N uint32 Datum Float32 // padding: 12 bytes Data []Float32 // size: xgb.Pad((int(N) * 4)) }
GetTexGenivCookie is a cookie used only for GetTexGeniv requests.
type GetTexGenivCookie struct { *xgb.Cookie }
func GetTexGeniv(c *xgb.Conn, ContextTag ContextTag, Coord uint32, Pname uint32) GetTexGenivCookie
GetTexGeniv sends a checked request. If an error occurs, it will be returned with the reply by calling GetTexGenivCookie.Reply()
func GetTexGenivUnchecked(c *xgb.Conn, ContextTag ContextTag, Coord uint32, Pname uint32) GetTexGenivCookie
GetTexGenivUnchecked sends an unchecked request. If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent.
func (cook GetTexGenivCookie) Reply() (*GetTexGenivReply, error)
Reply blocks and returns the reply data for a GetTexGeniv request.
GetTexGenivReply represents the data returned from a GetTexGeniv request.
type GetTexGenivReply struct { Sequence uint16 // sequence number of the request for this reply Length uint32 // number of bytes in this reply // padding: 1 bytes // padding: 4 bytes N uint32 Datum int32 // padding: 12 bytes Data []int32 // size: xgb.Pad((int(N) * 4)) }
GetTexImageCookie is a cookie used only for GetTexImage requests.
type GetTexImageCookie struct { *xgb.Cookie }
func GetTexImage(c *xgb.Conn, ContextTag ContextTag, Target uint32, Level int32, Format uint32, Type uint32, SwapBytes bool) GetTexImageCookie
GetTexImage sends a checked request. If an error occurs, it will be returned with the reply by calling GetTexImageCookie.Reply()
func GetTexImageUnchecked(c *xgb.Conn, ContextTag ContextTag, Target uint32, Level int32, Format uint32, Type uint32, SwapBytes bool) GetTexImageCookie
GetTexImageUnchecked sends an unchecked request. If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent.
func (cook GetTexImageCookie) Reply() (*GetTexImageReply, error)
Reply blocks and returns the reply data for a GetTexImage request.
GetTexImageReply represents the data returned from a GetTexImage request.
type GetTexImageReply struct { Sequence uint16 // sequence number of the request for this reply Length uint32 // number of bytes in this reply // padding: 1 bytes // padding: 8 bytes Width int32 Height int32 Depth int32 // padding: 4 bytes Data []byte // size: xgb.Pad(((int(Length) * 4) * 1)) }
GetTexLevelParameterfvCookie is a cookie used only for GetTexLevelParameterfv requests.
type GetTexLevelParameterfvCookie struct { *xgb.Cookie }
func GetTexLevelParameterfv(c *xgb.Conn, ContextTag ContextTag, Target uint32, Level int32, Pname uint32) GetTexLevelParameterfvCookie
GetTexLevelParameterfv sends a checked request. If an error occurs, it will be returned with the reply by calling GetTexLevelParameterfvCookie.Reply()
func GetTexLevelParameterfvUnchecked(c *xgb.Conn, ContextTag ContextTag, Target uint32, Level int32, Pname uint32) GetTexLevelParameterfvCookie
GetTexLevelParameterfvUnchecked sends an unchecked request. If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent.
func (cook GetTexLevelParameterfvCookie) Reply() (*GetTexLevelParameterfvReply, error)
Reply blocks and returns the reply data for a GetTexLevelParameterfv request.
GetTexLevelParameterfvReply represents the data returned from a GetTexLevelParameterfv request.
type GetTexLevelParameterfvReply struct { Sequence uint16 // sequence number of the request for this reply Length uint32 // number of bytes in this reply // padding: 1 bytes // padding: 4 bytes N uint32 Datum Float32 // padding: 12 bytes Data []Float32 // size: xgb.Pad((int(N) * 4)) }
GetTexLevelParameterivCookie is a cookie used only for GetTexLevelParameteriv requests.
type GetTexLevelParameterivCookie struct { *xgb.Cookie }
func GetTexLevelParameteriv(c *xgb.Conn, ContextTag ContextTag, Target uint32, Level int32, Pname uint32) GetTexLevelParameterivCookie
GetTexLevelParameteriv sends a checked request. If an error occurs, it will be returned with the reply by calling GetTexLevelParameterivCookie.Reply()
func GetTexLevelParameterivUnchecked(c *xgb.Conn, ContextTag ContextTag, Target uint32, Level int32, Pname uint32) GetTexLevelParameterivCookie
GetTexLevelParameterivUnchecked sends an unchecked request. If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent.
func (cook GetTexLevelParameterivCookie) Reply() (*GetTexLevelParameterivReply, error)
Reply blocks and returns the reply data for a GetTexLevelParameteriv request.
GetTexLevelParameterivReply represents the data returned from a GetTexLevelParameteriv request.
type GetTexLevelParameterivReply struct { Sequence uint16 // sequence number of the request for this reply Length uint32 // number of bytes in this reply // padding: 1 bytes // padding: 4 bytes N uint32 Datum int32 // padding: 12 bytes Data []int32 // size: xgb.Pad((int(N) * 4)) }
GetTexParameterfvCookie is a cookie used only for GetTexParameterfv requests.
type GetTexParameterfvCookie struct { *xgb.Cookie }
func GetTexParameterfv(c *xgb.Conn, ContextTag ContextTag, Target uint32, Pname uint32) GetTexParameterfvCookie
GetTexParameterfv sends a checked request. If an error occurs, it will be returned with the reply by calling GetTexParameterfvCookie.Reply()
func GetTexParameterfvUnchecked(c *xgb.Conn, ContextTag ContextTag, Target uint32, Pname uint32) GetTexParameterfvCookie
GetTexParameterfvUnchecked sends an unchecked request. If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent.
func (cook GetTexParameterfvCookie) Reply() (*GetTexParameterfvReply, error)
Reply blocks and returns the reply data for a GetTexParameterfv request.
GetTexParameterfvReply represents the data returned from a GetTexParameterfv request.
type GetTexParameterfvReply struct { Sequence uint16 // sequence number of the request for this reply Length uint32 // number of bytes in this reply // padding: 1 bytes // padding: 4 bytes N uint32 Datum Float32 // padding: 12 bytes Data []Float32 // size: xgb.Pad((int(N) * 4)) }
GetTexParameterivCookie is a cookie used only for GetTexParameteriv requests.
type GetTexParameterivCookie struct { *xgb.Cookie }
func GetTexParameteriv(c *xgb.Conn, ContextTag ContextTag, Target uint32, Pname uint32) GetTexParameterivCookie
GetTexParameteriv sends a checked request. If an error occurs, it will be returned with the reply by calling GetTexParameterivCookie.Reply()
func GetTexParameterivUnchecked(c *xgb.Conn, ContextTag ContextTag, Target uint32, Pname uint32) GetTexParameterivCookie
GetTexParameterivUnchecked sends an unchecked request. If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent.
func (cook GetTexParameterivCookie) Reply() (*GetTexParameterivReply, error)
Reply blocks and returns the reply data for a GetTexParameteriv request.
GetTexParameterivReply represents the data returned from a GetTexParameteriv request.
type GetTexParameterivReply struct { Sequence uint16 // sequence number of the request for this reply Length uint32 // number of bytes in this reply // padding: 1 bytes // padding: 4 bytes N uint32 Datum int32 // padding: 12 bytes Data []int32 // size: xgb.Pad((int(N) * 4)) }
GetVisualConfigsCookie is a cookie used only for GetVisualConfigs requests.
type GetVisualConfigsCookie struct { *xgb.Cookie }
func GetVisualConfigs(c *xgb.Conn, Screen uint32) GetVisualConfigsCookie
GetVisualConfigs sends a checked request. If an error occurs, it will be returned with the reply by calling GetVisualConfigsCookie.Reply()
func GetVisualConfigsUnchecked(c *xgb.Conn, Screen uint32) GetVisualConfigsCookie
GetVisualConfigsUnchecked sends an unchecked request. If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent.
func (cook GetVisualConfigsCookie) Reply() (*GetVisualConfigsReply, error)
Reply blocks and returns the reply data for a GetVisualConfigs request.
GetVisualConfigsReply represents the data returned from a GetVisualConfigs request.
type GetVisualConfigsReply struct { Sequence uint16 // sequence number of the request for this reply Length uint32 // number of bytes in this reply // padding: 1 bytes NumVisuals uint32 NumProperties uint32 // padding: 16 bytes PropertyList []uint32 // size: xgb.Pad((int(Length) * 4)) }
IsDirectCookie is a cookie used only for IsDirect requests.
type IsDirectCookie struct { *xgb.Cookie }
func IsDirect(c *xgb.Conn, Context Context) IsDirectCookie
IsDirect sends a checked request. If an error occurs, it will be returned with the reply by calling IsDirectCookie.Reply()
func IsDirectUnchecked(c *xgb.Conn, Context Context) IsDirectCookie
IsDirectUnchecked sends an unchecked request. If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent.
func (cook IsDirectCookie) Reply() (*IsDirectReply, error)
Reply blocks and returns the reply data for a IsDirect request.
IsDirectReply represents the data returned from a IsDirect request.
type IsDirectReply struct { Sequence uint16 // sequence number of the request for this reply Length uint32 // number of bytes in this reply // padding: 1 bytes IsDirect bool }
IsListCookie is a cookie used only for IsList requests.
type IsListCookie struct { *xgb.Cookie }
func IsList(c *xgb.Conn, ContextTag ContextTag, List uint32) IsListCookie
IsList sends a checked request. If an error occurs, it will be returned with the reply by calling IsListCookie.Reply()
func IsListUnchecked(c *xgb.Conn, ContextTag ContextTag, List uint32) IsListCookie
IsListUnchecked sends an unchecked request. If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent.
func (cook IsListCookie) Reply() (*IsListReply, error)
Reply blocks and returns the reply data for a IsList request.
IsListReply represents the data returned from a IsList request.
type IsListReply struct { Sequence uint16 // sequence number of the request for this reply Length uint32 // number of bytes in this reply // padding: 1 bytes RetVal Bool32 }
IsQueryARBCookie is a cookie used only for IsQueryARB requests.
type IsQueryARBCookie struct { *xgb.Cookie }
func IsQueryARB(c *xgb.Conn, ContextTag ContextTag, Id uint32) IsQueryARBCookie
IsQueryARB sends a checked request. If an error occurs, it will be returned with the reply by calling IsQueryARBCookie.Reply()
func IsQueryARBUnchecked(c *xgb.Conn, ContextTag ContextTag, Id uint32) IsQueryARBCookie
IsQueryARBUnchecked sends an unchecked request. If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent.
func (cook IsQueryARBCookie) Reply() (*IsQueryARBReply, error)
Reply blocks and returns the reply data for a IsQueryARB request.
IsQueryARBReply represents the data returned from a IsQueryARB request.
type IsQueryARBReply struct { Sequence uint16 // sequence number of the request for this reply Length uint32 // number of bytes in this reply // padding: 1 bytes RetVal Bool32 }
IsTextureCookie is a cookie used only for IsTexture requests.
type IsTextureCookie struct { *xgb.Cookie }
func IsTexture(c *xgb.Conn, ContextTag ContextTag, Texture uint32) IsTextureCookie
IsTexture sends a checked request. If an error occurs, it will be returned with the reply by calling IsTextureCookie.Reply()
func IsTextureUnchecked(c *xgb.Conn, ContextTag ContextTag, Texture uint32) IsTextureCookie
IsTextureUnchecked sends an unchecked request. If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent.
func (cook IsTextureCookie) Reply() (*IsTextureReply, error)
Reply blocks and returns the reply data for a IsTexture request.
IsTextureReply represents the data returned from a IsTexture request.
type IsTextureReply struct { Sequence uint16 // sequence number of the request for this reply Length uint32 // number of bytes in this reply // padding: 1 bytes RetVal Bool32 }
MakeContextCurrentCookie is a cookie used only for MakeContextCurrent requests.
type MakeContextCurrentCookie struct { *xgb.Cookie }
func MakeContextCurrent(c *xgb.Conn, OldContextTag ContextTag, Drawable Drawable, ReadDrawable Drawable, Context Context) MakeContextCurrentCookie
MakeContextCurrent sends a checked request. If an error occurs, it will be returned with the reply by calling MakeContextCurrentCookie.Reply()
func MakeContextCurrentUnchecked(c *xgb.Conn, OldContextTag ContextTag, Drawable Drawable, ReadDrawable Drawable, Context Context) MakeContextCurrentCookie
MakeContextCurrentUnchecked sends an unchecked request. If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent.
func (cook MakeContextCurrentCookie) Reply() (*MakeContextCurrentReply, error)
Reply blocks and returns the reply data for a MakeContextCurrent request.
MakeContextCurrentReply represents the data returned from a MakeContextCurrent request.
type MakeContextCurrentReply struct { Sequence uint16 // sequence number of the request for this reply Length uint32 // number of bytes in this reply // padding: 1 bytes ContextTag ContextTag }
MakeCurrentCookie is a cookie used only for MakeCurrent requests.
type MakeCurrentCookie struct { *xgb.Cookie }
func MakeCurrent(c *xgb.Conn, Drawable Drawable, Context Context, OldContextTag ContextTag) MakeCurrentCookie
MakeCurrent sends a checked request. If an error occurs, it will be returned with the reply by calling MakeCurrentCookie.Reply()
func MakeCurrentUnchecked(c *xgb.Conn, Drawable Drawable, Context Context, OldContextTag ContextTag) MakeCurrentCookie
MakeCurrentUnchecked sends an unchecked request. If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent.
func (cook MakeCurrentCookie) Reply() (*MakeCurrentReply, error)
Reply blocks and returns the reply data for a MakeCurrent request.
MakeCurrentReply represents the data returned from a MakeCurrent request.
type MakeCurrentReply struct { Sequence uint16 // sequence number of the request for this reply Length uint32 // number of bytes in this reply // padding: 1 bytes ContextTag ContextTag }
NewListCookie is a cookie used only for NewList requests.
type NewListCookie struct { *xgb.Cookie }
func NewList(c *xgb.Conn, ContextTag ContextTag, List uint32, Mode uint32) NewListCookie
NewList sends an unchecked request. If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent.
func NewListChecked(c *xgb.Conn, ContextTag ContextTag, List uint32, Mode uint32) NewListCookie
NewListChecked sends a checked request. If an error occurs, it can be retrieved using NewListCookie.Check()
func (cook NewListCookie) Check() error
Check returns an error if one occurred for checked requests that are not expecting a reply. This cannot be called for requests expecting a reply, nor for unchecked requests.
type Pbuffer uint32
func NewPbufferId(c *xgb.Conn) (Pbuffer, error)
type PbufferClobberEvent struct { Sequence uint16 // padding: 1 bytes EventType uint16 DrawType uint16 Drawable Drawable BMask uint32 AuxBuffer uint16 X uint16 Y uint16 Width uint16 Height uint16 Count uint16 }
func (v PbufferClobberEvent) Bytes() []byte
Bytes writes a PbufferClobberEvent value to a byte slice.
func (v PbufferClobberEvent) SequenceId() uint16
SequenceId returns the sequence id attached to the PbufferClobber event. Events without a sequence number (KeymapNotify) return 0. This is mostly used internally.
func (v PbufferClobberEvent) String() string
String is a rudimentary string representation of PbufferClobberEvent.
PixelStorefCookie is a cookie used only for PixelStoref requests.
type PixelStorefCookie struct { *xgb.Cookie }
func PixelStoref(c *xgb.Conn, ContextTag ContextTag, Pname uint32, Datum Float32) PixelStorefCookie
PixelStoref sends an unchecked request. If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent.
func PixelStorefChecked(c *xgb.Conn, ContextTag ContextTag, Pname uint32, Datum Float32) PixelStorefCookie
PixelStorefChecked sends a checked request. If an error occurs, it can be retrieved using PixelStorefCookie.Check()
func (cook PixelStorefCookie) Check() error
Check returns an error if one occurred for checked requests that are not expecting a reply. This cannot be called for requests expecting a reply, nor for unchecked requests.
PixelStoreiCookie is a cookie used only for PixelStorei requests.
type PixelStoreiCookie struct { *xgb.Cookie }
func PixelStorei(c *xgb.Conn, ContextTag ContextTag, Pname uint32, Datum int32) PixelStoreiCookie
PixelStorei sends an unchecked request. If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent.
func PixelStoreiChecked(c *xgb.Conn, ContextTag ContextTag, Pname uint32, Datum int32) PixelStoreiCookie
PixelStoreiChecked sends a checked request. If an error occurs, it can be retrieved using PixelStoreiCookie.Check()
func (cook PixelStoreiCookie) Check() error
Check returns an error if one occurred for checked requests that are not expecting a reply. This cannot be called for requests expecting a reply, nor for unchecked requests.
type Pixmap uint32
func NewPixmapId(c *xgb.Conn) (Pixmap, error)
QueryContextCookie is a cookie used only for QueryContext requests.
type QueryContextCookie struct { *xgb.Cookie }
func QueryContext(c *xgb.Conn, Context Context) QueryContextCookie
QueryContext sends a checked request. If an error occurs, it will be returned with the reply by calling QueryContextCookie.Reply()
func QueryContextUnchecked(c *xgb.Conn, Context Context) QueryContextCookie
QueryContextUnchecked sends an unchecked request. If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent.
func (cook QueryContextCookie) Reply() (*QueryContextReply, error)
Reply blocks and returns the reply data for a QueryContext request.
QueryContextReply represents the data returned from a QueryContext request.
type QueryContextReply struct { Sequence uint16 // sequence number of the request for this reply Length uint32 // number of bytes in this reply // padding: 1 bytes NumAttribs uint32 // padding: 20 bytes Attribs []uint32 // size: xgb.Pad(((int(NumAttribs) * 2) * 4)) }
QueryExtensionsStringCookie is a cookie used only for QueryExtensionsString requests.
type QueryExtensionsStringCookie struct { *xgb.Cookie }
func QueryExtensionsString(c *xgb.Conn, Screen uint32) QueryExtensionsStringCookie
QueryExtensionsString sends a checked request. If an error occurs, it will be returned with the reply by calling QueryExtensionsStringCookie.Reply()
func QueryExtensionsStringUnchecked(c *xgb.Conn, Screen uint32) QueryExtensionsStringCookie
QueryExtensionsStringUnchecked sends an unchecked request. If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent.
func (cook QueryExtensionsStringCookie) Reply() (*QueryExtensionsStringReply, error)
Reply blocks and returns the reply data for a QueryExtensionsString request.
QueryExtensionsStringReply represents the data returned from a QueryExtensionsString request.
type QueryExtensionsStringReply struct { Sequence uint16 // sequence number of the request for this reply Length uint32 // number of bytes in this reply // padding: 1 bytes // padding: 4 bytes N uint32 }
QueryServerStringCookie is a cookie used only for QueryServerString requests.
type QueryServerStringCookie struct { *xgb.Cookie }
func QueryServerString(c *xgb.Conn, Screen uint32, Name uint32) QueryServerStringCookie
QueryServerString sends a checked request. If an error occurs, it will be returned with the reply by calling QueryServerStringCookie.Reply()
func QueryServerStringUnchecked(c *xgb.Conn, Screen uint32, Name uint32) QueryServerStringCookie
QueryServerStringUnchecked sends an unchecked request. If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent.
func (cook QueryServerStringCookie) Reply() (*QueryServerStringReply, error)
Reply blocks and returns the reply data for a QueryServerString request.
QueryServerStringReply represents the data returned from a QueryServerString request.
type QueryServerStringReply struct { Sequence uint16 // sequence number of the request for this reply Length uint32 // number of bytes in this reply // padding: 1 bytes // padding: 4 bytes StrLen uint32 // padding: 16 bytes String string // size: xgb.Pad((int(StrLen) * 1)) }
QueryVersionCookie is a cookie used only for QueryVersion requests.
type QueryVersionCookie struct { *xgb.Cookie }
func QueryVersion(c *xgb.Conn, MajorVersion uint32, MinorVersion uint32) QueryVersionCookie
QueryVersion sends a checked request. If an error occurs, it will be returned with the reply by calling QueryVersionCookie.Reply()
func QueryVersionUnchecked(c *xgb.Conn, MajorVersion uint32, MinorVersion uint32) QueryVersionCookie
QueryVersionUnchecked sends an unchecked request. If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent.
func (cook QueryVersionCookie) Reply() (*QueryVersionReply, error)
Reply blocks and returns the reply data for a QueryVersion request.
QueryVersionReply represents the data returned from a QueryVersion request.
type QueryVersionReply struct { Sequence uint16 // sequence number of the request for this reply Length uint32 // number of bytes in this reply // padding: 1 bytes MajorVersion uint32 MinorVersion uint32 }
ReadPixelsCookie is a cookie used only for ReadPixels requests.
type ReadPixelsCookie struct { *xgb.Cookie }
func ReadPixels(c *xgb.Conn, ContextTag ContextTag, X int32, Y int32, Width int32, Height int32, Format uint32, Type uint32, SwapBytes bool, LsbFirst bool) ReadPixelsCookie
ReadPixels sends a checked request. If an error occurs, it will be returned with the reply by calling ReadPixelsCookie.Reply()
func ReadPixelsUnchecked(c *xgb.Conn, ContextTag ContextTag, X int32, Y int32, Width int32, Height int32, Format uint32, Type uint32, SwapBytes bool, LsbFirst bool) ReadPixelsCookie
ReadPixelsUnchecked sends an unchecked request. If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent.
func (cook ReadPixelsCookie) Reply() (*ReadPixelsReply, error)
Reply blocks and returns the reply data for a ReadPixels request.
ReadPixelsReply represents the data returned from a ReadPixels request.
type ReadPixelsReply struct { Sequence uint16 // sequence number of the request for this reply Length uint32 // number of bytes in this reply // padding: 1 bytes // padding: 24 bytes Data []byte // size: xgb.Pad(((int(Length) * 4) * 1)) }
RenderCookie is a cookie used only for Render requests.
type RenderCookie struct { *xgb.Cookie }
func Render(c *xgb.Conn, ContextTag ContextTag, Data []byte) RenderCookie
Render sends an unchecked request. If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent.
func RenderChecked(c *xgb.Conn, ContextTag ContextTag, Data []byte) RenderCookie
RenderChecked sends a checked request. If an error occurs, it can be retrieved using RenderCookie.Check()
func (cook RenderCookie) Check() error
Check returns an error if one occurred for checked requests that are not expecting a reply. This cannot be called for requests expecting a reply, nor for unchecked requests.
RenderLargeCookie is a cookie used only for RenderLarge requests.
type RenderLargeCookie struct { *xgb.Cookie }
func RenderLarge(c *xgb.Conn, ContextTag ContextTag, RequestNum uint16, RequestTotal uint16, DataLen uint32, Data []byte) RenderLargeCookie
RenderLarge sends an unchecked request. If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent.
func RenderLargeChecked(c *xgb.Conn, ContextTag ContextTag, RequestNum uint16, RequestTotal uint16, DataLen uint32, Data []byte) RenderLargeCookie
RenderLargeChecked sends a checked request. If an error occurs, it can be retrieved using RenderLargeCookie.Check()
func (cook RenderLargeCookie) Check() error
Check returns an error if one occurred for checked requests that are not expecting a reply. This cannot be called for requests expecting a reply, nor for unchecked requests.
RenderModeCookie is a cookie used only for RenderMode requests.
type RenderModeCookie struct { *xgb.Cookie }
func RenderMode(c *xgb.Conn, ContextTag ContextTag, Mode uint32) RenderModeCookie
RenderMode sends a checked request. If an error occurs, it will be returned with the reply by calling RenderModeCookie.Reply()
func RenderModeUnchecked(c *xgb.Conn, ContextTag ContextTag, Mode uint32) RenderModeCookie
RenderModeUnchecked sends an unchecked request. If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent.
func (cook RenderModeCookie) Reply() (*RenderModeReply, error)
Reply blocks and returns the reply data for a RenderMode request.
RenderModeReply represents the data returned from a RenderMode request.
type RenderModeReply struct { Sequence uint16 // sequence number of the request for this reply Length uint32 // number of bytes in this reply // padding: 1 bytes RetVal uint32 N uint32 NewMode uint32 // padding: 12 bytes Data []uint32 // size: xgb.Pad((int(N) * 4)) }
SelectBufferCookie is a cookie used only for SelectBuffer requests.
type SelectBufferCookie struct { *xgb.Cookie }
func SelectBuffer(c *xgb.Conn, ContextTag ContextTag, Size int32) SelectBufferCookie
SelectBuffer sends an unchecked request. If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent.
func SelectBufferChecked(c *xgb.Conn, ContextTag ContextTag, Size int32) SelectBufferCookie
SelectBufferChecked sends a checked request. If an error occurs, it can be retrieved using SelectBufferCookie.Check()
func (cook SelectBufferCookie) Check() error
Check returns an error if one occurred for checked requests that are not expecting a reply. This cannot be called for requests expecting a reply, nor for unchecked requests.
SetClientInfo2ARBCookie is a cookie used only for SetClientInfo2ARB requests.
type SetClientInfo2ARBCookie struct { *xgb.Cookie }
func SetClientInfo2ARB(c *xgb.Conn, MajorVersion uint32, MinorVersion uint32, NumVersions uint32, GlStrLen uint32, GlxStrLen uint32, GlVersions []uint32, GlExtensionString string, GlxExtensionString string) SetClientInfo2ARBCookie
SetClientInfo2ARB sends an unchecked request. If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent.
func SetClientInfo2ARBChecked(c *xgb.Conn, MajorVersion uint32, MinorVersion uint32, NumVersions uint32, GlStrLen uint32, GlxStrLen uint32, GlVersions []uint32, GlExtensionString string, GlxExtensionString string) SetClientInfo2ARBCookie
SetClientInfo2ARBChecked sends a checked request. If an error occurs, it can be retrieved using SetClientInfo2ARBCookie.Check()
func (cook SetClientInfo2ARBCookie) Check() error
Check returns an error if one occurred for checked requests that are not expecting a reply. This cannot be called for requests expecting a reply, nor for unchecked requests.
SetClientInfoARBCookie is a cookie used only for SetClientInfoARB requests.
type SetClientInfoARBCookie struct { *xgb.Cookie }
func SetClientInfoARB(c *xgb.Conn, MajorVersion uint32, MinorVersion uint32, NumVersions uint32, GlStrLen uint32, GlxStrLen uint32, GlVersions []uint32, GlExtensionString string, GlxExtensionString string) SetClientInfoARBCookie
SetClientInfoARB sends an unchecked request. If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent.
func SetClientInfoARBChecked(c *xgb.Conn, MajorVersion uint32, MinorVersion uint32, NumVersions uint32, GlStrLen uint32, GlxStrLen uint32, GlVersions []uint32, GlExtensionString string, GlxExtensionString string) SetClientInfoARBCookie
SetClientInfoARBChecked sends a checked request. If an error occurs, it can be retrieved using SetClientInfoARBCookie.Check()
func (cook SetClientInfoARBCookie) Check() error
Check returns an error if one occurred for checked requests that are not expecting a reply. This cannot be called for requests expecting a reply, nor for unchecked requests.
SwapBuffersCookie is a cookie used only for SwapBuffers requests.
type SwapBuffersCookie struct { *xgb.Cookie }
func SwapBuffers(c *xgb.Conn, ContextTag ContextTag, Drawable Drawable) SwapBuffersCookie
SwapBuffers sends an unchecked request. If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent.
func SwapBuffersChecked(c *xgb.Conn, ContextTag ContextTag, Drawable Drawable) SwapBuffersCookie
SwapBuffersChecked sends a checked request. If an error occurs, it can be retrieved using SwapBuffersCookie.Check()
func (cook SwapBuffersCookie) Check() error
Check returns an error if one occurred for checked requests that are not expecting a reply. This cannot be called for requests expecting a reply, nor for unchecked requests.
type UnsupportedPrivateRequestError GenericError
func (err UnsupportedPrivateRequestError) BadId() uint32
BadId returns the 'BadValue' number if one exists for the BadUnsupportedPrivateRequest error. If no bad value exists, 0 is returned.
func (err UnsupportedPrivateRequestError) Error() string
Error returns a rudimentary string representation of the BadUnsupportedPrivateRequest error.
func (err UnsupportedPrivateRequestError) SequenceId() uint16
SequenceId returns the sequence id attached to the BadUnsupportedPrivateRequest error. This is mostly used internally.
UseXFontCookie is a cookie used only for UseXFont requests.
type UseXFontCookie struct { *xgb.Cookie }
func UseXFont(c *xgb.Conn, ContextTag ContextTag, Font xproto.Font, First uint32, Count uint32, ListBase uint32) UseXFontCookie
UseXFont sends an unchecked request. If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent.
func UseXFontChecked(c *xgb.Conn, ContextTag ContextTag, Font xproto.Font, First uint32, Count uint32, ListBase uint32) UseXFontCookie
UseXFontChecked sends a checked request. If an error occurs, it can be retrieved using UseXFontCookie.Check()
func (cook UseXFontCookie) Check() error
Check returns an error if one occurred for checked requests that are not expecting a reply. This cannot be called for requests expecting a reply, nor for unchecked requests.
VendorPrivateCookie is a cookie used only for VendorPrivate requests.
type VendorPrivateCookie struct { *xgb.Cookie }
func VendorPrivate(c *xgb.Conn, VendorCode uint32, ContextTag ContextTag, Data []byte) VendorPrivateCookie
VendorPrivate sends an unchecked request. If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent.
func VendorPrivateChecked(c *xgb.Conn, VendorCode uint32, ContextTag ContextTag, Data []byte) VendorPrivateCookie
VendorPrivateChecked sends a checked request. If an error occurs, it can be retrieved using VendorPrivateCookie.Check()
func (cook VendorPrivateCookie) Check() error
Check returns an error if one occurred for checked requests that are not expecting a reply. This cannot be called for requests expecting a reply, nor for unchecked requests.
VendorPrivateWithReplyCookie is a cookie used only for VendorPrivateWithReply requests.
type VendorPrivateWithReplyCookie struct { *xgb.Cookie }
func VendorPrivateWithReply(c *xgb.Conn, VendorCode uint32, ContextTag ContextTag, Data []byte) VendorPrivateWithReplyCookie
VendorPrivateWithReply sends a checked request. If an error occurs, it will be returned with the reply by calling VendorPrivateWithReplyCookie.Reply()
func VendorPrivateWithReplyUnchecked(c *xgb.Conn, VendorCode uint32, ContextTag ContextTag, Data []byte) VendorPrivateWithReplyCookie
VendorPrivateWithReplyUnchecked sends an unchecked request. If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent.
func (cook VendorPrivateWithReplyCookie) Reply() (*VendorPrivateWithReplyReply, error)
Reply blocks and returns the reply data for a VendorPrivateWithReply request.
VendorPrivateWithReplyReply represents the data returned from a VendorPrivateWithReply request.
type VendorPrivateWithReplyReply struct { Sequence uint16 // sequence number of the request for this reply Length uint32 // number of bytes in this reply // padding: 1 bytes Retval uint32 Data1 []byte // size: 24 Data2 []byte // size: xgb.Pad(((int(Length) * 4) * 1)) }
WaitGLCookie is a cookie used only for WaitGL requests.
type WaitGLCookie struct { *xgb.Cookie }
func WaitGL(c *xgb.Conn, ContextTag ContextTag) WaitGLCookie
WaitGL sends an unchecked request. If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent.
func WaitGLChecked(c *xgb.Conn, ContextTag ContextTag) WaitGLCookie
WaitGLChecked sends a checked request. If an error occurs, it can be retrieved using WaitGLCookie.Check()
func (cook WaitGLCookie) Check() error
Check returns an error if one occurred for checked requests that are not expecting a reply. This cannot be called for requests expecting a reply, nor for unchecked requests.
WaitXCookie is a cookie used only for WaitX requests.
type WaitXCookie struct { *xgb.Cookie }
func WaitX(c *xgb.Conn, ContextTag ContextTag) WaitXCookie
WaitX sends an unchecked request. If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent.
func WaitXChecked(c *xgb.Conn, ContextTag ContextTag) WaitXCookie
WaitXChecked sends a checked request. If an error occurs, it can be retrieved using WaitXCookie.Check()
func (cook WaitXCookie) Check() error
Check returns an error if one occurred for checked requests that are not expecting a reply. This cannot be called for requests expecting a reply, nor for unchecked requests.
type Window uint32
func NewWindowId(c *xgb.Conn) (Window, error)