Documentation ¶
Index ¶
- Constants
- func Attach(conn *x.Conn, shmSeg Seg, shmId uint32, readOnly bool)
- func AttachChecked(conn *x.Conn, shmSeg Seg, shmId uint32, readOnly bool) x.VoidCookie
- func CreatePixmap(conn *x.Conn, pid x.Pixmap, drawable x.Drawable, width, height uint16, ...)
- func CreatePixmapChecked(conn *x.Conn, pid x.Pixmap, drawable x.Drawable, width, height uint16, ...) x.VoidCookie
- func Detach(conn *x.Conn, shmSeg Seg)
- func DetachChecked(conn *x.Conn, shmSeg Seg) x.VoidCookie
- func Ext() *x.Extension
- func PutImage(conn *x.Conn, drawable x.Drawable, gc x.GContext, ...)
- func PutImageChecked(conn *x.Conn, drawable x.Drawable, gc x.GContext, ...) x.VoidCookie
- type CompletionEvent
- type CreateSegmentCookie
- type GetImageCookie
- type GetImageReply
- type QueryVersionCookie
- type QueryVersionReply
- type Seg
Constants ¶
View Source
const AttachFdOpcode = 6
View Source
const AttachOpcode = 1
View Source
const BadSegErrorCode = 0
View Source
const CompletionEventCode = 0
View Source
const CreatePixmapOpcode = 5
View Source
const CreateSegmentOpcode = 7
View Source
const DetachOpcode = 2
View Source
const GetImageOpcode = 4
View Source
const MajorVersion = 1
_ns.ext_name: Shm
View Source
const MinorVersion = 2
View Source
const PutImageOpcode = 3
View Source
const QueryVersionOpcode = 0
Variables ¶
This section is empty.
Functions ¶
func AttachChecked ¶
func CreatePixmap ¶
func CreatePixmapChecked ¶
func DetachChecked ¶
func DetachChecked(conn *x.Conn, shmSeg Seg) x.VoidCookie
Types ¶
type CompletionEvent ¶
type CompletionEvent struct {
Sequence uint16
}
func NewCompletionEvent ¶
func NewCompletionEvent(data []byte) (*CompletionEvent, error)
type CreateSegmentCookie ¶
type GetImageCookie ¶
func (GetImageCookie) Reply ¶
func (cookie GetImageCookie) Reply(conn *x.Conn) (*GetImageReply, error)
type GetImageReply ¶
type QueryVersionCookie ¶
func QueryVersion ¶
func QueryVersion(conn *x.Conn) QueryVersionCookie
func (QueryVersionCookie) Reply ¶
func (cookie QueryVersionCookie) Reply(conn *x.Conn) (*QueryVersionReply, error)
type QueryVersionReply ¶
Click to show internal directories.
Click to hide internal directories.