2013-08-06 21:20:21 |
Joe Konno |
bug |
|
|
added bug |
2013-08-06 21:20:42 |
Joe Konno |
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
http://bazaar.launchpad.net/~jbkonno/+junk/glmark2/revision/279 |
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".
http://bazaar.launchpad.net/~jbkonno/+junk/glmark2/revision/279 |
|
2013-08-06 21:32:32 |
Joe Konno |
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".
http://bazaar.launchpad.net/~jbkonno/+junk/glmark2/revision/279 |
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 |
|
2013-08-07 18:08:58 |
Jesse Barker |
glmark2: assignee |
|
Jesse Barker (jesse-barker) |
|
2013-08-07 18:09:16 |
Jesse Barker |
glmark2: status |
New |
Fix Committed |
|