2
3
4
5
6
7
8
9
10
11
12
13
14
15
17#ifndef UNITYSYSTEMCOMPOSITOR_MIREGL_H
18#define UNITYSYSTEMCOMPOSITOR_MIREGL_H
36 MirEglSurface(std::shared_ptr<MirEglApp>
const& mir_egl_app,
struct wl_output* wl_output);
40 template<
typename Painter>
41 void paint(Painter
const& functor)
44 functor(width_, height_);
49 void egl_make_current();
53 std::shared_ptr<MirEglApp>
const mir_egl_app;
55 EGLSurface eglsurface;
void paint(Painter const &functor)
Definition: miregl.h:41
MirEglSurface(std::shared_ptr< MirEglApp > const &mir_egl_app, struct wl_output *wl_output)
Definition: miregl.cpp:73
~MirEglSurface()
Definition: miregl.cpp:89
Definition: wayland_surface.h:27
std::vector< std::shared_ptr< MirEglSurface > > mir_surface_init(std::shared_ptr< MirEglApp > const &app)
Definition: miregl.cpp:61
std::shared_ptr< MirEglApp > make_mir_eglapp(struct wl_display *display)
Definition: miregl.cpp:56