1 // SPDX-FileCopyrightText: Copyright 2012 Intel Corporation
2 // SPDX-License-Identifier: BSD-2-Clause
9 #include "wegl_display.h"
11 struct droid_surfaceflinger_container
;
13 struct droid_display
{
14 /// Used by droid_surfaceflinger.cpp.
15 struct droid_surfaceflinger_container
*pSFContainer
;
16 struct wegl_display wegl
;
19 static inline struct droid_display
*
20 droid_display(struct wcore_display
*wc_self
)
23 struct wegl_display
*wegl_self
= container_of(wc_self
, struct wegl_display
, wcore
);
24 return container_of(wegl_self
, struct droid_display
, wegl
);
32 droid_display_connect(struct wcore_platform
*wc_plat
,
36 droid_display_disconnect(struct wcore_display
*wc_self
);