Home | History | Annotate | Download | only in hwui

Lines Matching defs:TextureCache

26 #include "TextureCache.h"
36 TextureCache::TextureCache():
60 TextureCache::TextureCache(uint32_t maxByteSize):
66 TextureCache::~TextureCache() {
70 void TextureCache::init() {
83 uint32_t TextureCache::getSize() {
87 uint32_t TextureCache::getMaxSize() {
91 void TextureCache::setMaxSize(uint32_t maxSize) {
98 void TextureCache::setFlushRate(float flushRate) {
106 void TextureCache::operator()(SkBitmap*& bitmap, Texture*& texture) {
110 TEXTURE_LOGD("TextureCache::callback: name, removed size, mSize = %d, %d, %d",
124 Texture* TextureCache::get(SkBitmap* bitmap) {
148 TEXTURE_LOGD("TextureCache::get: create texture(%p): name, size, mSize = %d, %d, %d",
164 Texture* TextureCache::getTransient(SkBitmap* bitmap) {
174 void TextureCache::remove(SkBitmap* bitmap) {
178 void TextureCache::removeDeferred(SkBitmap* bitmap) {
183 void TextureCache::clearGarbage() {
192 void TextureCache::clear() {
194 TEXTURE_LOGD("TextureCache:clear(), mSize = %d", mSize);
197 void TextureCache::flush() {
205 TEXTURE_LOGD("TextureCache::flush: target size: %d", targetSize);
212 void TextureCache::generateTexture(SkBitmap* bitmap, Texture* texture, bool regenerate) {
285 void TextureCache::uploadLoFiTexture(bool resize, SkBitmap* bitmap,
299 void TextureCache::uploadToTexture(bool resize, GLenum format, GLsizei stride,