branch: externals/xelb commit cd3c1ca8c842765321892f424818acf37885b148 Author: Steven Allen <ste...@stebalien.com> Commit: GitHub <nore...@github.com>
Update to xcb-proto 1.17.0 (#28) We don't use these, but we might as well keep up-to-date. * xcb-dri3.el, xcb-present.el: update for xcb-proto 1.17.0 --- xcb-dri3.el | 16 +++++++++++++++- xcb-present.el | 31 ++++++++++++++++++++++++++++++- 2 files changed, 45 insertions(+), 2 deletions(-) diff --git a/xcb-dri3.el b/xcb-dri3.el index 1c90980b18..218820fbc1 100644 --- a/xcb-dri3.el +++ b/xcb-dri3.el @@ -29,10 +29,12 @@ (defconst xcb:dri3:-extension-xname "DRI3") (defconst xcb:dri3:-extension-name "DRI3") (defconst xcb:dri3:-major-version 1) -(defconst xcb:dri3:-minor-version 3) +(defconst xcb:dri3:-minor-version 4) (require 'xcb-xproto) +(xcb:deftypealias 'xcb:dri3:SYNCOBJ 'xcb:-u4) + (defclass xcb:dri3:QueryVersion (xcb:-request) ((~opcode :initform 0 :type xcb:-u1) @@ -207,6 +209,18 @@ (drmMajor :initarg :drmMajor :type xcb:CARD32) (drmMinor :initarg :drmMinor :type xcb:CARD32))) +(defclass xcb:dri3:ImportSyncobj + (xcb:-request) + ((~opcode :initform 10 :type xcb:-u1) + (syncobj :initarg :syncobj :type xcb:dri3:SYNCOBJ) + (drawable :initarg :drawable :type xcb:DRAWABLE) + (syncobj-fd :type xcb:fd))) + +(defclass xcb:dri3:FreeSyncobj + (xcb:-request) + ((~opcode :initform 11 :type xcb:-u1) + (syncobj :initarg :syncobj :type xcb:dri3:SYNCOBJ))) + (provide 'xcb-dri3) diff --git a/xcb-present.el b/xcb-present.el index e79b52230d..ba44c84d5e 100644 --- a/xcb-present.el +++ b/xcb-present.el @@ -29,7 +29,7 @@ (defconst xcb:present:-extension-xname "Present") (defconst xcb:present:-extension-name "Present") (defconst xcb:present:-major-version 1) -(defconst xcb:present:-minor-version 3) +(defconst xcb:present:-minor-version 4) (require 'xcb-xproto) @@ -39,6 +39,8 @@ (require 'xcb-sync) +(require 'xcb-dri3) + (defconst xcb:present:Event:ConfigureNotify 0) (defconst xcb:present:Event:CompleteNotify 1) (defconst xcb:present:Event:IdleNotify 2) @@ -62,6 +64,7 @@ (defconst xcb:present:Capability:Fence 2) (defconst xcb:present:Capability:UST 4) (defconst xcb:present:Capability:AsyncMayTear 8) +(defconst xcb:present:Capability:Syncobj 16) (defconst xcb:present:CompleteKind:Pixmap 0) (defconst xcb:present:CompleteKind:NotifyMSC 1) @@ -144,6 +147,32 @@ (length :type xcb:CARD32) (capabilities :initarg :capabilities :type xcb:CARD32))) +(defclass xcb:present:PixmapSynced + (xcb:-request) + ((~opcode :initform 5 :type xcb:-u1) + (pad~0 :initform 8 :type xcb:-pad-align) + (window :initarg :window :type xcb:WINDOW) + (pixmap :initarg :pixmap :type xcb:PIXMAP) + (serial :initarg :serial :type xcb:CARD32) + (valid :initarg :valid :type xcb:xfixes:REGION) + (update :initarg :update :type xcb:xfixes:REGION) + (x-off :initarg :x-off :type xcb:INT16) + (y-off :initarg :y-off :type xcb:INT16) + (target-crtc :initarg :target-crtc :type xcb:randr:CRTC) + (acquire-syncobj :initarg :acquire-syncobj :type xcb:dri3:SYNCOBJ) + (release-syncobj :initarg :release-syncobj :type xcb:dri3:SYNCOBJ) + (acquire-point :initarg :acquire-point :type xcb:CARD64) + (release-point :initarg :release-point :type xcb:CARD64) + (options :initarg :options :type xcb:CARD32) + (pad~1 :initform 4 :type xcb:-pad) + (target-msc :initarg :target-msc :type xcb:CARD64) + (divisor :initarg :divisor :type xcb:CARD64) + (remainder :initarg :remainder :type xcb:CARD64) + (notifies~ :initform + '(name notifies type xcb:present:Notify size nil) + :type xcb:-list) + (notifies :initarg :notifies :type xcb:-ignore))) + (defclass xcb:present:Generic (xcb:-event) ((~code :initform 0)