...

Package glx

import "github.com/jezek/xgb/glx"
Overview
Index

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
    func AreTexturesResident(c *xgb.Conn, ContextTag ContextTag, N int32, Textures []uint32) AreTexturesResidentCookie
    func AreTexturesResidentUnchecked(c *xgb.Conn, ContextTag ContextTag, N int32, Textures []uint32) AreTexturesResidentCookie
    func (cook AreTexturesResidentCookie) Reply() (*AreTexturesResidentReply, error)
type AreTexturesResidentReply
type BadContextError
    func (err BadContextError) BadId() uint32
    func (err BadContextError) Error() string
    func (err BadContextError) SequenceId() uint16
type BadContextStateError
    func (err BadContextStateError) BadId() uint32
    func (err BadContextStateError) Error() string
    func (err BadContextStateError) SequenceId() uint16
type BadContextTagError
    func (err BadContextTagError) BadId() uint32
    func (err BadContextTagError) Error() string
    func (err BadContextTagError) SequenceId() uint16
type BadCurrentDrawableError
    func (err BadCurrentDrawableError) BadId() uint32
    func (err BadCurrentDrawableError) Error() string
    func (err BadCurrentDrawableError) SequenceId() uint16
type BadCurrentWindowError
    func (err BadCurrentWindowError) BadId() uint32
    func (err BadCurrentWindowError) Error() string
    func (err BadCurrentWindowError) SequenceId() uint16
type BadDrawableError
    func (err BadDrawableError) BadId() uint32
    func (err BadDrawableError) Error() string
    func (err BadDrawableError) SequenceId() uint16
type BadFBConfigError
    func (err BadFBConfigError) BadId() uint32
    func (err BadFBConfigError) Error() string
    func (err BadFBConfigError) SequenceId() uint16
type BadLargeRequestError
    func (err BadLargeRequestError) BadId() uint32
    func (err BadLargeRequestError) Error() string
    func (err BadLargeRequestError) SequenceId() uint16
type BadPbufferError
    func (err BadPbufferError) BadId() uint32
    func (err BadPbufferError) Error() string
    func (err BadPbufferError) SequenceId() uint16
type BadPixmapError
    func (err BadPixmapError) BadId() uint32
    func (err BadPixmapError) Error() string
    func (err BadPixmapError) SequenceId() uint16
type BadRenderRequestError
    func (err BadRenderRequestError) BadId() uint32
    func (err BadRenderRequestError) Error() string
    func (err BadRenderRequestError) SequenceId() uint16
type BadWindowError
    func (err BadWindowError) BadId() uint32
    func (err BadWindowError) Error() string
    func (err BadWindowError) SequenceId() uint16
type Bool32
type BufferSwapCompleteEvent
    func (v BufferSwapCompleteEvent) Bytes() []byte
    func (v BufferSwapCompleteEvent) SequenceId() uint16
    func (v BufferSwapCompleteEvent) String() string
type ChangeDrawableAttributesCookie
    func ChangeDrawableAttributes(c *xgb.Conn, Drawable Drawable, NumAttribs uint32, Attribs []uint32) ChangeDrawableAttributesCookie
    func ChangeDrawableAttributesChecked(c *xgb.Conn, Drawable Drawable, NumAttribs uint32, Attribs []uint32) ChangeDrawableAttributesCookie
    func (cook ChangeDrawableAttributesCookie) Check() error
type ClientInfoCookie
    func ClientInfo(c *xgb.Conn, MajorVersion uint32, MinorVersion uint32, StrLen uint32, String string) ClientInfoCookie
    func ClientInfoChecked(c *xgb.Conn, MajorVersion uint32, MinorVersion uint32, StrLen uint32, String string) ClientInfoCookie
    func (cook ClientInfoCookie) Check() error
type Context
    func NewContextId(c *xgb.Conn) (Context, error)
type ContextTag
type CopyContextCookie
    func CopyContext(c *xgb.Conn, Src Context, Dest Context, Mask uint32, SrcContextTag ContextTag) CopyContextCookie
    func CopyContextChecked(c *xgb.Conn, Src Context, Dest Context, Mask uint32, SrcContextTag ContextTag) CopyContextCookie
    func (cook CopyContextCookie) Check() error
type CreateContextAttribsARBCookie
    func CreateContextAttribsARB(c *xgb.Conn, Context Context, Fbconfig Fbconfig, Screen uint32, ShareList Context, IsDirect bool, NumAttribs uint32, Attribs []uint32) CreateContextAttribsARBCookie
    func CreateContextAttribsARBChecked(c *xgb.Conn, Context Context, Fbconfig Fbconfig, Screen uint32, ShareList Context, IsDirect bool, NumAttribs uint32, Attribs []uint32) CreateContextAttribsARBCookie
    func (cook CreateContextAttribsARBCookie) Check() error
type CreateContextCookie
    func CreateContext(c *xgb.Conn, Context Context, Visual xproto.Visualid, Screen uint32, ShareList Context, IsDirect bool) CreateContextCookie
    func CreateContextChecked(c *xgb.Conn, Context Context, Visual xproto.Visualid, Screen uint32, ShareList Context, IsDirect bool) CreateContextCookie
    func (cook CreateContextCookie) Check() error
type CreateGLXPixmapCookie
    func CreateGLXPixmap(c *xgb.Conn, Screen uint32, Visual xproto.Visualid, Pixmap xproto.Pixmap, GlxPixmap Pixmap) CreateGLXPixmapCookie
    func CreateGLXPixmapChecked(c *xgb.Conn, Screen uint32, Visual xproto.Visualid, Pixmap xproto.Pixmap, GlxPixmap Pixmap) CreateGLXPixmapCookie
    func (cook CreateGLXPixmapCookie) Check() error
type CreateNewContextCookie
    func CreateNewContext(c *xgb.Conn, Context Context, Fbconfig Fbconfig, Screen uint32, RenderType uint32, ShareList Context, IsDirect bool) CreateNewContextCookie
    func CreateNewContextChecked(c *xgb.Conn, Context Context, Fbconfig Fbconfig, Screen uint32, RenderType uint32, ShareList Context, IsDirect bool) CreateNewContextCookie
    func (cook CreateNewContextCookie) Check() error
type CreatePbufferCookie
    func CreatePbuffer(c *xgb.Conn, Screen uint32, Fbconfig Fbconfig, Pbuffer Pbuffer, NumAttribs uint32, Attribs []uint32) CreatePbufferCookie
    func CreatePbufferChecked(c *xgb.Conn, Screen uint32, Fbconfig Fbconfig, Pbuffer Pbuffer, NumAttribs uint32, Attribs []uint32) CreatePbufferCookie
    func (cook CreatePbufferCookie) Check() error
type CreatePixmapCookie
    func CreatePixmap(c *xgb.Conn, Screen uint32, Fbconfig Fbconfig, Pixmap xproto.Pixmap, GlxPixmap Pixmap, NumAttribs uint32, Attribs []uint32) CreatePixmapCookie
    func CreatePixmapChecked(c *xgb.Conn, Screen uint32, Fbconfig Fbconfig, Pixmap xproto.Pixmap, GlxPixmap Pixmap, NumAttribs uint32, Attribs []uint32) CreatePixmapCookie
    func (cook CreatePixmapCookie) Check() error
type CreateWindowCookie
    func CreateWindow(c *xgb.Conn, Screen uint32, Fbconfig Fbconfig, Window xproto.Window, GlxWindow Window, NumAttribs uint32, Attribs []uint32) CreateWindowCookie
    func CreateWindowChecked(c *xgb.Conn, Screen uint32, Fbconfig Fbconfig, Window xproto.Window, GlxWindow Window, NumAttribs uint32, Attribs []uint32) CreateWindowCookie
    func (cook CreateWindowCookie) Check() error
type DeleteListsCookie
    func DeleteLists(c *xgb.Conn, ContextTag ContextTag, List uint32, Range int32) DeleteListsCookie
    func DeleteListsChecked(c *xgb.Conn, ContextTag ContextTag, List uint32, Range int32) DeleteListsCookie
    func (cook DeleteListsCookie) Check() error
type DeleteQueriesARBCookie
    func DeleteQueriesARB(c *xgb.Conn, ContextTag ContextTag, N int32, Ids []uint32) DeleteQueriesARBCookie
    func DeleteQueriesARBChecked(c *xgb.Conn, ContextTag ContextTag, N int32, Ids []uint32) DeleteQueriesARBCookie
    func (cook DeleteQueriesARBCookie) Check() error
type DeleteTexturesCookie
    func DeleteTextures(c *xgb.Conn, ContextTag ContextTag, N int32, Textures []uint32) DeleteTexturesCookie
    func DeleteTexturesChecked(c *xgb.Conn, ContextTag ContextTag, N int32, Textures []uint32) DeleteTexturesCookie
    func (cook DeleteTexturesCookie) Check() error
type DeleteWindowCookie
    func DeleteWindow(c *xgb.Conn, Glxwindow Window) DeleteWindowCookie
    func DeleteWindowChecked(c *xgb.Conn, Glxwindow Window) DeleteWindowCookie
    func (cook DeleteWindowCookie) Check() error
type DestroyContextCookie
    func DestroyContext(c *xgb.Conn, Context Context) DestroyContextCookie
    func DestroyContextChecked(c *xgb.Conn, Context Context) DestroyContextCookie
    func (cook DestroyContextCookie) Check() error
type DestroyGLXPixmapCookie
    func DestroyGLXPixmap(c *xgb.Conn, GlxPixmap Pixmap) DestroyGLXPixmapCookie
    func DestroyGLXPixmapChecked(c *xgb.Conn, GlxPixmap Pixmap) DestroyGLXPixmapCookie
    func (cook DestroyGLXPixmapCookie) Check() error
type DestroyPbufferCookie
    func DestroyPbuffer(c *xgb.Conn, Pbuffer Pbuffer) DestroyPbufferCookie
    func DestroyPbufferChecked(c *xgb.Conn, Pbuffer Pbuffer) DestroyPbufferCookie
    func (cook DestroyPbufferCookie) Check() error
type DestroyPixmapCookie
    func DestroyPixmap(c *xgb.Conn, GlxPixmap Pixmap) DestroyPixmapCookie
    func DestroyPixmapChecked(c *xgb.Conn, GlxPixmap Pixmap) DestroyPixmapCookie
    func (cook DestroyPixmapCookie) Check() error
type Drawable
    func NewDrawableId(c *xgb.Conn) (Drawable, error)
type EndListCookie
    func EndList(c *xgb.Conn, ContextTag ContextTag) EndListCookie
    func EndListChecked(c *xgb.Conn, ContextTag ContextTag) EndListCookie
    func (cook EndListCookie) Check() error
type Fbconfig
    func NewFbconfigId(c *xgb.Conn) (Fbconfig, error)
type FeedbackBufferCookie
    func FeedbackBuffer(c *xgb.Conn, ContextTag ContextTag, Size int32, Type int32) FeedbackBufferCookie
    func FeedbackBufferChecked(c *xgb.Conn, ContextTag ContextTag, Size int32, Type int32) FeedbackBufferCookie
    func (cook FeedbackBufferCookie) Check() error
type FinishCookie
    func Finish(c *xgb.Conn, ContextTag ContextTag) FinishCookie
    func FinishUnchecked(c *xgb.Conn, ContextTag ContextTag) FinishCookie
    func (cook FinishCookie) Reply() (*FinishReply, error)
type FinishReply
type Float32
type Float64
type FlushCookie
    func Flush(c *xgb.Conn, ContextTag ContextTag) FlushCookie
    func FlushChecked(c *xgb.Conn, ContextTag ContextTag) FlushCookie
    func (cook FlushCookie) Check() error
type GLXBadProfileARBError
    func (err GLXBadProfileARBError) BadId() uint32
    func (err GLXBadProfileARBError) Error() string
    func (err GLXBadProfileARBError) SequenceId() uint16
type GenListsCookie
    func GenLists(c *xgb.Conn, ContextTag ContextTag, Range int32) GenListsCookie
    func GenListsUnchecked(c *xgb.Conn, ContextTag ContextTag, Range int32) GenListsCookie
    func (cook GenListsCookie) Reply() (*GenListsReply, error)
type GenListsReply
type GenQueriesARBCookie
    func GenQueriesARB(c *xgb.Conn, ContextTag ContextTag, N int32) GenQueriesARBCookie
    func GenQueriesARBUnchecked(c *xgb.Conn, ContextTag ContextTag, N int32) GenQueriesARBCookie
    func (cook GenQueriesARBCookie) Reply() (*GenQueriesARBReply, error)
type GenQueriesARBReply
type GenTexturesCookie
    func GenTextures(c *xgb.Conn, ContextTag ContextTag, N int32) GenTexturesCookie
    func GenTexturesUnchecked(c *xgb.Conn, ContextTag ContextTag, N int32) GenTexturesCookie
    func (cook GenTexturesCookie) Reply() (*GenTexturesReply, error)
type GenTexturesReply
type GenericError
    func (err GenericError) BadId() uint32
    func (err GenericError) Error() string
    func (err GenericError) SequenceId() uint16
type GetBooleanvCookie
    func GetBooleanv(c *xgb.Conn, ContextTag ContextTag, Pname int32) GetBooleanvCookie
    func GetBooleanvUnchecked(c *xgb.Conn, ContextTag ContextTag, Pname int32) GetBooleanvCookie
    func (cook GetBooleanvCookie) Reply() (*GetBooleanvReply, error)
type GetBooleanvReply
type GetClipPlaneCookie
    func GetClipPlane(c *xgb.Conn, ContextTag ContextTag, Plane int32) GetClipPlaneCookie
    func GetClipPlaneUnchecked(c *xgb.Conn, ContextTag ContextTag, Plane int32) GetClipPlaneCookie
    func (cook GetClipPlaneCookie) Reply() (*GetClipPlaneReply, error)
type GetClipPlaneReply
type GetColorTableCookie
    func GetColorTable(c *xgb.Conn, ContextTag ContextTag, Target uint32, Format uint32, Type uint32, SwapBytes bool) GetColorTableCookie
    func GetColorTableUnchecked(c *xgb.Conn, ContextTag ContextTag, Target uint32, Format uint32, Type uint32, SwapBytes bool) GetColorTableCookie
    func (cook GetColorTableCookie) Reply() (*GetColorTableReply, error)
type GetColorTableParameterfvCookie
    func GetColorTableParameterfv(c *xgb.Conn, ContextTag ContextTag, Target uint32, Pname uint32) GetColorTableParameterfvCookie
    func GetColorTableParameterfvUnchecked(c *xgb.Conn, ContextTag ContextTag, Target uint32, Pname uint32) GetColorTableParameterfvCookie
    func (cook GetColorTableParameterfvCookie) Reply() (*GetColorTableParameterfvReply, error)
type GetColorTableParameterfvReply
type GetColorTableParameterivCookie
    func GetColorTableParameteriv(c *xgb.Conn, ContextTag ContextTag, Target uint32, Pname uint32) GetColorTableParameterivCookie
    func GetColorTableParameterivUnchecked(c *xgb.Conn, ContextTag ContextTag, Target uint32, Pname uint32) GetColorTableParameterivCookie
    func (cook GetColorTableParameterivCookie) Reply() (*GetColorTableParameterivReply, error)
type GetColorTableParameterivReply
type GetColorTableReply
type GetCompressedTexImageARBCookie
    func GetCompressedTexImageARB(c *xgb.Conn, ContextTag ContextTag, Target uint32, Level int32) GetCompressedTexImageARBCookie
    func GetCompressedTexImageARBUnchecked(c *xgb.Conn, ContextTag ContextTag, Target uint32, Level int32) GetCompressedTexImageARBCookie
    func (cook GetCompressedTexImageARBCookie) Reply() (*GetCompressedTexImageARBReply, error)
type GetCompressedTexImageARBReply
type GetConvolutionFilterCookie
    func GetConvolutionFilter(c *xgb.Conn, ContextTag ContextTag, Target uint32, Format uint32, Type uint32, SwapBytes bool) GetConvolutionFilterCookie
    func GetConvolutionFilterUnchecked(c *xgb.Conn, ContextTag ContextTag, Target uint32, Format uint32, Type uint32, SwapBytes bool) GetConvolutionFilterCookie
    func (cook GetConvolutionFilterCookie) Reply() (*GetConvolutionFilterReply, error)
type GetConvolutionFilterReply
type GetConvolutionParameterfvCookie
    func GetConvolutionParameterfv(c *xgb.Conn, ContextTag ContextTag, Target uint32, Pname uint32) GetConvolutionParameterfvCookie
    func GetConvolutionParameterfvUnchecked(c *xgb.Conn, ContextTag ContextTag, Target uint32, Pname uint32) GetConvolutionParameterfvCookie
    func (cook GetConvolutionParameterfvCookie) Reply() (*GetConvolutionParameterfvReply, error)
type GetConvolutionParameterfvReply
type GetConvolutionParameterivCookie
    func GetConvolutionParameteriv(c *xgb.Conn, ContextTag ContextTag, Target uint32, Pname uint32) GetConvolutionParameterivCookie
    func GetConvolutionParameterivUnchecked(c *xgb.Conn, ContextTag ContextTag, Target uint32, Pname uint32) GetConvolutionParameterivCookie
    func (cook GetConvolutionParameterivCookie) Reply() (*GetConvolutionParameterivReply, error)
type GetConvolutionParameterivReply
type GetDoublevCookie
    func GetDoublev(c *xgb.Conn, ContextTag ContextTag, Pname uint32) GetDoublevCookie
    func GetDoublevUnchecked(c *xgb.Conn, ContextTag ContextTag, Pname uint32) GetDoublevCookie
    func (cook GetDoublevCookie) Reply() (*GetDoublevReply, error)
type GetDoublevReply
type GetDrawableAttributesCookie
    func GetDrawableAttributes(c *xgb.Conn, Drawable Drawable) GetDrawableAttributesCookie
    func GetDrawableAttributesUnchecked(c *xgb.Conn, Drawable Drawable) GetDrawableAttributesCookie
    func (cook GetDrawableAttributesCookie) Reply() (*GetDrawableAttributesReply, error)
type GetDrawableAttributesReply
type GetErrorCookie
    func GetError(c *xgb.Conn, ContextTag ContextTag) GetErrorCookie
    func GetErrorUnchecked(c *xgb.Conn, ContextTag ContextTag) GetErrorCookie
    func (cook GetErrorCookie) Reply() (*GetErrorReply, error)
type GetErrorReply
type GetFBConfigsCookie
    func GetFBConfigs(c *xgb.Conn, Screen uint32) GetFBConfigsCookie
    func GetFBConfigsUnchecked(c *xgb.Conn, Screen uint32) GetFBConfigsCookie
    func (cook GetFBConfigsCookie) Reply() (*GetFBConfigsReply, error)
type GetFBConfigsReply
type GetFloatvCookie
    func GetFloatv(c *xgb.Conn, ContextTag ContextTag, Pname uint32) GetFloatvCookie
    func GetFloatvUnchecked(c *xgb.Conn, ContextTag ContextTag, Pname uint32) GetFloatvCookie
    func (cook GetFloatvCookie) Reply() (*GetFloatvReply, error)
type GetFloatvReply
type GetHistogramCookie
    func GetHistogram(c *xgb.Conn, ContextTag ContextTag, Target uint32, Format uint32, Type uint32, SwapBytes bool, Reset bool) GetHistogramCookie
    func GetHistogramUnchecked(c *xgb.Conn, ContextTag ContextTag, Target uint32, Format uint32, Type uint32, SwapBytes bool, Reset bool) GetHistogramCookie
    func (cook GetHistogramCookie) Reply() (*GetHistogramReply, error)
type GetHistogramParameterfvCookie
    func GetHistogramParameterfv(c *xgb.Conn, ContextTag ContextTag, Target uint32, Pname uint32) GetHistogramParameterfvCookie
    func GetHistogramParameterfvUnchecked(c *xgb.Conn, ContextTag ContextTag, Target uint32, Pname uint32) GetHistogramParameterfvCookie
    func (cook GetHistogramParameterfvCookie) Reply() (*GetHistogramParameterfvReply, error)
type GetHistogramParameterfvReply
type GetHistogramParameterivCookie
    func GetHistogramParameteriv(c *xgb.Conn, ContextTag ContextTag, Target uint32, Pname uint32) GetHistogramParameterivCookie
    func GetHistogramParameterivUnchecked(c *xgb.Conn, ContextTag ContextTag, Target uint32, Pname uint32) GetHistogramParameterivCookie
    func (cook GetHistogramParameterivCookie) Reply() (*GetHistogramParameterivReply, error)
type GetHistogramParameterivReply
type GetHistogramReply
type GetIntegervCookie
    func GetIntegerv(c *xgb.Conn, ContextTag ContextTag, Pname uint32) GetIntegervCookie
    func GetIntegervUnchecked(c *xgb.Conn, ContextTag ContextTag, Pname uint32) GetIntegervCookie
    func (cook GetIntegervCookie) Reply() (*GetIntegervReply, error)
type GetIntegervReply
type GetLightfvCookie
    func GetLightfv(c *xgb.Conn, ContextTag ContextTag, Light uint32, Pname uint32) GetLightfvCookie
    func GetLightfvUnchecked(c *xgb.Conn, ContextTag ContextTag, Light uint32, Pname uint32) GetLightfvCookie
    func (cook GetLightfvCookie) Reply() (*GetLightfvReply, error)
type GetLightfvReply
type GetLightivCookie
    func GetLightiv(c *xgb.Conn, ContextTag ContextTag, Light uint32, Pname uint32) GetLightivCookie
    func GetLightivUnchecked(c *xgb.Conn, ContextTag ContextTag, Light uint32, Pname uint32) GetLightivCookie
    func (cook GetLightivCookie) Reply() (*GetLightivReply, error)
type GetLightivReply
type GetMapdvCookie
    func GetMapdv(c *xgb.Conn, ContextTag ContextTag, Target uint32, Query uint32) GetMapdvCookie
    func GetMapdvUnchecked(c *xgb.Conn, ContextTag ContextTag, Target uint32, Query uint32) GetMapdvCookie
    func (cook GetMapdvCookie) Reply() (*GetMapdvReply, error)
type GetMapdvReply
type GetMapfvCookie
    func GetMapfv(c *xgb.Conn, ContextTag ContextTag, Target uint32, Query uint32) GetMapfvCookie
    func GetMapfvUnchecked(c *xgb.Conn, ContextTag ContextTag, Target uint32, Query uint32) GetMapfvCookie
    func (cook GetMapfvCookie) Reply() (*GetMapfvReply, error)
