Lines Matching defs:TextureCache
25 #include "TextureCache.h"
35 TextureCache::TextureCache():
49 TextureCache::TextureCache(uint32_t maxByteSize):
55 TextureCache::~TextureCache() {
59 void TextureCache::init() {
72 uint32_t TextureCache::getSize() {
76 uint32_t TextureCache::getMaxSize() {
80 void TextureCache::setMaxSize(uint32_t maxSize) {
91 void TextureCache::operator()(SkBitmap*& bitmap, Texture*& texture) {
95 TEXTURE_LOGD("TextureCache::callback: name, removed size, mSize = %d, %d, %d",
109 Texture* TextureCache::get(SkBitmap* bitmap) {
132 TEXTURE_LOGD("TextureCache::get: create texture(%p): name, size, mSize = %d, %d, %d",
148 void TextureCache::remove(SkBitmap* bitmap) {
152 void TextureCache::removeDeferred(SkBitmap* bitmap) {
157 void TextureCache::clearGarbage() {
166 void TextureCache::clear() {
168 TEXTURE_LOGD("TextureCache:clear(), mSize = %d", mSize);
171 void TextureCache::generateTexture(SkBitmap* bitmap, Texture* texture, bool regenerate) {
226 void TextureCache::uploadLoFiTexture(bool resize, SkBitmap* bitmap,
241 void TextureCache::uploadToTexture(bool resize, GLenum format, GLsizei width, GLsizei height,