diff options
Diffstat (limited to 'uxa/uxa.h')
-rw-r--r-- | uxa/uxa.h | 10 |
1 files changed, 8 insertions, 2 deletions
@@ -548,12 +548,18 @@ typedef struct _UxaDriver { /** * UXA_USE_GLAMOR indicates to use glamor acceleration to perform rendering. * And if glamor fail to accelerate the rendering, then goto fallback to - * use CPU to do the rendering. + * use CPU to do the rendering. This flag will be set only when glamor get + * initialized successfully. + * Note, in ddx close screen, this bit need to be cleared. */ #define UXA_USE_GLAMOR (1 << 3) -/** @} */ +/* UXA_GLAMOR_EGL_INITIALIZED indicates glamor egl layer get initialized + * successfully. UXA layer does not use this flag, before call to + * glamor_init, ddx need to check this flag. */ +#define UXA_GLAMOR_EGL_INITIALIZED (1 << 4) +/** @} */ /** @name UXA CreatePixmap hint flags * @{ */ |