type GetMapfvReply
type GetMapivCookie
    func GetMapiv(c *xgb.Conn, ContextTag ContextTag, Target uint32, Query uint32) GetMapivCookie
    func GetMapivUnchecked(c *xgb.Conn, ContextTag ContextTag, Target uint32, Query uint32) GetMapivCookie
    func (cook GetMapivCookie) Reply() (*GetMapivReply, error)
type GetMapivReply
type GetMaterialfvCookie
    func GetMaterialfv(c *xgb.Conn, ContextTag ContextTag, Face uint32, Pname uint32) GetMaterialfvCookie
    func GetMaterialfvUnchecked(c *xgb.Conn, ContextTag ContextTag, Face uint32, Pname uint32) GetMaterialfvCookie
    func (cook GetMaterialfvCookie) Reply() (*GetMaterialfvReply, error)
type GetMaterialfvReply
type GetMaterialivCookie
    func GetMaterialiv(c *xgb.Conn, ContextTag ContextTag, Face uint32, Pname uint32) GetMaterialivCookie
    func GetMaterialivUnchecked(c *xgb.Conn, ContextTag ContextTag, Face uint32, Pname uint32) GetMaterialivCookie
    func (cook GetMaterialivCookie) Reply() (*GetMaterialivReply, error)
type GetMaterialivReply
type GetMinmaxCookie
    func GetMinmax(c *xgb.Conn, ContextTag ContextTag, Target uint32, Format uint32, Type uint32, SwapBytes bool, Reset bool) GetMinmaxCookie
    func GetMinmaxUnchecked(c *xgb.Conn, ContextTag ContextTag, Target uint32, Format uint32, Type uint32, SwapBytes bool, Reset bool) GetMinmaxCookie
    func (cook GetMinmaxCookie) Reply() (*GetMinmaxReply, error)
type GetMinmaxParameterfvCookie
    func GetMinmaxParameterfv(c *xgb.Conn, ContextTag ContextTag, Target uint32, Pname uint32) GetMinmaxParameterfvCookie
    func GetMinmaxParameterfvUnchecked(c *xgb.Conn, ContextTag ContextTag, Target uint32, Pname uint32) GetMinmaxParameterfvCookie
    func (cook GetMinmaxParameterfvCookie) Reply() (*GetMinmaxParameterfvReply, error)
type GetMinmaxParameterfvReply
type GetMinmaxParameterivCookie
    func GetMinmaxParameteriv(c *xgb.Conn, ContextTag ContextTag, Target uint32, Pname uint32) GetMinmaxParameterivCookie
    func GetMinmaxParameterivUnchecked(c *xgb.Conn, ContextTag ContextTag, Target uint32, Pname uint32) GetMinmaxParameterivCookie
    func (cook GetMinmaxParameterivCookie) Reply() (*GetMinmaxParameterivReply, error)
type GetMinmaxParameterivReply
type GetMinmaxReply
type GetPixelMapfvCookie
    func GetPixelMapfv(c *xgb.Conn, ContextTag ContextTag, Map uint32) GetPixelMapfvCookie
    func GetPixelMapfvUnchecked(c *xgb.Conn, ContextTag ContextTag, Map uint32) GetPixelMapfvCookie
    func (cook GetPixelMapfvCookie) Reply() (*GetPixelMapfvReply, error)
type GetPixelMapfvReply
type GetPixelMapuivCookie
    func GetPixelMapuiv(c *xgb.Conn, ContextTag ContextTag, Map uint32) GetPixelMapuivCookie
    func GetPixelMapuivUnchecked(c *xgb.Conn, ContextTag ContextTag, Map uint32) GetPixelMapuivCookie
    func (cook GetPixelMapuivCookie) Reply() (*GetPixelMapuivReply, error)
type GetPixelMapuivReply
type GetPixelMapusvCookie
    func GetPixelMapusv(c *xgb.Conn, ContextTag ContextTag, Map uint32) GetPixelMapusvCookie
    func GetPixelMapusvUnchecked(c *xgb.Conn, ContextTag ContextTag, Map uint32) GetPixelMapusvCookie
    func (cook GetPixelMapusvCookie) Reply() (*GetPixelMapusvReply, error)
type GetPixelMapusvReply
type GetPolygonStippleCookie
    func GetPolygonStipple(c *xgb.Conn, ContextTag ContextTag, LsbFirst bool) GetPolygonStippleCookie
    func GetPolygonStippleUnchecked(c *xgb.Conn, ContextTag ContextTag, LsbFirst bool) GetPolygonStippleCookie
    func (cook GetPolygonStippleCookie) Reply() (*GetPolygonStippleReply, error)
type GetPolygonStippleReply
type GetQueryObjectivARBCookie
    func GetQueryObjectivARB(c *xgb.Conn, ContextTag ContextTag, Id uint32, Pname uint32) GetQueryObjectivARBCookie
    func GetQueryObjectivARBUnchecked(c *xgb.Conn, ContextTag ContextTag, Id uint32, Pname uint32) GetQueryObjectivARBCookie
    func (cook GetQueryObjectivARBCookie) Reply() (*GetQueryObjectivARBReply, error)
type GetQueryObjectivARBReply
type GetQueryObjectuivARBCookie
    func GetQueryObjectuivARB(c *xgb.Conn, ContextTag ContextTag, Id uint32, Pname uint32) GetQueryObjectuivARBCookie
    func GetQueryObjectuivARBUnchecked(c *xgb.Conn, ContextTag ContextTag, Id uint32, Pname uint32) GetQueryObjectuivARBCookie
    func (cook GetQueryObjectuivARBCookie) Reply() (*GetQueryObjectuivARBReply, error)
type GetQueryObjectuivARBReply
type GetQueryivARBCookie
    func GetQueryivARB(c *xgb.Conn, ContextTag ContextTag, Target uint32, Pname uint32) GetQueryivARBCookie
    func GetQueryivARBUnchecked(c *xgb.Conn, ContextTag ContextTag, Target uint32, Pname uint32) GetQueryivARBCookie
    func (cook GetQueryivARBCookie) Reply() (*GetQueryivARBReply, error)
type GetQueryivARBReply
type GetSeparableFilterCookie
    func GetSeparableFilter(c *xgb.Conn, ContextTag ContextTag, Target uint32, Format uint32, Type uint32, SwapBytes bool) GetSeparableFilterCookie
    func GetSeparableFilterUnchecked(c *xgb.Conn, ContextTag ContextTag, Target uint32, Format uint32, Type uint32, SwapBytes bool) GetSeparableFilterCookie
    func (cook GetSeparableFilterCookie) Reply() (*GetSeparableFilterReply, error)
type GetSeparableFilterReply
type GetStringCookie
    func GetString(c *xgb.Conn, ContextTag ContextTag, Name uint32) GetStringCookie
    func GetStringUnchecked(c *xgb.Conn, ContextTag ContextTag, Name uint32) GetStringCookie
    func (cook GetStringCookie) Reply() (*GetStringReply, error)
type GetStringReply
type GetTexEnvfvCookie
    func GetTexEnvfv(c *xgb.Conn, ContextTag ContextTag, Target uint32, Pname uint32) GetTexEnvfvCookie
    func GetTexEnvfvUnchecked(c *xgb.Conn, ContextTag ContextTag, Target uint32, Pname uint32) GetTexEnvfvCookie
    func (cook GetTexEnvfvCookie) Reply() (*GetTexEnvfvReply, error)
type GetTexEnvfvReply
type GetTexEnvivCookie
    func GetTexEnviv(c *xgb.Conn, ContextTag ContextTag, Target uint32, Pname uint32) GetTexEnvivCookie
    func GetTexEnvivUnchecked(c *xgb.Conn, ContextTag ContextTag, Target uint32, Pname uint32) GetTexEnvivCookie
    func (cook GetTexEnvivCookie) Reply() (*GetTexEnvivReply, error)
type GetTexEnvivReply
type GetTexGendvCookie
    func GetTexGendv(c *xgb.Conn, ContextTag ContextTag, Coord uint32, Pname uint32) GetTexGendvCookie
    func GetTexGendvUnchecked(c *xgb.Conn, ContextTag ContextTag, Coord uint32, Pname uint32) GetTexGendvCookie
    func (cook GetTexGendvCookie) Reply() (*GetTexGendvReply, error)
type GetTexGendvReply
type GetTexGenfvCookie
    func GetTexGenfv(c *xgb.Conn, ContextTag ContextTag, Coord uint32, Pname uint32) GetTexGenfvCookie
    func GetTexGenfvUnchecked(c *xgb.Conn, ContextTag ContextTag, Coord uint32, Pname uint32) GetTexGenfvCookie
    func (cook GetTexGenfvCookie) Reply() (*GetTexGenfvReply, error)
type GetTexGenfvReply
type GetTexGenivCookie
    func GetTexGeniv(c *xgb.Conn, ContextTag ContextTag, Coord uint32, Pname uint32) GetTexGenivCookie
    func GetTexGenivUnchecked(c *xgb.Conn, ContextTag ContextTag, Coord uint32, Pname uint32) GetTexGenivCookie
    func (cook GetTexGenivCookie) Reply() (*GetTexGenivReply, error)
type GetTexGenivReply
type GetTexImageCookie
    func GetTexImage(c *xgb.Conn, ContextTag ContextTag, Target uint32, Level int32, Format uint32, Type uint32, SwapBytes bool) GetTexImageCookie
    func GetTexImageUnchecked(c *xgb.Conn, ContextTag ContextTag, Target uint32, Level int32, Format uint32, Type uint32, SwapBytes bool) GetTexImageCookie
    func (cook GetTexImageCookie) Reply() (*GetTexImageReply, error)
type GetTexImageReply
type GetTexLevelParameterfvCookie
    func GetTexLevelParameterfv(c *xgb.Conn, ContextTag ContextTag, Target uint32, Level int32, Pname uint32) GetTexLevelParameterfvCookie
    func GetTexLevelParameterfvUnchecked(c *xgb.Conn, ContextTag ContextTag, Target uint32, Level int32, Pname uint32) GetTexLevelParameterfvCookie
    func (cook GetTexLevelParameterfvCookie) Reply() (*GetTexLevelParameterfvReply, error)
type GetTexLevelParameterfvReply
type GetTexLevelParameterivCookie
    func GetTexLevelParameteriv(c *xgb.Conn, ContextTag ContextTag, Target uint32, Level int32, Pname uint32) GetTexLevelParameterivCookie
    func GetTexLevelParameterivUnchecked(c *xgb.Conn, ContextTag ContextTag, Target uint32, Level int32, Pname uint32) GetTexLevelParameterivCookie
    func (cook GetTexLevelParameterivCookie) Reply() (*GetTexLevelParameterivReply, error)
type GetTexLevelParameterivReply
type GetTexParameterfvCookie
    func GetTexParameterfv(c *xgb.Conn, ContextTag ContextTag, Target uint32, Pname uint32) GetTexParameterfvCookie
    func GetTexParameterfvUnchecked(c *xgb.Conn, ContextTag ContextTag, Target uint32, Pname uint32) GetTexParameterfvCookie
    func (cook GetTexParameterfvCookie) Reply() (*GetTexParameterfvReply, error)
type GetTexParameterfvReply
type GetTexParameterivCookie
    func GetTexParameteriv(c *xgb.Conn, ContextTag ContextTag, Target uint32, Pname uint32) GetTexParameterivCookie
    func GetTexParameterivUnchecked(c *xgb.Conn, ContextTag ContextTag, Target uint32, Pname uint32) GetTexParameterivCookie
    func (cook GetTexParameterivCookie) Reply() (*GetTexParameterivReply, error)
