|
From: Francisco J. <cur...@ri...> - 2010-01-16 21:59:13
|
The same names could be reused for e.g. GLX_OML_swap_control, and the COMPLETE suffix doesn't make so much sense there. Signed-off-by: Francisco Jerez <cur...@ri...> --- This patch isn't strictly necessary for buffer validation events, but it makes some of the X server code nicer. dri2proto.txt | 6 +++--- dri2tokens.h | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/dri2proto.txt b/dri2proto.txt index 3d3eec4..4e53bea 100644 --- a/dri2proto.txt +++ b/dri2proto.txt @@ -453,9 +453,9 @@ The name of this extension is "DRI2". ââââ This event reports the status of the last DRI2SwapBuffers event to - the client. The event type should be one of DRI2_EXCHANGE_COMPLETE, - indicating a successful buffer exchange, DRI2_BLIT_COMPLETE, indicating - the swap was performed with a blit, and DRI2_FLIP_COMPLETE, indicating + the client. The event type should be one of DRI2_SWAP_EXCHANGE, + indicating a successful buffer exchange, DRI2_SWAP_BLIT, indicating + the swap was performed with a blit, and DRI2_SWAP_FLIP, indicating a full page flip was completed. ââââ diff --git a/dri2tokens.h b/dri2tokens.h index 7804e4d..2b31a1d 100644 --- a/dri2tokens.h +++ b/dri2tokens.h @@ -48,8 +48,8 @@ #define DRI2DriverVDPAU 1 /* Event sub-types for the swap complete event */ -#define DRI2_EXCHANGE_COMPLETE 0x1 -#define DRI2_BLIT_COMPLETE 0x2 -#define DRI2_FLIP_COMPLETE 0x3 +#define DRI2_SWAP_EXCHANGE 0x1 +#define DRI2_SWAP_BLIT 0x2 +#define DRI2_SWAP_FLIP 0x3 #endif -- 1.6.4.4 |