Home | History | Annotate | Download | only in hwui

Lines Matching defs:TextureCache

24 #include "TextureCache.h"
35 TextureCache::TextureCache()
49 TextureCache::~TextureCache() {
57 uint32_t TextureCache::getSize() {
61 uint32_t TextureCache::getMaxSize() {
69 void TextureCache::operator()(uint32_t&, Texture*& texture) {
73 TEXTURE_LOGD("TextureCache::callback: name, removed size, mSize = %d, %d, %d",
87 void TextureCache::setAssetAtlas(AssetAtlas* assetAtlas) {
91 void TextureCache::resetMarkInUse(void* ownerToken) {
100 bool TextureCache::canMakeTextureFromBitmap(const SkBitmap* bitmap) {
111 Texture* TextureCache::getCachedTexture(const SkBitmap* bitmap, AtlasUsageType atlasUsageType) {
145 TEXTURE_LOGD("TextureCache::get: create texture(%p): name, size, mSize = %d, %d, %d",
162 bool TextureCache::prefetchAndMarkInUse(void* ownerToken, const SkBitmap* bitmap) {
170 bool TextureCache::prefetch(const SkBitmap* bitmap) {
174 Texture* TextureCache::get(const SkBitmap* bitmap, AtlasUsageType atlasUsageType) {
193 void TextureCache::releaseTexture(uint32_t pixelRefStableID) {
198 void TextureCache::clearGarbage() {
208 void TextureCache::clear() {
210 TEXTURE_LOGD("TextureCache:clear(), mSize = %d", mSize);
213 void TextureCache::flush() {
221 TEXTURE_LOGD("TextureCache::flush: target size: %d", targetSize);