Lines Matching refs:texture
168 status_t BootAnimation::initTexture(Texture* texture, AssetManager& assets, in initTexture() argument
186 texture->w = w; in initTexture()
187 texture->h = h; in initTexture()
189 glGenTextures(1, &texture->name); in initTexture()
190 glBindTexture(GL_TEXTURE_2D, texture->name); in initTexture()
756 glGenTextures(1, &font->texture.name); in initFont()
757 glBindTexture(GL_TEXTURE_2D, font->texture.name); in initFont()
759 status = initTexture(font->map, &font->texture.w, &font->texture.h); in initFont()
766 status = initTexture(&font->texture, mAssets, fallback); in initFont()
772 font->char_width = font->texture.w / FONT_NUM_COLS; in initFont()
773 font->char_height = font->texture.h / FONT_NUM_ROWS / 2; // There are bold and regular rows in initFont()
781 glBindTexture(GL_TEXTURE_2D, font.texture.name); in drawText()
1092 glDeleteTextures(1, &mAnimation->clockFont.texture.name); in movie()