type GetTexParameterivReply
type GetVisualConfigsCookie
    func GetVisualConfigs(c *xgb.Conn, Screen uint32) GetVisualConfigsCookie
    func GetVisualConfigsUnchecked(c *xgb.Conn, Screen uint32) GetVisualConfigsCookie
    func (cook GetVisualConfigsCookie) Reply() (*GetVisualConfigsReply, error)
type GetVisualConfigsReply
type IsDirectCookie
    func IsDirect(c *xgb.Conn, Context Context) IsDirectCookie
    func IsDirectUnchecked(c *xgb.Conn, Context Context) IsDirectCookie
    func (cook IsDirectCookie) Reply() (*IsDirectReply, error)
type IsDirectReply
type IsListCookie
    func IsList(c *xgb.Conn, ContextTag ContextTag, List uint32) IsListCookie
    func IsListUnchecked(c *xgb.Conn, ContextTag ContextTag, List uint32) IsListCookie
    func (cook IsListCookie) Reply() (*IsListReply, error)
type IsListReply
type IsQueryARBCookie
    func IsQueryARB(c *xgb.Conn, ContextTag ContextTag, Id uint32) IsQueryARBCookie
    func IsQueryARBUnchecked(c *xgb.Conn, ContextTag ContextTag, Id uint32) IsQueryARBCookie
    func (cook IsQueryARBCookie) Reply() (*IsQueryARBReply, error)
type IsQueryARBReply
type IsTextureCookie
    func IsTexture(c *xgb.Conn, ContextTag ContextTag, Texture uint32) IsTextureCookie
    func IsTextureUnchecked(c *xgb.Conn, ContextTag ContextTag, Texture uint32) IsTextureCookie
    func (cook IsTextureCookie) Reply() (*IsTextureReply, error)
type IsTextureReply
type MakeContextCurrentCookie
    func MakeContextCurrent(c *xgb.Conn, OldContextTag ContextTag, Drawable Drawable, ReadDrawable Drawable, Context Context) MakeContextCurrentCookie
    func MakeContextCurrentUnchecked(c *xgb.Conn, OldContextTag ContextTag, Drawable Drawable, ReadDrawable Drawable, Context Context) MakeContextCurrentCookie
    func (cook MakeContextCurrentCookie) Reply() (*MakeContextCurrentReply, error)
type MakeContextCurrentReply
type MakeCurrentCookie
    func MakeCurrent(c *xgb.Conn, Drawable Drawable, Context Context, OldContextTag ContextTag) MakeCurrentCookie
    func MakeCurrentUnchecked(c *xgb.Conn, Drawable Drawable, Context Context, OldContextTag ContextTag) MakeCurrentCookie
    func (cook MakeCurrentCookie) Reply() (*MakeCurrentReply, error)
type MakeCurrentReply
type NewListCookie
    func NewList(c *xgb.Conn, ContextTag ContextTag, List uint32, Mode uint32) NewListCookie
    func NewListChecked(c *xgb.Conn, ContextTag ContextTag, List uint32, Mode uint32) NewListCookie
    func (cook NewListCookie) Check() error
type Pbuffer
    func NewPbufferId(c *xgb.Conn) (Pbuffer, error)
type PbufferClobberEvent
    func (v PbufferClobberEvent) Bytes() []byte
    func (v PbufferClobberEvent) SequenceId() uint16
    func (v PbufferClobberEvent) String() string
type PixelStorefCookie
    func PixelStoref(c *xgb.Conn, ContextTag ContextTag, Pname uint32, Datum Float32) PixelStorefCookie
    func PixelStorefChecked(c *xgb.Conn, ContextTag ContextTag, Pname uint32, Datum Float32) PixelStorefCookie
    func (cook PixelStorefCookie) Check() error
type PixelStoreiCookie
    func PixelStorei(c *xgb.Conn, ContextTag ContextTag, Pname uint32, Datum int32) PixelStoreiCookie
    func PixelStoreiChecked(c *xgb.Conn, ContextTag ContextTag, Pname uint32, Datum int32) PixelStoreiCookie
    func (cook PixelStoreiCookie) Check() error
type Pixmap
    func NewPixmapId(c *xgb.Conn) (Pixmap, error)
type QueryContextCookie
    func QueryContext(c *xgb.Conn, Context Context) QueryContextCookie
    func QueryContextUnchecked(c *xgb.Conn, Context Context) QueryContextCookie
    func (cook QueryContextCookie) Reply() (*QueryContextReply, error)
type QueryContextReply
type QueryExtensionsStringCookie
    func QueryExtensionsString(c *xgb.Conn, Screen uint32) QueryExtensionsStringCookie
    func QueryExtensionsStringUnchecked(c *xgb.Conn, Screen uint32) QueryExtensionsStringCookie
    func (cook QueryExtensionsStringCookie) Reply() (*QueryExtensionsStringReply, error)
type QueryExtensionsStringReply
type QueryServerStringCookie
    func QueryServerString(c *xgb.Conn, Screen uint32, Name uint32) QueryServerStringCookie
    func QueryServerStringUnchecked(c *xgb.Conn, Screen uint32, Name uint32) QueryServerStringCookie
    func (cook QueryServerStringCookie) Reply() (*QueryServerStringReply, error)
type QueryServerStringReply
type QueryVersionCookie
    func QueryVersion(c *xgb.Conn, MajorVersion uint32, MinorVersion uint32) QueryVersionCookie
    func QueryVersionUnchecked(c *xgb.Conn, MajorVersion uint32, MinorVersion uint32) QueryVersionCookie
    func (cook QueryVersionCookie) Reply() (*QueryVersionReply, error)
type QueryVersionReply
type ReadPixelsCookie
    func ReadPixels(c *xgb.Conn, ContextTag ContextTag, X int32, Y int32, Width int32, Height int32, Format uint32, Type uint32, SwapBytes bool, LsbFirst bool) ReadPixelsCookie
    func ReadPixelsUnchecked(c *xgb.Conn, ContextTag ContextTag, X int32, Y int32, Width int32, Height int32, Format uint32, Type uint32, SwapBytes bool, LsbFirst bool) ReadPixelsCookie
    func (cook ReadPixelsCookie) Reply() (*ReadPixelsReply, error)
type ReadPixelsReply
type RenderCookie
    func Render(c *xgb.Conn, ContextTag ContextTag, Data []byte) RenderCookie
    func RenderChecked(c *xgb.Conn, ContextTag ContextTag, Data []byte) RenderCookie
    func (cook RenderCookie) Check() error
type RenderLargeCookie
    func RenderLarge(c *xgb.Conn, ContextTag ContextTag, RequestNum uint16, RequestTotal uint16, DataLen uint32, Data []byte) RenderLargeCookie
    func RenderLargeChecked(c *xgb.Conn, ContextTag ContextTag, RequestNum uint16, RequestTotal uint16, DataLen uint32, Data []byte) RenderLargeCookie
    func (cook RenderLargeCookie) Check() error
type RenderModeCookie
    func RenderMode(c *xgb.Conn, ContextTag ContextTag, Mode uint32) RenderModeCookie
    func RenderModeUnchecked(c *xgb.Conn, ContextTag ContextTag, Mode uint32) RenderModeCookie
    func (cook RenderModeCookie) Reply() (*RenderModeReply, error)
type RenderModeReply
type SelectBufferCookie
    func SelectBuffer(c *xgb.Conn, ContextTag ContextTag, Size int32) SelectBufferCookie
    func SelectBufferChecked(c *xgb.Conn, ContextTag ContextTag, Size int32) SelectBufferCookie
    func (cook SelectBufferCookie) Check() error
type SetClientInfo2ARBCookie
    func SetClientInfo2ARB(c *xgb.Conn, MajorVersion uint32, MinorVersion uint32, NumVersions uint32, GlStrLen uint32, GlxStrLen uint32, GlVersions []uint32, GlExtensionString string, GlxExtensionString string) SetClientInfo2ARBCookie
    func SetClientInfo2ARBChecked(c *xgb.Conn, MajorVersion uint32, MinorVersion uint32, NumVersions uint32, GlStrLen uint32, GlxStrLen uint32, GlVersions []uint32, GlExtensionString string, GlxExtensionString string) SetClientInfo2ARBCookie
    func (cook SetClientInfo2ARBCookie) Check() error
type SetClientInfoARBCookie
    func SetClientInfoARB(c *xgb.Conn, MajorVersion uint32, MinorVersion uint32, NumVersions uint32, GlStrLen uint32, GlxStrLen uint32, GlVersions []uint32, GlExtensionString string, GlxExtensionString string) SetClientInfoARBCookie
    func SetClientInfoARBChecked(c *xgb.Conn, MajorVersion uint32, MinorVersion uint32, NumVersions uint32, GlStrLen uint32, GlxStrLen uint32, GlVersions []uint32, GlExtensionString string, GlxExtensionString string) SetClientInfoARBCookie
    func (cook SetClientInfoARBCookie) Check() error
type SwapBuffersCookie
    func SwapBuffers(c *xgb.Conn, ContextTag ContextTag, Drawable Drawable) SwapBuffersCookie
    func SwapBuffersChecked(c *xgb.Conn, ContextTag ContextTag, Drawable Drawable) SwapBuffersCookie
    func (cook SwapBuffersCookie) Check() error
type UnsupportedPrivateRequestError
    func (err UnsupportedPrivateRequestError) BadId() uint32
    func (err UnsupportedPrivateRequestError) Error() string
    func (err UnsupportedPrivateRequestError) SequenceId() uint16
type UseXFontCookie
    func UseXFont(c *xgb.Conn, ContextTag ContextTag, Font xproto.Font, First uint32, Count uint32, ListBase uint32) UseXFontCookie
    func UseXFontChecked(c *xgb.Conn, ContextTag ContextTag, Font xproto.Font, First uint32, Count uint32, ListBase uint32) UseXFontCookie
    func (cook UseXFontCookie) Check() error
type VendorPrivateCookie
    func VendorPrivate(c *xgb.Conn, VendorCode uint32, ContextTag ContextTag, Data []byte) VendorPrivateCookie
    func VendorPrivateChecked(c *xgb.Conn, VendorCode uint32, ContextTag ContextTag, Data []byte) VendorPrivateCookie
    func (cook VendorPrivateCookie) Check() error
type VendorPrivateWithReplyCookie
    func VendorPrivateWithReply(c *xgb.Conn, VendorCode uint32, ContextTag ContextTag, Data []byte) VendorPrivateWithReplyCookie
    func VendorPrivateWithReplyUnchecked(c *xgb.Conn, VendorCode uint32, ContextTag ContextTag, Data []byte) VendorPrivateWithReplyCookie
    func (cook VendorPrivateWithReplyCookie) Reply() (*VendorPrivateWithReplyReply, error)
type VendorPrivateWithReplyReply
type WaitGLCookie
    func WaitGL(c *xgb.Conn, ContextTag ContextTag) WaitGLCookie
    func WaitGLChecked(c *xgb.Conn, ContextTag ContextTag) WaitGLCookie
    func (cook WaitGLCookie) Check() error
type WaitXCookie
    func WaitX(c *xgb.Conn, ContextTag ContextTag) WaitXCookie
    func WaitXChecked(c *xgb.Conn, ContextTag ContextTag) WaitXCookie
    func (cook WaitXCookie) Check() error
type Window
    func NewWindowId(c *xgb.Conn) (Window, error)

