Documentation ¶
Overview ¶
Package glx is the X client API for the GLX extension.
Index ¶
- Constants
- func BadContextErrorNew(buf []byte) xgb.Error
- func BadContextStateErrorNew(buf []byte) xgb.Error
- func BadContextTagErrorNew(buf []byte) xgb.Error
- func BadCurrentDrawableErrorNew(buf []byte) xgb.Error
- func BadCurrentWindowErrorNew(buf []byte) xgb.Error
- func BadDrawableErrorNew(buf []byte) xgb.Error
- func BadFBConfigErrorNew(buf []byte) xgb.Error
- func BadLargeRequestErrorNew(buf []byte) xgb.Error
- func BadPbufferErrorNew(buf []byte) xgb.Error
- func BadPixmapErrorNew(buf []byte) xgb.Error
- func BadRenderRequestErrorNew(buf []byte) xgb.Error
- func BadWindowErrorNew(buf []byte) xgb.Error
- func BufferSwapCompleteEventNew(buf []byte) xgb.Event
- func GLXBadProfileARBErrorNew(buf []byte) xgb.Error
- func GenericErrorNew(buf []byte) xgb.Error
- func Init(c *xgb.Conn) error
- func PbufferClobberEventNew(buf []byte) xgb.Event
- func UnsupportedPrivateRequestErrorNew(buf []byte) xgb.Error
- type AreTexturesResidentCookie
- type AreTexturesResidentReply
- type BadContextError
- type BadContextStateError
- type BadContextTagError
- type BadCurrentDrawableError
- type BadCurrentWindowError
- type BadDrawableError
- type BadFBConfigError
- type BadLargeRequestError
- type BadPbufferError
- type BadPixmapError
- type BadRenderRequestError
- type BadWindowError
- type Bool32
- type BufferSwapCompleteEvent
- type ChangeDrawableAttributesCookie
- type ClientInfoCookie
- type Context
- type ContextTag
- type CopyContextCookie
- type CreateContextAttribsARBCookie
- type CreateContextCookie
- type CreateGLXPixmapCookie
- type CreateNewContextCookie
- type CreatePbufferCookie
- type CreatePixmapCookie
- type CreateWindowCookie
- type DeleteListsCookie
- type DeleteQueriesARBCookie
- type DeleteTexturesCookie
- type DeleteWindowCookie
- type DestroyContextCookie
- type DestroyGLXPixmapCookie
- type DestroyPbufferCookie
- type DestroyPixmapCookie
- type Drawable
- type EndListCookie
- type Fbconfig
- type FeedbackBufferCookie
- type FinishCookie
- type FinishReply
- type Float32
- type Float64
- type FlushCookie
- type GLXBadProfileARBError
- type GenListsCookie
- type GenListsReply
- type GenQueriesARBCookie
- type GenQueriesARBReply
- type GenTexturesCookie
- type GenTexturesReply
- type GenericError
- type GetBooleanvCookie
- type GetBooleanvReply
- type GetClipPlaneCookie
- type GetClipPlaneReply
- type GetColorTableCookie
- type GetColorTableParameterfvCookie
- type GetColorTableParameterfvReply
- type GetColorTableParameterivCookie
- type GetColorTableParameterivReply
- type GetColorTableReply
- type GetCompressedTexImageARBCookie
- type GetCompressedTexImageARBReply
- type GetConvolutionFilterCookie
- type GetConvolutionFilterReply
- type GetConvolutionParameterfvCookie
- type GetConvolutionParameterfvReply
- type GetConvolutionParameterivCookie
- type GetConvolutionParameterivReply
- type GetDoublevCookie
- type GetDoublevReply
- type GetDrawableAttributesCookie
- type GetDrawableAttributesReply
- type GetErrorCookie
- type GetErrorReply
- type GetFBConfigsCookie
- type GetFBConfigsReply
- type GetFloatvCookie
- type GetFloatvReply
- type GetHistogramCookie
- type GetHistogramParameterfvCookie
- type GetHistogramParameterfvReply
- type GetHistogramParameterivCookie
- type GetHistogramParameterivReply
- type GetHistogramReply
- type GetIntegervCookie
- type GetIntegervReply
- type GetLightfvCookie
- type GetLightfvReply
- type GetLightivCookie
- type GetLightivReply
- type GetMapdvCookie
- type GetMapdvReply
- type GetMapfvCookie
- type GetMapfvReply
- type GetMapivCookie
- type GetMapivReply
- type GetMaterialfvCookie
- type GetMaterialfvReply
- type GetMaterialivCookie
- type GetMaterialivReply
- type GetMinmaxCookie
- type GetMinmaxParameterfvCookie
- type GetMinmaxParameterfvReply
- type GetMinmaxParameterivCookie
- type GetMinmaxParameterivReply
- type GetMinmaxReply
- type GetPixelMapfvCookie
- type GetPixelMapfvReply
- type GetPixelMapuivCookie
- type GetPixelMapuivReply
- type GetPixelMapusvCookie
- type GetPixelMapusvReply
- type GetPolygonStippleCookie
- type GetPolygonStippleReply
- type GetQueryObjectivARBCookie
- type GetQueryObjectivARBReply
- type GetQueryObjectuivARBCookie
- type GetQueryObjectuivARBReply
- type GetQueryivARBCookie
- type GetQueryivARBReply
- type GetSeparableFilterCookie
- type GetSeparableFilterReply
- type GetStringCookie
- type GetStringReply
- type GetTexEnvfvCookie
- type GetTexEnvfvReply
- type GetTexEnvivCookie
- type GetTexEnvivReply
- type GetTexGendvCookie
- type GetTexGendvReply
- type GetTexGenfvCookie
- type GetTexGenfvReply
- type GetTexGenivCookie
- type GetTexGenivReply
- type GetTexImageCookie
- type GetTexImageReply
- type GetTexLevelParameterfvCookie
- type GetTexLevelParameterfvReply
- type GetTexLevelParameterivCookie
- type GetTexLevelParameterivReply
- type GetTexParameterfvCookie
- type GetTexParameterfvReply
- type GetTexParameterivCookie
- type GetTexParameterivReply
- type GetVisualConfigsCookie
- type GetVisualConfigsReply
- type IsDirectCookie
- type IsDirectReply
- type IsListCookie
- type IsListReply
- type IsQueryARBCookie
- type IsQueryARBReply
- type IsTextureCookie
- type IsTextureReply
- type MakeContextCurrentCookie
- type MakeContextCurrentReply
- type MakeCurrentCookie
- type MakeCurrentReply
- type NewListCookie
- type Pbuffer
- type PbufferClobberEvent
- type PixelStorefCookie
- type PixelStoreiCookie
- type Pixmap
- type QueryContextCookie
- type QueryContextReply
- type QueryExtensionsStringCookie
- type QueryExtensionsStringReply
- type QueryServerStringCookie
- type QueryServerStringReply
- type QueryVersionCookie
- type QueryVersionReply
- type ReadPixelsCookie
- type ReadPixelsReply
- type RenderCookie
- type RenderLargeCookie
- type RenderModeCookie
- type RenderModeReply
- type SelectBufferCookie
- type SetClientInfo2ARBCookie
- type SetClientInfoARBCookie
- type SwapBuffersCookie
- type UnsupportedPrivateRequestError
- type UseXFontCookie
- type VendorPrivateCookie
- type VendorPrivateWithReplyCookie
- type VendorPrivateWithReplyReply
- type WaitGLCookie
- type WaitXCookie
- type Window
Constants ¶
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 )
const BadBadContext = 0
BadBadContext is the error number for a BadBadContext.
const BadBadContextState = 1
BadBadContextState is the error number for a BadBadContextState.
const BadBadContextTag = 4
BadBadContextTag is the error number for a BadBadContextTag.
const BadBadCurrentDrawable = 11
BadBadCurrentDrawable is the error number for a BadBadCurrentDrawable.
const BadBadCurrentWindow = 5
BadBadCurrentWindow is the error number for a BadBadCurrentWindow.
const BadBadDrawable = 2
BadBadDrawable is the error number for a BadBadDrawable.
const BadBadFBConfig = 9
BadBadFBConfig is the error number for a BadBadFBConfig.
const BadBadLargeRequest = 7
BadBadLargeRequest is the error number for a BadBadLargeRequest.
const BadBadPbuffer = 10
BadBadPbuffer is the error number for a BadBadPbuffer.
const BadBadPixmap = 3
BadBadPixmap is the error number for a BadBadPixmap.
const BadBadRenderRequest = 6
BadBadRenderRequest is the error number for a BadBadRenderRequest.
const BadBadWindow = 12
BadBadWindow is the error number for a BadBadWindow.
const BadGLXBadProfileARB = 13
BadGLXBadProfileARB is the error number for a BadGLXBadProfileARB.
const BadGeneric = -1
BadGeneric is the error number for a BadGeneric.
const BadUnsupportedPrivateRequest = 8
BadUnsupportedPrivateRequest is the error number for a BadUnsupportedPrivateRequest.
const BufferSwapComplete = 1
BufferSwapComplete is the event number for a BufferSwapCompleteEvent.
const PbufferClobber = 0
PbufferClobber is the event number for a PbufferClobberEvent.
Variables ¶
This section is empty.
Functions ¶
func BadContextErrorNew ¶
BadContextErrorNew constructs a BadContextError value that implements xgb.Error from a byte slice.
func BadContextStateErrorNew ¶
BadContextStateErrorNew constructs a BadContextStateError value that implements xgb.Error from a byte slice.
func BadContextTagErrorNew ¶
BadContextTagErrorNew constructs a BadContextTagError value that implements xgb.Error from a byte slice.
func BadCurrentDrawableErrorNew ¶
BadCurrentDrawableErrorNew constructs a BadCurrentDrawableError value that implements xgb.Error from a byte slice.
func BadCurrentWindowErrorNew ¶
BadCurrentWindowErrorNew constructs a BadCurrentWindowError value that implements xgb.Error from a byte slice.
func BadDrawableErrorNew ¶
BadDrawableErrorNew constructs a BadDrawableError value that implements xgb.Error from a byte slice.
func BadFBConfigErrorNew ¶
BadFBConfigErrorNew constructs a BadFBConfigError value that implements xgb.Error from a byte slice.
func BadLargeRequestErrorNew ¶
BadLargeRequestErrorNew constructs a BadLargeRequestError value that implements xgb.Error from a byte slice.
func BadPbufferErrorNew ¶
BadPbufferErrorNew constructs a BadPbufferError value that implements xgb.Error from a byte slice.
func BadPixmapErrorNew ¶
BadPixmapErrorNew constructs a BadPixmapError value that implements xgb.Error from a byte slice.
func BadRenderRequestErrorNew ¶
BadRenderRequestErrorNew constructs a BadRenderRequestError value that implements xgb.Error from a byte slice.
func BadWindowErrorNew ¶
BadWindowErrorNew constructs a BadWindowError value that implements xgb.Error from a byte slice.
func BufferSwapCompleteEventNew ¶
BufferSwapCompleteEventNew constructs a BufferSwapCompleteEvent value that implements xgb.Event from a byte slice.
func GLXBadProfileARBErrorNew ¶
GLXBadProfileARBErrorNew constructs a GLXBadProfileARBError value that implements xgb.Error from a byte slice.
func GenericErrorNew ¶
GenericErrorNew constructs a GenericError value that implements xgb.Error from a byte slice.
func PbufferClobberEventNew ¶
PbufferClobberEventNew constructs a PbufferClobberEvent value that implements xgb.Event from a byte slice.
func UnsupportedPrivateRequestErrorNew ¶
UnsupportedPrivateRequestErrorNew constructs a UnsupportedPrivateRequestError value that implements xgb.Error from a byte slice.
Types ¶
type AreTexturesResidentCookie ¶
AreTexturesResidentCookie is a cookie used only for AreTexturesResident requests.
func AreTexturesResident ¶
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 ¶
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 (AreTexturesResidentCookie) Reply ¶
func (cook AreTexturesResidentCookie) Reply() (*AreTexturesResidentReply, error)
Reply blocks and returns the reply data for a AreTexturesResident request.
type AreTexturesResidentReply ¶
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)) }
AreTexturesResidentReply represents the data returned from a AreTexturesResident request.
type BadContextError ¶
type BadContextError GenericError
func (BadContextError) BadId ¶
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 (BadContextError) Error ¶
func (err BadContextError) Error() string
Error returns a rudimentary string representation of the BadBadContext error.
func (BadContextError) SequenceId ¶
func (err BadContextError) SequenceId() uint16
SequenceId returns the sequence id attached to the BadBadContext error. This is mostly used internally.
type BadContextStateError ¶
type BadContextStateError GenericError
func (BadContextStateError) BadId ¶
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 (BadContextStateError) Error ¶
func (err BadContextStateError) Error() string
Error returns a rudimentary string representation of the BadBadContextState error.
func (BadContextStateError) SequenceId ¶
func (err BadContextStateError) SequenceId() uint16
SequenceId returns the sequence id attached to the BadBadContextState error. This is mostly used internally.
type BadContextTagError ¶
type BadContextTagError GenericError
func (BadContextTagError) BadId ¶
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 (BadContextTagError) Error ¶
func (err BadContextTagError) Error() string
Error returns a rudimentary string representation of the BadBadContextTag error.
func (BadContextTagError) SequenceId ¶
func (err BadContextTagError) SequenceId() uint16
SequenceId returns the sequence id attached to the BadBadContextTag error. This is mostly used internally.
type BadCurrentDrawableError ¶
type BadCurrentDrawableError GenericError
func (BadCurrentDrawableError) BadId ¶
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 (BadCurrentDrawableError) Error ¶
func (err BadCurrentDrawableError) Error() string
Error returns a rudimentary string representation of the BadBadCurrentDrawable error.
func (BadCurrentDrawableError) SequenceId ¶
func (err BadCurrentDrawableError) SequenceId() uint16
SequenceId returns the sequence id attached to the BadBadCurrentDrawable error. This is mostly used internally.
type BadCurrentWindowError ¶
type BadCurrentWindowError GenericError
func (BadCurrentWindowError) BadId ¶
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 (BadCurrentWindowError) Error ¶
func (err BadCurrentWindowError) Error() string
Error returns a rudimentary string representation of the BadBadCurrentWindow error.
func (BadCurrentWindowError) SequenceId ¶
func (err BadCurrentWindowError) SequenceId() uint16
SequenceId returns the sequence id attached to the BadBadCurrentWindow error. This is mostly used internally.
type BadDrawableError ¶
type BadDrawableError GenericError
func (BadDrawableError) BadId ¶
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 (BadDrawableError) Error ¶
func (err BadDrawableError) Error() string
Error returns a rudimentary string representation of the BadBadDrawable error.
func (BadDrawableError) SequenceId ¶
func (err BadDrawableError) SequenceId() uint16
SequenceId returns the sequence id attached to the BadBadDrawable error. This is mostly used internally.
type BadFBConfigError ¶
type BadFBConfigError GenericError
func (BadFBConfigError) BadId ¶
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 (BadFBConfigError) Error ¶
func (err BadFBConfigError) Error() string
Error returns a rudimentary string representation of the BadBadFBConfig error.
func (BadFBConfigError) SequenceId ¶
func (err BadFBConfigError) SequenceId() uint16
SequenceId returns the sequence id attached to the BadBadFBConfig error. This is mostly used internally.
type BadLargeRequestError ¶
type BadLargeRequestError GenericError
func (BadLargeRequestError) BadId ¶
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 (BadLargeRequestError) Error ¶
func (err BadLargeRequestError) Error() string
Error returns a rudimentary string representation of the BadBadLargeRequest error.
func (BadLargeRequestError) SequenceId ¶
func (err BadLargeRequestError) SequenceId() uint16
SequenceId returns the sequence id attached to the BadBadLargeRequest error. This is mostly used internally.
type BadPbufferError ¶
type BadPbufferError GenericError
func (BadPbufferError) BadId ¶
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 (BadPbufferError) Error ¶
func (err BadPbufferError) Error() string
Error returns a rudimentary string representation of the BadBadPbuffer error.
func (BadPbufferError) SequenceId ¶
func (err BadPbufferError) SequenceId() uint16
SequenceId returns the sequence id attached to the BadBadPbuffer error. This is mostly used internally.
type BadPixmapError ¶
type BadPixmapError GenericError
func (BadPixmapError) BadId ¶
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 (BadPixmapError) Error ¶
func (err BadPixmapError) Error() string
Error returns a rudimentary string representation of the BadBadPixmap error.
func (BadPixmapError) SequenceId ¶
func (err BadPixmapError) SequenceId() uint16
SequenceId returns the sequence id attached to the BadBadPixmap error. This is mostly used internally.
type BadRenderRequestError ¶
type BadRenderRequestError GenericError
func (BadRenderRequestError) BadId ¶
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 (BadRenderRequestError) Error ¶
func (err BadRenderRequestError) Error() string
Error returns a rudimentary string representation of the BadBadRenderRequest error.
func (BadRenderRequestError) SequenceId ¶
func (err BadRenderRequestError) SequenceId() uint16
SequenceId returns the sequence id attached to the BadBadRenderRequest error. This is mostly used internally.
type BadWindowError ¶
type BadWindowError GenericError
func (BadWindowError) BadId ¶
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 (BadWindowError) Error ¶
func (err BadWindowError) Error() string
Error returns a rudimentary string representation of the BadBadWindow error.
func (BadWindowError) SequenceId ¶
func (err BadWindowError) SequenceId() uint16
SequenceId returns the sequence id attached to the BadBadWindow error. This is mostly used internally.
type BufferSwapCompleteEvent ¶
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 (BufferSwapCompleteEvent) Bytes ¶
func (v BufferSwapCompleteEvent) Bytes() []byte
Bytes writes a BufferSwapCompleteEvent value to a byte slice.
func (BufferSwapCompleteEvent) SequenceId ¶
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 (BufferSwapCompleteEvent) String ¶
func (v BufferSwapCompleteEvent) String() string
String is a rudimentary string representation of BufferSwapCompleteEvent.
type ChangeDrawableAttributesCookie ¶
ChangeDrawableAttributesCookie is a cookie used only for ChangeDrawableAttributes requests.
func ChangeDrawableAttributes ¶
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 ¶
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 (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.
type ClientInfoCookie ¶
ClientInfoCookie is a cookie used only for ClientInfo requests.
func ClientInfo ¶
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 ¶
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 (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 ContextTag ¶
type ContextTag uint32
type CopyContextCookie ¶
CopyContextCookie is a cookie used only for CopyContext requests.
func CopyContext ¶
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 ¶
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 (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.
type CreateContextAttribsARBCookie ¶
CreateContextAttribsARBCookie is a cookie used only for CreateContextAttribsARB requests.
func CreateContextAttribsARB ¶
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 ¶
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 (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.
type CreateContextCookie ¶
CreateContextCookie is a cookie used only for CreateContext requests.
func CreateContext ¶
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 ¶
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 (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.
type CreateGLXPixmapCookie ¶
CreateGLXPixmapCookie is a cookie used only for CreateGLXPixmap requests.
func CreateGLXPixmap ¶
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 ¶
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 (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.
type CreateNewContextCookie ¶
CreateNewContextCookie is a cookie used only for CreateNewContext requests.
func CreateNewContext ¶
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 ¶
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 (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.
type CreatePbufferCookie ¶
CreatePbufferCookie is a cookie used only for CreatePbuffer requests.
func CreatePbuffer ¶
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 ¶
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 (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.
type CreatePixmapCookie ¶
CreatePixmapCookie is a cookie used only for CreatePixmap requests.
func CreatePixmap ¶
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 ¶
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 (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.
type CreateWindowCookie ¶
CreateWindowCookie is a cookie used only for CreateWindow requests.
func CreateWindow ¶
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 ¶
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 (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.
type DeleteListsCookie ¶
DeleteListsCookie is a cookie used only for DeleteLists requests.
func DeleteLists ¶
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 ¶
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 (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.
type DeleteQueriesARBCookie ¶
DeleteQueriesARBCookie is a cookie used only for DeleteQueriesARB requests.
func DeleteQueriesARB ¶
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 ¶
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 (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.
type DeleteTexturesCookie ¶
DeleteTexturesCookie is a cookie used only for DeleteTextures requests.
func DeleteTextures ¶
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 ¶
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 (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.
type DeleteWindowCookie ¶
DeleteWindowCookie is a cookie used only for DeleteWindow requests.
func DeleteWindow ¶
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 ¶
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 (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.
type DestroyContextCookie ¶
DestroyContextCookie is a cookie used only for DestroyContext requests.
func DestroyContext ¶
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 ¶
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 (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.
type DestroyGLXPixmapCookie ¶
DestroyGLXPixmapCookie is a cookie used only for DestroyGLXPixmap requests.
func DestroyGLXPixmap ¶
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 ¶
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 (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.
type DestroyPbufferCookie ¶
DestroyPbufferCookie is a cookie used only for DestroyPbuffer requests.
func DestroyPbuffer ¶
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 ¶
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 (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.
type DestroyPixmapCookie ¶
DestroyPixmapCookie is a cookie used only for DestroyPixmap requests.
func DestroyPixmap ¶
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 ¶
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 (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 EndListCookie ¶
EndListCookie is a cookie used only for EndList requests.
func EndList ¶
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 ¶
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 (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 FeedbackBufferCookie ¶
FeedbackBufferCookie is a cookie used only for FeedbackBuffer requests.
func FeedbackBuffer ¶
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 ¶
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 (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.
type FinishCookie ¶
FinishCookie is a cookie used only for Finish requests.
func Finish ¶
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 ¶
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 (FinishCookie) Reply ¶
func (cook FinishCookie) Reply() (*FinishReply, error)
Reply blocks and returns the reply data for a Finish request.
type FinishReply ¶
type FinishReply struct { Sequence uint16 // sequence number of the request for this reply Length uint32 // number of bytes in this reply }
FinishReply represents the data returned from a Finish request.
type FlushCookie ¶
FlushCookie is a cookie used only for Flush requests.
func Flush ¶
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 ¶
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 (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 ¶
type GLXBadProfileARBError GenericError
func (GLXBadProfileARBError) BadId ¶
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 (GLXBadProfileARBError) Error ¶
func (err GLXBadProfileARBError) Error() string
Error returns a rudimentary string representation of the BadGLXBadProfileARB error.
func (GLXBadProfileARBError) SequenceId ¶
func (err GLXBadProfileARBError) SequenceId() uint16
SequenceId returns the sequence id attached to the BadGLXBadProfileARB error. This is mostly used internally.
type GenListsCookie ¶
GenListsCookie is a cookie used only for GenLists requests.
func GenLists ¶
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 ¶
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 (GenListsCookie) Reply ¶
func (cook GenListsCookie) Reply() (*GenListsReply, error)
Reply blocks and returns the reply data for a GenLists request.
type GenListsReply ¶
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 }
GenListsReply represents the data returned from a GenLists request.
type GenQueriesARBCookie ¶
GenQueriesARBCookie is a cookie used only for GenQueriesARB requests.
func GenQueriesARB ¶
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 ¶
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 (GenQueriesARBCookie) Reply ¶
func (cook GenQueriesARBCookie) Reply() (*GenQueriesARBReply, error)
Reply blocks and returns the reply data for a GenQueriesARB request.
type GenQueriesARBReply ¶
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)) }
GenQueriesARBReply represents the data returned from a GenQueriesARB request.
type GenTexturesCookie ¶
GenTexturesCookie is a cookie used only for GenTextures requests.
func GenTextures ¶
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 ¶
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 (GenTexturesCookie) Reply ¶
func (cook GenTexturesCookie) Reply() (*GenTexturesReply, error)
Reply blocks and returns the reply data for a GenTextures request.
type GenTexturesReply ¶
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)) }
GenTexturesReply represents the data returned from a GenTextures request.
type GenericError ¶
type GenericError struct { Sequence uint16 NiceName string BadValue uint32 MinorOpcode uint16 MajorOpcode byte }
func (GenericError) BadId ¶
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 (GenericError) Error ¶
func (err GenericError) Error() string
func (GenericError) SequenceId ¶
func (err GenericError) SequenceId() uint16
SequenceId returns the sequence id attached to the BadGeneric error. This is mostly used internally.
type GetBooleanvCookie ¶
GetBooleanvCookie is a cookie used only for GetBooleanv requests.
func GetBooleanv ¶
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 ¶
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 (GetBooleanvCookie) Reply ¶
func (cook GetBooleanvCookie) Reply() (*GetBooleanvReply, error)
Reply blocks and returns the reply data for a GetBooleanv request.
type GetBooleanvReply ¶
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)) }
GetBooleanvReply represents the data returned from a GetBooleanv request.
type GetClipPlaneCookie ¶
GetClipPlaneCookie is a cookie used only for GetClipPlane requests.
func GetClipPlane ¶
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 ¶
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 (GetClipPlaneCookie) Reply ¶
func (cook GetClipPlaneCookie) Reply() (*GetClipPlaneReply, error)
Reply blocks and returns the reply data for a GetClipPlane request.
type GetClipPlaneReply ¶
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)) }
GetClipPlaneReply represents the data returned from a GetClipPlane request.
type GetColorTableCookie ¶
GetColorTableCookie is a cookie used only for GetColorTable requests.
func GetColorTable ¶
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 ¶
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 (GetColorTableCookie) Reply ¶
func (cook GetColorTableCookie) Reply() (*GetColorTableReply, error)
Reply blocks and returns the reply data for a GetColorTable request.
type GetColorTableParameterfvCookie ¶
GetColorTableParameterfvCookie is a cookie used only for GetColorTableParameterfv requests.
func GetColorTableParameterfv ¶
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 ¶
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 (GetColorTableParameterfvCookie) Reply ¶
func (cook GetColorTableParameterfvCookie) Reply() (*GetColorTableParameterfvReply, error)
Reply blocks and returns the reply data for a GetColorTableParameterfv request.
type GetColorTableParameterfvReply ¶
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)) }
GetColorTableParameterfvReply represents the data returned from a GetColorTableParameterfv request.
type GetColorTableParameterivCookie ¶
GetColorTableParameterivCookie is a cookie used only for GetColorTableParameteriv requests.
func GetColorTableParameteriv ¶
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 ¶
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 (GetColorTableParameterivCookie) Reply ¶
func (cook GetColorTableParameterivCookie) Reply() (*GetColorTableParameterivReply, error)
Reply blocks and returns the reply data for a GetColorTableParameteriv request.
type GetColorTableParameterivReply ¶
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)) }
GetColorTableParameterivReply represents the data returned from a GetColorTableParameteriv request.
type GetColorTableReply ¶
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)) }
GetColorTableReply represents the data returned from a GetColorTable request.
type GetCompressedTexImageARBCookie ¶
GetCompressedTexImageARBCookie is a cookie used only for GetCompressedTexImageARB requests.
func GetCompressedTexImageARB ¶
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 ¶
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 (GetCompressedTexImageARBCookie) Reply ¶
func (cook GetCompressedTexImageARBCookie) Reply() (*GetCompressedTexImageARBReply, error)
Reply blocks and returns the reply data for a GetCompressedTexImageARB request.
type GetCompressedTexImageARBReply ¶
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)) }
GetCompressedTexImageARBReply represents the data returned from a GetCompressedTexImageARB request.
type GetConvolutionFilterCookie ¶
GetConvolutionFilterCookie is a cookie used only for GetConvolutionFilter requests.
func GetConvolutionFilter ¶
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 ¶
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 (GetConvolutionFilterCookie) Reply ¶
func (cook GetConvolutionFilterCookie) Reply() (*GetConvolutionFilterReply, error)
Reply blocks and returns the reply data for a GetConvolutionFilter request.
type GetConvolutionFilterReply ¶
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)) }
GetConvolutionFilterReply represents the data returned from a GetConvolutionFilter request.
type GetConvolutionParameterfvCookie ¶
GetConvolutionParameterfvCookie is a cookie used only for GetConvolutionParameterfv requests.
func GetConvolutionParameterfv ¶
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 ¶
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 (GetConvolutionParameterfvCookie) Reply ¶
func (cook GetConvolutionParameterfvCookie) Reply() (*GetConvolutionParameterfvReply, error)
Reply blocks and returns the reply data for a GetConvolutionParameterfv request.
type GetConvolutionParameterfvReply ¶
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)) }
GetConvolutionParameterfvReply represents the data returned from a GetConvolutionParameterfv request.
type GetConvolutionParameterivCookie ¶
GetConvolutionParameterivCookie is a cookie used only for GetConvolutionParameteriv requests.
func GetConvolutionParameteriv ¶
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 ¶
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 (GetConvolutionParameterivCookie) Reply ¶
func (cook GetConvolutionParameterivCookie) Reply() (*GetConvolutionParameterivReply, error)
Reply blocks and returns the reply data for a GetConvolutionParameteriv request.
type GetConvolutionParameterivReply ¶
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)) }
GetConvolutionParameterivReply represents the data returned from a GetConvolutionParameteriv request.
type GetDoublevCookie ¶
GetDoublevCookie is a cookie used only for GetDoublev requests.
func GetDoublev ¶
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 ¶
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 (GetDoublevCookie) Reply ¶
func (cook GetDoublevCookie) Reply() (*GetDoublevReply, error)
Reply blocks and returns the reply data for a GetDoublev request.
type GetDoublevReply ¶
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)) }
GetDoublevReply represents the data returned from a GetDoublev request.
type GetDrawableAttributesCookie ¶
GetDrawableAttributesCookie is a cookie used only for GetDrawableAttributes requests.
func GetDrawableAttributes ¶
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 ¶
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 (GetDrawableAttributesCookie) Reply ¶
func (cook GetDrawableAttributesCookie) Reply() (*GetDrawableAttributesReply, error)
Reply blocks and returns the reply data for a GetDrawableAttributes request.
type GetDrawableAttributesReply ¶
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)) }
GetDrawableAttributesReply represents the data returned from a GetDrawableAttributes request.
type GetErrorCookie ¶
GetErrorCookie is a cookie used only for GetError requests.
func GetError ¶
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 ¶
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 (GetErrorCookie) Reply ¶
func (cook GetErrorCookie) Reply() (*GetErrorReply, error)
Reply blocks and returns the reply data for a GetError request.
type GetErrorReply ¶
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 }
GetErrorReply represents the data returned from a GetError request.
type GetFBConfigsCookie ¶
GetFBConfigsCookie is a cookie used only for GetFBConfigs requests.
func GetFBConfigs ¶
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 ¶
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 (GetFBConfigsCookie) Reply ¶
func (cook GetFBConfigsCookie) Reply() (*GetFBConfigsReply, error)
Reply blocks and returns the reply data for a GetFBConfigs request.
type GetFBConfigsReply ¶
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)) }
GetFBConfigsReply represents the data returned from a GetFBConfigs request.
type GetFloatvCookie ¶
GetFloatvCookie is a cookie used only for GetFloatv requests.
func GetFloatv ¶
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 ¶
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 (GetFloatvCookie) Reply ¶
func (cook GetFloatvCookie) Reply() (*GetFloatvReply, error)
Reply blocks and returns the reply data for a GetFloatv request.
type GetFloatvReply ¶
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)) }
GetFloatvReply represents the data returned from a GetFloatv request.
type GetHistogramCookie ¶
GetHistogramCookie is a cookie used only for GetHistogram requests.
func GetHistogram ¶
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 ¶
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 (GetHistogramCookie) Reply ¶
func (cook GetHistogramCookie) Reply() (*GetHistogramReply, error)
Reply blocks and returns the reply data for a GetHistogram request.
type GetHistogramParameterfvCookie ¶
GetHistogramParameterfvCookie is a cookie used only for GetHistogramParameterfv requests.
func GetHistogramParameterfv ¶
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 ¶
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 (GetHistogramParameterfvCookie) Reply ¶
func (cook GetHistogramParameterfvCookie) Reply() (*GetHistogramParameterfvReply, error)
Reply blocks and returns the reply data for a GetHistogramParameterfv request.
type GetHistogramParameterfvReply ¶
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)) }
GetHistogramParameterfvReply represents the data returned from a GetHistogramParameterfv request.
type GetHistogramParameterivCookie ¶
GetHistogramParameterivCookie is a cookie used only for GetHistogramParameteriv requests.
func GetHistogramParameteriv ¶
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 ¶
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 (GetHistogramParameterivCookie) Reply ¶
func (cook GetHistogramParameterivCookie) Reply() (*GetHistogramParameterivReply, error)
Reply blocks and returns the reply data for a GetHistogramParameteriv request.
type GetHistogramParameterivReply ¶
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)) }
GetHistogramParameterivReply represents the data returned from a GetHistogramParameteriv request.
type GetHistogramReply ¶
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)) }
GetHistogramReply represents the data returned from a GetHistogram request.
type GetIntegervCookie ¶
GetIntegervCookie is a cookie used only for GetIntegerv requests.
func GetIntegerv ¶
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 ¶
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 (GetIntegervCookie) Reply ¶
func (cook GetIntegervCookie) Reply() (*GetIntegervReply, error)
Reply blocks and returns the reply data for a GetIntegerv request.
type GetIntegervReply ¶
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)) }
GetIntegervReply represents the data returned from a GetIntegerv request.
type GetLightfvCookie ¶
GetLightfvCookie is a cookie used only for GetLightfv requests.
func GetLightfv ¶
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 ¶
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 (GetLightfvCookie) Reply ¶
func (cook GetLightfvCookie) Reply() (*GetLightfvReply, error)
Reply blocks and returns the reply data for a GetLightfv request.
type GetLightfvReply ¶
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)) }
GetLightfvReply represents the data returned from a GetLightfv request.
type GetLightivCookie ¶
GetLightivCookie is a cookie used only for GetLightiv requests.
func GetLightiv ¶
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 ¶
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 (GetLightivCookie) Reply ¶
func (cook GetLightivCookie) Reply() (*GetLightivReply, error)
Reply blocks and returns the reply data for a GetLightiv request.
type GetLightivReply ¶
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)) }
GetLightivReply represents the data returned from a GetLightiv request.
type GetMapdvCookie ¶
GetMapdvCookie is a cookie used only for GetMapdv requests.
func GetMapdv ¶
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 ¶
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 (GetMapdvCookie) Reply ¶
func (cook GetMapdvCookie) Reply() (*GetMapdvReply, error)
Reply blocks and returns the reply data for a GetMapdv request.
type GetMapdvReply ¶
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)) }
GetMapdvReply represents the data returned from a GetMapdv request.
type GetMapfvCookie ¶
GetMapfvCookie is a cookie used only for GetMapfv requests.
func GetMapfv ¶
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 ¶
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 (GetMapfvCookie) Reply ¶
func (cook GetMapfvCookie) Reply() (*GetMapfvReply, error)
Reply blocks and returns the reply data for a GetMapfv request.
type GetMapfvReply ¶
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)) }
GetMapfvReply represents the data returned from a GetMapfv request.
type GetMapivCookie ¶
GetMapivCookie is a cookie used only for GetMapiv requests.
func GetMapiv ¶
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 ¶
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 (GetMapivCookie) Reply ¶
func (cook GetMapivCookie) Reply() (*GetMapivReply, error)
Reply blocks and returns the reply data for a GetMapiv request.
type GetMapivReply ¶
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)) }
GetMapivReply represents the data returned from a GetMapiv request.
type GetMaterialfvCookie ¶
GetMaterialfvCookie is a cookie used only for GetMaterialfv requests.
func GetMaterialfv ¶
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 ¶
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 (GetMaterialfvCookie) Reply ¶
func (cook GetMaterialfvCookie) Reply() (*GetMaterialfvReply, error)
Reply blocks and returns the reply data for a GetMaterialfv request.
type GetMaterialfvReply ¶
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)) }
GetMaterialfvReply represents the data returned from a GetMaterialfv request.
type GetMaterialivCookie ¶
GetMaterialivCookie is a cookie used only for GetMaterialiv requests.
func GetMaterialiv ¶
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 ¶
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 (GetMaterialivCookie) Reply ¶
func (cook GetMaterialivCookie) Reply() (*GetMaterialivReply, error)
Reply blocks and returns the reply data for a GetMaterialiv request.
type GetMaterialivReply ¶
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)) }
GetMaterialivReply represents the data returned from a GetMaterialiv request.
type GetMinmaxCookie ¶
GetMinmaxCookie is a cookie used only for GetMinmax requests.
func GetMinmax ¶
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 ¶
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 (GetMinmaxCookie) Reply ¶
func (cook GetMinmaxCookie) Reply() (*GetMinmaxReply, error)
Reply blocks and returns the reply data for a GetMinmax request.
type GetMinmaxParameterfvCookie ¶
GetMinmaxParameterfvCookie is a cookie used only for GetMinmaxParameterfv requests.
func GetMinmaxParameterfv ¶
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 ¶
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 (GetMinmaxParameterfvCookie) Reply ¶
func (cook GetMinmaxParameterfvCookie) Reply() (*GetMinmaxParameterfvReply, error)
Reply blocks and returns the reply data for a GetMinmaxParameterfv request.
type GetMinmaxParameterfvReply ¶
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)) }
GetMinmaxParameterfvReply represents the data returned from a GetMinmaxParameterfv request.
type GetMinmaxParameterivCookie ¶
GetMinmaxParameterivCookie is a cookie used only for GetMinmaxParameteriv requests.
func GetMinmaxParameteriv ¶
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 ¶
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 (GetMinmaxParameterivCookie) Reply ¶
func (cook GetMinmaxParameterivCookie) Reply() (*GetMinmaxParameterivReply, error)
Reply blocks and returns the reply data for a GetMinmaxParameteriv request.
type GetMinmaxParameterivReply ¶
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)) }
GetMinmaxParameterivReply represents the data returned from a GetMinmaxParameteriv request.
type GetMinmaxReply ¶
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)) }
GetMinmaxReply represents the data returned from a GetMinmax request.
type GetPixelMapfvCookie ¶
GetPixelMapfvCookie is a cookie used only for GetPixelMapfv requests.
func GetPixelMapfv ¶
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 ¶
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 (GetPixelMapfvCookie) Reply ¶
func (cook GetPixelMapfvCookie) Reply() (*GetPixelMapfvReply, error)
Reply blocks and returns the reply data for a GetPixelMapfv request.
type GetPixelMapfvReply ¶
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)) }
GetPixelMapfvReply represents the data returned from a GetPixelMapfv request.
type GetPixelMapuivCookie ¶
GetPixelMapuivCookie is a cookie used only for GetPixelMapuiv requests.
func GetPixelMapuiv ¶
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 ¶
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 (GetPixelMapuivCookie) Reply ¶
func (cook GetPixelMapuivCookie) Reply() (*GetPixelMapuivReply, error)
Reply blocks and returns the reply data for a GetPixelMapuiv request.
type GetPixelMapuivReply ¶
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)) }
GetPixelMapuivReply represents the data returned from a GetPixelMapuiv request.
type GetPixelMapusvCookie ¶
GetPixelMapusvCookie is a cookie used only for GetPixelMapusv requests.
func GetPixelMapusv ¶
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 ¶
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 (GetPixelMapusvCookie) Reply ¶
func (cook GetPixelMapusvCookie) Reply() (*GetPixelMapusvReply, error)
Reply blocks and returns the reply data for a GetPixelMapusv request.
type GetPixelMapusvReply ¶
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)) }
GetPixelMapusvReply represents the data returned from a GetPixelMapusv request.
type GetPolygonStippleCookie ¶
GetPolygonStippleCookie is a cookie used only for GetPolygonStipple requests.
func GetPolygonStipple ¶
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 ¶
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 (GetPolygonStippleCookie) Reply ¶
func (cook GetPolygonStippleCookie) Reply() (*GetPolygonStippleReply, error)
Reply blocks and returns the reply data for a GetPolygonStipple request.
type GetPolygonStippleReply ¶
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)) }
GetPolygonStippleReply represents the data returned from a GetPolygonStipple request.
type GetQueryObjectivARBCookie ¶
GetQueryObjectivARBCookie is a cookie used only for GetQueryObjectivARB requests.
func GetQueryObjectivARB ¶
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 ¶
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 (GetQueryObjectivARBCookie) Reply ¶
func (cook GetQueryObjectivARBCookie) Reply() (*GetQueryObjectivARBReply, error)
Reply blocks and returns the reply data for a GetQueryObjectivARB request.
type GetQueryObjectivARBReply ¶
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)) }
GetQueryObjectivARBReply represents the data returned from a GetQueryObjectivARB request.
type GetQueryObjectuivARBCookie ¶
GetQueryObjectuivARBCookie is a cookie used only for GetQueryObjectuivARB requests.
func GetQueryObjectuivARB ¶
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 ¶
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 (GetQueryObjectuivARBCookie) Reply ¶
func (cook GetQueryObjectuivARBCookie) Reply() (*GetQueryObjectuivARBReply, error)
Reply blocks and returns the reply data for a GetQueryObjectuivARB request.
type GetQueryObjectuivARBReply ¶
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)) }
GetQueryObjectuivARBReply represents the data returned from a GetQueryObjectuivARB request.
type GetQueryivARBCookie ¶
GetQueryivARBCookie is a cookie used only for GetQueryivARB requests.
func GetQueryivARB ¶
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 ¶
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 (GetQueryivARBCookie) Reply ¶
func (cook GetQueryivARBCookie) Reply() (*GetQueryivARBReply, error)
Reply blocks and returns the reply data for a GetQueryivARB request.
type GetQueryivARBReply ¶
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)) }
GetQueryivARBReply represents the data returned from a GetQueryivARB request.
type GetSeparableFilterCookie ¶
GetSeparableFilterCookie is a cookie used only for GetSeparableFilter requests.
func GetSeparableFilter ¶
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 ¶
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 (GetSeparableFilterCookie) Reply ¶
func (cook GetSeparableFilterCookie) Reply() (*GetSeparableFilterReply, error)
Reply blocks and returns the reply data for a GetSeparableFilter request.
type GetSeparableFilterReply ¶
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)) }
GetSeparableFilterReply represents the data returned from a GetSeparableFilter request.
type GetStringCookie ¶
GetStringCookie is a cookie used only for GetString requests.
func GetString ¶
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 ¶
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 (GetStringCookie) Reply ¶
func (cook GetStringCookie) Reply() (*GetStringReply, error)
Reply blocks and returns the reply data for a GetString request.
type GetStringReply ¶
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)) }
GetStringReply represents the data returned from a GetString request.
type GetTexEnvfvCookie ¶
GetTexEnvfvCookie is a cookie used only for GetTexEnvfv requests.
func GetTexEnvfv ¶
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 ¶
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 (GetTexEnvfvCookie) Reply ¶
func (cook GetTexEnvfvCookie) Reply() (*GetTexEnvfvReply, error)
Reply blocks and returns the reply data for a GetTexEnvfv request.
type GetTexEnvfvReply ¶
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)) }
GetTexEnvfvReply represents the data returned from a GetTexEnvfv request.
type GetTexEnvivCookie ¶
GetTexEnvivCookie is a cookie used only for GetTexEnviv requests.
func GetTexEnviv ¶
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 ¶
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 (GetTexEnvivCookie) Reply ¶
func (cook GetTexEnvivCookie) Reply() (*GetTexEnvivReply, error)
Reply blocks and returns the reply data for a GetTexEnviv request.
type GetTexEnvivReply ¶
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)) }
GetTexEnvivReply represents the data returned from a GetTexEnviv request.
type GetTexGendvCookie ¶
GetTexGendvCookie is a cookie used only for GetTexGendv requests.
func GetTexGendv ¶
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 ¶
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 (GetTexGendvCookie) Reply ¶
func (cook GetTexGendvCookie) Reply() (*GetTexGendvReply, error)
Reply blocks and returns the reply data for a GetTexGendv request.
type GetTexGendvReply ¶
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)) }
GetTexGendvReply represents the data returned from a GetTexGendv request.
type GetTexGenfvCookie ¶
GetTexGenfvCookie is a cookie used only for GetTexGenfv requests.
func GetTexGenfv ¶
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 ¶
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 (GetTexGenfvCookie) Reply ¶
func (cook GetTexGenfvCookie) Reply() (*GetTexGenfvReply, error)
Reply blocks and returns the reply data for a GetTexGenfv request.
type GetTexGenfvReply ¶
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)) }
GetTexGenfvReply represents the data returned from a GetTexGenfv request.
type GetTexGenivCookie ¶
GetTexGenivCookie is a cookie used only for GetTexGeniv requests.
func GetTexGeniv ¶
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 ¶
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 (GetTexGenivCookie) Reply ¶
func (cook GetTexGenivCookie) Reply() (*GetTexGenivReply, error)
Reply blocks and returns the reply data for a GetTexGeniv request.
type GetTexGenivReply ¶
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)) }
GetTexGenivReply represents the data returned from a GetTexGeniv request.
type GetTexImageCookie ¶
GetTexImageCookie is a cookie used only for GetTexImage requests.
func GetTexImage ¶
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 ¶
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 (GetTexImageCookie) Reply ¶
func (cook GetTexImageCookie) Reply() (*GetTexImageReply, error)
Reply blocks and returns the reply data for a GetTexImage request.
type GetTexImageReply ¶
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)) }
GetTexImageReply represents the data returned from a GetTexImage request.
type GetTexLevelParameterfvCookie ¶
GetTexLevelParameterfvCookie is a cookie used only for GetTexLevelParameterfv requests.
func GetTexLevelParameterfv ¶
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 ¶
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 (GetTexLevelParameterfvCookie) Reply ¶
func (cook GetTexLevelParameterfvCookie) Reply() (*GetTexLevelParameterfvReply, error)
Reply blocks and returns the reply data for a GetTexLevelParameterfv request.
type GetTexLevelParameterfvReply ¶
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)) }
GetTexLevelParameterfvReply represents the data returned from a GetTexLevelParameterfv request.
type GetTexLevelParameterivCookie ¶
GetTexLevelParameterivCookie is a cookie used only for GetTexLevelParameteriv requests.
func GetTexLevelParameteriv ¶
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 ¶
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 (GetTexLevelParameterivCookie) Reply ¶
func (cook GetTexLevelParameterivCookie) Reply() (*GetTexLevelParameterivReply, error)
Reply blocks and returns the reply data for a GetTexLevelParameteriv request.
type GetTexLevelParameterivReply ¶
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)) }
GetTexLevelParameterivReply represents the data returned from a GetTexLevelParameteriv request.
type GetTexParameterfvCookie ¶
GetTexParameterfvCookie is a cookie used only for GetTexParameterfv requests.
func GetTexParameterfv ¶
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 ¶
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 (GetTexParameterfvCookie) Reply ¶
func (cook GetTexParameterfvCookie) Reply() (*GetTexParameterfvReply, error)
Reply blocks and returns the reply data for a GetTexParameterfv request.
type GetTexParameterfvReply ¶
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)) }
GetTexParameterfvReply represents the data returned from a GetTexParameterfv request.
type GetTexParameterivCookie ¶
GetTexParameterivCookie is a cookie used only for GetTexParameteriv requests.
func GetTexParameteriv ¶
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 ¶
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 (GetTexParameterivCookie) Reply ¶
func (cook GetTexParameterivCookie) Reply() (*GetTexParameterivReply, error)
Reply blocks and returns the reply data for a GetTexParameteriv request.
type GetTexParameterivReply ¶
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)) }
GetTexParameterivReply represents the data returned from a GetTexParameteriv request.
type GetVisualConfigsCookie ¶
GetVisualConfigsCookie is a cookie used only for GetVisualConfigs requests.
func GetVisualConfigs ¶
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 ¶
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 (GetVisualConfigsCookie) Reply ¶
func (cook GetVisualConfigsCookie) Reply() (*GetVisualConfigsReply, error)
Reply blocks and returns the reply data for a GetVisualConfigs request.
type GetVisualConfigsReply ¶
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)) }
GetVisualConfigsReply represents the data returned from a GetVisualConfigs request.
type IsDirectCookie ¶
IsDirectCookie is a cookie used only for IsDirect requests.
func IsDirect ¶
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 ¶
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 (IsDirectCookie) Reply ¶
func (cook IsDirectCookie) Reply() (*IsDirectReply, error)
Reply blocks and returns the reply data for a IsDirect request.
type IsDirectReply ¶
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 }
IsDirectReply represents the data returned from a IsDirect request.
type IsListCookie ¶
IsListCookie is a cookie used only for IsList requests.
func IsList ¶
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 ¶
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 (IsListCookie) Reply ¶
func (cook IsListCookie) Reply() (*IsListReply, error)
Reply blocks and returns the reply data for a IsList request.
type IsListReply ¶
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 }
IsListReply represents the data returned from a IsList request.
type IsQueryARBCookie ¶
IsQueryARBCookie is a cookie used only for IsQueryARB requests.
func IsQueryARB ¶
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 ¶
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 (IsQueryARBCookie) Reply ¶
func (cook IsQueryARBCookie) Reply() (*IsQueryARBReply, error)
Reply blocks and returns the reply data for a IsQueryARB request.
type IsQueryARBReply ¶
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 }
IsQueryARBReply represents the data returned from a IsQueryARB request.
type IsTextureCookie ¶
IsTextureCookie is a cookie used only for IsTexture requests.
func IsTexture ¶
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 ¶
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 (IsTextureCookie) Reply ¶
func (cook IsTextureCookie) Reply() (*IsTextureReply, error)
Reply blocks and returns the reply data for a IsTexture request.
type IsTextureReply ¶
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 }
IsTextureReply represents the data returned from a IsTexture request.
type MakeContextCurrentCookie ¶
MakeContextCurrentCookie is a cookie used only for MakeContextCurrent requests.
func MakeContextCurrent ¶
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 ¶
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 (MakeContextCurrentCookie) Reply ¶
func (cook MakeContextCurrentCookie) Reply() (*MakeContextCurrentReply, error)
Reply blocks and returns the reply data for a MakeContextCurrent request.
type MakeContextCurrentReply ¶
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 }
MakeContextCurrentReply represents the data returned from a MakeContextCurrent request.
type MakeCurrentCookie ¶
MakeCurrentCookie is a cookie used only for MakeCurrent requests.
func MakeCurrent ¶
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 ¶
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 (MakeCurrentCookie) Reply ¶
func (cook MakeCurrentCookie) Reply() (*MakeCurrentReply, error)
Reply blocks and returns the reply data for a MakeCurrent request.
type MakeCurrentReply ¶
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 }
MakeCurrentReply represents the data returned from a MakeCurrent request.
type NewListCookie ¶
NewListCookie is a cookie used only for NewList requests.
func NewList ¶
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 ¶
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 (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 PbufferClobberEvent ¶
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 (PbufferClobberEvent) Bytes ¶
func (v PbufferClobberEvent) Bytes() []byte
Bytes writes a PbufferClobberEvent value to a byte slice.
func (PbufferClobberEvent) SequenceId ¶
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 (PbufferClobberEvent) String ¶
func (v PbufferClobberEvent) String() string
String is a rudimentary string representation of PbufferClobberEvent.
type PixelStorefCookie ¶
PixelStorefCookie is a cookie used only for PixelStoref requests.
func PixelStoref ¶
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 ¶
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 (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.
type PixelStoreiCookie ¶
PixelStoreiCookie is a cookie used only for PixelStorei requests.
func PixelStorei ¶
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 ¶
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 (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 QueryContextCookie ¶
QueryContextCookie is a cookie used only for QueryContext requests.
func QueryContext ¶
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 ¶
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 (QueryContextCookie) Reply ¶
func (cook QueryContextCookie) Reply() (*QueryContextReply, error)
Reply blocks and returns the reply data for a QueryContext request.
type QueryContextReply ¶
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)) }
QueryContextReply represents the data returned from a QueryContext request.
type QueryExtensionsStringCookie ¶
QueryExtensionsStringCookie is a cookie used only for QueryExtensionsString requests.
func QueryExtensionsString ¶
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 ¶
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 (QueryExtensionsStringCookie) Reply ¶
func (cook QueryExtensionsStringCookie) Reply() (*QueryExtensionsStringReply, error)
Reply blocks and returns the reply data for a QueryExtensionsString request.
type QueryExtensionsStringReply ¶
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 }
QueryExtensionsStringReply represents the data returned from a QueryExtensionsString request.
type QueryServerStringCookie ¶
QueryServerStringCookie is a cookie used only for QueryServerString requests.
func QueryServerString ¶
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 ¶
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 (QueryServerStringCookie) Reply ¶
func (cook QueryServerStringCookie) Reply() (*QueryServerStringReply, error)
Reply blocks and returns the reply data for a QueryServerString request.
type QueryServerStringReply ¶
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)) }
QueryServerStringReply represents the data returned from a QueryServerString request.
type QueryVersionCookie ¶
QueryVersionCookie is a cookie used only for QueryVersion requests.
func QueryVersion ¶
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 ¶
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 (QueryVersionCookie) Reply ¶
func (cook QueryVersionCookie) Reply() (*QueryVersionReply, error)
Reply blocks and returns the reply data for a QueryVersion request.
type QueryVersionReply ¶
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 }
QueryVersionReply represents the data returned from a QueryVersion request.
type ReadPixelsCookie ¶
ReadPixelsCookie is a cookie used only for ReadPixels requests.
func ReadPixels ¶
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 ¶
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 (ReadPixelsCookie) Reply ¶
func (cook ReadPixelsCookie) Reply() (*ReadPixelsReply, error)
Reply blocks and returns the reply data for a ReadPixels request.
type ReadPixelsReply ¶
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)) }
ReadPixelsReply represents the data returned from a ReadPixels request.
type RenderCookie ¶
RenderCookie is a cookie used only for Render requests.
func Render ¶
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 ¶
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 (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.
type RenderLargeCookie ¶
RenderLargeCookie is a cookie used only for RenderLarge requests.
func RenderLarge ¶
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 ¶
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 (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.
type RenderModeCookie ¶
RenderModeCookie is a cookie used only for RenderMode requests.
func RenderMode ¶
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 ¶
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 (RenderModeCookie) Reply ¶
func (cook RenderModeCookie) Reply() (*RenderModeReply, error)
Reply blocks and returns the reply data for a RenderMode request.
type RenderModeReply ¶
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)) }
RenderModeReply represents the data returned from a RenderMode request.
type SelectBufferCookie ¶
SelectBufferCookie is a cookie used only for SelectBuffer requests.
func SelectBuffer ¶
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 ¶
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 (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.
type SetClientInfo2ARBCookie ¶
SetClientInfo2ARBCookie is a cookie used only for SetClientInfo2ARB requests.
func SetClientInfo2ARB ¶
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 ¶
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 (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.
type SetClientInfoARBCookie ¶
SetClientInfoARBCookie is a cookie used only for SetClientInfoARB requests.
func SetClientInfoARB ¶
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 ¶
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 (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.
type SwapBuffersCookie ¶
SwapBuffersCookie is a cookie used only for SwapBuffers requests.
func SwapBuffers ¶
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 ¶
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 (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 ¶
type UnsupportedPrivateRequestError GenericError
func (UnsupportedPrivateRequestError) BadId ¶
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 (UnsupportedPrivateRequestError) Error ¶
func (err UnsupportedPrivateRequestError) Error() string
Error returns a rudimentary string representation of the BadUnsupportedPrivateRequest error.
func (UnsupportedPrivateRequestError) SequenceId ¶
func (err UnsupportedPrivateRequestError) SequenceId() uint16
SequenceId returns the sequence id attached to the BadUnsupportedPrivateRequest error. This is mostly used internally.
type UseXFontCookie ¶
UseXFontCookie is a cookie used only for UseXFont requests.
func UseXFont ¶
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 ¶
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 (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.
type VendorPrivateCookie ¶
VendorPrivateCookie is a cookie used only for VendorPrivate requests.
func VendorPrivate ¶
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 ¶
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 (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.
type VendorPrivateWithReplyCookie ¶
VendorPrivateWithReplyCookie is a cookie used only for VendorPrivateWithReply requests.
func VendorPrivateWithReply ¶
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 ¶
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 (VendorPrivateWithReplyCookie) Reply ¶
func (cook VendorPrivateWithReplyCookie) Reply() (*VendorPrivateWithReplyReply, error)
Reply blocks and returns the reply data for a VendorPrivateWithReply request.
type VendorPrivateWithReplyReply ¶
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)) }
VendorPrivateWithReplyReply represents the data returned from a VendorPrivateWithReply request.
type WaitGLCookie ¶
WaitGLCookie is a cookie used only for WaitGL requests.
func WaitGL ¶
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 ¶
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 (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.
type WaitXCookie ¶
WaitXCookie is a cookie used only for WaitX requests.
func WaitX ¶
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 ¶
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 (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.