xgb: github.com/BurntSushi/xgb/glx Index | Files

package glx

import "github.com/BurntSushi/xgb/glx"

Package glx is the X client API for the GLX extension.

Index

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
)
const BadBadContext = 0

BadBadContext is the error number for a BadBadContext.

const BadBadContextState = 1

BadBadContextState is the error number for a BadBadContextState.

const BadBadContextTag = 4

BadBadContextTag is the error number for a BadBadContextTag.

const BadBadCurrentDrawable = 11

BadBadCurrentDrawable is the error number for a BadBadCurrentDrawable.

const BadBadCurrentWindow = 5

BadBadCurrentWindow is the error number for a BadBadCurrentWindow.

const BadBadDrawable = 2

BadBadDrawable is the error number for a BadBadDrawable.

const BadBadFBConfig = 9

BadBadFBConfig is the error number for a BadBadFBConfig.

const BadBadLargeRequest = 7

BadBadLargeRequest is the error number for a BadBadLargeRequest.

const BadBadPbuffer = 10

BadBadPbuffer is the error number for a BadBadPbuffer.

const BadBadPixmap = 3

BadBadPixmap is the error number for a BadBadPixmap.

const BadBadRenderRequest = 6

BadBadRenderRequest is the error number for a BadBadRenderRequest.

const BadBadWindow = 12

BadBadWindow is the error number for a BadBadWindow.

const BadGLXBadProfileARB = 13

BadGLXBadProfileARB is the error number for a BadGLXBadProfileARB.

const BadGeneric = -1

BadGeneric is the error number for a BadGeneric.

const BadUnsupportedPrivateRequest = 8

BadUnsupportedPrivateRequest is the error number for a BadUnsupportedPrivateRequest.

const BufferSwapComplete = 1

BufferSwapComplete is the event number for a BufferSwapCompleteEvent.

const PbufferClobber = 0

PbufferClobber is the event number for a PbufferClobberEvent.

func BadContextErrorNew Uses

func BadContextErrorNew(buf []byte) xgb.Error

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

func BadContextStateErrorNew Uses

func BadContextStateErrorNew(buf []byte) xgb.Error

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

func BadContextTagErrorNew Uses

func BadContextTagErrorNew(buf []byte) xgb.Error

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

func BadCurrentDrawableErrorNew Uses

func BadCurrentDrawableErrorNew(buf []byte) xgb.Error

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

func BadCurrentWindowErrorNew Uses

func BadCurrentWindowErrorNew(buf []byte) xgb.Error

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

func BadDrawableErrorNew Uses

func BadDrawableErrorNew(buf []byte) xgb.Error

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

func BadFBConfigErrorNew Uses

func BadFBConfigErrorNew(buf []byte) xgb.Error

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

func BadLargeRequestErrorNew Uses

func BadLargeRequestErrorNew(buf []byte) xgb.Error

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

func BadPbufferErrorNew Uses

func BadPbufferErrorNew(buf []byte) xgb.Error

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

func BadPixmapErrorNew Uses

func BadPixmapErrorNew(buf []byte) xgb.Error

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

func BadRenderRequestErrorNew Uses

func BadRenderRequestErrorNew(buf []byte) xgb.Error

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

func BadWindowErrorNew Uses

func BadWindowErrorNew(buf []byte) xgb.Error

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

func BufferSwapCompleteEventNew Uses

func BufferSwapCompleteEventNew(buf []byte) xgb.Event

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

func GLXBadProfileARBErrorNew Uses

func GLXBadProfileARBErrorNew(buf []byte) xgb.Error

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

func GenericErrorNew Uses

func GenericErrorNew(buf []byte) xgb.Error

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

func Init Uses

func Init(c *xgb.Conn) error

Init must be called before using the GLX extension.

func PbufferClobberEventNew Uses

func PbufferClobberEventNew(buf []byte) xgb.Event

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

func UnsupportedPrivateRequestErrorNew Uses

func UnsupportedPrivateRequestErrorNew(buf []byte) xgb.Error

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

type AreTexturesResidentCookie Uses

type AreTexturesResidentCookie struct {
    *xgb.Cookie
}

AreTexturesResidentCookie is a cookie used only for AreTexturesResident requests.

func AreTexturesResident Uses

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 Uses

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 Uses

func (cook AreTexturesResidentCookie) Reply() (*AreTexturesResidentReply, error)

Reply blocks and returns the reply data for a AreTexturesResident request.

type AreTexturesResidentReply Uses

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

AreTexturesResidentReply represents the data returned from a AreTexturesResident request.

type BadContextError Uses

type BadContextError GenericError

func (BadContextError) BadId Uses

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 Uses

func (err BadContextError) Error() string

Error returns a rudimentary string representation of the BadBadContext error.

func (BadContextError) SequenceId Uses

func (err BadContextError) SequenceId() uint16

SequenceId returns the sequence id attached to the BadBadContext error. This is mostly used internally.

type BadContextStateError Uses

type BadContextStateError GenericError

func (BadContextStateError) BadId Uses

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 Uses

func (err BadContextStateError) Error() string

Error returns a rudimentary string representation of the BadBadContextState error.

func (BadContextStateError) SequenceId Uses

func (err BadContextStateError) SequenceId() uint16

SequenceId returns the sequence id attached to the BadBadContextState error. This is mostly used internally.

type BadContextTagError Uses

type BadContextTagError GenericError

func (BadContextTagError) BadId Uses

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 Uses

func (err BadContextTagError) Error() string

Error returns a rudimentary string representation of the BadBadContextTag error.

func (BadContextTagError) SequenceId Uses

func (err BadContextTagError) SequenceId() uint16

SequenceId returns the sequence id attached to the BadBadContextTag error. This is mostly used internally.

type BadCurrentDrawableError Uses

type BadCurrentDrawableError GenericError

func (BadCurrentDrawableError) BadId Uses

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 Uses

func (err BadCurrentDrawableError) Error() string

Error returns a rudimentary string representation of the BadBadCurrentDrawable error.

func (BadCurrentDrawableError) SequenceId Uses

func (err BadCurrentDrawableError) SequenceId() uint16

SequenceId returns the sequence id attached to the BadBadCurrentDrawable error. This is mostly used internally.

type BadCurrentWindowError Uses

type BadCurrentWindowError GenericError

func (BadCurrentWindowError) BadId Uses

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 Uses

func (err BadCurrentWindowError) Error() string

Error returns a rudimentary string representation of the BadBadCurrentWindow error.

func (BadCurrentWindowError) SequenceId Uses

func (err BadCurrentWindowError) SequenceId() uint16

SequenceId returns the sequence id attached to the BadBadCurrentWindow error. This is mostly used internally.

type BadDrawableError Uses

