sync with OpenBSD -current
This commit is contained in:
parent
0c289f288c
commit
11caf8af74
38 changed files with 1489 additions and 46294 deletions
|
@ -25,7 +25,7 @@
|
|||
|
||||
#define DRI3_NAME "DRI3"
|
||||
#define DRI3_MAJOR 1
|
||||
#define DRI3_MINOR 3
|
||||
#define DRI3_MINOR 4
|
||||
|
||||
#define DRI3NumberErrors 0
|
||||
#define DRI3NumberEvents 0
|
||||
|
@ -45,7 +45,13 @@
|
|||
/* v1.3 */
|
||||
#define xDRI3SetDRMDeviceInUse 9
|
||||
|
||||
#define DRI3NumberRequests 10
|
||||
/* v1.4 */
|
||||
#define xDRI3ImportSyncobj 10
|
||||
#define xDRI3FreeSyncobj 11
|
||||
|
||||
#define DRI3NumberRequests 12
|
||||
|
||||
#define DRI3Syncobj CARD32
|
||||
|
||||
typedef struct {
|
||||
CARD8 reqType;
|
||||
|
@ -261,4 +267,22 @@ typedef struct {
|
|||
} xDRI3SetDRMDeviceInUseReq;
|
||||
#define sz_xDRI3SetDRMDeviceInUseReq 16
|
||||
|
||||
/* v1.4 */
|
||||
typedef struct {
|
||||
CARD8 reqType;
|
||||
CARD8 dri3ReqType;
|
||||
CARD16 length;
|
||||
DRI3Syncobj syncobj;
|
||||
CARD32 drawable;
|
||||
} xDRI3ImportSyncobjReq;
|
||||
#define sz_xDRI3ImportSyncobjReq 12
|
||||
|
||||
typedef struct {
|
||||
CARD8 reqType;
|
||||
CARD8 dri3ReqType;
|
||||
CARD16 length;
|
||||
DRI3Syncobj syncobj;
|
||||
} xDRI3FreeSyncobjReq;
|
||||
#define sz_xDRI3FreeSyncobjReq 8
|
||||
|
||||
#endif
|
||||
|
|
|
@ -24,6 +24,7 @@
|
|||
#define _PRESENT_PROTO_H_
|
||||
|
||||
#include <X11/extensions/presenttokens.h>
|
||||
#include <X11/extensions/dri3proto.h>
|
||||
|
||||
#define Window CARD32
|
||||
#define Pixmap CARD32
|
||||
|
@ -136,6 +137,37 @@ typedef struct {
|
|||
} xPresentQueryCapabilitiesReply;
|
||||
#define sz_xPresentQueryCapabilitiesReply 32
|
||||
|
||||
typedef struct {
|
||||
CARD8 reqType;
|
||||
CARD8 presentReqType;
|
||||
CARD16 length;
|
||||
Window window;
|
||||
|
||||
Pixmap pixmap;
|
||||
CARD32 serial;
|
||||
|
||||
Region valid;
|
||||
Region update;
|
||||
|
||||
INT16 x_off;
|
||||
INT16 y_off;
|
||||
CARD32 target_crtc;
|
||||
|
||||
DRI3Syncobj acquire_syncobj;
|
||||
DRI3Syncobj release_syncobj;
|
||||
CARD64 acquire_point;
|
||||
CARD64 release_point;
|
||||
|
||||
CARD32 options;
|
||||
CARD32 pad1;
|
||||
|
||||
CARD64 target_msc;
|
||||
CARD64 divisor;
|
||||
CARD64 remainder;
|
||||
/* followed by a LISTofPRESENTNOTIFY */
|
||||
} xPresentPixmapSyncedReq;
|
||||
#define sz_xPresentPixmapSyncedReq 88
|
||||
|
||||
/*
|
||||
* Events
|
||||
*
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
|
||||
#define PRESENT_NAME "Present"
|
||||
#define PRESENT_MAJOR 1
|
||||
#define PRESENT_MINOR 3
|
||||
#define PRESENT_MINOR 4
|
||||
|
||||
#define PresentNumberErrors 0
|
||||
#define PresentNumberEvents 0
|
||||
|
@ -36,8 +36,9 @@
|
|||
#define X_PresentNotifyMSC 2
|
||||
#define X_PresentSelectInput 3
|
||||
#define X_PresentQueryCapabilities 4
|
||||
#define X_PresentPixmapSynced 5
|
||||
|
||||
#define PresentNumberRequests 5
|
||||
#define PresentNumberRequests 6
|
||||
|
||||
/* Present operation options */
|
||||
#define PresentOptionNone 0
|
||||
|
@ -62,11 +63,13 @@
|
|||
#define PresentCapabilityFence 2
|
||||
#define PresentCapabilityUST 4
|
||||
#define PresentCapabilityAsyncMayTear 8
|
||||
#define PresentCapabilitySyncobj 16
|
||||
|
||||
#define PresentAllCapabilities (PresentCapabilityAsync | \
|
||||
PresentCapabilityFence | \
|
||||
PresentCapabilityUST | \
|
||||
PresentCapabilityAsyncMayTear)
|
||||
PresentCapabilityAsyncMayTear | \
|
||||
PresentCapabilitySyncobj)
|
||||
|
||||
#define PresentAllAsyncCapabilities (PresentCapabilityAsync | PresentCapabilityAsyncMayTear)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue