Skip to content

Commit

Permalink
Remove debug label quotes
Browse files Browse the repository at this point in the history
  • Loading branch information
pezcode committed Apr 2, 2020
1 parent 83a211e commit 08b3ec5
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 13 deletions.
6 changes: 3 additions & 3 deletions src/renderer_d3d11.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5314,7 +5314,7 @@ namespace bgfx { namespace d3d11
renderDocTriggerCapture();
}

BGFX_D3D11_PROFILER_BEGIN_LITERAL("rendererSubmit", kColorView);
BGFX_D3D11_PROFILER_BEGIN_LITERAL(rendererSubmit, kColorView);

ID3D11DeviceContext* deviceCtx = m_deviceCtx;

Expand Down Expand Up @@ -6224,7 +6224,7 @@ namespace bgfx { namespace d3d11

if (_render->m_debug & (BGFX_DEBUG_IFH|BGFX_DEBUG_STATS) )
{
BGFX_D3D11_PROFILER_BEGIN_LITERAL("debugstats", kColorFrame);
BGFX_D3D11_PROFILER_BEGIN_LITERAL(debugstats, kColorFrame);

m_needPresent = true;
TextVideoMem& tvm = m_textVideoMem;
Expand Down Expand Up @@ -6356,7 +6356,7 @@ namespace bgfx { namespace d3d11
}
else if (_render->m_debug & BGFX_DEBUG_TEXT)
{
BGFX_D3D11_PROFILER_BEGIN_LITERAL("debugtext", kColorFrame);
BGFX_D3D11_PROFILER_BEGIN_LITERAL(debugtext, kColorFrame);

blit(this, _textVideoMemBlitter, _render->m_textVideoMem);

Expand Down
6 changes: 3 additions & 3 deletions src/renderer_d3d12.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5812,7 +5812,7 @@ namespace bgfx { namespace d3d12
renderDocTriggerCapture();
}

BGFX_D3D12_PROFILER_BEGIN_LITERAL("rendererSubmit", kColorFrame);
BGFX_D3D12_PROFILER_BEGIN_LITERAL(rendererSubmit, kColorFrame);

int64_t timeBegin = bx::getHPCounter();
int64_t captureElapsed = 0;
Expand Down Expand Up @@ -6703,7 +6703,7 @@ namespace bgfx { namespace d3d12

if (_render->m_debug & (BGFX_DEBUG_IFH|BGFX_DEBUG_STATS) )
{
BGFX_D3D12_PROFILER_BEGIN_LITERAL("debugstats", kColorFrame);
BGFX_D3D12_PROFILER_BEGIN_LITERAL(debugstats, kColorFrame);

// m_needPresent = true;
TextVideoMem& tvm = m_textVideoMem;
Expand Down Expand Up @@ -6871,7 +6871,7 @@ namespace bgfx { namespace d3d12
}
else if (_render->m_debug & BGFX_DEBUG_TEXT)
{
BGFX_D3D12_PROFILER_BEGIN_LITERAL("debugtext", kColorFrame);
BGFX_D3D12_PROFILER_BEGIN_LITERAL(debugtext, kColorFrame);

blit(this, _textVideoMemBlitter, _render->m_textVideoMem);

Expand Down
6 changes: 3 additions & 3 deletions src/renderer_d3d9.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3716,7 +3716,7 @@ namespace bgfx { namespace d3d9

updateResolution(_render->m_resolution);

BGFX_D3D9_PROFILER_BEGIN_LITERAL("rendererSubmit", kColorView);
BGFX_D3D9_PROFILER_BEGIN_LITERAL(rendererSubmit, kColorView);

int64_t timeBegin = bx::getHPCounter();
int64_t captureElapsed = 0;
Expand Down Expand Up @@ -4427,7 +4427,7 @@ namespace bgfx { namespace d3d9

if (_render->m_debug & (BGFX_DEBUG_IFH|BGFX_DEBUG_STATS) )
{
BGFX_D3D9_PROFILER_BEGIN_LITERAL("debugstats", kColorFrame);
BGFX_D3D9_PROFILER_BEGIN_LITERAL(debugstats, kColorFrame);

m_needPresent = true;
TextVideoMem& tvm = m_textVideoMem;
Expand Down Expand Up @@ -4529,7 +4529,7 @@ namespace bgfx { namespace d3d9
}
else if (_render->m_debug & BGFX_DEBUG_TEXT)
{
BGFX_D3D9_PROFILER_BEGIN_LITERAL("debugtext", kColorFrame);
BGFX_D3D9_PROFILER_BEGIN_LITERAL(debugtext, kColorFrame);

blit(this, _textVideoMemBlitter, _render->m_textVideoMem);

Expand Down
6 changes: 3 additions & 3 deletions src/renderer_gl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6826,7 +6826,7 @@ namespace bgfx { namespace gl

m_glctx.makeCurrent(NULL);

BGFX_GL_PROFILER_BEGIN_LITERAL("rendererSubmit", kColorView);
BGFX_GL_PROFILER_BEGIN_LITERAL(rendererSubmit, kColorView);

if (1 < m_numWindows
&& m_vaoSupport)
Expand Down Expand Up @@ -7970,7 +7970,7 @@ namespace bgfx { namespace gl

if (_render->m_debug & (BGFX_DEBUG_IFH|BGFX_DEBUG_STATS) )
{
BGFX_GL_PROFILER_BEGIN_LITERAL("debugstats", kColorFrame);
BGFX_GL_PROFILER_BEGIN_LITERAL(debugstats, kColorFrame);

m_needPresent = true;
TextVideoMem& tvm = m_textVideoMem;
Expand Down Expand Up @@ -8145,7 +8145,7 @@ namespace bgfx { namespace gl
}
else if (_render->m_debug & BGFX_DEBUG_TEXT)
{
BGFX_GL_PROFILER_BEGIN_LITERAL("debugtext", kColorFrame);
BGFX_GL_PROFILER_BEGIN_LITERAL(debugtext, kColorFrame);

blit(this, _textVideoMemBlitter, _render->m_textVideoMem);

Expand Down
2 changes: 1 addition & 1 deletion src/renderer_mtl.mm
Original file line number Diff line number Diff line change
Expand Up @@ -3654,7 +3654,7 @@ static void setTimestamp(void* _data)
m_commandBuffer = m_cmd.alloc();
}

BGFX_MTL_PROFILER_BEGIN_LITERAL("rendererSubmit", kColorFrame);
BGFX_MTL_PROFILER_BEGIN_LITERAL(rendererSubmit, kColorFrame);

int64_t timeBegin = bx::getHPCounter();
int64_t captureElapsed = 0;
Expand Down

0 comments on commit 08b3ec5

Please sign in to comment.