type BadDrawableError GenericError

func (BadDrawableError) BadId Uses

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 Uses

func (err BadDrawableError) Error() string

Error returns a rudimentary string representation of the BadBadDrawable error.

func (BadDrawableError) SequenceId Uses

func (err BadDrawableError) SequenceId() uint16

SequenceId returns the sequence id attached to the BadBadDrawable error. This is mostly used internally.

type BadFBConfigError Uses

type BadFBConfigError GenericError

func (BadFBConfigError) BadId Uses

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 Uses

func (err BadFBConfigError) Error() string

Error returns a rudimentary string representation of the BadBadFBConfig error.

func (BadFBConfigError) SequenceId Uses

func (err BadFBConfigError) SequenceId() uint16

SequenceId returns the sequence id attached to the BadBadFBConfig error. This is mostly used internally.

type BadLargeRequestError Uses

type BadLargeRequestError GenericError

func (BadLargeRequestError) BadId Uses

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 Uses

func (err BadLargeRequestError) Error() string

Error returns a rudimentary string representation of the BadBadLargeRequest error.

func (BadLargeRequestError) SequenceId Uses

func (err BadLargeRequestError) SequenceId() uint16

SequenceId returns the sequence id attached to the BadBadLargeRequest error. This is mostly used internally.

type BadPbufferError Uses

type BadPbufferError GenericError

func (BadPbufferError) BadId Uses

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 Uses

func (err BadPbufferError) Error() string

Error returns a rudimentary string representation of the BadBadPbuffer error.

func (BadPbufferError) SequenceId Uses

func (err BadPbufferError) SequenceId() uint16

SequenceId returns the sequence id attached to the BadBadPbuffer error. This is mostly used internally.

type BadPixmapError Uses

type BadPixmapError GenericError

func (BadPixmapError) BadId Uses

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 Uses

func (err BadPixmapError) Error() string

Error returns a rudimentary string representation of the BadBadPixmap error.

func (BadPixmapError) SequenceId Uses

func (err BadPixmapError) SequenceId() uint16

SequenceId returns the sequence id attached to the BadBadPixmap error. This is mostly used internally.

type BadRenderRequestError Uses

type BadRenderRequestError GenericError

func (BadRenderRequestError) BadId Uses

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 Uses

func (err BadRenderRequestError) Error() string

Error returns a rudimentary string representation of the BadBadRenderRequest error.

func (BadRenderRequestError) SequenceId Uses

func (err BadRenderRequestError) SequenceId() uint16

SequenceId returns the sequence id attached to the BadBadRenderRequest error. This is mostly used internally.

type BadWindowError Uses

type BadWindowError GenericError

func (BadWindowError) BadId Uses

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 Uses

func (err BadWindowError) Error() string

Error returns a rudimentary string representation of the BadBadWindow error.

func (BadWindowError) SequenceId Uses

func (err BadWindowError) SequenceId() uint16

SequenceId returns the sequence id attached to the BadBadWindow error. This is mostly used internally.

type Bool32 Uses

type Bool32 uint32

type BufferSwapCompleteEvent Uses

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 Uses

func (v BufferSwapCompleteEvent) Bytes() []byte

Bytes writes a BufferSwapCompleteEvent value to a byte slice.

func (BufferSwapCompleteEvent) SequenceId Uses

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 Uses

func (v BufferSwapCompleteEvent) String() string

String is a rudimentary string representation of BufferSwapCompleteEvent.

type ChangeDrawableAttributesCookie Uses

type ChangeDrawableAttributesCookie struct {
    *xgb.Cookie
}

ChangeDrawableAttributesCookie is a cookie used only for ChangeDrawableAttributes requests.

func ChangeDrawableAttributes Uses

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 Uses

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 Uses

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 Uses

type ClientInfoCookie struct {
    *xgb.Cookie
}

ClientInfoCookie is a cookie used only for ClientInfo requests.

func ClientInfo Uses

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 Uses

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 Uses

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 Uses

type Context uint32

func NewContextId Uses

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

type ContextTag Uses

type ContextTag uint32

type CopyContextCookie Uses

type CopyContextCookie struct {
    *xgb.Cookie
}

CopyContextCookie is a cookie used only for CopyContext requests.

func CopyContext Uses

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 Uses

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 Uses

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 Uses

type CreateContextAttribsARBCookie struct {
    *xgb.Cookie
}

CreateContextAttribsARBCookie is a cookie used only for CreateContextAttribsARB requests.

func CreateContextAttribsARB Uses

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 Uses

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 Uses

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 Uses

type CreateContextCookie struct {
    *xgb.Cookie
}

CreateContextCookie is a cookie used only for CreateContext requests.

func CreateContext Uses

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 Uses

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 Uses

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 Uses

type CreateGLXPixmapCookie struct {
    *xgb.Cookie
}

CreateGLXPixmapCookie is a cookie used only for CreateGLXPixmap requests.

func CreateGLXPixmap Uses

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 Uses

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 Uses

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 Uses

type CreateNewContextCookie struct {
    *xgb.Cookie
}

CreateNewContextCookie is a cookie used only for CreateNewContext requests.

func CreateNewContext Uses

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 Uses

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 Uses

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 Uses

type CreatePbufferCookie struct {
    *xgb.Cookie
}

CreatePbufferCookie is a cookie used only for CreatePbuffer requests.

func CreatePbuffer Uses

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 Uses

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 Uses

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 Uses

type CreatePixmapCookie struct {
    *xgb.Cookie
}

CreatePixmapCookie is a cookie used only for CreatePixmap requests.

func CreatePixmap Uses

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 Uses

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 Uses

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 Uses

type CreateWindowCookie struct {
    *xgb.Cookie
}

CreateWindowCookie is a cookie used only for CreateWindow requests.

func CreateWindow Uses

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 Uses

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 Uses

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 Uses

type DeleteListsCookie struct {
    *xgb.Cookie
}

DeleteListsCookie is a cookie used only for DeleteLists requests.

func DeleteLists Uses

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 Uses

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 Uses

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 Uses

type DeleteQueriesARBCookie struct {
    *xgb.Cookie
}

DeleteQueriesARBCookie is a cookie used only for DeleteQueriesARB requests.

func DeleteQueriesARB Uses

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 Uses

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 Uses

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 Uses

type DeleteTexturesCookie struct {
    *xgb.Cookie
}

DeleteTexturesCookie is a cookie used only for DeleteTextures requests.

func DeleteTextures Uses

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 Uses

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 Uses

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 Uses

type DeleteWindowCookie struct {
    *xgb.Cookie
}

DeleteWindowCookie is a cookie used only for DeleteWindow requests.

func DeleteWindow Uses

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 Uses

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 Uses

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 Uses

