|
Blender V5.3
|
#include <gpu_capabilities_private.hh>
This includes both hardware capabilities & workarounds. Try to limit these to the implementation code-base (i.e.: gpu/opengl/). Only add workarounds here if they are common to all implementation or if you need access to it outside of the GPU module. Same goes for capabilities (i.e.: texture size).
Definition at line 22 of file gpu_capabilities_private.hh.
| bool blender::gpu::GPUCapabilities::depth_blitting_workaround = false |
Definition at line 61 of file gpu_capabilities_private.hh.
Referenced by blender::gpu::detect_workarounds(), and blender::GPU_depth_blitting_workaround().
| const char *(*) blender::gpu::GPUCapabilities::extension_get(int) |
Definition at line 43 of file gpu_capabilities_private.hh.
Referenced by blender::gpu::VKBackend::capabilities_init(), and blender::GPU_extension_get().
| int blender::gpu::GPUCapabilities::extensions_len = 0 |
Definition at line 42 of file gpu_capabilities_private.hh.
Referenced by blender::gpu::VKBackend::capabilities_init(), and blender::GPU_extensions_len().
| bool blender::gpu::GPUCapabilities::frontbuffer_read_workaround = false |
Reading the front-buffer is unreliable, see GPU_frontbuffer_read_workaround.
Definition at line 67 of file gpu_capabilities_private.hh.
Referenced by blender::gpu::detect_workarounds(), and blender::GPU_frontbuffer_read_workaround().
| bool blender::gpu::GPUCapabilities::geometry_shader_support = false |
Definition at line 46 of file gpu_capabilities_private.hh.
Referenced by blender::gpu::VKBackend::capabilities_init(), and blender::GPU_geometry_shader_support().
| bool blender::gpu::GPUCapabilities::hdr_viewport_support = false |
Definition at line 47 of file gpu_capabilities_private.hh.
Referenced by blender::gpu::detect_workarounds(), blender::GPU_hdr_support(), and blender::gpu::VKContext::sync_backbuffer().
| int blender::gpu::GPUCapabilities::max_batch_indices = 0 |
Definition at line 33 of file gpu_capabilities_private.hh.
Referenced by blender::gpu::VKBackend::capabilities_init(), and blender::GPU_max_batch_indices().
| int blender::gpu::GPUCapabilities::max_batch_vertices = 0 |
Definition at line 34 of file gpu_capabilities_private.hh.
Referenced by blender::gpu::VKBackend::capabilities_init(), and blender::GPU_max_batch_vertices().
| uint32_t blender::gpu::GPUCapabilities::max_buffer_texture_size = 0 |
Definition at line 25 of file gpu_capabilities_private.hh.
Referenced by blender::gpu::VKBackend::capabilities_init(), and blender::GPU_max_buffer_texture_size().
| int blender::gpu::GPUCapabilities::max_compute_shader_storage_blocks = 0 |
Definition at line 38 of file gpu_capabilities_private.hh.
Referenced by blender::gpu::VKBackend::capabilities_init(), and blender::GPU_max_compute_shader_storage_blocks().
| int blender::gpu::GPUCapabilities::max_images = 0 |
Definition at line 28 of file gpu_capabilities_private.hh.
Referenced by blender::gpu::VKBackend::capabilities_init(), and blender::GPU_max_images().
| int blender::gpu::GPUCapabilities::max_parallel_compilations = -1 |
Definition at line 58 of file gpu_capabilities_private.hh.
Referenced by blender::gpu::VKBackend::capabilities_init(), blender::GPU_compilation_subprocess_override_set(), and blender::GPU_max_parallel_compilations().
| int blender::gpu::GPUCapabilities::max_shader_storage_buffer_bindings = 0 |
Definition at line 37 of file gpu_capabilities_private.hh.
Referenced by blender::gpu::VKBackend::capabilities_init(), and blender::GPU_max_shader_storage_buffer_bindings().
| size_t blender::gpu::GPUCapabilities::max_storage_buffer_size = 0 |
Definition at line 40 of file gpu_capabilities_private.hh.
Referenced by blender::gpu::VKBackend::capabilities_init(), and blender::GPU_max_storage_buffer_size().
| int blender::gpu::GPUCapabilities::max_texture_3d_size = 0 |
Definition at line 24 of file gpu_capabilities_private.hh.
Referenced by blender::gpu::VKBackend::capabilities_init(), and blender::GPU_max_texture_3d_size().
| int blender::gpu::GPUCapabilities::max_texture_layers = 0 |
Definition at line 26 of file gpu_capabilities_private.hh.
Referenced by blender::gpu::VKBackend::capabilities_init(), and blender::GPU_max_texture_layers().
| int blender::gpu::GPUCapabilities::max_texture_size = 0 |
Definition at line 23 of file gpu_capabilities_private.hh.
Referenced by blender::gpu::VKBackend::capabilities_init(), and blender::GPU_max_texture_size().
| int blender::gpu::GPUCapabilities::max_textures = 0 |
Definition at line 27 of file gpu_capabilities_private.hh.
Referenced by blender::gpu::VKBackend::capabilities_init(), and blender::GPU_max_textures().
| size_t blender::gpu::GPUCapabilities::max_uniform_buffer_size = 0 |
Definition at line 39 of file gpu_capabilities_private.hh.
Referenced by blender::gpu::VKBackend::capabilities_init(), and blender::GPU_max_uniform_buffer_size().
| int blender::gpu::GPUCapabilities::max_uniforms_frag = 0 |
Definition at line 32 of file gpu_capabilities_private.hh.
Referenced by blender::gpu::VKBackend::capabilities_init(), and blender::GPU_max_uniforms_frag().
| int blender::gpu::GPUCapabilities::max_uniforms_vert = 0 |
Definition at line 31 of file gpu_capabilities_private.hh.
Referenced by blender::gpu::VKBackend::capabilities_init(), and blender::GPU_max_uniforms_vert().
| int blender::gpu::GPUCapabilities::max_varying_floats = 0 |
Definition at line 36 of file gpu_capabilities_private.hh.
Referenced by blender::gpu::VKBackend::capabilities_init(), and blender::GPU_max_varying_floats().
| int blender::gpu::GPUCapabilities::max_vertex_attribs = 0 |
Definition at line 35 of file gpu_capabilities_private.hh.
Referenced by blender::gpu::VKBackend::capabilities_init(), and blender::GPU_max_vertex_attribs().
| int blender::gpu::GPUCapabilities::max_work_group_count[3] = {0, 0, 0} |
Definition at line 29 of file gpu_capabilities_private.hh.
Referenced by blender::gpu::VKBackend::capabilities_init(), and blender::GPU_max_work_group_count().
| int blender::gpu::GPUCapabilities::max_work_group_size[3] = {0, 0, 0} |
Definition at line 30 of file gpu_capabilities_private.hh.
Referenced by blender::gpu::VKBackend::capabilities_init(), and blender::GPU_max_work_group_size().
| bool blender::gpu::GPUCapabilities::mem_stats_support = false |
Definition at line 45 of file gpu_capabilities_private.hh.
Referenced by blender::gpu::VKBackend::capabilities_init(), and blender::GPU_mem_stats_supported().
| int blender::gpu::GPUCapabilities::minimum_per_vertex_stride = 1 |
Definition at line 73 of file gpu_capabilities_private.hh.
Referenced by blender::gpu::detect_workarounds(), and blender::GPU_minimum_per_vertex_stride().
| bool blender::gpu::GPUCapabilities::multi_viewport_support = false |
Definition at line 48 of file gpu_capabilities_private.hh.
Referenced by blender::gpu::VKBackend::capabilities_init(), and blender::GPU_multi_viewport_support().
| bool blender::gpu::GPUCapabilities::ray_query_support = false |
Definition at line 50 of file gpu_capabilities_private.hh.
Referenced by blender::gpu::VKBackend::capabilities_init(), and blender::GPU_ray_query_support().
| bool blender::gpu::GPUCapabilities::srgb_write_direct_support = false |
Can an sRGB texture be written, with the hardware performing conversion to sRGB?
Definition at line 54 of file gpu_capabilities_private.hh.
Referenced by blender::GPU_texture_mipmap_usage(), and blender::texture_update_mipmap_chain().
| bool blender::gpu::GPUCapabilities::srgb_write_view_support = false |
Definition at line 56 of file gpu_capabilities_private.hh.
Referenced by blender::gpu::VKBackend::capabilities_init(), blender::gpu::detect_workarounds(), and blender::GPU_texture_mipmap_usage().
| bool blender::gpu::GPUCapabilities::stencil_classify_buffer_workaround = false |
Definition at line 64 of file gpu_capabilities_private.hh.
Referenced by blender::gpu::detect_workarounds(), and blender::GPU_stencil_classify_buffer_workaround().
| bool blender::gpu::GPUCapabilities::stencil_export_support = false |
Definition at line 49 of file gpu_capabilities_private.hh.
Referenced by blender::gpu::VKBackend::capabilities_init(), blender::gpu::detect_workarounds(), and blender::GPU_stencil_export_support().
| size_t blender::gpu::GPUCapabilities::storage_buffer_alignment = 256 |
Definition at line 41 of file gpu_capabilities_private.hh.
Referenced by blender::gpu::VKBackend::capabilities_init(), and blender::GPU_storage_buffer_alignment().
| bool blender::gpu::GPUCapabilities::texture_pool_workaround = false |
Definition at line 65 of file gpu_capabilities_private.hh.
Referenced by blender::gpu::detect_workarounds(), blender::gpu::VKWorkarounds::log(), blender::gpu::GLBackend::texturepool_alloc(), and blender::gpu::VKBackend::texturepool_alloc().
| bool blender::gpu::GPUCapabilities::use_hq_normals_workaround = false |
Definition at line 63 of file gpu_capabilities_private.hh.
Referenced by blender::gpu::detect_workarounds(), and blender::GPU_use_hq_normals_workaround().
| bool blender::gpu::GPUCapabilities::use_main_context_workaround = false |
Definition at line 62 of file gpu_capabilities_private.hh.
Referenced by blender::gpu::detect_workarounds(), and blender::GPU_use_main_context_workaround().
| bool blender::gpu::GPUCapabilities::use_subprocess_shader_compilations = false |
Definition at line 69 of file gpu_capabilities_private.hh.
Referenced by blender::GPU_use_subprocess_compilation(), and blender::gpu::GLBackend::init_resources().
| bool blender::gpu::GPUCapabilities::vertex_pipeline_stores_and_atomics_support = false |
Definition at line 51 of file gpu_capabilities_private.hh.
Referenced by blender::gpu::VKBackend::capabilities_init(), and blender::GPU_vertex_pipeline_stores_and_atomics_support().