Go to the documentation of this file.
17 #ifndef UNITYSYSTEMCOMPOSITOR_MIREGL_H
18 #define UNITYSYSTEMCOMPOSITOR_MIREGL_H
31 std::vector<std::shared_ptr<MirEglSurface>>
mir_surface_init(std::shared_ptr<MirEglApp>
const&
app);
36 MirEglSurface(std::shared_ptr<MirEglApp>
const& mir_egl_app,
struct wl_output* wl_output);
40 template<
typename Pa
inter>
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;
61 #endif //UNITYSYSTEMCOMPOSITOR_MIREGL_H
auto app() const -> WaylandApp const *
Definition: wayland_surface.h:41
void paint(Painter const &functor)
Definition: miregl.h:41
Definition: wayland_surface.h:30
std::shared_ptr< MirEglApp > make_mir_eglapp(struct wl_display *display)
Definition: miregl.cpp:59
MirEglSurface(std::shared_ptr< MirEglApp > const &mir_egl_app, struct wl_output *wl_output)
Definition: miregl.cpp:76
~MirEglSurface()
Definition: miregl.cpp:93
std::vector< std::shared_ptr< MirEglSurface > > mir_surface_init(std::shared_ptr< MirEglApp > const &app)
Definition: miregl.cpp:64
Copyright © 2012-2021
Canonical Ltd.
Generated on Thu Jun 24 19:55:23 UTC 2021
This documentation is licensed under the GPL version 2 or 3.