Package files

glx.go

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
)

BadBadContext is the error number for a BadBadContext.

const BadBadContext = 0

BadBadContextState is the error number for a BadBadContextState.

const BadBadContextState = 1

BadBadContextTag is the error number for a BadBadContextTag.

const BadBadContextTag = 4

BadBadCurrentDrawable is the error number for a BadBadCurrentDrawable.

const BadBadCurrentDrawable = 11

BadBadCurrentWindow is the error number for a BadBadCurrentWindow.

const BadBadCurrentWindow = 5

BadBadDrawable is the error number for a BadBadDrawable.

const BadBadDrawable = 2

BadBadFBConfig is the error number for a BadBadFBConfig.

const BadBadFBConfig = 9

BadBadLargeRequest is the error number for a BadBadLargeRequest.

const BadBadLargeRequest = 7

BadBadPbuffer is the error number for a BadBadPbuffer.

const BadBadPbuffer = 10

BadBadPixmap is the error number for a BadBadPixmap.

const BadBadPixmap = 3

BadBadRenderRequest is the error number for a BadBadRenderRequest.

const BadBadRenderRequest = 6

BadBadWindow is the error number for a BadBadWindow.

const BadBadWindow = 12

BadGLXBadProfileARB is the error number for a BadGLXBadProfileARB.

const BadGLXBadProfileARB = 13

BadGeneric is the error number for a BadGeneric.

const BadGeneric = -1

BadUnsupportedPrivateRequest is the error number for a BadUnsupportedPrivateRequest.

const BadUnsupportedPrivateRequest = 8

BufferSwapComplete is the event number for a BufferSwapCompleteEvent.

const BufferSwapComplete = 1

PbufferClobber is the event number for a PbufferClobberEvent.

const PbufferClobber = 0

func BadContextErrorNew

func BadContextErrorNew(buf []byte) xgb.Error

BadContextErrorNew constructs a BadContextError value that implements xgb.Error from a byte slice.

func BadContextStateErrorNew

func BadContextStateErrorNew(buf []byte) xgb.Error

BadContextStateErrorNew constructs a BadContextStateError value that implements xgb.Error from a byte slice.

func BadContextTagErrorNew

func BadContextTagErrorNew(buf []byte) xgb.Error

BadContextTagErrorNew constructs a BadContextTagError value that implements xgb.Error from a byte slice.

func BadCurrentDrawableErrorNew

func BadCurrentDrawableErrorNew(buf []byte) xgb.Error

BadCurrentDrawableErrorNew constructs a BadCurrentDrawableError value that implements xgb.Error from a byte slice.

func BadCurrentWindowErrorNew

func BadCurrentWindowErrorNew(buf []byte) xgb.Error

BadCurrentWindowErrorNew constructs a BadCurrentWindowError value that implements xgb.Error from a byte slice.

func BadDrawableErrorNew

func BadDrawableErrorNew(buf []byte) xgb.Error

BadDrawableErrorNew constructs a BadDrawableError value that implements xgb.Error from a byte slice.

func BadFBConfigErrorNew

func BadFBConfigErrorNew(buf []byte) xgb.Error

BadFBConfigErrorNew constructs a BadFBConfigError value that implements xgb.Error from a byte slice.

func BadLargeRequestErrorNew

func BadLargeRequestErrorNew(buf []byte) xgb.Error

BadLargeRequestErrorNew constructs a BadLargeRequestError value that implements xgb.Error from a byte slice.

func BadPbufferErrorNew

func BadPbufferErrorNew(buf []byte) xgb.Error

BadPbufferErrorNew constructs a BadPbufferError value that implements xgb.Error from a byte slice.

func BadPixmapErrorNew

func BadPixmapErrorNew(buf []byte) xgb.Error

BadPixmapErrorNew constructs a BadPixmapError value that implements xgb.Error from a byte slice.

func BadRenderRequestErrorNew

func BadRenderRequestErrorNew(buf []byte) xgb.Error

BadRenderRequestErrorNew constructs a BadRenderRequestError value that implements xgb.Error from a byte slice.

func BadWindowErrorNew

func BadWindowErrorNew(buf []byte) xgb.Error

BadWindowErrorNew constructs a BadWindowError value that implements xgb.Error from a byte slice.

func BufferSwapCompleteEventNew

func BufferSwapCompleteEventNew(buf []byte) xgb.Event

BufferSwapCompleteEventNew constructs a BufferSwapCompleteEvent value that implements xgb.Event from a byte slice.

func GLXBadProfileARBErrorNew

func GLXBadProfileARBErrorNew(buf []byte) xgb.Error

GLXBadProfileARBErrorNew constructs a GLXBadProfileARBError value that implements xgb.Error from a byte slice.

func GenericErrorNew

func GenericErrorNew(buf []byte) xgb.Error

GenericErrorNew constructs a GenericError value that implements xgb.Error from a byte slice.

func Init

func Init(c *xgb.Conn) error

Init must be called before using the GLX extension.

func PbufferClobberEventNew

func PbufferClobberEventNew(buf []byte) xgb.Event

PbufferClobberEventNew constructs a PbufferClobberEvent value that implements xgb.Event from a byte slice.

func UnsupportedPrivateRequestErrorNew

func UnsupportedPrivateRequestErrorNew(buf []byte) xgb.Error

UnsupportedPrivateRequestErrorNew constructs a UnsupportedPrivateRequestError value that implements xgb.Error from a byte slice.

type AreTexturesResidentCookie

AreTexturesResidentCookie is a cookie used only for AreTexturesResident requests.

type AreTexturesResidentCookie struct {
    *xgb.Cookie
}

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

AreTexturesResidentReply represents the data returned from a AreTexturesResident request.

type AreTexturesResidentReply struct {
    Sequence uint16 // sequence number of the request for this reply
    Length   uint32 // number of bytes in this reply
    // padding: 1 bytes
    RetVal Bool32
    // padding: 20 bytes
    Data []bool // size: xgb.Pad(((int(Length) * 4) * 1))
}

type BadContextError

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 Bool32

type Bool32 uint32

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.

type ChangeDrawableAttributesCookie struct {
    *xgb.Cookie
}

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.

type ClientInfoCookie struct {
    *xgb.Cookie
}

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 Context

type Context uint32

func NewContextId

func NewContextId(c *xgb.Conn) (Context, error)

type ContextTag

type ContextTag uint32

type CopyContextCookie

CopyContextCookie is a cookie used only for CopyContext requests.

type CopyContextCookie struct {
    *xgb.Cookie
}

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.

type CreateContextAttribsARBCookie struct {
    *xgb.Cookie
}

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.

type CreateContextCookie struct {
    *xgb.Cookie
}

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.

type CreateGLXPixmapCookie struct {
    *xgb.Cookie
}

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.

type CreateNewContextCookie struct {
    *xgb.Cookie
}

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.

type CreatePbufferCookie struct {
    *xgb.Cookie
}

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.

type CreatePixmapCookie struct {
    *xgb.Cookie
}

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.

type CreateWindowCookie struct {
    *xgb.Cookie
}

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.

type DeleteListsCookie struct {
    *xgb.Cookie
}

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.

type DeleteQueriesARBCookie struct {
    *xgb.Cookie
}

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.

type DeleteTexturesCookie struct {
    *xgb.Cookie
}

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.

type DeleteWindowCookie struct {
    *xgb.Cookie
}

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.

type DestroyContextCookie struct {
    *xgb.Cookie
}

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.

type DestroyGLXPixmapCookie struct {
    *xgb.Cookie
}

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.

type DestroyPbufferCookie struct {
    *xgb.Cookie
}

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.

type DestroyPixmapCookie struct {
    *xgb.Cookie
}

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 Drawable

type Drawable uint32

func NewDrawableId

func NewDrawableId(c *xgb.Conn) (Drawable, error)

type EndListCookie

EndListCookie is a cookie used only for EndList requests.

type EndListCookie struct {
    *xgb.Cookie
}

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 Fbconfig

type Fbconfig uint32

func NewFbconfigId

func NewFbconfigId(c *xgb.Conn) (Fbconfig, error)

type FeedbackBufferCookie

FeedbackBufferCookie is a cookie used only for FeedbackBuffer requests.

type FeedbackBufferCookie struct {
    *xgb.Cookie
}

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.

type FinishCookie struct {
    *xgb.Cookie
}

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

FinishReply represents the data returned from a Finish request.

type FinishReply struct {
    Sequence uint16 // sequence number of the request for this reply
    Length   uint32 // number of bytes in this reply

}

type Float32

type Float32 float64

type Float64

type Float64 float64

type FlushCookie

FlushCookie is a cookie used only for Flush requests.

type FlushCookie struct {
    *xgb.Cookie
}

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.

type GenListsCookie struct {
    *xgb.Cookie
}

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

GenListsReply represents the data returned from a GenLists request.

type GenListsReply struct {
    Sequence uint16 // sequence number of the request for this reply
    Length   uint32 // number of bytes in this reply
    // padding: 1 bytes
    RetVal uint32
}

type GenQueriesARBCookie

GenQueriesARBCookie is a cookie used only for GenQueriesARB requests.

type GenQueriesARBCookie struct {
    *xgb.Cookie
}

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

GenQueriesARBReply represents the data returned from a GenQueriesARB request.

type GenQueriesARBReply struct {
    Sequence uint16 // sequence number of the request for this reply
    Length   uint32 // number of bytes in this reply
    // padding: 1 bytes
    // padding: 24 bytes
    Data []uint32 // size: xgb.Pad((int(Length) * 4))
}

type GenTexturesCookie

GenTexturesCookie is a cookie used only for GenTextures requests.

type GenTexturesCookie struct {
    *xgb.Cookie
}

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

GenTexturesReply represents the data returned from a GenTextures request.

type GenTexturesReply struct {
    Sequence uint16 // sequence number of the request for this reply
    Length   uint32 // number of bytes in this reply
    // padding: 1 bytes
    // padding: 24 bytes
    Data []uint32 // size: xgb.Pad((int(Length) * 4))
}

type GenericError

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.

type GetBooleanvCookie struct {
    *xgb.Cookie
}

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

GetBooleanvReply represents the data returned from a GetBooleanv request.

type GetBooleanvReply struct {
    Sequence uint16 // sequence number of the request for this reply
    Length   uint32 // number of bytes in this reply
    // padding: 1 bytes
    // padding: 4 bytes
    N     uint32
    Datum bool
    // padding: 15 bytes
    Data []bool // size: xgb.Pad((int(N) * 1))
}

type GetClipPlaneCookie

GetClipPlaneCookie is a cookie used only for GetClipPlane requests.

type GetClipPlaneCookie struct {
    *xgb.Cookie
}

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

GetClipPlaneReply represents the data returned from a GetClipPlane request.

type GetClipPlaneReply struct {
    Sequence uint16 // sequence number of the request for this reply
    Length   uint32 // number of bytes in this reply
    // padding: 1 bytes
    // padding: 24 bytes
    Data []Float64 // size: xgb.Pad(((int(Length) / 2) * 8))
}

type GetColorTableCookie

GetColorTableCookie is a cookie used only for GetColorTable requests.

type GetColorTableCookie struct {
    *xgb.Cookie
}

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.

type GetColorTableParameterfvCookie struct {
    *xgb.Cookie
}

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

GetColorTableParameterfvReply represents the data returned from a GetColorTableParameterfv request.

type GetColorTableParameterfvReply struct {
    Sequence uint16 // sequence number of the request for this reply
    Length   uint32 // number of bytes in this reply
    // padding: 1 bytes
    // padding: 4 bytes
    N     uint32
    Datum Float32
    // padding: 12 bytes
    Data []Float32 // size: xgb.Pad((int(N) * 4))
}

type GetColorTableParameterivCookie

GetColorTableParameterivCookie is a cookie used only for GetColorTableParameteriv requests.

type GetColorTableParameterivCookie struct {
    *xgb.Cookie
}

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

GetColorTableParameterivReply represents the data returned from a GetColorTableParameteriv request.

type GetColorTableParameterivReply struct {
    Sequence uint16 // sequence number of the request for this reply
    Length   uint32 // number of bytes in this reply
    // padding: 1 bytes
    // padding: 4 bytes
    N     uint32
    Datum int32
    // padding: 12 bytes
    Data []int32 // size: xgb.Pad((int(N) * 4))
}

type GetColorTableReply

GetColorTableReply represents the data returned from a GetColorTable request.

type GetColorTableReply struct {
    Sequence uint16 // sequence number of the request for this reply
    Length   uint32 // number of bytes in this reply
    // padding: 1 bytes
    // padding: 8 bytes
    Width int32
    // padding: 12 bytes
    Data []byte // size: xgb.Pad(((int(Length) * 4) * 1))
}

type GetCompressedTexImageARBCookie

GetCompressedTexImageARBCookie is a cookie used only for GetCompressedTexImageARB requests.

type GetCompressedTexImageARBCookie struct {
    *xgb.Cookie
}

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

GetCompressedTexImageARBReply represents the data returned from a GetCompressedTexImageARB request.

type GetCompressedTexImageARBReply struct {
    Sequence uint16 // sequence number of the request for this reply
    Length   uint32 // number of bytes in this reply
    // padding: 1 bytes
    // padding: 8 bytes
    Size int32
    // padding: 12 bytes
    Data []byte // size: xgb.Pad(((int(Length) * 4) * 1))
}

type GetConvolutionFilterCookie

GetConvolutionFilterCookie is a cookie used only for GetConvolutionFilter requests.

type GetConvolutionFilterCookie struct {
    *xgb.Cookie
}

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

GetConvolutionFilterReply represents the data returned from a GetConvolutionFilter request.

type GetConvolutionFilterReply struct {
    Sequence uint16 // sequence number of the request for this reply
    Length   uint32 // number of bytes in this reply
    // padding: 1 bytes
    // padding: 8 bytes
    Width  int32
    Height int32
    // padding: 8 bytes
    Data []byte // size: xgb.Pad(((int(Length) * 4) * 1))
}

type GetConvolutionParameterfvCookie

GetConvolutionParameterfvCookie is a cookie used only for GetConvolutionParameterfv requests.

type GetConvolutionParameterfvCookie struct {
    *xgb.Cookie
}

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

GetConvolutionParameterfvReply represents the data returned from a GetConvolutionParameterfv request.

type GetConvolutionParameterfvReply struct {
    Sequence uint16 // sequence number of the request for this reply
    Length   uint32 // number of bytes in this reply
    // padding: 1 bytes
    // padding: 4 bytes
    N     uint32
    Datum Float32
    // padding: 12 bytes
    Data []Float32 // size: xgb.Pad((int(N) * 4))
}

type GetConvolutionParameterivCookie

GetConvolutionParameterivCookie is a cookie used only for GetConvolutionParameteriv requests.

type GetConvolutionParameterivCookie struct {
    *xgb.Cookie
}

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

GetConvolutionParameterivReply represents the data returned from a GetConvolutionParameteriv request.

type GetConvolutionParameterivReply struct {
    Sequence uint16 // sequence number of the request for this reply
    Length   uint32 // number of bytes in this reply
    // padding: 1 bytes
    // padding: 4 bytes
    N     uint32
    Datum int32
    // padding: 12 bytes
    Data []int32 // size: xgb.Pad((int(N) * 4))
}

type GetDoublevCookie

GetDoublevCookie is a cookie used only for GetDoublev requests.

type GetDoublevCookie struct {
    *xgb.Cookie
}

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

GetDoublevReply represents the data returned from a GetDoublev request.

type GetDoublevReply struct {
    Sequence uint16 // sequence number of the request for this reply
    Length   uint32 // number of bytes in this reply
    // padding: 1 bytes
    // padding: 4 bytes
    N     uint32
    Datum Float64
    // padding: 8 bytes
    Data []Float64 // size: xgb.Pad((int(N) * 8))
}

type GetDrawableAttributesCookie

GetDrawableAttributesCookie is a cookie used only for GetDrawableAttributes requests.

type GetDrawableAttributesCookie struct {
    *xgb.Cookie
}

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

GetDrawableAttributesReply represents the data returned from a GetDrawableAttributes request.

type GetDrawableAttributesReply struct {
    Sequence uint16 // sequence number of the request for this reply
    Length   uint32 // number of bytes in this reply
    // padding: 1 bytes
    NumAttribs uint32
    // padding: 20 bytes
    Attribs []uint32 // size: xgb.Pad(((int(NumAttribs) * 2) * 4))
}

type GetErrorCookie

GetErrorCookie is a cookie used only for GetError requests.

type GetErrorCookie struct {
    *xgb.Cookie
}

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

GetErrorReply represents the data returned from a GetError request.

type GetErrorReply struct {
    Sequence uint16 // sequence number of the request for this reply
    Length   uint32 // number of bytes in this reply
    // padding: 1 bytes
    Error int32
}

type GetFBConfigsCookie

GetFBConfigsCookie is a cookie used only for GetFBConfigs requests.

type GetFBConfigsCookie struct {
    *xgb.Cookie
}

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

GetFBConfigsReply represents the data returned from a GetFBConfigs request.

type GetFBConfigsReply struct {
    Sequence uint16 // sequence number of the request for this reply
    Length   uint32 // number of bytes in this reply
    // padding: 1 bytes
    NumFbConfigs  uint32
    NumProperties uint32
    // padding: 16 bytes
    PropertyList []uint32 // size: xgb.Pad((int(Length) * 4))
}

type GetFloatvCookie

GetFloatvCookie is a cookie used only for GetFloatv requests.

type GetFloatvCookie struct {
    *xgb.Cookie
}

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

GetFloatvReply represents the data returned from a GetFloatv request.

type GetFloatvReply struct {
    Sequence uint16 // sequence number of the request for this reply
    Length   uint32 // number of bytes in this reply
    // padding: 1 bytes
    // padding: 4 bytes
    N     uint32
    Datum Float32
    // padding: 12 bytes
    Data []Float32 // size: xgb.Pad((int(N) * 4))
}

type GetHistogramCookie

GetHistogramCookie is a cookie used only for GetHistogram requests.

type GetHistogramCookie struct {
    *xgb.Cookie
}

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.

type GetHistogramParameterfvCookie struct {
    *xgb.Cookie
}

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

GetHistogramParameterfvReply represents the data returned from a GetHistogramParameterfv request.

type GetHistogramParameterfvReply struct {
    Sequence uint16 // sequence number of the request for this reply
    Length   uint32 // number of bytes in this reply
    // padding: 1 bytes
    // padding: 4 bytes
    N     uint32
    Datum Float32
    // padding: 12 bytes
    Data []Float32 // size: xgb.Pad((int(N) * 4))
}

type GetHistogramParameterivCookie

GetHistogramParameterivCookie is a cookie used only for GetHistogramParameteriv requests.

type GetHistogramParameterivCookie struct {
    *xgb.Cookie
}

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

GetHistogramParameterivReply represents the data returned from a GetHistogramParameteriv request.

type GetHistogramParameterivReply struct {
    Sequence uint16 // sequence number of the request for this reply
    Length   uint32 // number of bytes in this reply
    // padding: 1 bytes
    // padding: 4 bytes
    N     uint32
    Datum int32
    // padding: 12 bytes
    Data []int32 // size: xgb.Pad((int(N) * 4))
}

type GetHistogramReply

GetHistogramReply represents the data returned from a GetHistogram request.

type GetHistogramReply struct {
    Sequence uint16 // sequence number of the request for this reply
    Length   uint32 // number of bytes in this reply
    // padding: 1 bytes
    // padding: 8 bytes
    Width int32
    // padding: 12 bytes
    Data []byte // size: xgb.Pad(((int(Length) * 4) * 1))
}

type GetIntegervCookie

GetIntegervCookie is a cookie used only for GetIntegerv requests.

type GetIntegervCookie struct {
    *xgb.Cookie
}

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

GetIntegervReply represents the data returned from a GetIntegerv request.

type GetIntegervReply struct {
    Sequence uint16 // sequence number of the request for this reply
    Length   uint32 // number of bytes in this reply
    // padding: 1 bytes
    // padding: 4 bytes
    N     uint32
    Datum int32
    // padding: 12 bytes
    Data []int32 // size: xgb.Pad((int(N) * 4))
}

type GetLightfvCookie

GetLightfvCookie is a cookie used only for GetLightfv requests.

type GetLightfvCookie struct {
    *xgb.Cookie
}

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

GetLightfvReply represents the data returned from a GetLightfv request.

type GetLightfvReply struct {
    Sequence uint16 // sequence number of the request for this reply
    Length   uint32 // number of bytes in this reply
    // padding: 1 bytes
    // padding: 4 bytes
    N     uint32
    Datum Float32
    // padding: 12 bytes
    Data []Float32 // size: xgb.Pad((int(N) * 4))
}

type GetLightivCookie

GetLightivCookie is a cookie used only for GetLightiv requests.

type GetLightivCookie struct {
    *xgb.Cookie
}

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

GetLightivReply represents the data returned from a GetLightiv request.

type GetLightivReply struct {
    Sequence uint16 // sequence number of the request for this reply
    Length   uint32 // number of bytes in this reply
    // padding: 1 bytes
    // padding: 4 bytes
    N     uint32
    Datum int32
    // padding: 12 bytes
    Data []int32 // size: xgb.Pad((int(N) * 4))
}

type GetMapdvCookie

GetMapdvCookie is a cookie used only for GetMapdv requests.

type GetMapdvCookie struct {
    *xgb.Cookie
}

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

GetMapdvReply represents the data returned from a GetMapdv request.

type GetMapdvReply struct {
    Sequence uint16 // sequence number of the request for this reply
    Length   uint32 // number of bytes in this reply
    // padding: 1 bytes
    // padding: 4 bytes
    N     uint32
    Datum Float64
    // padding: 8 bytes
    Data []Float64 // size: xgb.Pad((int(N) * 8))
}

type GetMapfvCookie

GetMapfvCookie is a cookie used only for GetMapfv requests.

type GetMapfvCookie struct {
    *xgb.Cookie
}

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

GetMapfvReply represents the data returned from a GetMapfv request.

type GetMapfvReply struct {
    Sequence uint16 // sequence number of the request for this reply
    Length   uint32 // number of bytes in this reply
    // padding: 1 bytes
    // padding: 4 bytes
    N     uint32
    Datum Float32
    // padding: 12 bytes
    Data []Float32 // size: xgb.Pad((int(N) * 4))
}

type GetMapivCookie

GetMapivCookie is a cookie used only for GetMapiv requests.

type GetMapivCookie struct {
    *xgb.Cookie
}

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

GetMapivReply represents the data returned from a GetMapiv request.

