Searched defs:caches (Results 1 - 15 of 15) sorted by relevance

/frameworks/base/libs/hwui/
H A DTexture.cpp34 Texture::Texture(Caches& caches): id(0), generation(0), blend(false), width(0), height(0), argument
38 mFirstFilter(true), mFirstWrap(true), mCaches(caches) {
H A DSkiaShader.h52 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 DAssetAtlas.cpp41 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 DTextDropShadowCache.cpp186 Caches& caches = Caches::getInstance(); local
188 texture = new ShadowTexture(caches);
208 caches.bindTexture(texture->id);
H A DPatchCache.cpp50 void PatchCache::init(Caches& caches) { argument
57 caches.bindMeshBuffer(mMeshBuffer);
58 caches.resetVertexPointers();
H A DTextDropShadowCache.h119 ShadowTexture(Caches& caches): Texture(caches) { argument
H A DLayerRenderer.cpp192 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 DPathCache.cpp332 PathCache::PathProcessor::PathProcessor(Caches& caches): argument
333 TaskProcessor<SkBitmap*>(&caches.tasks), mMaxTextureSize(caches.maxTextureSize) {
H A DPathCache.h62 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 DShadowTessellator.cpp43 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 DSkiaShader.cpp58 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 DLayer.h339 Caches& caches; member in class:android::uirenderer::Layer
H A DTessellationCache.cpp113 TessellationProcessor(Caches& caches) argument
114 : TaskProcessor<VertexBuffer*>(&caches.tasks) {}
277 ShadowProcessor(Caches& caches) argument
278 : TaskProcessor<TessellationCache::vertexBuffer_pair_t*>(&caches.tasks) {}
H A DFontRenderer.cpp442 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...]
/frameworks/base/core/java/android/content/res/
H A DResources.java1885 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...]

Completed in 4005 milliseconds