| 237 | } |
| 238 | |
| 239 | bool isCompressedFormat(const GFXFormat format) |
| 240 | { |
| 241 | if (format >= GFXFormatBC1 && format <= GFXFormatBC3_SRGB) |
| 242 | return true; |
| 243 | else |
| 244 | return false; |
| 245 | } |
| 246 | |
| 247 | bool isAlphaFormat(const GFXFormat format) |
| 248 | { |
no outgoing calls
no test coverage detected