/usr/include/boinc/api/texture.h is in boinc-dev 7.0.24+dfsg-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | // read_texture() - read in an image file in SGI 'libimage' format
// currently its very simple minded and converts all images
// to RGBA8 regardless of the input format and returns the
// original number of components in the appropriate parameter.
//
// the components are converted as follows
// L -> LLL 1.0
// LA -> LLL A
// RGB -> RGB 1.0
// RGBA -> RGB A
unsigned * read_rgb_texture(const char *name, int *width, int *height, int *components);
unsigned * read_tga_texture(char *name, int *width, int *height, int *components);
|