Versions in this module Expand all Collapse all v1 v1.1.1 Nov 30, 2023 v1.1.0 Nov 5, 2022 v1.0.1 May 1, 2022 v1.0.0 Feb 16, 2022 Changes in this version + func DrmClipRectListBytes(buf []byte, list []DrmClipRect) int + func DrmClipRectRead(buf []byte, v *DrmClipRect) int + func DrmClipRectReadList(buf []byte, dest []DrmClipRect) int + func Init(c *xgb.Conn) error + type AuthConnectionCookie struct + func AuthConnection(c *xgb.Conn, Screen uint32, Magic uint32) AuthConnectionCookie + func AuthConnectionUnchecked(c *xgb.Conn, Screen uint32, Magic uint32) AuthConnectionCookie + func (cook AuthConnectionCookie) Reply() (*AuthConnectionReply, error) + type AuthConnectionReply struct + Authenticated uint32 + Length uint32 + Sequence uint16 + type CloseConnectionCookie struct + func CloseConnection(c *xgb.Conn, Screen uint32) CloseConnectionCookie + func CloseConnectionChecked(c *xgb.Conn, Screen uint32) CloseConnectionCookie + func (cook CloseConnectionCookie) Check() error + type CreateContextCookie struct + func CreateContext(c *xgb.Conn, Screen uint32, Visual uint32, Context uint32) CreateContextCookie + func CreateContextUnchecked(c *xgb.Conn, Screen uint32, Visual uint32, Context uint32) CreateContextCookie + func (cook CreateContextCookie) Reply() (*CreateContextReply, error) + type CreateContextReply struct + HwContext uint32 + Length uint32 + Sequence uint16 + type CreateDrawableCookie struct + func CreateDrawable(c *xgb.Conn, Screen uint32, Drawable uint32) CreateDrawableCookie + func CreateDrawableUnchecked(c *xgb.Conn, Screen uint32, Drawable uint32) CreateDrawableCookie + func (cook CreateDrawableCookie) Reply() (*CreateDrawableReply, error) + type CreateDrawableReply struct + HwDrawableHandle uint32 + Length uint32 + Sequence uint16 + type DestroyContextCookie struct + func DestroyContext(c *xgb.Conn, Screen uint32, Context uint32) DestroyContextCookie + func DestroyContextChecked(c *xgb.Conn, Screen uint32, Context uint32) DestroyContextCookie + func (cook DestroyContextCookie) Check() error + type DestroyDrawableCookie struct + func DestroyDrawable(c *xgb.Conn, Screen uint32, Drawable uint32) DestroyDrawableCookie + func DestroyDrawableChecked(c *xgb.Conn, Screen uint32, Drawable uint32) DestroyDrawableCookie + func (cook DestroyDrawableCookie) Check() error + type DrmClipRect struct + X1 int16 + X2 int16 + X3 int16 + Y1 int16 + func (v DrmClipRect) Bytes() []byte + type GetClientDriverNameCookie struct + func GetClientDriverName(c *xgb.Conn, Screen uint32) GetClientDriverNameCookie + func GetClientDriverNameUnchecked(c *xgb.Conn, Screen uint32) GetClientDriverNameCookie + func (cook GetClientDriverNameCookie) Reply() (*GetClientDriverNameReply, error) + type GetClientDriverNameReply struct + ClientDriverMajorVersion uint32 + ClientDriverMinorVersion uint32 + ClientDriverName string + ClientDriverNameLen uint32 + ClientDriverPatchVersion uint32 + Length uint32 + Sequence uint16 + type GetDeviceInfoCookie struct + func GetDeviceInfo(c *xgb.Conn, Screen uint32) GetDeviceInfoCookie + func GetDeviceInfoUnchecked(c *xgb.Conn, Screen uint32) GetDeviceInfoCookie + func (cook GetDeviceInfoCookie) Reply() (*GetDeviceInfoReply, error) + type GetDeviceInfoReply struct + DevicePrivate []uint32 + DevicePrivateSize uint32 + FramebufferHandleHigh uint32 + FramebufferHandleLow uint32 + FramebufferOriginOffset uint32 + FramebufferSize uint32 + FramebufferStride uint32 + Length uint32 + Sequence uint16 + type GetDrawableInfoCookie struct + func GetDrawableInfo(c *xgb.Conn, Screen uint32, Drawable uint32) GetDrawableInfoCookie + func GetDrawableInfoUnchecked(c *xgb.Conn, Screen uint32, Drawable uint32) GetDrawableInfoCookie + func (cook GetDrawableInfoCookie) Reply() (*GetDrawableInfoReply, error) + type GetDrawableInfoReply struct + BackClipRects []DrmClipRect + BackX int16 + BackY int16 + ClipRects []DrmClipRect + DrawableOriginX int16 + DrawableOriginY int16 + DrawableSizeH int16 + DrawableSizeW int16 + DrawableTableIndex uint32 + DrawableTableStamp uint32 + Length uint32 + NumBackClipRects uint32 + NumClipRects uint32 + Sequence uint16 + type OpenConnectionCookie struct + func OpenConnection(c *xgb.Conn, Screen uint32) OpenConnectionCookie + func OpenConnectionUnchecked(c *xgb.Conn, Screen uint32) OpenConnectionCookie + func (cook OpenConnectionCookie) Reply() (*OpenConnectionReply, error) + type OpenConnectionReply struct + BusId string + BusIdLen uint32 + Length uint32 + SareaHandleHigh uint32 + SareaHandleLow uint32 + Sequence uint16 + type QueryDirectRenderingCapableCookie struct + func QueryDirectRenderingCapable(c *xgb.Conn, Screen uint32) QueryDirectRenderingCapableCookie + func QueryDirectRenderingCapableUnchecked(c *xgb.Conn, Screen uint32) QueryDirectRenderingCapableCookie + func (cook QueryDirectRenderingCapableCookie) Reply() (*QueryDirectRenderingCapableReply, error) + type QueryDirectRenderingCapableReply struct + IsCapable bool + Length uint32 + Sequence uint16 + type QueryVersionCookie struct + func QueryVersion(c *xgb.Conn) QueryVersionCookie + func QueryVersionUnchecked(c *xgb.Conn) QueryVersionCookie + func (cook QueryVersionCookie) Reply() (*QueryVersionReply, error) + type QueryVersionReply struct + DriMajorVersion uint16 + DriMinorPatch uint32 + DriMinorVersion uint16 + Length uint32 + Sequence uint16