#include "gui/dialogs/fps_report.hpp"
#include "filesystem.hpp"
#include "gui/core/tracked_drawable.hpp"
#include "gui/dialogs/modal_dialog.hpp"
#include "gui/dialogs/modeless_dialog.hpp"
#include "gui/widgets/rich_label.hpp"
#include "utils/rate_counter.hpp"
#include <tuple>
#include <vector>
Go to the source code of this file.
Namespaces | |
gui2 | |
Generic file dialog. | |
gui2::dialogs | |
gui2::dialogs::fps | |
Macros | |
#define | GETTEXT_DOMAIN "wesnoth-lib" |
Functions | |
void | gui2::dialogs::fps::show (const gui2::tracked_drawable &target) |
Displays the fps report popup for the given tracked_drawable. More... | |
void | gui2::dialogs::fps::hide () |
Hides the fps report popup. More... | |
#define GETTEXT_DOMAIN "wesnoth-lib" |
Definition at line 15 of file fps_report.cpp.
|
private |
Holds the prior (max 1000) displayed fps values.
Definition at line 59 of file fps_report.cpp.
|
private |
The drawable whose render calls we are tracking.
Definition at line 53 of file fps_report.cpp.
Referenced by editor::editor_action_create_mask::perform_without_undo(), and draw::render_target_setter::~render_target_setter().
|
private |
Only update the displayed count every few update cycles.
Definition at line 56 of file fps_report.cpp.