commit | 25977694b814e285649d6a60c148cb3b5a04ef30 | [log] [tgz] |
---|---|---|
author | Pyry Haulos <phaulos@google.com> | Wed Oct 14 12:55:20 2015 -0700 |
committer | Pyry Haulos <phaulos@google.com> | Fri Oct 16 15:01:09 2015 -0700 |
tree | 26d7a2302df45224d3c652f192a39e1c901af34b | |
parent | 725691d12fb107f6ba64aa8ab5aafa0a1cea2847 [diff] |
Add a few utils for tcu::TextureFormat * tcu::isValid(TextureFormat) can be used to check if format is supported by tcuTexture. * tcu::isAccessValid() can be used to check if getPixel/setPixel access type is supported for TextureFormat. * Added tcu::getPixelSize() and deprecated TextureFormat::getPixelSize(). Change-Id: Ibed3c130d238fb61bb8572678bd6c94ba9457cf9