[wayland] Add support for Wayland 1.2 wl_output events

Bug #1208996 reported by Joe Konno on 2013-08-06
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
glmark2
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://bazaar.launchpad.net/~jbkonno/+junk/glmark2/revision/279

Joe Konno (jbkonno) on 2013-08-06
description: updated
Joe Konno (jbkonno) on 2013-08-06
description: updated
Joe Konno (jbkonno) wrote :

Just as an FYI, I've revised my proposed patch to force binding to API version 2 of wl_output. This is more proper.

Changed in glmark2:
assignee: nobody → Jesse Barker (jesse-barker)
status: New → Fix Committed
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers