Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/blender/gpu/intern/gpu_shader_private.hh')
-rw-r--r--source/blender/gpu/intern/gpu_shader_private.hh7
1 files changed, 6 insertions, 1 deletions
diff --git a/source/blender/gpu/intern/gpu_shader_private.hh b/source/blender/gpu/intern/gpu_shader_private.hh
index ebdfc3478f8..65720e457d8 100644
--- a/source/blender/gpu/intern/gpu_shader_private.hh
+++ b/source/blender/gpu/intern/gpu_shader_private.hh
@@ -21,6 +21,7 @@
#pragma once
#include "BLI_span.hh"
+#include "BLI_string_ref.hh"
#include "GPU_shader.h"
#include "gpu_shader_interface.hh"
@@ -123,7 +124,11 @@ class GPULogParser {
GPULogItem &log_item,
const char *error_msg,
const char *warning_msg) const;
- char *skip_separators(char *log_line, char sep1, char sep2, char sep3) 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;
MEM_CXX_CLASS_ALLOC_FUNCS("GPULogParser");
};