Blender V4.3
mtl_backend.mm File Reference
#include "BKE_global.hh"
#include "gpu_backend.hh"
#include "mtl_backend.hh"
#include "mtl_batch.hh"
#include "mtl_context.hh"
#include "mtl_drawlist.hh"
#include "mtl_framebuffer.hh"
#include "mtl_immediate.hh"
#include "mtl_index_buffer.hh"
#include "mtl_query.hh"
#include "mtl_shader.hh"
#include "mtl_storage_buffer.hh"
#include "mtl_uniform_buffer.hh"
#include "mtl_vertex_buffer.hh"
#include "gpu_capabilities_private.hh"
#include "gpu_platform_private.hh"
#include <Cocoa/Cocoa.h>
#include <Metal/Metal.h>
#include <QuartzCore/QuartzCore.h>
#include <sys/sysctl.h>

Go to the source code of this file.

Namespaces

namespace  blender
 
namespace  blender::gpu
 

Functions

Capabilities
static const char * blender::gpu::mtl_extensions_get_null (int)
 
bool blender::gpu::supports_barycentric_whitelist (id< MTLDevice > device)
 
bool blender::gpu::is_apple_sillicon (id< MTLDevice > device)
 
static int blender::gpu::get_num_performance_cpu_cores (id< MTLDevice > device)
 
static int blender::gpu::get_num_efficiency_cpu_cores (id< MTLDevice > device)
 

Variables

thread_local NSAutoreleasePool * blender::gpu::g_autoreleasepool = nil
 
thread_local int blender::gpu::g_autoreleasepool_depth = 0