File tree Expand file tree Collapse file tree 2 files changed +3
-15
lines changed Expand file tree Collapse file tree 2 files changed +3
-15
lines changed Original file line number Diff line number Diff line change
1
+ // Copyright 2020 Joel Winarske. All rights reserved.
1
2
// Copyright 2018 The Flutter Authors. All rights reserved.
2
3
// Use of this source code is governed by a BSD-style license that can be
3
4
// found in the LICENSE file.
4
5
5
- #ifndef WL_EGL_PLATFORM
6
- #define WL_EGL_PLATFORM 1
7
- #endif
8
6
9
7
#include " wayland_display.h"
10
8
#include " utils.h"
Original file line number Diff line number Diff line change
1
+ // Copyright 2020 Joel Winarske. All rights reserved.
1
2
// Copyright 2018 The Flutter Authors. All rights reserved.
2
3
// Use of this source code is governed by a BSD-style license that can be
3
4
// found in the LICENSE file.
13
14
#include < wayland-egl.hpp>
14
15
15
16
#include < GLES3/gl3.h>
16
- // #include <EGL/egl.h>
17
17
18
18
#include < linux/input.h>
19
19
27
27
using namespace wayland ;
28
28
29
29
namespace flutter {
30
- #if 0
31
- // helper to create a std::function out of a member function and an object
32
- template <typename R, typename T, typename... Args>
33
- std::function<R(Args...)> bind_mem_fn(R(T::* func)(Args...), T *t)
34
- {
35
- return [func, t] (Args... args)
36
- {
37
- return (t->*func)(args...);
38
- };
39
- }
40
- #endif
30
+
41
31
class WaylandDisplay {
42
32
public:
43
33
You can’t perform that action at this time.
0 commit comments