type DestroyContextCookie struct {
    *xgb.Cookie
}

DestroyContextCookie is a cookie used only for DestroyContext requests.

func DestroyContext Uses

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 Uses

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 Uses

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 Uses

type DestroyGLXPixmapCookie struct {
    *xgb.Cookie
}

DestroyGLXPixmapCookie is a cookie used only for DestroyGLXPixmap requests.

func DestroyGLXPixmap Uses

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 Uses

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 Uses

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 Uses

type DestroyPbufferCookie struct {
    *xgb.Cookie
}

DestroyPbufferCookie is a cookie used only for DestroyPbuffer requests.

func DestroyPbuffer Uses

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 Uses

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 Uses

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 Uses

type DestroyPixmapCookie struct {
    *xgb.Cookie
}

DestroyPixmapCookie is a cookie used only for DestroyPixmap requests.

func DestroyPixmap Uses

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 Uses

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 Uses

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 Uses

type Drawable uint32

func NewDrawableId Uses

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

type EndListCookie Uses

type EndListCookie struct {
    *xgb.Cookie
}

EndListCookie is a cookie used only for EndList requests.

func EndList Uses

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 Uses

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 Uses

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 Uses

type Fbconfig uint32

func NewFbconfigId Uses

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

type FeedbackBufferCookie Uses

type FeedbackBufferCookie struct {
    *xgb.Cookie
}

FeedbackBufferCookie is a cookie used only for FeedbackBuffer requests.

func FeedbackBuffer Uses

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 Uses

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 Uses

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 Uses

type FinishCookie struct {
    *xgb.Cookie
}

FinishCookie is a cookie used only for Finish requests.

func Finish Uses

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 Uses

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 Uses

func (cook FinishCookie) Reply() (*FinishReply, error)

Reply blocks and returns the reply data for a Finish request.

type FinishReply Uses

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

}

FinishReply represents the data returned from a Finish request.

type Float32 Uses

type Float32 float64

type Float64 Uses

type Float64 float64

type FlushCookie Uses

type FlushCookie struct {
    *xgb.Cookie
}

FlushCookie is a cookie used only for Flush requests.

func Flush Uses

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 Uses

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 Uses

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 Uses

type GLXBadProfileARBError GenericError

func (GLXBadProfileARBError) BadId Uses

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 Uses

func (err GLXBadProfileARBError) Error() string

Error returns a rudimentary string representation of the BadGLXBadProfileARB error.

func (GLXBadProfileARBError) SequenceId Uses

func (err GLXBadProfileARBError) SequenceId() uint16

SequenceId returns the sequence id attached to the BadGLXBadProfileARB error. This is mostly used internally.

type GenListsCookie Uses

type GenListsCookie struct {
    *xgb.Cookie
}

GenListsCookie is a cookie used only for GenLists requests.

func GenLists Uses

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 Uses

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 Uses

func (cook GenListsCookie) Reply() (*GenListsReply, error)

Reply blocks and returns the reply data for a GenLists request.

type GenListsReply Uses

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

GenListsReply represents the data returned from a GenLists request.

type GenQueriesARBCookie Uses

type GenQueriesARBCookie struct {
    *xgb.Cookie
}

GenQueriesARBCookie is a cookie used only for GenQueriesARB requests.

func GenQueriesARB Uses

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 Uses

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 Uses

func (cook GenQueriesARBCookie) Reply() (*GenQueriesARBReply, error)

Reply blocks and returns the reply data for a GenQueriesARB request.

type GenQueriesARBReply Uses

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

GenQueriesARBReply represents the data returned from a GenQueriesARB request.

type GenTexturesCookie Uses

type GenTexturesCookie struct {
    *xgb.Cookie
}

GenTexturesCookie is a cookie used only for GenTextures requests.

func GenTextures Uses

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 Uses

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 Uses

func (cook GenTexturesCookie) Reply() (*GenTexturesReply, error)

Reply blocks and returns the reply data for a GenTextures request.

type GenTexturesReply Uses

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

GenTexturesReply represents the data returned from a GenTextures request.

type GenericError Uses

type GenericError struct {
    Sequence    uint16
    NiceName    string
    BadValue    uint32
    MinorOpcode uint16
    MajorOpcode byte
}

func (GenericError) BadId Uses

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 Uses

func (err GenericError) Error() string

func (GenericError) SequenceId Uses

func (err GenericError) SequenceId() uint16

SequenceId returns the sequence id attached to the BadGeneric error. This is mostly used internally.

type GetBooleanvCookie Uses

type GetBooleanvCookie struct {
    *xgb.Cookie
}

GetBooleanvCookie is a cookie used only for GetBooleanv requests.

func GetBooleanv Uses

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 Uses

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 Uses

func (cook GetBooleanvCookie) Reply() (*GetBooleanvReply, error)

Reply blocks and returns the reply data for a GetBooleanv request.

type GetBooleanvReply Uses

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

GetBooleanvReply represents the data returned from a GetBooleanv request.

type GetClipPlaneCookie Uses

type GetClipPlaneCookie struct {
    *xgb.Cookie
}

GetClipPlaneCookie is a cookie used only for GetClipPlane requests.

func GetClipPlane Uses

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 Uses

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 Uses

func (cook GetClipPlaneCookie) Reply() (*GetClipPlaneReply, error)

Reply blocks and returns the reply data for a GetClipPlane request.

type GetClipPlaneReply Uses

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

GetClipPlaneReply represents the data returned from a GetClipPlane request.

type GetColorTableCookie Uses

type GetColorTableCookie struct {
    *xgb.Cookie
}

GetColorTableCookie is a cookie used only for GetColorTable requests.

func GetColorTable Uses

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 Uses

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 Uses

func (cook GetColorTableCookie) Reply() (*GetColorTableReply, error)

Reply blocks and returns the reply data for a GetColorTable request.

type GetColorTableParameterfvCookie Uses

type GetColorTableParameterfvCookie struct {
    *xgb.Cookie
}

GetColorTableParameterfvCookie is a cookie used only for GetColorTableParameterfv requests.

func GetColorTableParameterfv Uses

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 Uses

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 Uses

func (cook GetColorTableParameterfvCookie) Reply() (*GetColorTableParameterfvReply, error)

Reply blocks and returns the reply data for a GetColorTableParameterfv request.

type GetColorTableParameterfvReply Uses

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

GetColorTableParameterfvReply represents the data returned from a GetColorTableParameterfv request.

type GetColorTableParameterivCookie Uses

type GetColorTableParameterivCookie struct {
    *xgb.Cookie
}

GetColorTableParameterivCookie is a cookie used only for GetColorTableParameteriv requests.

func GetColorTableParameteriv Uses

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 Uses

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 Uses

