|
Blender
V2.93
|
#include <gpu_capabilities_private.hh>
Public Attributes | |
| int | max_texture_size = 0 |
| int | max_texture_layers = 0 |
| int | max_textures = 0 |
| int | max_textures_vert = 0 |
| int | max_textures_geom = 0 |
| int | max_textures_frag = 0 |
| bool | mem_stats_support = false |
| bool | shader_image_load_store_support = false |
| bool | mip_render_workaround = false |
| bool | depth_blitting_workaround = false |
| bool | use_main_context_workaround = false |
| bool | broken_amd_driver = false |
| bool | use_hq_normals_workaround = false |
This includes both hardware capabilities & workarounds. Try to limit these to the implementation codebase (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 37 of file gpu_capabilities_private.hh.
| bool blender::gpu::GPUCapabilities::broken_amd_driver = false |
Definition at line 50 of file gpu_capabilities_private.hh.
Referenced by blender::gpu::detect_workarounds(), and GPU_crappy_amd_driver().
| bool blender::gpu::GPUCapabilities::depth_blitting_workaround = false |
Definition at line 48 of file gpu_capabilities_private.hh.
Referenced by blender::gpu::detect_workarounds(), and GPU_depth_blitting_workaround().
| int blender::gpu::GPUCapabilities::max_texture_layers = 0 |
Definition at line 39 of file gpu_capabilities_private.hh.
Referenced by GPU_max_texture_layers().
| int blender::gpu::GPUCapabilities::max_texture_size = 0 |
Definition at line 38 of file gpu_capabilities_private.hh.
Referenced by GPU_max_texture_size().
| int blender::gpu::GPUCapabilities::max_textures = 0 |
Definition at line 40 of file gpu_capabilities_private.hh.
Referenced by GPU_max_textures().
| int blender::gpu::GPUCapabilities::max_textures_frag = 0 |
Definition at line 43 of file gpu_capabilities_private.hh.
Referenced by GPU_max_textures_frag().
| int blender::gpu::GPUCapabilities::max_textures_geom = 0 |
Definition at line 42 of file gpu_capabilities_private.hh.
Referenced by GPU_max_textures_geom().
| int blender::gpu::GPUCapabilities::max_textures_vert = 0 |
Definition at line 41 of file gpu_capabilities_private.hh.
Referenced by GPU_max_textures_vert().
| bool blender::gpu::GPUCapabilities::mem_stats_support = false |
Definition at line 44 of file gpu_capabilities_private.hh.
Referenced by GPU_mem_stats_supported().
| bool blender::gpu::GPUCapabilities::mip_render_workaround = false |
Definition at line 47 of file gpu_capabilities_private.hh.
Referenced by blender::gpu::detect_workarounds(), and GPU_mip_render_workaround().
| bool blender::gpu::GPUCapabilities::shader_image_load_store_support = false |
Definition at line 45 of file gpu_capabilities_private.hh.
Referenced by blender::gpu::detect_workarounds(), and GPU_shader_image_load_store_support().
| bool blender::gpu::GPUCapabilities::use_hq_normals_workaround = false |
Definition at line 51 of file gpu_capabilities_private.hh.
Referenced by blender::gpu::detect_workarounds(), and GPU_use_hq_normals_workaround().
| bool blender::gpu::GPUCapabilities::use_main_context_workaround = false |
Definition at line 49 of file gpu_capabilities_private.hh.
Referenced by blender::gpu::detect_workarounds(), and GPU_use_main_context_workaround().