Perf Markers are white on white

In the Scrubber window, the perf markers are not visible because they are white on white background. While the profiler is initialized, the Scrubber window is a bit grayed out and at that time I can distinguish that the markers are there but it is still hard to see and just during the profiler is initializing.

Is there a known reason for that? A VS customization setting somewhere? A strange thing is that for the Scaleform part of the frame, perf markers are visible the right way

For example: “Scaleform::Render::HAL::BeginFrame” is visible on a black bar. Everything that is not Scaleform are missing black bars so the white text is not visible.

Any help would be much appreciated, thanks!

Hi fpageau,

I just have a similar reproduce here, seems you are using some invalid color parameter for the perfmarker APIs, like the ‘0’ below.

D3DPERF_BeginEvent(0, L"MuHaHa");
pd3dImmediateContext->Draw( ARRAYSIZE(g_MobiusStrip), 0 );
D3DPERF_EndEvent();

Maybe you can set the perfmarker APIs’ color to this:

D3DPERF_BeginEvent(D3DCOLOR_COLORVALUE(1, 0, 0, 1), L"MuHaHa");
pd3dImmediateContext->Draw( ARRAYSIZE(g_MobiusStrip), 0 );
D3DPERF_EndEvent();

Then you can see the red bar in the Scrubber window.

Hope this helpful, ;)

Problem solved, thanks!