func (cook GetColorTableParameterivCookie) Reply() (*GetColorTableParameterivReply, error)

Reply blocks and returns the reply data for a GetColorTableParameteriv request.

type GetColorTableParameterivReply Uses

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

GetColorTableParameterivReply represents the data returned from a GetColorTableParameteriv request.

type GetColorTableReply Uses

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

GetColorTableReply represents the data returned from a GetColorTable request.

type GetCompressedTexImageARBCookie Uses

type GetCompressedTexImageARBCookie struct {
    *xgb.Cookie
}

GetCompressedTexImageARBCookie is a cookie used only for GetCompressedTexImageARB requests.

func GetCompressedTexImageARB Uses

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 Uses

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 Uses

func (cook GetCompressedTexImageARBCookie) Reply() (*GetCompressedTexImageARBReply, error)

Reply blocks and returns the reply data for a GetCompressedTexImageARB request.

type GetCompressedTexImageARBReply Uses

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

GetCompressedTexImageARBReply represents the data returned from a GetCompressedTexImageARB request.

type GetConvolutionFilterCookie Uses

type GetConvolutionFilterCookie struct {
    *xgb.Cookie
}

GetConvolutionFilterCookie is a cookie used only for GetConvolutionFilter requests.

func GetConvolutionFilter Uses

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 Uses

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 Uses

func (cook GetConvolutionFilterCookie) Reply() (*GetConvolutionFilterReply, error)

Reply blocks and returns the reply data for a GetConvolutionFilter request.

type GetConvolutionFilterReply Uses

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

GetConvolutionFilterReply represents the data returned from a GetConvolutionFilter request.

type GetConvolutionParameterfvCookie Uses

type GetConvolutionParameterfvCookie struct {
    *xgb.Cookie
}

GetConvolutionParameterfvCookie is a cookie used only for GetConvolutionParameterfv requests.

func GetConvolutionParameterfv Uses

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 Uses

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 Uses

func (cook GetConvolutionParameterfvCookie) Reply() (*GetConvolutionParameterfvReply, error)

Reply blocks and returns the reply data for a GetConvolutionParameterfv request.

type GetConvolutionParameterfvReply Uses

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

GetConvolutionParameterfvReply represents the data returned from a GetConvolutionParameterfv request.

type GetConvolutionParameterivCookie Uses

type GetConvolutionParameterivCookie struct {
    *xgb.Cookie
}

GetConvolutionParameterivCookie is a cookie used only for GetConvolutionParameteriv requests.

func GetConvolutionParameteriv Uses

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 Uses

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 Uses

func (cook GetConvolutionParameterivCookie) Reply() (*GetConvolutionParameterivReply, error)

Reply blocks and returns the reply data for a GetConvolutionParameteriv request.

type GetConvolutionParameterivReply Uses

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

GetConvolutionParameterivReply represents the data returned from a GetConvolutionParameteriv request.

type GetDoublevCookie Uses

type GetDoublevCookie struct {
    *xgb.Cookie
}

GetDoublevCookie is a cookie used only for GetDoublev requests.

func GetDoublev Uses

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 Uses

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 Uses

func (cook GetDoublevCookie) Reply() (*GetDoublevReply, error)

Reply blocks and returns the reply data for a GetDoublev request.

type GetDoublevReply Uses

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

GetDoublevReply represents the data returned from a GetDoublev request.

type GetDrawableAttributesCookie Uses

type GetDrawableAttributesCookie struct {
    *xgb.Cookie
}

GetDrawableAttributesCookie is a cookie used only for GetDrawableAttributes requests.

func GetDrawableAttributes Uses

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 Uses

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 Uses

func (cook GetDrawableAttributesCookie) Reply() (*GetDrawableAttributesReply, error)

Reply blocks and returns the reply data for a GetDrawableAttributes request.

type GetDrawableAttributesReply Uses

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

GetDrawableAttributesReply represents the data returned from a GetDrawableAttributes request.

type GetErrorCookie Uses

type GetErrorCookie struct {
    *xgb.Cookie
}

GetErrorCookie is a cookie used only for GetError requests.

func GetError Uses

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 Uses

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 Uses

func (cook GetErrorCookie) Reply() (*GetErrorReply, error)

Reply blocks and returns the reply data for a GetError request.

type GetErrorReply Uses

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

GetErrorReply represents the data returned from a GetError request.

type GetFBConfigsCookie Uses

type GetFBConfigsCookie struct {
    *xgb.Cookie
}

GetFBConfigsCookie is a cookie used only for GetFBConfigs requests.

func GetFBConfigs Uses

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 Uses

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 Uses

func (cook GetFBConfigsCookie) Reply() (*GetFBConfigsReply, error)

Reply blocks and returns the reply data for a GetFBConfigs request.

type GetFBConfigsReply Uses

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

GetFBConfigsReply represents the data returned from a GetFBConfigs request.

type GetFloatvCookie Uses

type GetFloatvCookie struct {
    *xgb.Cookie
}

GetFloatvCookie is a cookie used only for GetFloatv requests.

func GetFloatv Uses

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 Uses

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 Uses

func (cook GetFloatvCookie) Reply() (*GetFloatvReply, error)

Reply blocks and returns the reply data for a GetFloatv request.

type GetFloatvReply Uses

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

GetFloatvReply represents the data returned from a GetFloatv request.

type GetHistogramCookie Uses

type GetHistogramCookie struct {
    *xgb.Cookie
}

GetHistogramCookie is a cookie used only for GetHistogram requests.

func GetHistogram Uses

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 Uses

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 Uses

func (cook GetHistogramCookie) Reply() (*GetHistogramReply, error)

Reply blocks and returns the reply data for a GetHistogram request.

type GetHistogramParameterfvCookie Uses

type GetHistogramParameterfvCookie struct {
    *xgb.Cookie
}

GetHistogramParameterfvCookie is a cookie used only for GetHistogramParameterfv requests.

func GetHistogramParameterfv Uses

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 Uses

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 Uses

func (cook GetHistogramParameterfvCookie) Reply() (*GetHistogramParameterfvReply, error)

Reply blocks and returns the reply data for a GetHistogramParameterfv request.

type GetHistogramParameterfvReply Uses

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

GetHistogramParameterfvReply represents the data returned from a GetHistogramParameterfv request.

type GetHistogramParameterivCookie Uses

type GetHistogramParameterivCookie struct {
    *xgb.Cookie
}

GetHistogramParameterivCookie is a cookie used only for GetHistogramParameteriv requests.

func GetHistogramParameteriv Uses

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 Uses

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 Uses

func (cook GetHistogramParameterivCookie) Reply() (*GetHistogramParameterivReply, error)

Reply blocks and returns the reply data for a GetHistogramParameteriv request.

