|
Blender V5.3
|
#include "MEM_guardedalloc.h"#include "BLI_map.hh"#include "BLI_span.hh"#include "BLI_time.hh"#include "BLI_vector.hh"#include "GPU_capabilities.hh"#include "GPU_context.hh"#include "GPU_pass.hh"#include "GPU_vertex_format.hh"#include "gpu_codegen.hh"#include <mutex>#include <string>Go to the source code of this file.
Classes | |
| struct | blender::GPUPass |
| class | blender::GPUPassCache |
Namespaces | |
| namespace | blender |
| BMesh Iterators. | |
Functions | |
Compilation | |
| static bool | blender::gpu_pass_validate (GPUCodegenCreateInfo *create_info) |
| GPUPass * | blender::GPU_generate_pass (GPUMaterial *material, GPUNodeGraph *graph, const char *debug_name, eGPUMaterialEngine engine, bool deferred_compilation, GPUCodegenCallbackFn finalize_source_cb, void *thunk, bool optimize_graph) |
GPUPass | |
| GPUPassStatus | blender::GPU_pass_status (GPUPass *pass) |
| bool | blender::GPU_pass_should_optimize (GPUPass *pass) |
| gpu::Shader * | blender::GPU_pass_shader_get (GPUPass *pass) |
| void | blender::GPU_pass_acquire (GPUPass *pass) |
| void | blender::GPU_pass_release (GPUPass *pass) |
| uint64_t | blender::GPU_pass_global_compilation_count () |
| uint64_t | blender::GPU_pass_compilation_timestamp (GPUPass *pass) |
GPUPass Cache | |
Internal shader cache: This prevent the shader recompilation / stall when using undo/redo AND also allows for GPUPass reuse if the Shader code is the same for 2 different Materials. Unused GPUPasses are free by Garbage collection. | |
| static GPUPassCache * | blender::g_cache = nullptr |
| void | blender::GPU_pass_ensure_its_ready (GPUPass *pass) |
| void | blender::GPU_pass_cache_init () |
| void | blender::GPU_pass_cache_update () |
| void | blender::GPU_pass_cache_wait_for_all () |
| void | blender::GPU_pass_cache_free () |
Convert material node-trees to GLSL.
Definition in file gpu_pass.cc.