#include "libANGLE/Overlay.h"
#include "common/string_utils.h"
#include "common/system_utils.h"
#include "libANGLE/Context.h"
#include "libANGLE/Overlay_font_autogen.h"
#include "libANGLE/renderer/GLImplFactory.h"
#include "libANGLE/renderer/OverlayImpl.h"
#include <numeric>
namespace gl
{
namespace
{
#define ANGLE_WIDGET_NAME_PROC(WIDGET_ID) …
constexpr std::pair<const char *, WidgetId> kWidgetNames[] = …;
}
OverlayState::OverlayState() : … { … }
OverlayState::~OverlayState() = default;
Overlay::Overlay(rx::GLImplFactory *factory)
: … { … }
Overlay::~Overlay() = default;
void Overlay::init()
{ … }
void Overlay::destroy(const gl::Context *context)
{ … }
void Overlay::enableOverlayWidgetsFromEnvironment()
{ … }
void Overlay::onSwap() const
{ … }
MockOverlay::MockOverlay(rx::GLImplFactory *implFactory) { … }
MockOverlay::~MockOverlay() = default;
}