1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 18:47:34 +00:00
serenity/Userland
Stephan Unverwerth b7c0c32f24 LibSoftGPU: Add option to render a debug overlay
This displays statistics regarding frame timings and number of pixels
rendered.

Timings are based on the time between draw_debug_overlay() invocations.
This measures actual number of frames presented to the user vs. wall
clock time so this also includes everything the app might do besides
rendering.

Triangles are counted after clipping. This number might actually be
higher than the number of triangles coming from LibGL.

Pixels are counted after the initial scissor and coverage test. Pixels
rejected here are not counted. Shaded pixels is the percentage of all
pixels that made it to the shading stage. Blended pixels is the
percentage of shaded pixels that were alpha blended to the color buffer.

Overdraw measures how many pixels were shaded vs. how many pixels the
render target has. e.g. a 640x480 render target has 307200 pixels. If
exactly that many pixels are shaded the overdraw number will read 0%.
614400 shaded pixels will read as an overdraw of 100%.

Sampler calls is simply the number of times sampler.sample_2d() was
called.
2022-01-01 15:09:21 +01:00
..
Applets Everywhere: Refactor 'muted' to 'main_mix_muted' in all AudioConnections 2021-12-24 00:19:01 -08:00
Applications HexEditor: Port HexEditor to LibMain 2022-01-01 14:47:15 +01:00
Demos LibGUI+Userland: Make SortingProxyModel::create() return ErrorOr 2021-12-24 05:11:52 -08:00
DevTools HackStudio: Use String instead of LexicalPath 2022-01-01 14:47:23 +01:00
DynamicLoader Toolchain+Meta: Update LLVM version to 13.0.0 2021-10-17 17:09:58 +01:00
Games Pong: Support W and S keys for movement 2021-12-30 14:36:21 +01:00
Libraries LibSoftGPU: Add option to render a debug overlay 2022-01-01 15:09:21 +01:00
Services WindowsServer+LibGUI: Avoid getting color under cursor outside screen 2022-01-01 14:32:11 +01:00
Shell Shell: Make redirection errors raise ShellErrors 2021-12-31 02:19:45 +03:30
Utilities chown+chgrp: Add --no-dereference option 2022-01-01 15:08:49 +01:00
CMakeLists.txt Tests: Establish root Tests directory, move Userland/Tests there 2021-05-06 17:54:28 +02:00