1 // SPDX-FileCopyrightText: Copyright 2012 Intel Corporation
2 // SPDX-License-Identifier: BSD-2-Clause
6 #include "c99_compat.h"
9 #include "api_object.h"
11 #include "wcore_util.h"
18 struct wcore_platform
;
19 union waffle_native_display
;
21 struct wcore_display
{
22 struct api_object api
;
23 struct wcore_platform
*platform
;
26 static inline struct waffle_display
*
27 waffle_display(struct wcore_display
*dpy
) {
28 return (struct waffle_display
*) dpy
;
31 static inline struct wcore_display
*
32 wcore_display(struct waffle_display
*dpy
) {
33 return (struct wcore_display
*) dpy
;
37 wcore_display_init(struct wcore_display
*self
, struct wcore_platform
*platform
);