[waffle] [PATCH 11/12] gbm: implement platform-specific information

Frank Henigman fjhenigman at google.com
Wed Jan 6 11:56:40 PST 2016


Implement the platform hook of waffle_display_info_json() so it can
pick up gbm-specific information.  So far only egl information is
provided, nothing specific to gbm.

Signed-off-by: Frank Henigman <fjhenigman at google.com>
---
 src/waffle/gbm/wgbm_platform.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/waffle/gbm/wgbm_platform.c b/src/waffle/gbm/wgbm_platform.c
index 0fc0352..0d5675a 100644
--- a/src/waffle/gbm/wgbm_platform.c
+++ b/src/waffle/gbm/wgbm_platform.c
@@ -191,6 +191,7 @@ static const struct wcore_platform_vtbl wgbm_platform_vtbl = {
         .destroy = wgbm_display_destroy,
         .supports_context_api = wegl_display_supports_context_api,
         .get_native = wgbm_display_get_native,
+        .info_json = wegl_display_info_json,
     },
 
     .config = {
-- 
2.6.0.rc2.230.g3dd15c0



More information about the waffle mailing list