mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 15:40:19 +00:00
b7c0c32f24
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. |
||
---|---|---|
.. | ||
Clipper.cpp | ||
Clipper.h | ||
CMakeLists.txt | ||
Config.h | ||
DepthBuffer.cpp | ||
DepthBuffer.h | ||
Device.cpp | ||
Device.h | ||
DeviceInfo.h | ||
Enums.h | ||
Image.cpp | ||
Image.h | ||
ImageDataLayout.h | ||
ImageFormat.h | ||
Sampler.cpp | ||
Sampler.h | ||
Triangle.h | ||
Vertex.h |