GameDevTecnico / cubos

A still very barebones game engine focused on voxels and data-oriented programming
https://gamedevtecnico.github.io/cubos/
MIT License
80 stars 20 forks source link

Add core::gl::Timer #1260

Closed tomas7770 closed 3 weeks ago

tomas7770 commented 3 weeks ago

Description

Adds a Timer to RenderDevice, which exposes OpenGL queries to allow profiling sections of rendering code. Also adds an higher-level PipelinedTimer for profiling every frame asynchronously.

Checklist

github-actions[bot] commented 3 weeks ago

PR Preview Action v1.4.7 :---: :rocket: Deployed preview to https://GameDevTecnico.github.io/cubos/docs-preview/pr-1260/ on branch gh-pages at 2024-06-16 14:49 UTC

codecov[bot] commented 3 weeks ago

Codecov Report

Attention: Patch coverage is 0% with 58 lines in your changes missing coverage. Please review.

Project coverage is 40.61%. Comparing base (044ee71) to head (dd20d21).

Files Patch % Lines
core/src/gl/ogl_render_device.cpp 0.00% 40 Missing :warning:
core/src/gl/render_device.cpp 0.00% 16 Missing :warning:
core/include/cubos/core/gl/render_device.hpp 0.00% 2 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #1260 +/- ## ========================================== - Coverage 40.70% 40.61% -0.09% ========================================== Files 354 354 Lines 26272 26330 +58 ========================================== Hits 10695 10695 - Misses 15577 15635 +58 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.