Bicameral Engine
GPU-resident engine for a magic-research open-world game
Loading...
Searching...
No Matches
bicameral::gpu::anonymous_namespace{debug_ring.cpp} Namespace Reference

Classes

struct  DebugFormatEntry

Typedefs

using DebugArguments = std::array<DebugArgument, DEBUG_RECORD_MAX_ARGS>

Functions

std::string RawArguments (const DebugArguments &arguments, uint32_t argCount)
std::string VFormatArguments (std::string_view pattern, const DebugArguments &a, uint32_t argCount)
std::string FormatArguments (std::string_view pattern, const DebugArguments &arguments, uint32_t argCount)
void LogMessage (const DebugMessage &message)
void LogSummary (const DebugRingContents &contents, uint32_t loggedCount)

Variables

constexpr DebugFormatEntry DEBUG_FORMATS []

Typedef Documentation

◆ DebugArguments

using bicameral::gpu::anonymous_namespace{debug_ring.cpp}::DebugArguments = std::array<DebugArgument, DEBUG_RECORD_MAX_ARGS>

Definition at line 81 of file debug_ring.cpp.

Function Documentation

◆ FormatArguments()

std::string bicameral::gpu::anonymous_namespace{debug_ring.cpp}::FormatArguments ( std::string_view pattern,
const DebugArguments & arguments,
uint32_t argCount )

Definition at line 105 of file debug_ring.cpp.

References FormatArguments(), RawArguments(), and VFormatArguments().

Referenced by FormatArguments().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ LogMessage()

void bicameral::gpu::anonymous_namespace{debug_ring.cpp}::LogMessage ( const DebugMessage & message)

Definition at line 116 of file debug_ring.cpp.

References bicameral::gpu::DebugMessage::channel, bicameral::Error, bicameral::Info, bicameral::gpu::DebugMessage::isAssert, bicameral::gpu::DebugMessage::line, bicameral::Log(), LogMessage(), bicameral::gpu::DebugMessage::text, and bicameral::gpu::DebugMessage::where.

Referenced by LogMessage().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ LogSummary()

void bicameral::gpu::anonymous_namespace{debug_ring.cpp}::LogSummary ( const DebugRingContents & contents,
uint32_t loggedCount )

Definition at line 121 of file debug_ring.cpp.

References bicameral::gpu::DebugRingContents::assertCount, bicameral::gpu::DebugRingContents::droppedCount, bicameral::Gpu, bicameral::Info, bicameral::Log(), LogSummary(), bicameral::gpu::DebugRingContents::messages, and bicameral::Warning.

Referenced by LogSummary().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ RawArguments()

std::string bicameral::gpu::anonymous_namespace{debug_ring.cpp}::RawArguments ( const DebugArguments & arguments,
uint32_t argCount )

Definition at line 84 of file debug_ring.cpp.

References RawArguments().

Referenced by FormatArguments(), and RawArguments().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ VFormatArguments()

std::string bicameral::gpu::anonymous_namespace{debug_ring.cpp}::VFormatArguments ( std::string_view pattern,
const DebugArguments & a,
uint32_t argCount )

Definition at line 93 of file debug_ring.cpp.

References VFormatArguments().

Referenced by FormatArguments(), and VFormatArguments().

Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ DEBUG_FORMATS

DebugFormatEntry bicameral::gpu::anonymous_namespace{debug_ring.cpp}::DEBUG_FORMATS[]
constexpr
Initial value:
= {
#define DEBUG_FORMAT(name, channel, where, text)
namespace bicameral {
using Microsoft::WRL::ComPtr;
}
}

Definition at line 71 of file debug_ring.cpp.