#pragma once #include "logger.h" #include #include namespace satdump { class LoadingScreenSink : public slog::LoggerSink { public: LoadingScreenSink(EGLDisplay *g_EglDisplay, EGLSurface *g_EglSurface, float scale); ~LoadingScreenSink(); protected: void receive(slog::LogMsg log); private: void push_frame(std::string str); EGLDisplay *g_EglDisplay; EGLSurface *g_EglSurface; GLuint image_texture; float scale; }; }