type GetHistogramParameterivReply Uses

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

GetHistogramParameterivReply represents the data returned from a GetHistogramParameteriv request.

type GetHistogramReply Uses

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

GetHistogramReply represents the data returned from a GetHistogram request.

type GetIntegervCookie Uses

type GetIntegervCookie struct {
    *xgb.Cookie
}

GetIntegervCookie is a cookie used only for GetIntegerv requests.

func GetIntegerv Uses

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 Uses

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 Uses

func (cook GetIntegervCookie) Reply() (*GetIntegervReply, error)

Reply blocks and returns the reply data for a GetIntegerv request.

type GetIntegervReply Uses

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

GetIntegervReply represents the data returned from a GetIntegerv request.

type GetLightfvCookie Uses

type GetLightfvCookie struct {
    *xgb.Cookie
}

GetLightfvCookie is a cookie used only for GetLightfv requests.

func GetLightfv Uses

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 Uses

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 Uses

func (cook GetLightfvCookie) Reply() (*GetLightfvReply, error)

Reply blocks and returns the reply data for a GetLightfv request.

type GetLightfvReply Uses

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

GetLightfvReply represents the data returned from a GetLightfv request.

type GetLightivCookie Uses

type GetLightivCookie struct {
    *xgb.Cookie
}

GetLightivCookie is a cookie used only for GetLightiv requests.

func GetLightiv Uses

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 Uses

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 Uses

func (cook GetLightivCookie) Reply() (*GetLightivReply, error)

Reply blocks and returns the reply data for a GetLightiv request.

type GetLightivReply Uses

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

GetLightivReply represents the data returned from a GetLightiv request.

type GetMapdvCookie Uses

type GetMapdvCookie struct {
    *xgb.Cookie
}

GetMapdvCookie is a cookie used only for GetMapdv requests.

func GetMapdv Uses

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 Uses

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 Uses

func (cook GetMapdvCookie) Reply() (*GetMapdvReply, error)

Reply blocks and returns the reply data for a GetMapdv request.

type GetMapdvReply Uses

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

GetMapdvReply represents the data returned from a GetMapdv request.

type GetMapfvCookie Uses

type GetMapfvCookie struct {
    *xgb.Cookie
}

GetMapfvCookie is a cookie used only for GetMapfv requests.

func GetMapfv Uses

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 Uses

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 Uses

func (cook GetMapfvCookie) Reply() (*GetMapfvReply, error)

Reply blocks and returns the reply data for a GetMapfv request.

type GetMapfvReply Uses

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

GetMapfvReply represents the data returned from a GetMapfv request.

type GetMapivCookie Uses

type GetMapivCookie struct {
    *xgb.Cookie
}

GetMapivCookie is a cookie used only for GetMapiv requests.

func GetMapiv Uses

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 Uses

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 Uses

func (cook GetMapivCookie) Reply() (*GetMapivReply, error)

Reply blocks and returns the reply data for a GetMapiv request.

type GetMapivReply Uses

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

GetMapivReply represents the data returned from a GetMapiv request.

type GetMaterialfvCookie Uses

type GetMaterialfvCookie struct {
    *xgb.Cookie
}

GetMaterialfvCookie is a cookie used only for GetMaterialfv requests.

func GetMaterialfv Uses

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 Uses

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 Uses

func (cook GetMaterialfvCookie) Reply() (*GetMaterialfvReply, error)

Reply blocks and returns the reply data for a GetMaterialfv request.

type GetMaterialfvReply Uses

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

GetMaterialfvReply represents the data returned from a GetMaterialfv request.

type GetMaterialivCookie Uses

type GetMaterialivCookie struct {
    *xgb.Cookie
}

GetMaterialivCookie is a cookie used only for GetMaterialiv requests.

func GetMaterialiv Uses

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 Uses

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 Uses

func (cook GetMaterialivCookie) Reply() (*GetMaterialivReply, error)

Reply blocks and returns the reply data for a GetMaterialiv request.

type GetMaterialivReply Uses

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

GetMaterialivReply represents the data returned from a GetMaterialiv request.

type GetMinmaxCookie Uses

type GetMinmaxCookie struct {
    *xgb.Cookie
}

GetMinmaxCookie is a cookie used only for GetMinmax requests.

func GetMinmax Uses

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 Uses

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 Uses

func (cook GetMinmaxCookie) Reply() (*GetMinmaxReply, error)

Reply blocks and returns the reply data for a GetMinmax request.

type GetMinmaxParameterfvCookie Uses

type GetMinmaxParameterfvCookie struct {
    *xgb.Cookie
}

GetMinmaxParameterfvCookie is a cookie used only for GetMinmaxParameterfv requests.

func GetMinmaxParameterfv Uses

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 Uses

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 Uses

func (cook GetMinmaxParameterfvCookie) Reply() (*GetMinmaxParameterfvReply, error)

Reply blocks and returns the reply data for a GetMinmaxParameterfv request.

type GetMinmaxParameterfvReply Uses

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

GetMinmaxParameterfvReply represents the data returned from a GetMinmaxParameterfv request.

type GetMinmaxParameterivCookie Uses

type GetMinmaxParameterivCookie struct {
    *xgb.Cookie
}

GetMinmaxParameterivCookie is a cookie used only for GetMinmaxParameteriv requests.

func GetMinmaxParameteriv Uses

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 Uses

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 Uses

func (cook GetMinmaxParameterivCookie) Reply() (*GetMinmaxParameterivReply, error)

Reply blocks and returns the reply data for a GetMinmaxParameteriv request.

type GetMinmaxParameterivReply Uses

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

GetMinmaxParameterivReply represents the data returned from a GetMinmaxParameteriv request.

type GetMinmaxReply Uses

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

GetMinmaxReply represents the data returned from a GetMinmax request.

type GetPixelMapfvCookie Uses

type GetPixelMapfvCookie struct {
    *xgb.Cookie
}

GetPixelMapfvCookie is a cookie used only for GetPixelMapfv requests.

func GetPixelMapfv Uses

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 Uses

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 Uses

func (cook GetPixelMapfvCookie) Reply() (*GetPixelMapfvReply, error)

Reply blocks and returns the reply data for a GetPixelMapfv request.

type GetPixelMapfvReply Uses

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

GetPixelMapfvReply represents the data returned from a GetPixelMapfv request.

type GetPixelMapuivCookie Uses

type GetPixelMapuivCookie struct {
    *xgb.Cookie
}

GetPixelMapuivCookie is a cookie used only for GetPixelMapuiv requests.

func GetPixelMapuiv Uses

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 Uses

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 Uses

func (cook GetPixelMapuivCookie) Reply() (*GetPixelMapuivReply, error)

Reply blocks and returns the reply data for a GetPixelMapuiv request.

