Home | History | Annotate | Download | only in hwui

Lines Matching refs:caches

33 #include "Caches.h"
135 uint32_t maxTextureSize = (uint32_t) Caches::getInstance().maxTextureSize;
289 Caches::getInstance().activeTexture(0);
402 Caches::getInstance().activeTexture(0);
441 void checkTextureUpdateForCache(Caches& caches, Vector<CacheTexture*>& cacheTextures,
448 caches.activeTexture(0);
449 caches.bindTexture(lastTextureId);
464 Caches& caches = Caches::getInstance();
471 checkTextureUpdateForCache(caches, mACacheTextures, resetPixelStore, lastTextureId);
472 checkTextureUpdateForCache(caches, mRGBACacheTextures, resetPixelStore, lastTextureId);
475 caches.unbindPixelBuffer();
487 Caches& caches = Caches::getInstance();
500 caches.bindIndicesBuffer();
506 force = caches.unbindMeshBuffer();
509 caches.activeTexture(0);
513 caches.bindTexture(texture->getTextureId());
517 caches.bindPositionVertexPointer(force, &mesh[0].position[0]);
518 caches.bindTexCoordsVertexPointer(force, &mesh[0].texture[0]);
618 uint32_t maxSize = Caches::getInstance().maxTextureSize;
648 Caches::getInstance().unbindPixelBuffer();