type GetMapivReply struct {
    Sequence uint16 // sequence number of the request for this reply
    Length   uint32 // number of bytes in this reply
    // padding: 1 bytes
    // padding: 4 bytes
    N     uint32
    Datum int32
    // padding: 12 bytes
    Data []int32 // size: xgb.Pad((int(N) * 4))
}

type GetMaterialfvCookie

GetMaterialfvCookie is a cookie used only for GetMaterialfv requests.

type GetMaterialfvCookie struct {
    *xgb.Cookie
}

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

GetMaterialfvReply represents the data returned from a GetMaterialfv request.

type GetMaterialfvReply struct {
    Sequence uint16 // sequence number of the request for this reply
    Length   uint32 // number of bytes in this reply
    // padding: 1 bytes
    // padding: 4 bytes
    N     uint32
    Datum Float32
    // padding: 12 bytes
    Data []Float32 // size: xgb.Pad((int(N) * 4))
}

type GetMaterialivCookie

GetMaterialivCookie is a cookie used only for GetMaterialiv requests.

type GetMaterialivCookie struct {
    *xgb.Cookie
}

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

GetMaterialivReply represents the data returned from a GetMaterialiv request.

type GetMaterialivReply struct {
    Sequence uint16 // sequence number of the request for this reply
    Length   uint32 // number of bytes in this reply
    // padding: 1 bytes
    // padding: 4 bytes
    N     uint32
    Datum int32
    // padding: 12 bytes
    Data []int32 // size: xgb.Pad((int(N) * 4))
}

type GetMinmaxCookie

GetMinmaxCookie is a cookie used only for GetMinmax requests.

type GetMinmaxCookie struct {
    *xgb.Cookie
}

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.

type GetMinmaxParameterfvCookie struct {
    *xgb.Cookie
}

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

GetMinmaxParameterfvReply represents the data returned from a GetMinmaxParameterfv request.

type GetMinmaxParameterfvReply struct {
    Sequence uint16 // sequence number of the request for this reply
    Length   uint32 // number of bytes in this reply
    // padding: 1 bytes
    // padding: 4 bytes
    N     uint32
    Datum Float32
    // padding: 12 bytes
    Data []Float32 // size: xgb.Pad((int(N) * 4))
}

type GetMinmaxParameterivCookie

GetMinmaxParameterivCookie is a cookie used only for GetMinmaxParameteriv requests.

type GetMinmaxParameterivCookie struct {
    *xgb.Cookie
}

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

GetMinmaxParameterivReply represents the data returned from a GetMinmaxParameteriv request.

type GetMinmaxParameterivReply struct {
    Sequence uint16 // sequence number of the request for this reply
    Length   uint32 // number of bytes in this reply
    // padding: 1 bytes
    // padding: 4 bytes
    N     uint32
    Datum int32
    // padding: 12 bytes
    Data []int32 // size: xgb.Pad((int(N) * 4))
}

type GetMinmaxReply

GetMinmaxReply represents the data returned from a GetMinmax request.

type GetMinmaxReply struct {
    Sequence uint16 // sequence number of the request for this reply
    Length   uint32 // number of bytes in this reply
    // padding: 1 bytes
    // padding: 24 bytes
    Data []byte // size: xgb.Pad(((int(Length) * 4) * 1))
}

type GetPixelMapfvCookie

GetPixelMapfvCookie is a cookie used only for GetPixelMapfv requests.

type GetPixelMapfvCookie struct {
    *xgb.Cookie
}

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

GetPixelMapfvReply represents the data returned from a GetPixelMapfv request.

type GetPixelMapfvReply struct {
    Sequence uint16 // sequence number of the request for this reply
    Length   uint32 // number of bytes in this reply
    // padding: 1 bytes
    // padding: 4 bytes
    N     uint32
    Datum Float32
    // padding: 12 bytes
    Data []Float32 // size: xgb.Pad((int(N) * 4))
}

type GetPixelMapuivCookie

GetPixelMapuivCookie is a cookie used only for GetPixelMapuiv requests.

type GetPixelMapuivCookie struct {
    *xgb.Cookie
}

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

GetPixelMapuivReply represents the data returned from a GetPixelMapuiv request.

type GetPixelMapuivReply struct {
    Sequence uint16 // sequence number of the request for this reply
    Length   uint32 // number of bytes in this reply
    // padding: 1 bytes
    // padding: 4 bytes
    N     uint32
    Datum uint32
    // padding: 12 bytes
    Data []uint32 // size: xgb.Pad((int(N) * 4))
}

type GetPixelMapusvCookie

GetPixelMapusvCookie is a cookie used only for GetPixelMapusv requests.

type GetPixelMapusvCookie struct {
    *xgb.Cookie
}

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

GetPixelMapusvReply represents the data returned from a GetPixelMapusv request.

type GetPixelMapusvReply struct {
    Sequence uint16 // sequence number of the request for this reply
    Length   uint32 // number of bytes in this reply
    // padding: 1 bytes
    // padding: 4 bytes
    N     uint32
    Datum uint16
    // padding: 16 bytes
    Data []uint16 // size: xgb.Pad((int(N) * 2))
}

type GetPolygonStippleCookie

GetPolygonStippleCookie is a cookie used only for GetPolygonStipple requests.

type GetPolygonStippleCookie struct {
    *xgb.Cookie
}

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

GetPolygonStippleReply represents the data returned from a GetPolygonStipple request.

type GetPolygonStippleReply struct {
    Sequence uint16 // sequence number of the request for this reply
    Length   uint32 // number of bytes in this reply
    // padding: 1 bytes
    // padding: 24 bytes
    Data []byte // size: xgb.Pad(((int(Length) * 4) * 1))
}

type GetQueryObjectivARBCookie

GetQueryObjectivARBCookie is a cookie used only for GetQueryObjectivARB requests.

type GetQueryObjectivARBCookie struct {
    *xgb.Cookie
}

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

GetQueryObjectivARBReply represents the data returned from a GetQueryObjectivARB request.

type GetQueryObjectivARBReply struct {
    Sequence uint16 // sequence number of the request for this reply
    Length   uint32 // number of bytes in this reply
    // padding: 1 bytes
    // padding: 4 bytes
    N     uint32
    Datum int32
    // padding: 12 bytes
    Data []int32 // size: xgb.Pad((int(N) * 4))
}

type GetQueryObjectuivARBCookie

GetQueryObjectuivARBCookie is a cookie used only for GetQueryObjectuivARB requests.

type GetQueryObjectuivARBCookie struct {
    *xgb.Cookie
}

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

GetQueryObjectuivARBReply represents the data returned from a GetQueryObjectuivARB request.

type GetQueryObjectuivARBReply struct {
    Sequence uint16 // sequence number of the request for this reply
    Length   uint32 // number of bytes in this reply
    // padding: 1 bytes
    // padding: 4 bytes
    N     uint32
    Datum uint32
    // padding: 12 bytes
    Data []uint32 // size: xgb.Pad((int(N) * 4))
}

type GetQueryivARBCookie

GetQueryivARBCookie is a cookie used only for GetQueryivARB requests.

type GetQueryivARBCookie struct {
    *xgb.Cookie
}

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

GetQueryivARBReply represents the data returned from a GetQueryivARB request.

type GetQueryivARBReply struct {
    Sequence uint16 // sequence number of the request for this reply
    Length   uint32 // number of bytes in this reply
    // padding: 1 bytes
    // padding: 4 bytes
    N     uint32
    Datum int32
    // padding: 12 bytes
    Data []int32 // size: xgb.Pad((int(N) * 4))
}

type GetSeparableFilterCookie

GetSeparableFilterCookie is a cookie used only for GetSeparableFilter requests.

type GetSeparableFilterCookie struct {
    *xgb.Cookie
}

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

GetSeparableFilterReply represents the data returned from a GetSeparableFilter request.

type GetSeparableFilterReply struct {
    Sequence uint16 // sequence number of the request for this reply
    Length   uint32 // number of bytes in this reply
    // padding: 1 bytes
    // padding: 8 bytes
    RowW int32
    ColH int32
    // padding: 8 bytes
    RowsAndCols []byte // size: xgb.Pad(((int(Length) * 4) * 1))
}

type GetStringCookie

GetStringCookie is a cookie used only for GetString requests.

type GetStringCookie struct {
    *xgb.Cookie
}

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

GetStringReply represents the data returned from a GetString request.

type GetStringReply struct {
    Sequence uint16 // sequence number of the request for this reply
    Length   uint32 // number of bytes in this reply
    // padding: 1 bytes
    // padding: 4 bytes
    N uint32
    // padding: 16 bytes
    String string // size: xgb.Pad((int(N) * 1))
}

type GetTexEnvfvCookie

GetTexEnvfvCookie is a cookie used only for GetTexEnvfv requests.

type GetTexEnvfvCookie struct {
    *xgb.Cookie
}

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

GetTexEnvfvReply represents the data returned from a GetTexEnvfv request.

type GetTexEnvfvReply struct {
    Sequence uint16 // sequence number of the request for this reply
    Length   uint32 // number of bytes in this reply
    // padding: 1 bytes
    // padding: 4 bytes
    N     uint32
    Datum Float32
    // padding: 12 bytes
    Data []Float32 // size: xgb.Pad((int(N) * 4))
}

type GetTexEnvivCookie

GetTexEnvivCookie is a cookie used only for GetTexEnviv requests.

type GetTexEnvivCookie struct {
    *xgb.Cookie
}

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

GetTexEnvivReply represents the data returned from a GetTexEnviv request.

type GetTexEnvivReply struct {
    Sequence uint16 // sequence number of the request for this reply
    Length   uint32 // number of bytes in this reply
    // padding: 1 bytes
    // padding: 4 bytes
    N     uint32
    Datum int32
    // padding: 12 bytes
    Data []int32 // size: xgb.Pad((int(N) * 4))
}

type GetTexGendvCookie

GetTexGendvCookie is a cookie used only for GetTexGendv requests.

type GetTexGendvCookie struct {
    *xgb.Cookie
}

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

GetTexGendvReply represents the data returned from a GetTexGendv request.

type GetTexGendvReply struct {
    Sequence uint16 // sequence number of the request for this reply
    Length   uint32 // number of bytes in this reply
    // padding: 1 bytes
    // padding: 4 bytes
    N     uint32
    Datum Float64
    // padding: 8 bytes
    Data []Float64 // size: xgb.Pad((int(N) * 8))
}

type GetTexGenfvCookie

GetTexGenfvCookie is a cookie used only for GetTexGenfv requests.

type GetTexGenfvCookie struct {
    *xgb.Cookie
}

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

GetTexGenfvReply represents the data returned from a GetTexGenfv request.

type GetTexGenfvReply struct {
    Sequence uint16 // sequence number of the request for this reply
    Length   uint32 // number of bytes in this reply
    // padding: 1 bytes
    // padding: 4 bytes
    N     uint32
    Datum Float32
    // padding: 12 bytes
    Data []Float32 // size: xgb.Pad((int(N) * 4))
}

type GetTexGenivCookie

GetTexGenivCookie is a cookie used only for GetTexGeniv requests.

type GetTexGenivCookie struct {
    *xgb.Cookie
}

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

GetTexGenivReply represents the data returned from a GetTexGeniv request.

type GetTexGenivReply struct {
    Sequence uint16 // sequence number of the request for this reply
    Length   uint32 // number of bytes in this reply
    // padding: 1 bytes
    // padding: 4 bytes
    N     uint32
    Datum int32
    // padding: 12 bytes
    Data []int32 // size: xgb.Pad((int(N) * 4))
}