type GetPixelMapuivReply Uses

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

GetPixelMapuivReply represents the data returned from a GetPixelMapuiv request.

type GetPixelMapusvCookie Uses

type GetPixelMapusvCookie struct {
    *xgb.Cookie
}

GetPixelMapusvCookie is a cookie used only for GetPixelMapusv requests.

func GetPixelMapusv Uses

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 Uses

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 Uses

func (cook GetPixelMapusvCookie) Reply() (*GetPixelMapusvReply, error)

Reply blocks and returns the reply data for a GetPixelMapusv request.

type GetPixelMapusvReply Uses

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

GetPixelMapusvReply represents the data returned from a GetPixelMapusv request.

type GetPolygonStippleCookie Uses

type GetPolygonStippleCookie struct {
    *xgb.Cookie
}

GetPolygonStippleCookie is a cookie used only for GetPolygonStipple requests.

func GetPolygonStipple Uses

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 Uses

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 Uses

func (cook GetPolygonStippleCookie) Reply() (*GetPolygonStippleReply, error)

Reply blocks and returns the reply data for a GetPolygonStipple request.

type GetPolygonStippleReply Uses

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

GetPolygonStippleReply represents the data returned from a GetPolygonStipple request.

type GetQueryObjectivARBCookie Uses

type GetQueryObjectivARBCookie struct {
    *xgb.Cookie
}

GetQueryObjectivARBCookie is a cookie used only for GetQueryObjectivARB requests.

func GetQueryObjectivARB Uses

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 Uses

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 Uses

func (cook GetQueryObjectivARBCookie) Reply() (*GetQueryObjectivARBReply, error)

Reply blocks and returns the reply data for a GetQueryObjectivARB request.

type GetQueryObjectivARBReply Uses

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

GetQueryObjectivARBReply represents the data returned from a GetQueryObjectivARB request.

type GetQueryObjectuivARBCookie Uses

type GetQueryObjectuivARBCookie struct {
    *xgb.Cookie
}

GetQueryObjectuivARBCookie is a cookie used only for GetQueryObjectuivARB requests.

func GetQueryObjectuivARB Uses

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 Uses

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 Uses

func (cook GetQueryObjectuivARBCookie) Reply() (*GetQueryObjectuivARBReply, error)

Reply blocks and returns the reply data for a GetQueryObjectuivARB request.

type GetQueryObjectuivARBReply Uses

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

GetQueryObjectuivARBReply represents the data returned from a GetQueryObjectuivARB request.

type GetQueryivARBCookie Uses

type GetQueryivARBCookie struct {
    *xgb.Cookie
}

GetQueryivARBCookie is a cookie used only for GetQueryivARB requests.

func GetQueryivARB Uses

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 Uses

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 Uses

func (cook GetQueryivARBCookie) Reply() (*GetQueryivARBReply, error)

Reply blocks and returns the reply data for a GetQueryivARB request.

type GetQueryivARBReply Uses

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

GetQueryivARBReply represents the data returned from a GetQueryivARB request.

type GetSeparableFilterCookie Uses

type GetSeparableFilterCookie struct {
    *xgb.Cookie
}

GetSeparableFilterCookie is a cookie used only for GetSeparableFilter requests.

func GetSeparableFilter Uses

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 Uses

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 Uses

func (cook GetSeparableFilterCookie) Reply() (*GetSeparableFilterReply, error)

Reply blocks and returns the reply data for a GetSeparableFilter request.

type GetSeparableFilterReply Uses

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

GetSeparableFilterReply represents the data returned from a GetSeparableFilter request.

type GetStringCookie Uses

type GetStringCookie struct {
    *xgb.Cookie
}

GetStringCookie is a cookie used only for GetString requests.

func GetString Uses

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 Uses

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 Uses

func (cook GetStringCookie) Reply() (*GetStringReply, error)

Reply blocks and returns the reply data for a GetString request.

type GetStringReply Uses

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

GetStringReply represents the data returned from a GetString request.

type GetTexEnvfvCookie Uses

type GetTexEnvfvCookie struct {
    *xgb.Cookie
}

GetTexEnvfvCookie is a cookie used only for GetTexEnvfv requests.

func GetTexEnvfv Uses

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 Uses

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 Uses

func (cook GetTexEnvfvCookie) Reply() (*GetTexEnvfvReply, error)

Reply blocks and returns the reply data for a GetTexEnvfv request.

type GetTexEnvfvReply Uses

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

GetTexEnvfvReply represents the data returned from a GetTexEnvfv request.

type GetTexEnvivCookie Uses

type GetTexEnvivCookie struct {
    *xgb.Cookie
}

GetTexEnvivCookie is a cookie used only for GetTexEnviv requests.

func GetTexEnviv Uses

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 Uses

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 Uses

func (cook GetTexEnvivCookie) Reply() (*GetTexEnvivReply, error)

Reply blocks and returns the reply data for a GetTexEnviv request.

type GetTexEnvivReply Uses

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

GetTexEnvivReply represents the data returned from a GetTexEnviv request.

type GetTexGendvCookie Uses

type GetTexGendvCookie struct {
    *xgb.Cookie
}

GetTexGendvCookie is a cookie used only for GetTexGendv requests.

func GetTexGendv Uses

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 Uses

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 Uses

func (cook GetTexGendvCookie) Reply() (*GetTexGendvReply, error)

Reply blocks and returns the reply data for a GetTexGendv request.

type GetTexGendvReply Uses

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

GetTexGendvReply represents the data returned from a GetTexGendv request.

type GetTexGenfvCookie Uses

type GetTexGenfvCookie struct {
    *xgb.Cookie
}

GetTexGenfvCookie is a cookie used only for GetTexGenfv requests.

func GetTexGenfv Uses

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 Uses

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 Uses

func (cook GetTexGenfvCookie) Reply() (*GetTexGenfvReply, error)

Reply blocks and returns the reply data for a GetTexGenfv request.

type GetTexGenfvReply Uses

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

GetTexGenfvReply represents the data returned from a GetTexGenfv request.

type GetTexGenivCookie Uses

type GetTexGenivCookie struct {
    *xgb.Cookie
}

GetTexGenivCookie is a cookie used only for GetTexGeniv requests.

func GetTexGeniv Uses

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 Uses

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 Uses

func (cook GetTexGenivCookie) Reply() (*GetTexGenivReply, error)

Reply blocks and returns the reply data for a GetTexGeniv request.

type GetTexGenivReply Uses

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

GetTexGenivReply represents the data returned from a GetTexGeniv request.

type GetTexImageCookie Uses

type GetTexImageCookie struct {
    *xgb.Cookie
}

GetTexImageCookie is a cookie used only for GetTexImage requests.

