[wayland] Add support for Wayland 1.2 wl_output events
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
glmark2 |
Fix Committed
|
Undecided
|
Jesse Barker |
Bug Description
The glmark2 project builds with -Wall -Wextra -Werror, so it is difficult to leverage Wayland's API version system without running afoul of the compiler. Building glmark2 trunk against Wayland 1.2 fails to build due to the global registry struct not initializing 2 of 4 function pointer members.
This patch adds stub methods for the Wayland 1.2 wl_output events. This satisfies the compiler, but does assume that glmark2 will support only the newest API, as opposed to "all since 1.0". An alternative to this patch would be to initialize the final two struct members as "NULL"-- though this approach would need to be extensively tested.
http://
description: | updated |
description: | updated |
Changed in glmark2: | |
assignee: | nobody → Jesse Barker (jesse-barker) |
status: | New → Fix Committed |
Just as an FYI, I've revised my proposed patch to force binding to API version 2 of wl_output. This is more proper.