Lines Matching refs:data
136 DXT1HasAlpha(const GLvoid *data, int width, int height) {
150 uint32_t const *d32 = (uint32_t *)data;
194 decodeDXT1(const GLvoid *data, int width, int height,
201 uint32_t const *d32 = (uint32_t *)data;
305 // Output data as internalformat=GL_RGBA, type=GL_UNSIGNED_BYTE
307 decodeDXT3(const GLvoid *data, int width, int height,
313 uint32_t const *d32 = (uint32_t *)data;
414 // Output data as internalformat=GL_RGBA, type=GL_UNSIGNED_BYTE
416 decodeDXT5(const GLvoid *data, int width, int height,
422 uint32_t const *d32 = (uint32_t *)data;
576 * 'data' points to the texture data. 'width' and 'height' indicate the
587 * 8 bytes are read from 'data' for each block.
591 * 8 bytes are read from 'data' for each block.
596 * 16 bytes are read from 'data' for each block.
599 decodeDXT(const GLvoid *data, int width, int height,
611 decodeDXT1(data, width, height, surface, stride, false);
615 decodeDXT1(data, width, height, surface, stride, true);
619 decodeDXT3(data, width, height, surface, stride);
623 decodeDXT5(data, width, height, surface, stride);