Hi Chris,
On 1 March 2018 at 08:28, Chris Wilson <[email protected]> wrote:
> EGL_IMG_context_priority allows the client to request that their
> rendering be considered high priority. For ourselves, this is important
> as we are interactive and any delay in our rendering causes input-output
> + if (gr->has_context_priority) {
> + EGLint value = EGL_CONTEXT_PRIORITY_MEDIUM_IMG;
> +
> + eglQueryContext(gr->egl_display, gr->egl_context,
> + EGL_CONTEXT_PRIORITY_LEVEL_IMG, &value);
> +
> + if (value != EGL_CONTEXT_PRIORITY_HIGH_IMG) {
> + weston_log("Failed to obtain a high priority
> context.\n");
> + /* Not an error, continue on as normal */
> + }
While this (and EGL spec) says "not an error" the i965 driver will
error out as the ioctl fails.
Say, for some reason the kernel module/HW cannot do a high-priority one ATM.
Should that be changed/fixed?
-Emil
_______________________________________________
wayland-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/wayland-devel