mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-08-05 13:28:40 +00:00
layer color coverage / usage in thread colors
This commit is contained in:
@@ -1,6 +1,9 @@
|
|||||||
// Copyright (c) 2024 Epic Games Tools
|
// Copyright (c) 2024 Epic Games Tools
|
||||||
// Licensed under the MIT license (https://opensource.org/license/mit/)
|
// Licensed under the MIT license (https://opensource.org/license/mit/)
|
||||||
|
|
||||||
|
#undef LAYER_COLOR
|
||||||
|
#define LAYER_COLOR 0x59b6c3ff
|
||||||
|
|
||||||
////////////////////////////////
|
////////////////////////////////
|
||||||
//~ rjf: Top-Level Layer Initialization
|
//~ rjf: Top-Level Layer Initialization
|
||||||
|
|
||||||
|
|||||||
+2
-2
@@ -4,8 +4,8 @@
|
|||||||
////////////////////////////////
|
////////////////////////////////
|
||||||
//~ rjf: Base Includes
|
//~ rjf: Base Includes
|
||||||
|
|
||||||
#undef MARKUP_LAYER_COLOR
|
#undef LAYER_COLOR
|
||||||
#define MARKUP_LAYER_COLOR 0.20f, 0.60f, 0.80f
|
#define LAYER_COLOR 0.20f, 0.60f, 0.80f
|
||||||
|
|
||||||
#include "base_core.c"
|
#include "base_core.c"
|
||||||
#include "base_profile.c"
|
#include "base_profile.c"
|
||||||
|
|||||||
@@ -8,9 +8,12 @@
|
|||||||
#define RADDBG_MARKUP_VSNPRINTF raddbg_vsnprintf
|
#define RADDBG_MARKUP_VSNPRINTF raddbg_vsnprintf
|
||||||
#include "lib_raddbg_markup/raddbg_markup.h"
|
#include "lib_raddbg_markup/raddbg_markup.h"
|
||||||
|
|
||||||
|
#if !defined(LAYER_COLOR)
|
||||||
|
# define LAYER_COLOR 0x404040ff
|
||||||
|
#endif
|
||||||
|
|
||||||
internal void set_thread_name(String8 string);
|
internal void set_thread_name(String8 string);
|
||||||
internal void set_thread_namef(char *fmt, ...);
|
internal void set_thread_namef(char *fmt, ...);
|
||||||
#define ThreadNameF(...) (set_thread_namef(__VA_ARGS__))
|
#define ThreadNameF(...) (set_thread_namef(__VA_ARGS__), raddbg_thread_color_u32(LAYER_COLOR))
|
||||||
#define ThreadName(str) (set_thread_name(str))
|
|
||||||
|
|
||||||
#endif // BASE_MARKUP_H
|
#endif // BASE_MARKUP_H
|
||||||
|
|||||||
@@ -11,10 +11,6 @@
|
|||||||
# define PROFILE_TELEMETRY 0
|
# define PROFILE_TELEMETRY 0
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if !defined(MARKUP_LAYER_COLOR)
|
|
||||||
# define MARKUP_LAYER_COLOR 1.00f, 0.00f, 1.00f
|
|
||||||
#endif
|
|
||||||
|
|
||||||
////////////////////////////////
|
////////////////////////////////
|
||||||
//~ rjf: Third Party Includes
|
//~ rjf: Third Party Includes
|
||||||
|
|
||||||
|
|||||||
@@ -26,7 +26,7 @@ internal void tctx_init_and_equip(TCTX *tctx);
|
|||||||
internal void tctx_release(void);
|
internal void tctx_release(void);
|
||||||
internal TCTX* tctx_get_equipped(void);
|
internal TCTX* tctx_get_equipped(void);
|
||||||
|
|
||||||
internal Arena* tctx_get_scratch(Arena **conflicts, U64 countt);
|
internal Arena* tctx_get_scratch(Arena **conflicts, U64 count);
|
||||||
|
|
||||||
internal void tctx_set_thread_name(String8 name);
|
internal void tctx_set_thread_name(String8 name);
|
||||||
internal String8 tctx_get_thread_name(void);
|
internal String8 tctx_get_thread_name(void);
|
||||||
|
|||||||
@@ -1,4 +1,7 @@
|
|||||||
// Copyright (c) 2024 Epic Games Tools
|
// Copyright (c) 2024 Epic Games Tools
|
||||||
// Licensed under the MIT license (https://opensource.org/license/mit/)
|
// Licensed under the MIT license (https://opensource.org/license/mit/)
|
||||||
|
|
||||||
|
#undef LAYER_COLOR
|
||||||
|
#define LAYER_COLOR 0x969696ff
|
||||||
|
|
||||||
#include "ctrl_core.c"
|
#include "ctrl_core.c"
|
||||||
|
|||||||
@@ -1,6 +1,9 @@
|
|||||||
// Copyright (c) 2024 Epic Games Tools
|
// Copyright (c) 2024 Epic Games Tools
|
||||||
// Licensed under the MIT license (https://opensource.org/license/mit/)
|
// Licensed under the MIT license (https://opensource.org/license/mit/)
|
||||||
|
|
||||||
|
#undef LAYER_COLOR
|
||||||
|
#define LAYER_COLOR 0xe34cd4ff
|
||||||
|
|
||||||
////////////////////////////////
|
////////////////////////////////
|
||||||
//~ rjf: Instruction Decoding/Disassembling Type Functions
|
//~ rjf: Instruction Decoding/Disassembling Type Functions
|
||||||
|
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
// Copyright (c) 2024 Epic Games Tools
|
// Copyright (c) 2024 Epic Games Tools
|
||||||
// Licensed under the MIT license (https://opensource.org/license/mit/)
|
// Licensed under the MIT license (https://opensource.org/license/mit/)
|
||||||
|
|
||||||
#undef MARKUP_LAYER_COLOR
|
#undef LAYER_COLOR
|
||||||
#define MARKUP_LAYER_COLOR 0.70f, 0.50f, 0.25f
|
#define LAYER_COLOR 0x4d9ae3ff
|
||||||
|
|
||||||
////////////////////////////////
|
////////////////////////////////
|
||||||
//~ rjf: Generated Code
|
//~ rjf: Generated Code
|
||||||
|
|||||||
@@ -1,6 +1,9 @@
|
|||||||
// Copyright (c) 2024 Epic Games Tools
|
// Copyright (c) 2024 Epic Games Tools
|
||||||
// Licensed under the MIT license (https://opensource.org/license/mit/)
|
// Licensed under the MIT license (https://opensource.org/license/mit/)
|
||||||
|
|
||||||
|
#undef LAYER_COLOR
|
||||||
|
#define LAYER_COLOR 0x7c4ce3ff
|
||||||
|
|
||||||
////////////////////////////////
|
////////////////////////////////
|
||||||
//~ rjf: Basic Helpers
|
//~ rjf: Basic Helpers
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,9 @@
|
|||||||
// Copyright (c) 2024 Epic Games Tools
|
// Copyright (c) 2024 Epic Games Tools
|
||||||
// Licensed under the MIT license (https://opensource.org/license/mit/)
|
// Licensed under the MIT license (https://opensource.org/license/mit/)
|
||||||
|
|
||||||
|
#undef LAYER_COLOR
|
||||||
|
#define LAYER_COLOR 0xfffa00ff
|
||||||
|
|
||||||
////////////////////////////////
|
////////////////////////////////
|
||||||
//~ rjf: Basic Helpers
|
//~ rjf: Basic Helpers
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,9 @@
|
|||||||
// Copyright (c) 2024 Epic Games Tools
|
// Copyright (c) 2024 Epic Games Tools
|
||||||
// Licensed under the MIT license (https://opensource.org/license/mit/)
|
// Licensed under the MIT license (https://opensource.org/license/mit/)
|
||||||
|
|
||||||
|
#undef LAYER_COLOR
|
||||||
|
#define LAYER_COLOR 0xe34cd4ff
|
||||||
|
|
||||||
////////////////////////////////
|
////////////////////////////////
|
||||||
//~ rjf: Main Layer Initialization
|
//~ rjf: Main Layer Initialization
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,9 @@
|
|||||||
// Copyright (c) 2024 Epic Games Tools
|
// Copyright (c) 2024 Epic Games Tools
|
||||||
// Licensed under the MIT license (https://opensource.org/license/mit/)
|
// Licensed under the MIT license (https://opensource.org/license/mit/)
|
||||||
|
|
||||||
|
#undef LAYER_COLOR
|
||||||
|
#define LAYER_COLOR 0x684123ff
|
||||||
|
|
||||||
////////////////////////////////
|
////////////////////////////////
|
||||||
//~ rjf: Basic Helpers
|
//~ rjf: Basic Helpers
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,9 @@
|
|||||||
// Copyright (c) 2024 Epic Games Tools
|
// Copyright (c) 2024 Epic Games Tools
|
||||||
// Licensed under the MIT license (https://opensource.org/license/mit/)
|
// Licensed under the MIT license (https://opensource.org/license/mit/)
|
||||||
|
|
||||||
|
#undef LAYER_COLOR
|
||||||
|
#define LAYER_COLOR 0xb8a06bff
|
||||||
|
|
||||||
////////////////////////////////
|
////////////////////////////////
|
||||||
//~ rjf: Main Layer Initialization
|
//~ rjf: Main Layer Initialization
|
||||||
|
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
// Copyright (c) 2024 Epic Games Tools
|
// Copyright (c) 2024 Epic Games Tools
|
||||||
// Licensed under the MIT license (https://opensource.org/license/mit/)
|
// Licensed under the MIT license (https://opensource.org/license/mit/)
|
||||||
|
|
||||||
#undef MARKUP_LAYER_COLOR
|
#undef LAYER_COLOR
|
||||||
#define MARKUP_LAYER_COLOR 0.10f, 0.20f, 0.25f
|
#define LAYER_COLOR 0xf0a215ff
|
||||||
|
|
||||||
////////////////////////////////
|
////////////////////////////////
|
||||||
//~ rjf: Generated Code
|
//~ rjf: Generated Code
|
||||||
|
|||||||
@@ -1,9 +1,6 @@
|
|||||||
// Copyright (c) 2024 Epic Games Tools
|
// Copyright (c) 2024 Epic Games Tools
|
||||||
// Licensed under the MIT license (https://opensource.org/license/mit/)
|
// Licensed under the MIT license (https://opensource.org/license/mit/)
|
||||||
|
|
||||||
#undef MARKUP_LAYER_COLOR
|
|
||||||
#define MARKUP_LAYER_COLOR 0.80f, 0.60f, 0.20f
|
|
||||||
|
|
||||||
////////////////////////////////
|
////////////////////////////////
|
||||||
//~ rjf: Input Layout Element Tables
|
//~ rjf: Input Layout Element Tables
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,9 @@
|
|||||||
// Copyright (c) 2024 Epic Games Tools
|
// Copyright (c) 2024 Epic Games Tools
|
||||||
// Licensed under the MIT license (https://opensource.org/license/mit/)
|
// Licensed under the MIT license (https://opensource.org/license/mit/)
|
||||||
|
|
||||||
|
#undef LAYER_COLOR
|
||||||
|
#define LAYER_COLOR 0xc22121ff
|
||||||
|
|
||||||
#include "render_core.c"
|
#include "render_core.c"
|
||||||
|
|
||||||
#if R_BACKEND == R_BACKEND_STUB
|
#if R_BACKEND == R_BACKEND_STUB
|
||||||
|
|||||||
@@ -1,6 +1,9 @@
|
|||||||
// Copyright (c) 2024 Epic Games Tools
|
// Copyright (c) 2024 Epic Games Tools
|
||||||
// Licensed under the MIT license (https://opensource.org/license/mit/)
|
// Licensed under the MIT license (https://opensource.org/license/mit/)
|
||||||
|
|
||||||
|
#undef LAYER_COLOR
|
||||||
|
#define LAYER_COLOR 0xe34cd4ff
|
||||||
|
|
||||||
////////////////////////////////
|
////////////////////////////////
|
||||||
//~ rjf: Basic Helpers
|
//~ rjf: Basic Helpers
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,9 @@
|
|||||||
// Copyright (c) 2024 Epic Games Tools
|
// Copyright (c) 2024 Epic Games Tools
|
||||||
// Licensed under the MIT license (https://opensource.org/license/mit/)
|
// Licensed under the MIT license (https://opensource.org/license/mit/)
|
||||||
|
|
||||||
|
#undef LAYER_COLOR
|
||||||
|
#define LAYER_COLOR 0xe34cd4ff
|
||||||
|
|
||||||
////////////////////////////////
|
////////////////////////////////
|
||||||
//~ rjf: Basic Helpers
|
//~ rjf: Basic Helpers
|
||||||
|
|
||||||
|
|||||||
@@ -1,9 +1,6 @@
|
|||||||
// Copyright (c) 2024 Epic Games Tools
|
// Copyright (c) 2024 Epic Games Tools
|
||||||
// Licensed under the MIT license (https://opensource.org/license/mit/)
|
// Licensed under the MIT license (https://opensource.org/license/mit/)
|
||||||
|
|
||||||
#undef MARKUP_LAYER_COLOR
|
|
||||||
#define MARKUP_LAYER_COLOR 0.80f, 0.40f, 0.35f
|
|
||||||
|
|
||||||
////////////////////////////////
|
////////////////////////////////
|
||||||
//~ rjf: Globals
|
//~ rjf: Globals
|
||||||
|
|
||||||
|
|||||||
+2
-2
@@ -1,8 +1,8 @@
|
|||||||
// Copyright (c) 2024 Epic Games Tools
|
// Copyright (c) 2024 Epic Games Tools
|
||||||
// Licensed under the MIT license (https://opensource.org/license/mit/)
|
// Licensed under the MIT license (https://opensource.org/license/mit/)
|
||||||
|
|
||||||
#undef MARKUP_LAYER_COLOR
|
#undef LAYER_COLOR
|
||||||
#define MARKUP_LAYER_COLOR 0.70f, 0.30f, 0.15f
|
#define LAYER_COLOR 0xb5438dff
|
||||||
|
|
||||||
#include "ui_core.c"
|
#include "ui_core.c"
|
||||||
#include "ui_basic_widgets.c"
|
#include "ui_basic_widgets.c"
|
||||||
|
|||||||
Reference in New Issue
Block a user