#include <version.h>
Public Member Functions | |
constexpr | Version (size_t p_major=0, size_t p_minor=0, size_t p_patch=0) |
constexpr bool | IsAtLeast (const Version &other) const |
std::string | ToString () const |
Static Public Member Functions | |
static std::optional< Version > | FromVector (const std::vector< size_t > &version) |
Public Attributes | |
size_t | major_version |
size_t | minor_version |
size_t | patch_version |
|
inlineexplicitconstexpr |
|
static |
Definition at line 11 of file version.cc.
Referenced by impeller::DetermineVersion().
|
inlineconstexpr |
Definition at line 31 of file version.h.
References major_version, minor_version, and patch_version.
Referenced by impeller::DescriptionGLES::DescriptionGLES(), impeller::DriverInfoVK::IsKnownBadDriver(), and impeller::BufferBindingsGLES::ReadUniformsBindings().
std::string impeller::Version::ToString | ( | ) | const |
Definition at line 27 of file version.cc.
References major_version, minor_version, and patch_version.
Referenced by impeller::DriverInfoVK::DumpToLog().
size_t impeller::Version::major_version |
Definition at line 18 of file version.h.
Referenced by IsAtLeast(), and ToString().
size_t impeller::Version::minor_version |
Definition at line 19 of file version.h.
Referenced by IsAtLeast(), and ToString().
size_t impeller::Version::patch_version |
Definition at line 20 of file version.h.
Referenced by IsAtLeast(), and ToString().