type GetTexImageCookie

GetTexImageCookie is a cookie used only for GetTexImage requests.

type GetTexImageCookie struct {
    *xgb.Cookie
}

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

GetTexImageReply represents the data returned from a GetTexImage request.

type GetTexImageReply struct {
    Sequence uint16 // sequence number of the request for this reply
    Length   uint32 // number of bytes in this reply
    // padding: 1 bytes
    // padding: 8 bytes
    Width  int32
    Height int32
    Depth  int32
    // padding: 4 bytes
    Data []byte // size: xgb.Pad(((int(Length) * 4) * 1))
}

type GetTexLevelParameterfvCookie

GetTexLevelParameterfvCookie is a cookie used only for GetTexLevelParameterfv requests.

type GetTexLevelParameterfvCookie struct {
    *xgb.Cookie
}

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

GetTexLevelParameterfvReply represents the data returned from a GetTexLevelParameterfv request.

type GetTexLevelParameterfvReply struct {
    Sequence uint16 // sequence number of the request for this reply
    Length   uint32 // number of bytes in this reply
    // padding: 1 bytes
    // padding: 4 bytes
    N     uint32
    Datum Float32
    // padding: 12 bytes
    Data []Float32 // size: xgb.Pad((int(N) * 4))
}

type GetTexLevelParameterivCookie

GetTexLevelParameterivCookie is a cookie used only for GetTexLevelParameteriv requests.

type GetTexLevelParameterivCookie struct {
    *xgb.Cookie
}

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

GetTexLevelParameterivReply represents the data returned from a GetTexLevelParameteriv request.

type GetTexLevelParameterivReply struct {
    Sequence uint16 // sequence number of the request for this reply
    Length   uint32 // number of bytes in this reply
    // padding: 1 bytes
    // padding: 4 bytes
    N     uint32
    Datum int32
    // padding: 12 bytes
    Data []int32 // size: xgb.Pad((int(N) * 4))
}

type GetTexParameterfvCookie

GetTexParameterfvCookie is a cookie used only for GetTexParameterfv requests.

type GetTexParameterfvCookie struct {
    *xgb.Cookie
}

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

GetTexParameterfvReply represents the data returned from a GetTexParameterfv request.

type GetTexParameterfvReply struct {
    Sequence uint16 // sequence number of the request for this reply
    Length   uint32 // number of bytes in this reply
    // padding: 1 bytes
    // padding: 4 bytes
    N     uint32
    Datum Float32
    // padding: 12 bytes
    Data []Float32 // size: xgb.Pad((int(N) * 4))
}

type GetTexParameterivCookie

GetTexParameterivCookie is a cookie used only for GetTexParameteriv requests.

type GetTexParameterivCookie struct {
    *xgb.Cookie
}

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

GetTexParameterivReply represents the data returned from a GetTexParameteriv request.

type GetTexParameterivReply struct {
    Sequence uint16 // sequence number of the request for this reply
    Length   uint32 // number of bytes in this reply
    // padding: 1 bytes
    // padding: 4 bytes
    N     uint32
    Datum int32
    // padding: 12 bytes
    Data []int32 // size: xgb.Pad((int(N) * 4))
}

type GetVisualConfigsCookie

GetVisualConfigsCookie is a cookie used only for GetVisualConfigs requests.

type GetVisualConfigsCookie struct {
    *xgb.Cookie
}

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

GetVisualConfigsReply represents the data returned from a GetVisualConfigs request.

type GetVisualConfigsReply struct {
    Sequence uint16 // sequence number of the request for this reply
    Length   uint32 // number of bytes in this reply
    // padding: 1 bytes
    NumVisuals    uint32
    NumProperties uint32
    // padding: 16 bytes
    PropertyList []uint32 // size: xgb.Pad((int(Length) * 4))
}

type IsDirectCookie

IsDirectCookie is a cookie used only for IsDirect requests.

type IsDirectCookie struct {
    *xgb.Cookie
}

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

IsDirectReply represents the data returned from a IsDirect request.

type IsDirectReply struct {
    Sequence uint16 // sequence number of the request for this reply
    Length   uint32 // number of bytes in this reply
    // padding: 1 bytes
    IsDirect bool
}

type IsListCookie

IsListCookie is a cookie used only for IsList requests.

type IsListCookie struct {
    *xgb.Cookie
}

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

IsListReply represents the data returned from a IsList request.

type IsListReply struct {
    Sequence uint16 // sequence number of the request for this reply
    Length   uint32 // number of bytes in this reply
    // padding: 1 bytes
    RetVal Bool32
}

type IsQueryARBCookie

IsQueryARBCookie is a cookie used only for IsQueryARB requests.

type IsQueryARBCookie struct {
    *xgb.Cookie
}

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

IsQueryARBReply represents the data returned from a IsQueryARB request.

type IsQueryARBReply struct {
    Sequence uint16 // sequence number of the request for this reply
    Length   uint32 // number of bytes in this reply
    // padding: 1 bytes
    RetVal Bool32
}

type IsTextureCookie

IsTextureCookie is a cookie used only for IsTexture requests.

type IsTextureCookie struct {
    *xgb.Cookie
}

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

IsTextureReply represents the data returned from a IsTexture request.

type IsTextureReply struct {
    Sequence uint16 // sequence number of the request for this reply
    Length   uint32 // number of bytes in this reply
    // padding: 1 bytes
    RetVal Bool32
}

type MakeContextCurrentCookie

MakeContextCurrentCookie is a cookie used only for MakeContextCurrent requests.

type MakeContextCurrentCookie struct {
    *xgb.Cookie
}

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

MakeContextCurrentReply represents the data returned from a MakeContextCurrent request.

type MakeContextCurrentReply struct {
    Sequence uint16 // sequence number of the request for this reply
    Length   uint32 // number of bytes in this reply
    // padding: 1 bytes
    ContextTag ContextTag
}

type MakeCurrentCookie

MakeCurrentCookie is a cookie used only for MakeCurrent requests.

type MakeCurrentCookie struct {
    *xgb.Cookie
}

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

MakeCurrentReply represents the data returned from a MakeCurrent request.

type MakeCurrentReply struct {
    Sequence uint16 // sequence number of the request for this reply
    Length   uint32 // number of bytes in this reply
    // padding: 1 bytes
    ContextTag ContextTag
}

type NewListCookie

NewListCookie is a cookie used only for NewList requests.

type NewListCookie struct {
    *xgb.Cookie
}

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 Pbuffer

type Pbuffer uint32

func NewPbufferId

func NewPbufferId(c *xgb.Conn) (Pbuffer, error)

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.

type PixelStorefCookie struct {
    *xgb.Cookie
}

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.

type PixelStoreiCookie struct {
    *xgb.Cookie
}

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 Pixmap

type Pixmap uint32

func NewPixmapId

func NewPixmapId(c *xgb.Conn) (Pixmap, error)

type QueryContextCookie

QueryContextCookie is a cookie used only for QueryContext requests.

type QueryContextCookie struct {
    *xgb.Cookie
}

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

QueryContextReply represents the data returned from a QueryContext request.

type QueryContextReply struct {
    Sequence uint16 // sequence number of the request for this reply
    Length   uint32 // number of bytes in this reply
    // padding: 1 bytes
    NumAttribs uint32
    // padding: 20 bytes
    Attribs []uint32 // size: xgb.Pad(((int(NumAttribs) * 2) * 4))
}

type QueryExtensionsStringCookie

QueryExtensionsStringCookie is a cookie used only for QueryExtensionsString requests.

type QueryExtensionsStringCookie struct {
    *xgb.Cookie
}

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

QueryExtensionsStringReply represents the data returned from a QueryExtensionsString request.

type QueryExtensionsStringReply struct {
    Sequence uint16 // sequence number of the request for this reply
    Length   uint32 // number of bytes in this reply
    // padding: 1 bytes
    // padding: 4 bytes
    N uint32
}

type QueryServerStringCookie

QueryServerStringCookie is a cookie used only for QueryServerString requests.

type QueryServerStringCookie struct {
    *xgb.Cookie
}

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

QueryServerStringReply represents the data returned from a QueryServerString request.

type QueryServerStringReply struct {
    Sequence uint16 // sequence number of the request for this reply
    Length   uint32 // number of bytes in this reply
    // padding: 1 bytes
    // padding: 4 bytes
    StrLen uint32
    // padding: 16 bytes
    String string // size: xgb.Pad((int(StrLen) * 1))
}

type QueryVersionCookie

QueryVersionCookie is a cookie used only for QueryVersion requests.

type QueryVersionCookie struct {
    *xgb.Cookie
}

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

QueryVersionReply represents the data returned from a QueryVersion request.

type QueryVersionReply struct {
    Sequence uint16 // sequence number of the request for this reply
    Length   uint32 // number of bytes in this reply
    // padding: 1 bytes
    MajorVersion uint32
    MinorVersion uint32
}

type ReadPixelsCookie

ReadPixelsCookie is a cookie used only for ReadPixels requests.

type ReadPixelsCookie struct {
    *xgb.Cookie
}

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

ReadPixelsReply represents the data returned from a ReadPixels request.

type ReadPixelsReply struct {
    Sequence uint16 // sequence number of the request for this reply
    Length   uint32 // number of bytes in this reply
    // padding: 1 bytes
    // padding: 24 bytes
    Data []byte // size: xgb.Pad(((int(Length) * 4) * 1))
}

type RenderCookie

RenderCookie is a cookie used only for Render requests.

type RenderCookie struct {
    *xgb.Cookie
}

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.

type RenderLargeCookie struct {
    *xgb.Cookie
}

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.

type RenderModeCookie struct {
    *xgb.Cookie
}

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

RenderModeReply represents the data returned from a RenderMode request.

type RenderModeReply struct {
    Sequence uint16 // sequence number of the request for this reply
    Length   uint32 // number of bytes in this reply
    // padding: 1 bytes
    RetVal  uint32
    N       uint32
    NewMode uint32
    // padding: 12 bytes
    Data []uint32 // size: xgb.Pad((int(N) * 4))
}

type SelectBufferCookie

SelectBufferCookie is a cookie used only for SelectBuffer requests.

type SelectBufferCookie struct {
    *xgb.Cookie
}

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.

type SetClientInfo2ARBCookie struct {
    *xgb.Cookie
}

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.

type SetClientInfoARBCookie struct {
    *xgb.Cookie
}

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.

type SwapBuffersCookie struct {
    *xgb.Cookie
}

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.

type UseXFontCookie struct {
    *xgb.Cookie
}

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.

type VendorPrivateCookie struct {
    *xgb.Cookie
}

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.

type VendorPrivateWithReplyCookie struct {
    *xgb.Cookie
}

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

VendorPrivateWithReplyReply represents the data returned from a VendorPrivateWithReply request.

type VendorPrivateWithReplyReply struct {
    Sequence uint16 // sequence number of the request for this reply
    Length   uint32 // number of bytes in this reply
    // padding: 1 bytes
    Retval uint32
    Data1  []byte // size: 24
    Data2  []byte // size: xgb.Pad(((int(Length) * 4) * 1))
}

type WaitGLCookie

WaitGLCookie is a cookie used only for WaitGL requests.

type WaitGLCookie struct {
    *xgb.Cookie
}

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.

type WaitXCookie struct {
    *xgb.Cookie
}

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.

type Window

type Window uint32

func NewWindowId

func NewWindowId(c *xgb.Conn) (Window, error)