|
FreeRDP
|
Data Structures | |
| struct | Reading |
| class | Names |
| struct | Row |
| struct | View |
| struct | Box |
| struct | Layout |
Functions | |
| static bool | startsWith (const std::string &s, const char *prefix) |
| static std::string | fixed (double v, int precision) |
| static std::optional< double > | rate (const Names &names, const Reading &now, const Reading *prev, const std::string &name) |
| static std::string | per (const std::optional< double > &v, int precision=1) |
| static const char * | av1Label (const Names &names, const Reading &now) |
| static void | videoRows (std::vector< Row > &rows, const Names &names, const Reading &now, const Reading *prev) |
| static void | networkRows (std::vector< Row > &rows, const Names &names, const Reading &now, const Reading *prev) |
| std::vector< Row > | realtimeRows (const Names &names, const Reading &now, const Reading *prev, const View &view) |
| Layout | layout (float leftWidth, float leftHeight, float rightWidth, float rightHeight, float width, float margin) |
| std::string | buildSummary (const char *config) |
FreeRDP: A Remote Desktop Protocol Implementation SDL Client: what the stats and info overlay shows
Copyright 2026 Cong Zhang congz.nosp@m.hang.nosp@m.zh@gm.nosp@m.ail..nosp@m.com
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
| struct sdl::overlay::Reading |
One reading of the statistics, taken on the session thread.
Definition at line 33 of file sdl_overlay_model.hpp.
| Data Fields | ||
|---|---|---|
| uint32_t | desktopHeight = 0 | |
| uint32_t | desktopWidth = 0 | |
| uint64_t | ns = 0 |
when it was taken, in ns from any base |
| vector< uint64_t > | values |
by statistic index |
| struct sdl::overlay::Row |
Definition at line 56 of file sdl_overlay_model.hpp.
| Data Fields | ||
|---|---|---|
| string | label | |
| string | value | |
| struct sdl::overlay::View |
What the overlay knows besides the statistics.
Definition at line 63 of file sdl_overlay_model.hpp.
| Data Fields | ||
|---|---|---|
| uint64_t | sessionSeconds = 0 | |
| int | windowHeight = 0 | |
| int | windowWidth = 0 | |
| struct sdl::overlay::Box |
Definition at line 75 of file sdl_overlay_model.hpp.
| Data Fields | ||
|---|---|---|
| float | h = 0 | |
| float | w = 0 | |
| float | x = 0 | |
| float | y = 0 | |
| struct sdl::overlay::Layout |
Definition at line 83 of file sdl_overlay_model.hpp.

| Data Fields | ||
|---|---|---|
| Box | left | |
| Box | right | |
Definition at line 102 of file sdl_overlay_model.cpp.
|
nodiscard |
The build lines of freerdp_get_build_config(): its type, compiler and architecture.
Definition at line 239 of file sdl_overlay_model.cpp.
|
static |
Definition at line 73 of file sdl_overlay_model.cpp.
|
nodiscard |
Where the two parts go in a window width pixels wide: the client part at the top left, the real-time part at the top right, or under the client part when the two do not fit side by side, so they never cover each other. A part that is wider than the window is cut at its edge. An empty part has the size 0.
Definition at line 226 of file sdl_overlay_model.cpp.
Referenced by SdlOverlayPainter::draw().

|
static |
Definition at line 153 of file sdl_overlay_model.cpp.
|
static |
Definition at line 95 of file sdl_overlay_model.cpp.
|
static |
Definition at line 82 of file sdl_overlay_model.cpp.
|
nodiscard |
The real-time part: picture and network, as the web client's Info card shows them. prev: the reading before now, or nullptr; a counter that went down gives no rate.
Definition at line 208 of file sdl_overlay_model.cpp.
Referenced by SdlOverlay::update().

|
static |
Definition at line 68 of file sdl_overlay_model.cpp.
|
static |
Definition at line 117 of file sdl_overlay_model.cpp.