sl: use SPDX license and copyright identifiers
[mesa-waffle.git] / src / waffle / surfaceless_egl / sl_platform.h
bloba97fabe23e2964d78f0b454a97e3f91c4da3a3e5
1 // SPDX-FileCopyrightText: Copyright 2016 Google
2 // SPDX-License-Identifier: BSD-2-Clause
4 #pragma once
6 #include <stdbool.h>
7 #include <stdlib.h>
8 #include <gbm.h>
10 #undef linux
12 #include "wegl_platform.h"
13 #include "wcore_util.h"
15 struct sl_platform {
16 struct wegl_platform wegl;
19 DEFINE_CONTAINER_CAST_FUNC(sl_platform,
20 struct sl_platform,
21 struct wegl_platform,
22 wegl)
24 struct wcore_platform *sl_platform_create(void);