/frameworks/base/libs/hwui/ |
H A D | AssetAtlas.cpp | 41 Caches& caches = Caches::getInstance(); local 42 mTexture = new Texture(caches); 45 createEntries(caches, map, count); 98 DelegateTexture(Caches& caches, Texture* delegate): Texture(caches), mDelegate(delegate) { } argument 117 void AssetAtlas::createEntries(Caches& caches, int64_t* map, int count) { argument 139 Texture* texture = new DelegateTexture(caches, mTexture);
|
H A D | AssetAtlas.h | 172 void createEntries(Caches& caches, int64_t* map, int count);
|
H A D | FontRenderer.cpp | 442 void checkTextureUpdateForCache(Caches& caches, Vector<CacheTexture*>& cacheTextures, argument 449 caches.activeTexture(0); 450 caches.bindTexture(lastTextureId); 465 Caches& caches = Caches::getInstance(); local 472 checkTextureUpdateForCache(caches, mACacheTextures, resetPixelStore, lastTextureId); 473 checkTextureUpdateForCache(caches, mRGBACacheTextures, resetPixelStore, lastTextureId); 476 caches.unbindPixelBuffer(); 488 Caches& caches = Caches::getInstance(); local 501 caches.bindQuadIndicesBuffer(); 507 force = caches [all...] |
H A D | Layer.cpp | 41 , caches(Caches::getInstance()) 43 , texture(caches) 127 const uint32_t maxTextureSize = caches.maxTextureSize; 140 caches.activeTexture(0); 170 caches.renderBufferCache.put(stencil); 177 caches.fboCache.put(fbo); 201 caches.bindTexture(renderTarget, texture.id); 225 caches.unbindTexture(texture.id);
|
H A D | Layer.h | 339 Caches& caches; member in class:android::uirenderer::Layer
|
H A D | LayerRenderer.cpp | 192 Caches& caches = Caches::getInstance(); local 193 GLuint fbo = caches.fboCache.get(); 199 caches.activeTexture(0); 200 Layer* layer = caches.layerCache.get(renderState, width, height); 209 const uint32_t maxTextureSize = caches.maxTextureSize; 358 Caches& caches = Caches::getInstance(); local 359 if (layer && bitmap->width() <= caches.maxTextureSize && 360 bitmap->height() <= caches.maxTextureSize) { 362 GLuint fbo = caches.fboCache.get(); 415 caches [all...] |
H A D | PatchCache.cpp | 50 void PatchCache::init(Caches& caches) { argument 57 caches.bindMeshBuffer(mMeshBuffer); 58 caches.resetVertexPointers();
|
H A D | PatchCache.h | 55 void init(Caches& caches);
|
H A D | PathCache.cpp | 332 PathCache::PathProcessor::PathProcessor(Caches& caches): argument 333 TaskProcessor<SkBitmap*>(&caches.tasks), mMaxTextureSize(caches.maxTextureSize) {
|
H A D | PathCache.h | 62 PathTexture(Caches& caches): Texture(caches) { argument 210 * Trimming is used for caches that support pre-caching from a worker 293 PathProcessor(Caches& caches);
|
H A D | ShadowTessellator.cpp | 43 Caches& caches = Caches::getInstance(); local 44 if (CC_UNLIKELY(caches.propertyAmbientRatio > 0.0f)) { 45 heightFactor *= caches.propertyAmbientRatio; 69 Caches& caches = Caches::getInstance(); local 72 if (CC_UNLIKELY(caches.propertyLightPosY > 0)) { 73 adjustedLightCenter.y = - caches.propertyLightPosY; // negated since this shifts up 75 if (CC_UNLIKELY(caches.propertyLightPosZ > 0)) { 76 adjustedLightCenter.z = caches.propertyLightPosZ; 91 if (CC_UNLIKELY(caches.propertyLightDiameter > 0)) { 92 lightRadius = caches [all...] |
H A D | SkiaShader.cpp | 58 static inline void bindTexture(Caches* caches, Texture* texture, GLenum wrapS, GLenum wrapT) { argument 59 caches->bindTexture(texture->id); 128 typedef void (*describeProc)(Caches* caches, ProgramDescription& description, 139 typedef void (*setupProgramProc)(Caches* caches, const mat4& modelViewMatrix, 150 void SkiaShader::describe(Caches* caches, ProgramDescription& description, argument 152 gDescribeProc[getType(shader)](caches, description, extensions, shader); 155 void SkiaShader::setupProgram(Caches* caches, const mat4& modelViewMatrix, argument 158 gSetupProgramProc[getType(shader)](caches, modelViewMatrix, textureUnit, extensions, shader); 170 void SkiaLayerShader::setupProgram(Caches* caches, const mat4& modelViewMatrix, argument 178 caches 212 bitmapShaderHelper(Caches* caches, ProgramDescription* description, BitmapShaderInfo* shaderInfo, const Extensions& extensions, const SkBitmap& bitmap, SkShader::TileMode tileModes[2]) argument 253 describe(Caches* caches, ProgramDescription& description, const Extensions& extensions, const SkShader& shader) argument 263 setupProgram(Caches* caches, const mat4& modelViewMatrix, GLuint* textureUnit, const Extensions& extensions, const SkShader& shader) argument 366 setupProgram(Caches* caches, const mat4& modelViewMatrix, GLuint* textureUnit, const Extensions&, const SkShader& shader) argument 437 describe(Caches* caches, ProgramDescription& description, const Extensions& extensions, const SkShader& shader) argument 454 setupProgram(Caches* caches, const mat4& modelViewMatrix, GLuint* textureUnit, const Extensions& extensions, const SkShader& shader) argument [all...] |
H A D | SkiaShader.h | 52 static void describe(Caches* caches, ProgramDescription& description, 54 static void setupProgram(Caches* caches, const mat4& modelViewMatrix, 60 static void describe(Caches* caches, ProgramDescription& description, argument 64 static void setupProgram(Caches* caches, const mat4& modelViewMatrix, argument 75 static void describe(Caches* caches, ProgramDescription& description, 77 static void setupProgram(Caches* caches, const mat4& modelViewMatrix, 86 static void describe(Caches* caches, ProgramDescription& description, 88 static void setupProgram(Caches* caches, const mat4& modelViewMatrix, 99 static void describe(Caches* caches, ProgramDescription& description, 101 static void setupProgram(Caches* caches, cons [all...] |
H A D | TessellationCache.cpp | 113 TessellationProcessor(Caches& caches) argument 114 : TaskProcessor<VertexBuffer*>(&caches.tasks) {} 277 ShadowProcessor(Caches& caches) argument 278 : TaskProcessor<TessellationCache::vertexBuffer_pair_t*>(&caches.tasks) {}
|
H A D | TextDropShadowCache.cpp | 186 Caches& caches = Caches::getInstance(); local 188 texture = new ShadowTexture(caches); 208 caches.bindTexture(texture->id);
|
H A D | TextDropShadowCache.h | 119 ShadowTexture(Caches& caches): Texture(caches) { argument
|
H A D | Texture.cpp | 34 Texture::Texture(Caches& caches): id(0), generation(0), blend(false), width(0), height(0), argument 38 mFirstFilter(true), mFirstWrap(true), mCaches(caches) {
|
H A D | Texture.h | 34 Texture(Caches& caches);
|
/frameworks/base/core/java/android/content/res/ |
H A D | Resources.java | 1885 ArrayMap<String, LongSparseArray<WeakReference<ConstantState>>> caches, 1887 final int N = caches.size(); 1889 clearDrawableCacheLocked(caches.valueAt(i), configChanges); 2337 final ArrayMap<String, LongSparseArray<WeakReference<ConstantState>>> caches; 2342 caches = mColorDrawableCache; 2346 caches = mDrawableCache; 2353 final Drawable cachedDrawable = getCachedDrawable(caches, key, theme); 2388 cacheDrawable(value, theme, isColorDrawable, caches, key, dr); 2395 ArrayMap<String, LongSparseArray<WeakReference<ConstantState>>> caches, 2426 LongSparseArray<WeakReference<ConstantState>> themedCache = caches 1884 clearDrawableCachesLocked( ArrayMap<String, LongSparseArray<WeakReference<ConstantState>>> caches, int configChanges) argument 2394 cacheDrawable(TypedValue value, Theme theme, boolean isColorDrawable, ArrayMap<String, LongSparseArray<WeakReference<ConstantState>>> caches, long key, Drawable dr) argument 2489 getCachedDrawable( ArrayMap<String, LongSparseArray<WeakReference<ConstantState>>> caches, long key, Theme theme) argument [all...] |