func GetTexImage Uses

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 Uses

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 Uses

func (cook GetTexImageCookie) Reply() (*GetTexImageReply, error)

Reply blocks and returns the reply data for a GetTexImage request.

type GetTexImageReply Uses

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

GetTexImageReply represents the data returned from a GetTexImage request.

type GetTexLevelParameterfvCookie Uses

type GetTexLevelParameterfvCookie struct {
    *xgb.Cookie
}

GetTexLevelParameterfvCookie is a cookie used only for GetTexLevelParameterfv requests.

func GetTexLevelParameterfv Uses

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 Uses

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 Uses

func (cook GetTexLevelParameterfvCookie) Reply() (*GetTexLevelParameterfvReply, error)

Reply blocks and returns the reply data for a GetTexLevelParameterfv request.

type GetTexLevelParameterfvReply Uses

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

GetTexLevelParameterfvReply represents the data returned from a GetTexLevelParameterfv request.

type GetTexLevelParameterivCookie Uses

type GetTexLevelParameterivCookie struct {
    *xgb.Cookie
}

GetTexLevelParameterivCookie is a cookie used only for GetTexLevelParameteriv requests.

func GetTexLevelParameteriv Uses

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 Uses

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 Uses

func (cook GetTexLevelParameterivCookie) Reply() (*GetTexLevelParameterivReply, error)

Reply blocks and returns the reply data for a GetTexLevelParameteriv request.

type GetTexLevelParameterivReply Uses

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

GetTexLevelParameterivReply represents the data returned from a GetTexLevelParameteriv request.

type GetTexParameterfvCookie Uses

type GetTexParameterfvCookie struct {
    *xgb.Cookie
}

GetTexParameterfvCookie is a cookie used only for GetTexParameterfv requests.

func GetTexParameterfv Uses

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 Uses

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 Uses

func (cook GetTexParameterfvCookie) Reply() (*GetTexParameterfvReply, error)

Reply blocks and returns the reply data for a GetTexParameterfv request.

type GetTexParameterfvReply Uses

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

GetTexParameterfvReply represents the data returned from a GetTexParameterfv request.

type GetTexParameterivCookie Uses

type GetTexParameterivCookie struct {
    *xgb.Cookie
}

GetTexParameterivCookie is a cookie used only for GetTexParameteriv requests.

func GetTexParameteriv Uses

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 Uses

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 Uses

func (cook GetTexParameterivCookie) Reply() (*GetTexParameterivReply, error)

Reply blocks and returns the reply data for a GetTexParameteriv request.

type GetTexParameterivReply Uses

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

GetTexParameterivReply represents the data returned from a GetTexParameteriv request.

type GetVisualConfigsCookie Uses

type GetVisualConfigsCookie struct {
    *xgb.Cookie
}

GetVisualConfigsCookie is a cookie used only for GetVisualConfigs requests.

func GetVisualConfigs Uses

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 Uses

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 Uses

func (cook GetVisualConfigsCookie) Reply() (*GetVisualConfigsReply, error)

Reply blocks and returns the reply data for a GetVisualConfigs request.

type GetVisualConfigsReply Uses

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

GetVisualConfigsReply represents the data returned from a GetVisualConfigs request.

type IsDirectCookie Uses

type IsDirectCookie struct {
    *xgb.Cookie
}

IsDirectCookie is a cookie used only for IsDirect requests.

func IsDirect Uses

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 Uses

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 Uses

func (cook IsDirectCookie) Reply() (*IsDirectReply, error)

Reply blocks and returns the reply data for a IsDirect request.

type IsDirectReply Uses

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

IsDirectReply represents the data returned from a IsDirect request.

type IsListCookie Uses

type IsListCookie struct {
    *xgb.Cookie
}

IsListCookie is a cookie used only for IsList requests.

func IsList Uses

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 Uses

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 Uses

func (cook IsListCookie) Reply() (*IsListReply, error)

Reply blocks and returns the reply data for a IsList request.

type IsListReply Uses

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

IsListReply represents the data returned from a IsList request.

type IsQueryARBCookie Uses

type IsQueryARBCookie struct {
    *xgb.Cookie
}

IsQueryARBCookie is a cookie used only for IsQueryARB requests.

func IsQueryARB Uses

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 Uses

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 Uses

func (cook IsQueryARBCookie) Reply() (*IsQueryARBReply, error)

Reply blocks and returns the reply data for a IsQueryARB request.

type IsQueryARBReply Uses

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

IsQueryARBReply represents the data returned from a IsQueryARB request.

type IsTextureCookie Uses

type IsTextureCookie struct {
    *xgb.Cookie
}

IsTextureCookie is a cookie used only for IsTexture requests.

func IsTexture Uses

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 Uses

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 Uses

func (cook IsTextureCookie) Reply() (*IsTextureReply, error)

Reply blocks and returns the reply data for a IsTexture request.

type IsTextureReply Uses

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

IsTextureReply represents the data returned from a IsTexture request.

type MakeContextCurrentCookie Uses

type MakeContextCurrentCookie struct {
    *xgb.Cookie
}

MakeContextCurrentCookie is a cookie used only for MakeContextCurrent requests.

func MakeContextCurrent Uses

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 Uses

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 Uses

func (cook MakeContextCurrentCookie) Reply() (*MakeContextCurrentReply, error)

Reply blocks and returns the reply data for a MakeContextCurrent request.

type MakeContextCurrentReply Uses

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

MakeContextCurrentReply represents the data returned from a MakeContextCurrent request.

type MakeCurrentCookie Uses

type MakeCurrentCookie struct {
    *xgb.Cookie
}

MakeCurrentCookie is a cookie used only for MakeCurrent requests.

func MakeCurrent Uses

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 Uses

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 Uses

func (cook MakeCurrentCookie) Reply() (*MakeCurrentReply, error)

Reply blocks and returns the reply data for a MakeCurrent request.

type MakeCurrentReply Uses

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

MakeCurrentReply represents the data returned from a MakeCurrent request.

type NewListCookie Uses

type NewListCookie struct {
    *xgb.Cookie
}

NewListCookie is a cookie used only for NewList requests.

func NewList Uses

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 Uses

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 Uses

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 Uses

type Pbuffer uint32

func NewPbufferId Uses

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

type PbufferClobberEvent Uses

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 Uses

func (v PbufferClobberEvent) Bytes() []byte

Bytes writes a PbufferClobberEvent value to a byte slice.

func (PbufferClobberEvent) SequenceId Uses

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 Uses

func (v PbufferClobberEvent) String() string

String is a rudimentary string representation of PbufferClobberEvent.

type PixelStorefCookie Uses

type PixelStorefCookie struct {
    *xgb.Cookie
}

PixelStorefCookie is a cookie used only for PixelStoref requests.

