Lines Matching refs:Format
222 // choose an appropriate cache texture list for this glyph format
223 SkMask::Format format = static_cast<SkMask::Format>(glyph.fMaskFormat);
225 switch (format) {
235 ALOGD("getCacheTexturesForFormat: unknown SkMask format %x", format);
291 // Copy the glyph image, taking the mask format into account
292 switch (format) {
379 ALOGW("Unknown glyph format: 0x%x", format);
390 CacheTexture* FontRenderer::createCacheTexture(int width, int height, GLenum format,
392 CacheTexture* cacheTexture = new CacheTexture(width, height, format, kMaxNumberOfQuads);
754 const std::vector<CacheTexture*>& FontRenderer::cacheTexturesForFormat(GLenum format) const {
755 switch (format) {
763 LOG_ALWAYS_FATAL("Unsupported format: %d", format);
794 uint32_t FontRenderer::getCacheSize(GLenum format) const {
795 return calculateCacheSize(cacheTexturesForFormat(format));
798 uint32_t FontRenderer::getFreeCacheSize(GLenum format) const {
799 return calculateFreeCacheSize(cacheTexturesForFormat(format));