egl: reenable partial redraw with a warning when using gallium hud
Partial revert ofe516a0a94f
("egl: disable partial redraw when gallium hud is active"). We shouldn't change the behavior of the application when the hud is enabled, doing so could make it harder do diagnose issues. Instead, now we warn and ask the user to manually disable the extension if he considers it to be worth it. Fixes:e516a0a94f
("egl: disable partial redraw when gallium hud is active") Signed-off-by: Italo Nicola <italonicola@collabora.com> Reviewed-by: Eric Engestrom <eric@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23456>
This commit is contained in:
@@ -194,11 +194,11 @@ struct _egl_display {
|
||||
|
||||
/* options that affect how the driver initializes the display */
|
||||
struct {
|
||||
EGLBoolean Zink; /**< Use kopper only */
|
||||
EGLBoolean ForceSoftware; /**< Use software path only */
|
||||
EGLBoolean GalliumHud; /**< Using gallium hud, disable buffer age */
|
||||
EGLAttrib *Attribs; /**< Platform-specific options */
|
||||
int fd; /**< Platform device specific, local fd */
|
||||
EGLBoolean Zink; /**< Use kopper only */
|
||||
EGLBoolean ForceSoftware; /**< Use software path only */
|
||||
EGLBoolean GalliumHudWarn; /**< Using hud, warn when querying buffer age */
|
||||
EGLAttrib *Attribs; /**< Platform-specific options */
|
||||
int fd; /**< Platform device specific, local fd */
|
||||
} Options;
|
||||
|
||||
/* these fields are set by the driver during init */
|
||||
|
Reference in New Issue
Block a user