func PixelStoref Uses

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 Uses

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 Uses

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 Uses

type PixelStoreiCookie struct {
    *xgb.Cookie
}

PixelStoreiCookie is a cookie used only for PixelStorei requests.

func PixelStorei Uses

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 Uses

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 Uses

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 Uses

type Pixmap uint32

func NewPixmapId Uses

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

type QueryContextCookie Uses

type QueryContextCookie struct {
    *xgb.Cookie
}

QueryContextCookie is a cookie used only for QueryContext requests.

func QueryContext Uses

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 Uses

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 Uses

func (cook QueryContextCookie) Reply() (*QueryContextReply, error)

Reply blocks and returns the reply data for a QueryContext request.

type QueryContextReply Uses

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

QueryContextReply represents the data returned from a QueryContext request.

type QueryExtensionsStringCookie Uses

type QueryExtensionsStringCookie struct {
    *xgb.Cookie
}

QueryExtensionsStringCookie is a cookie used only for QueryExtensionsString requests.

func QueryExtensionsString Uses

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 Uses

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 Uses

func (cook QueryExtensionsStringCookie) Reply() (*QueryExtensionsStringReply, error)

Reply blocks and returns the reply data for a QueryExtensionsString request.

type QueryExtensionsStringReply Uses

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

QueryExtensionsStringReply represents the data returned from a QueryExtensionsString request.

type QueryServerStringCookie Uses

type QueryServerStringCookie struct {
    *xgb.Cookie
}

QueryServerStringCookie is a cookie used only for QueryServerString requests.

func QueryServerString Uses

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 Uses

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 Uses

func (cook QueryServerStringCookie) Reply() (*QueryServerStringReply, error)

Reply blocks and returns the reply data for a QueryServerString request.

type QueryServerStringReply Uses

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

QueryServerStringReply represents the data returned from a QueryServerString request.

type QueryVersionCookie Uses

type QueryVersionCookie struct {
    *xgb.Cookie
}

QueryVersionCookie is a cookie used only for QueryVersion requests.

func QueryVersion Uses

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 Uses

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 Uses

func (cook QueryVersionCookie) Reply() (*QueryVersionReply, error)

Reply blocks and returns the reply data for a QueryVersion request.

type QueryVersionReply Uses

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

QueryVersionReply represents the data returned from a QueryVersion request.

type ReadPixelsCookie Uses

type ReadPixelsCookie struct {
    *xgb.Cookie
}

ReadPixelsCookie is a cookie used only for ReadPixels requests.

func ReadPixels Uses

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 Uses

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 Uses

func (cook ReadPixelsCookie) Reply() (*ReadPixelsReply, error)

Reply blocks and returns the reply data for a ReadPixels request.

type ReadPixelsReply Uses

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

ReadPixelsReply represents the data returned from a ReadPixels request.

type RenderCookie Uses

type RenderCookie struct {
    *xgb.Cookie
}

RenderCookie is a cookie used only for Render requests.

func Render Uses

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 Uses

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 Uses

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 Uses

type RenderLargeCookie struct {
    *xgb.Cookie
}

RenderLargeCookie is a cookie used only for RenderLarge requests.

func RenderLarge Uses

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 Uses

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 Uses

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 Uses

type RenderModeCookie struct {
    *xgb.Cookie
}

RenderModeCookie is a cookie used only for RenderMode requests.

func RenderMode Uses

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 Uses

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 Uses

func (cook RenderModeCookie) Reply() (*RenderModeReply, error)

Reply blocks and returns the reply data for a RenderMode request.

type RenderModeReply Uses

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

RenderModeReply represents the data returned from a RenderMode request.

type SelectBufferCookie Uses

type SelectBufferCookie struct {
    *xgb.Cookie
}

SelectBufferCookie is a cookie used only for SelectBuffer requests.

func SelectBuffer Uses

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 Uses

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 Uses

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 Uses

type SetClientInfo2ARBCookie struct {
    *xgb.Cookie
}

SetClientInfo2ARBCookie is a cookie used only for SetClientInfo2ARB requests.

func SetClientInfo2ARB Uses

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 Uses

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 Uses

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 Uses

type SetClientInfoARBCookie struct {
    *xgb.Cookie
}

SetClientInfoARBCookie is a cookie used only for SetClientInfoARB requests.

func SetClientInfoARB Uses

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 Uses

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 Uses

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 Uses

type SwapBuffersCookie struct {
    *xgb.Cookie
}

SwapBuffersCookie is a cookie used only for SwapBuffers requests.

func SwapBuffers Uses

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 Uses

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 Uses

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 Uses

type UnsupportedPrivateRequestError GenericError

func (UnsupportedPrivateRequestError) BadId Uses

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 Uses

func (err UnsupportedPrivateRequestError) Error() string

Error returns a rudimentary string representation of the BadUnsupportedPrivateRequest error.

func (UnsupportedPrivateRequestError) SequenceId Uses

func (err UnsupportedPrivateRequestError) SequenceId() uint16

SequenceId returns the sequence id attached to the BadUnsupportedPrivateRequest error. This is mostly used internally.

type UseXFontCookie Uses

type UseXFontCookie struct {
    *xgb.Cookie
}

UseXFontCookie is a cookie used only for UseXFont requests.

func UseXFont Uses

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 Uses

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 Uses

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 Uses

type VendorPrivateCookie struct {
    *xgb.Cookie
}

VendorPrivateCookie is a cookie used only for VendorPrivate requests.

func VendorPrivate Uses

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 Uses

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 Uses

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 Uses

type VendorPrivateWithReplyCookie struct {
    *xgb.Cookie
}

VendorPrivateWithReplyCookie is a cookie used only for VendorPrivateWithReply requests.

func VendorPrivateWithReply Uses

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 Uses

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 Uses

func (cook VendorPrivateWithReplyCookie) Reply() (*VendorPrivateWithReplyReply, error)

Reply blocks and returns the reply data for a VendorPrivateWithReply request.

type VendorPrivateWithReplyReply Uses

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

VendorPrivateWithReplyReply represents the data returned from a VendorPrivateWithReply request.

type WaitGLCookie Uses

type WaitGLCookie struct {
    *xgb.Cookie
}

WaitGLCookie is a cookie used only for WaitGL requests.

func WaitGL Uses

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 Uses

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 Uses

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 Uses

type WaitXCookie struct {
    *xgb.Cookie
}

WaitXCookie is a cookie used only for WaitX requests.

func WaitX Uses

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 Uses

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 Uses

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 Uses

type Window uint32

func NewWindowId Uses

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

Package glx imports 2 packages (graph). Updated 2016-11-06. Refresh now. Tools for package owners. This is an inactive package (no imports and no commits in at least two years).