Blender V5.0
blender::gpu::GPULogParser Class Referenceabstract

#include <gpu_shader_private.hh>

Inherited by blender::gpu::GLLogParser, blender::gpu::MTLLogParser, and blender::gpu::VKLogParser.

Public Member Functions

virtual const char * parse_line (const char *source_combined, const char *log_line, GPULogItem &log_item)=0

Protected Member Functions

 MEM_CXX_CLASS_ALLOC_FUNCS ("GPULogParser")

Debug functions

const char * skip_severity (const char *log_line, GPULogItem &log_item, const char *error_msg, const char *warning_msg, const char *note_msg) const
const char * skip_separators (const char *log_line, const StringRef separators) const
const char * skip_until (const char *log_line, char stop_char) const
bool at_number (const char *log_line) const
bool at_any (const char *log_line, const StringRef chars) const
int parse_number (const char *log_line, const char **r_new_position) const
static size_t line_start_get (StringRefNull source_combined, size_t target_line)
static StringRef filename_get (StringRefNull source_combined, size_t pos)
static size_t source_line_get (StringRefNull source_combined, size_t pos)

Detailed Description

Definition at line 312 of file gpu_shader_private.hh.

Member Function Documentation

◆ at_any()

bool blender::gpu::GPULogParser::at_any ( const char * log_line,
const StringRef chars ) const
protected

◆ at_number()

bool blender::gpu::GPULogParser::at_number ( const char * log_line) const
protected

◆ filename_get()

StringRef blender::gpu::GPULogParser::filename_get ( StringRefNull source_combined,
size_t pos )
staticprotected

◆ line_start_get()

size_t blender::gpu::GPULogParser::line_start_get ( StringRefNull source_combined,
size_t target_line )
staticprotected

◆ MEM_CXX_CLASS_ALLOC_FUNCS()

blender::gpu::GPULogParser::MEM_CXX_CLASS_ALLOC_FUNCS ( "GPULogParser" )
protected

◆ parse_line()

virtual const char * blender::gpu::GPULogParser::parse_line ( const char * source_combined,
const char * log_line,
GPULogItem & log_item )
pure virtual

◆ parse_number()

int blender::gpu::GPULogParser::parse_number ( const char * log_line,
const char ** r_new_position ) const
protected

◆ skip_separators()

const char * blender::gpu::GPULogParser::skip_separators ( const char * log_line,
const StringRef separators ) const
protected

◆ skip_severity()

const char * blender::gpu::GPULogParser::skip_severity ( const char * log_line,
GPULogItem & log_item,
const char * error_msg,
const char * warning_msg,
const char * note_msg ) const
protected

◆ skip_until()

const char * blender::gpu::GPULogParser::skip_until ( const char * log_line,
char stop_char ) const
protected

◆ source_line_get()

size_t blender::gpu::GPULogParser::source_line_get ( StringRefNull source_combined,
size_t pos )
staticprotected

The documentation for this class was generated from the following files: