Changeset View
Changeset View
Standalone View
Standalone View
source/blender/gpu/intern/gpu_capabilities_private.hh
| Show All 30 Lines | |||||
| * This includes both hardware capabilities & workarounds. | * This includes both hardware capabilities & workarounds. | ||||
| * Try to limit these to the implementation codebase (i.e.: gpu/opengl/). | * Try to limit these to the implementation codebase (i.e.: gpu/opengl/). | ||||
| * Only add workarounds here if they are common to all implementation or | * Only add workarounds here if they are common to all implementation or | ||||
| * if you need access to it outside of the GPU module. | * if you need access to it outside of the GPU module. | ||||
| * Same goes for capabilities (i.e.: texture size) | * Same goes for capabilities (i.e.: texture size) | ||||
| **/ | **/ | ||||
| struct GPUCapabilities { | struct GPUCapabilities { | ||||
| int max_texture_size = 0; | int max_texture_size = 0; | ||||
| int max_texture_save_size = 0; | |||||
| int max_texture_layers = 0; | int max_texture_layers = 0; | ||||
| int max_textures = 0; | int max_textures = 0; | ||||
| int max_textures_vert = 0; | int max_textures_vert = 0; | ||||
| int max_textures_geom = 0; | int max_textures_geom = 0; | ||||
| int max_textures_frag = 0; | int max_textures_frag = 0; | ||||
| bool mem_stats_support = false; | bool mem_stats_support = false; | ||||
| bool shader_image_load_store_support = false; | bool shader_image_load_store_support = false; | ||||
| /* OpenGL related workarounds. */ | /* OpenGL related workarounds. */ | ||||
| Show All 10 Lines | |||||