Blender V5.0
GPU_capabilities.hh
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2005 Blender Authors
2 *
3 * SPDX-License-Identifier: GPL-2.0-or-later */
4
12
13#pragma once
14
15#include "BLI_sys_types.h"
16
25int GPU_max_images();
26int GPU_max_work_group_count(int index);
27int GPU_max_work_group_size(int index);
39/* Used when binding subrange of SSBOs. In bytes.
40 * The start of the range must be aligned with this value. */
42
44const char *GPU_extension_get(int i);
45
47
56bool GPU_is_safe_texture_size(int width, int height);
57
60
65
67bool GPU_hdr_support();
69
71void GPU_mem_stats_get(int *r_totalmem, int *r_freemem);
72
77
79
size_t GPU_max_uniform_buffer_size()
int GPU_max_batch_indices()
int GPU_minimum_per_vertex_stride()
int GPU_max_textures()
int GPU_max_samplers()
bool GPU_hdr_support()
int GPU_max_work_group_size(int index)
bool GPU_is_safe_texture_size(int width, int height)
int GPU_max_texture_3d_size()
int GPU_max_parallel_compilations()
int GPU_max_texture_layers()
void GPU_mem_stats_get(int *r_totalmem, int *r_freemem)
int GPU_max_images()
int GPU_max_uniforms_vert()
int GPU_max_shader_storage_buffer_bindings()
int GPU_texture_size_with_limit(int res)
bool GPU_geometry_shader_support()
bool GPU_depth_blitting_workaround()
int GPU_max_work_group_count(int index)
bool GPU_stencil_export_support()
bool GPU_mem_stats_supported()
bool GPU_stereo_quadbuffer_support()
int GPU_max_textures_geom()
bool GPU_use_main_context_workaround()
int GPU_max_textures_frag()
uint32_t GPU_max_buffer_texture_size()
bool GPU_use_subprocess_compilation()
size_t GPU_storage_buffer_alignment()
int GPU_max_vertex_attribs()
bool GPU_use_hq_normals_workaround()
const char * GPU_extension_get(int i)
size_t GPU_max_storage_buffer_size()
int GPU_max_varying_floats()
int GPU_max_compute_shader_storage_blocks()
int GPU_max_batch_vertices()
int GPU_extensions_len()
int GPU_max_uniforms_frag()
bool GPU_stencil_clasify_buffer_workaround()
int GPU_max_texture_size()
void GPU_compilation_subprocess_override_set(int count)
int GPU_max_textures_vert()
int count
i
Definition text_draw.cc:230