mirror of
https://github.com/wolfpld/tracy
synced 2025-04-30 12:53:51 +00:00
Use named colors.
This commit is contained in:
parent
2f9a3f7046
commit
71ad3c3b0c
@ -100,6 +100,7 @@ static inline void LuaRemove( char* script )
|
|||||||
|
|
||||||
#else
|
#else
|
||||||
|
|
||||||
|
#include "common/TracyColor.hpp"
|
||||||
#include "common/TracySystem.hpp"
|
#include "common/TracySystem.hpp"
|
||||||
#include "client/TracyProfiler.hpp"
|
#include "client/TracyProfiler.hpp"
|
||||||
|
|
||||||
@ -111,7 +112,7 @@ namespace detail
|
|||||||
|
|
||||||
static inline int LuaZoneBegin( lua_State* L )
|
static inline int LuaZoneBegin( lua_State* L )
|
||||||
{
|
{
|
||||||
const uint32_t color = 0x005588CC;
|
const uint32_t color = Color::DeepSkyBlue3;
|
||||||
|
|
||||||
lua_Debug dbg;
|
lua_Debug dbg;
|
||||||
lua_getstack( L, 1, &dbg );
|
lua_getstack( L, 1, &dbg );
|
||||||
@ -152,7 +153,7 @@ static inline int LuaZoneBegin( lua_State* L )
|
|||||||
|
|
||||||
static inline int LuaZoneBeginN( lua_State* L )
|
static inline int LuaZoneBeginN( lua_State* L )
|
||||||
{
|
{
|
||||||
const uint32_t color = 0x005588CC;
|
const uint32_t color = Color::DeepSkyBlue3;
|
||||||
|
|
||||||
lua_Debug dbg;
|
lua_Debug dbg;
|
||||||
lua_getstack( L, 1, &dbg );
|
lua_getstack( L, 1, &dbg );
|
||||||
|
@ -64,7 +64,7 @@ public:
|
|||||||
|
|
||||||
void Collect()
|
void Collect()
|
||||||
{
|
{
|
||||||
ZoneScopedC( 0x881111 );
|
ZoneScopedC( Color::Red4 );
|
||||||
|
|
||||||
auto start = m_tail;
|
auto start = m_tail;
|
||||||
auto end = m_head + QueryCount;
|
auto end = m_head + QueryCount;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user