Lines Matching refs:caches
190 Caches& caches = Caches::getInstance();
191 GLuint fbo = caches.fboCache.get();
197 caches.activeTexture(0);
198 Layer* layer = caches.layerCache.get(width, height);
207 const uint32_t maxTextureSize = caches.maxTextureSize;
214 Caches::getInstance().resourceCache.decrementRefcount(layer);
244 caches.resourceCache.decrementRefcount(layer);
288 Caches::getInstance().activeTexture(0);
318 if (!Caches::getInstance().layerCache.put(layer)) {
320 Caches::getInstance().resourceCache.decrementRefcount(layer);
324 Caches::getInstance().layerCache.dump();
336 Caches::getInstance().deleteLayerDeferred(layer);
361 Caches& caches = Caches::getInstance();
362 if (layer && bitmap->width() <= caches.maxTextureSize &&
363 bitmap->height() <= caches.maxTextureSize) {
365 GLuint fbo = caches.fboCache.get();
417 caches.activeTexture(0);
418 caches.bindTexture(texture);
442 caches.disableScissor();
480 caches.deleteTexture(texture);
481 caches.fboCache.put(fbo);