Blender  V3.3
Public Member Functions | Protected Member Functions | List of all members
blender::gpu::GPULogParser Class Referenceabstract

#include <gpu_shader_private.hh>

Inheritance diagram for blender::gpu::GPULogParser:
blender::gpu::GLLogParser

Public Member Functions

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

Protected Member Functions

 MEM_CXX_CLASS_ALLOC_FUNCS ("GPULogParser")
 
Debug functions
char * skip_severity (char *log_line, GPULogItem &log_item, const char *error_msg, const char *warning_msg) const
 
char * skip_separators (char *log_line, const StringRef separators) const
 
char * skip_until (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, char **r_new_position) const
 

Detailed Description

Definition at line 113 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

Definition at line 282 of file gpu_shader_log.cc.

Referenced by blender::gpu::GLLogParser::parse_line().

◆ MEM_CXX_CLASS_ALLOC_FUNCS()

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

◆ parse_line()

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

◆ parse_number()

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

Definition at line 292 of file gpu_shader_log.cc.

Referenced by blender::gpu::GLLogParser::parse_line().

◆ skip_separators()

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

Definition at line 262 of file gpu_shader_log.cc.

References at_any().

Referenced by blender::gpu::GLLogParser::parse_line().

◆ skip_severity()

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

◆ skip_until()

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

Definition at line 270 of file gpu_shader_log.cc.

References ELEM.


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