54 virtual void compute_dispatch(
int groups_x_len,
int groups_y_len,
int groups_z_len) = 0;
76 virtual void render_step(
bool force_resource_release =
false) = 0;
84 if (
name ==
"EEVEE") {
87 if (
name ==
"External") {
90 if (
name ==
"GpencilMode") {
93 if (
name ==
"UV/Image") {
96 if (
name ==
"Overlay") {
99 if (
name ==
"Workbench") {
102 if (
name ==
"Cycles") {
105 if (
name ==
"BackBuffer.Blit") {
108 if (
name ==
"Compositor") {
static DBVT_INLINE btScalar size(const btDbvtVolume &a)
virtual void init_resources()=0
virtual void render_end()=0
static GPUBackend * get()
virtual Batch * batch_alloc()=0
virtual void render_step(bool force_resource_release=false)=0
virtual void compute_dispatch_indirect(StorageBuf *indirect_buf)=0
virtual void compute_dispatch(int groups_x_len, int groups_y_len, int groups_z_len)=0
ShaderCompiler * compiler_
virtual void delete_resources()=0
virtual void render_begin()=0
virtual void samplers_update()=0
ShaderCompiler * get_compiler()
virtual PixelBuffer * pixelbuf_alloc(size_t size)=0
virtual Context * context_alloc(void *ghost_window, void *ghost_context)=0
virtual QueryPool * querypool_alloc()=0
virtual Texture * texture_alloc(const char *name)=0
virtual FrameBuffer * framebuffer_alloc(const char *name)=0
virtual UniformBuf * uniformbuf_alloc(size_t size, const char *name)=0
virtual IndexBuf * indexbuf_alloc()=0
virtual StorageBuf * storagebuf_alloc(size_t size, GPUUsageType usage, const char *name)=0
virtual void shader_cache_dir_clear_old()=0
virtual ~GPUBackend()=default
virtual Fence * fence_alloc()=0
virtual VertBuf * vertbuf_alloc()=0
virtual Shader * shader_alloc(const char *name)=0
static ColorTheme4f get_debug_group_color(StringRefNull name)
static blender::ColorTheme4f GPU_DEBUG_GROUP_COLOR_DEFAULT
ColorTheme4< float > ColorTheme4f