X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fcore%2Fdeviceinfo.h;fp=source%2Fcore%2Fdeviceinfo.h;h=0000000000000000000000000000000000000000;hb=d16d28d2ccf7c6255204f02975834f713ff1df08;hp=a95841197a9c604585ec82aed8b039cbff25438e;hpb=fb04f4ef9162f58f494cf4323cf3dc66b2f3d4ac;p=libs%2Fgl.git diff --git a/source/core/deviceinfo.h b/source/core/deviceinfo.h deleted file mode 100644 index a9584119..00000000 --- a/source/core/deviceinfo.h +++ /dev/null @@ -1,43 +0,0 @@ -#ifndef MSP_GL_DEVICEINFO_H_ -#define MSP_GL_DEVICEINFO_H_ - -#include "glsl/features.h" - -namespace Msp { -namespace GL { - -/** -Contains information about various limits imposed by the graphics device. -*/ -struct Limits -{ - unsigned max_clip_planes = 6; - unsigned max_vertex_attributes = 16; - unsigned max_texture_bindings = 16; - unsigned max_color_attachments = 8; - unsigned max_samples = 4; - unsigned max_uniform_bindings = 24; - unsigned uniform_buffer_alignment = 256; - float max_anisotropy = 1.0f; - - Limits(); -}; - -/** -Contains information about a graphics device. -*/ -struct DeviceInfo -{ - Limits limits; - SL::Features glsl_features; - - DeviceInfo(); - - /** Returns information for the device currently in use. */ - static const DeviceInfo &get_global(); -}; - -} // namespace GL -} // namespace Msp - -#endif