Tracy Instrument I_FinishUpdate, software display

This commit is contained in:
Eidolon 2023-09-18 16:18:38 -05:00
parent 17f6f9297a
commit f62cf5fc83
2 changed files with 5 additions and 0 deletions

View file

@ -291,6 +291,7 @@ void I_StartDisplayUpdate(void)
void I_FinishUpdate(void)
{
ZoneScoped;
if (rendermode == render_none)
{
FrameMark;

View file

@ -15,6 +15,8 @@
#include <cmath>
#include <tracy/tracy/Tracy.hpp>
#include "doomdef.h"
#include "r_local.h"
#include "p_local.h" // stplyr
@ -3196,6 +3198,8 @@ void V_Recalc(void)
void VID_DisplaySoftwareScreen()
{
ZoneScoped;
// TODO implement
// upload framebuffer, bind pipeline, draw
rhi::Rhi* rhi = srb2::sys::get_rhi(srb2::sys::g_current_rhi);