Home
last modified time | relevance | path

Searched refs:caches (Results 1 – 25 of 32) sorted by relevance

12

/frameworks/base/libs/hwui/
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, in describe() argument
64 static void setupProgram(Caches* caches, const mat4& modelViewMatrix, in setupProgram() 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, const mat4& modelViewMatrix,
[all …]
DSkiaShader.cpp58 static inline void bindTexture(Caches* caches, Texture* texture, GLenum wrapS, GLenum wrapT) { in bindTexture() argument
59 caches->bindTexture(texture->id); in bindTexture()
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, in describe() argument
152 gDescribeProc[getType(shader)](caches, description, extensions, shader); in describe()
155 void SkiaShader::setupProgram(Caches* caches, const mat4& modelViewMatrix, in setupProgram() argument
158 gSetupProgramProc[getType(shader)](caches, modelViewMatrix, textureUnit, extensions, shader); in setupProgram()
170 void SkiaLayerShader::setupProgram(Caches* caches, const mat4& modelViewMatrix, in setupProgram() argument
178 caches->activeTexture(textureSlot); in setupProgram()
[all …]
DAssetAtlas.cpp41 Caches& caches = Caches::getInstance(); in init() local
42 mTexture = new Texture(caches); in init()
45 createEntries(caches, map, count); in init()
98 DelegateTexture(Caches& caches, Texture* delegate): Texture(caches), mDelegate(delegate) { } in DelegateTexture()
117 void AssetAtlas::createEntries(Caches& caches, int64_t* map, int count) { in createEntries() argument
139 Texture* texture = new DelegateTexture(caches, mTexture); in createEntries()
DShadowTessellator.cpp43 Caches& caches = Caches::getInstance(); in tessellateAmbientShadow() local
44 if (CC_UNLIKELY(caches.propertyAmbientRatio > 0.0f)) { in tessellateAmbientShadow()
45 heightFactor *= caches.propertyAmbientRatio; in tessellateAmbientShadow()
69 Caches& caches = Caches::getInstance(); in tessellateSpotShadow() local
72 if (CC_UNLIKELY(caches.propertyLightPosY > 0)) { in tessellateSpotShadow()
73 adjustedLightCenter.y = - caches.propertyLightPosY; // negated since this shifts up in tessellateSpotShadow()
75 if (CC_UNLIKELY(caches.propertyLightPosZ > 0)) { in tessellateSpotShadow()
76 adjustedLightCenter.z = caches.propertyLightPosZ; in tessellateSpotShadow()
91 if (CC_UNLIKELY(caches.propertyLightDiameter > 0)) { in tessellateSpotShadow()
92 lightRadius = caches.propertyLightDiameter; in tessellateSpotShadow()
DLayerRenderer.cpp192 Caches& caches = Caches::getInstance(); in createRenderLayer() local
193 GLuint fbo = caches.fboCache.get(); in createRenderLayer()
199 caches.activeTexture(0); in createRenderLayer()
200 Layer* layer = caches.layerCache.get(renderState, width, height); in createRenderLayer()
209 const uint32_t maxTextureSize = caches.maxTextureSize; in createRenderLayer()
358 Caches& caches = Caches::getInstance(); in copyLayer() local
359 if (layer && bitmap->width() <= caches.maxTextureSize && in copyLayer()
360 bitmap->height() <= caches.maxTextureSize) { in copyLayer()
362 GLuint fbo = caches.fboCache.get(); in copyLayer()
415 caches.activeTexture(0); in copyLayer()
[all …]
DLayer.cpp41 , caches(Caches::getInstance()) in Layer()
43 , texture(caches) in Layer()
127 const uint32_t maxTextureSize = caches.maxTextureSize; in resize()
140 caches.activeTexture(0); in resize()
170 caches.renderBufferCache.put(stencil); in removeFbo()
177 caches.fboCache.put(fbo); in removeFbo()
201 caches.bindTexture(renderTarget, texture.id); in bindTexture()
225 caches.unbindTexture(texture.id); in clearTexture()
DFontRenderer.cpp442 void checkTextureUpdateForCache(Caches& caches, Vector<CacheTexture*>& cacheTextures, in checkTextureUpdateForCache() argument
449 caches.activeTexture(0); in checkTextureUpdateForCache()
450 caches.bindTexture(lastTextureId); in checkTextureUpdateForCache()
465 Caches& caches = Caches::getInstance(); in checkTextureUpdate() local
472 checkTextureUpdateForCache(caches, mACacheTextures, resetPixelStore, lastTextureId); in checkTextureUpdate()
473 checkTextureUpdateForCache(caches, mRGBACacheTextures, resetPixelStore, lastTextureId); in checkTextureUpdate()
476 caches.unbindPixelBuffer(); in checkTextureUpdate()
488 Caches& caches = Caches::getInstance(); in issueDrawCommand() local
501 caches.bindQuadIndicesBuffer(); in issueDrawCommand()
507 force = caches.unbindMeshBuffer(); in issueDrawCommand()
[all …]
DTexture.cpp34 Texture::Texture(Caches& caches): id(0), generation(0), blend(false), width(0), height(0), in Texture() argument
38 mFirstFilter(true), mFirstWrap(true), mCaches(caches) { in Texture()
DPathCache.h62 PathTexture(Caches& caches): Texture(caches) { in PathTexture()
293 PathProcessor(Caches& caches);
DTextDropShadowCache.cpp186 Caches& caches = Caches::getInstance(); in get() local
188 texture = new ShadowTexture(caches); in get()
208 caches.bindTexture(texture->id); in get()
DTextDropShadowCache.h119 ShadowTexture(Caches& caches): Texture(caches) { in ShadowTexture()
DPatchCache.cpp50 void PatchCache::init(Caches& caches) { in init() argument
57 caches.bindMeshBuffer(mMeshBuffer); in init()
58 caches.resetVertexPointers(); in init()
DTessellationCache.cpp113 TessellationProcessor(Caches& caches) in TessellationProcessor() argument
114 : TaskProcessor<VertexBuffer*>(&caches.tasks) {} in TessellationProcessor()
277 ShadowProcessor(Caches& caches) in ShadowProcessor() argument
278 : TaskProcessor<TessellationCache::vertexBuffer_pair_t*>(&caches.tasks) {} in ShadowProcessor()
DTexture.h34 Texture(Caches& caches);
DAssetAtlas.h172 void createEntries(Caches& caches, int64_t* map, int count);
DPatchCache.h55 void init(Caches& caches);
DPathCache.cpp332 PathCache::PathProcessor::PathProcessor(Caches& caches): in PathProcessor() argument
333 TaskProcessor<SkBitmap*>(&caches.tasks), mMaxTextureSize(caches.maxTextureSize) { in PathProcessor()
DLayer.h339 Caches& caches; variable
/frameworks/base/core/java/android/content/res/
DResources.java1885 ArrayMap<String, LongSparseArray<WeakReference<ConstantState>>> caches, in clearDrawableCachesLocked() argument
1887 final int N = caches.size(); in clearDrawableCachesLocked()
1889 clearDrawableCacheLocked(caches.valueAt(i), configChanges); in clearDrawableCachesLocked()
2337 final ArrayMap<String, LongSparseArray<WeakReference<ConstantState>>> caches; in loadDrawable() local
2342 caches = mColorDrawableCache; in loadDrawable()
2346 caches = mDrawableCache; in loadDrawable()
2353 final Drawable cachedDrawable = getCachedDrawable(caches, key, theme); in loadDrawable()
2388 cacheDrawable(value, theme, isColorDrawable, caches, key, dr); in loadDrawable()
2395 ArrayMap<String, LongSparseArray<WeakReference<ConstantState>>> caches, in cacheDrawable() argument
2426 LongSparseArray<WeakReference<ConstantState>> themedCache = caches.get(themeKey); in cacheDrawable()
[all …]
/frameworks/base/docs/html/guide/topics/processes/
Dprocess-lifecycle.jd101 underlying kernel caches.
/frameworks/base/docs/html/sdk/
Dindex.jd454 <li>At least 1 GB for Android SDK, emulator system images, and caches</li>
468 <li>At least 1 GB for Android SDK, emulator system images, and caches</li>
488 <li>At least 1 GB for Android SDK, emulator system images, and caches</li>
/frameworks/base/docs/html/training/volley/
Drequest.jd167 {@code DiskBasedCache} class. This class caches files directly onto the hard disk in the
/frameworks/base/docs/html/training/articles/
Dsmp.jd275 happen, it’s useful to know a little about CPU caches.</p>
283 <p>Modern CPUs have one or more caches between the processor and main memory.
287 have small L1 caches and little or no L2/L3.</p>
302 its own private cache. In a simple model, the caches have no way to interact
306 sluggish, so it’s useful to define a way for the caches to share data. This
319 caches entirely so everything operates out of main memory). This would impose a
336 <p>One additional note: CPU caches don’t operate on individual bytes. Data is
1877 <dd>A very long and detailed article about different types of memory, particularly CPU caches, by U…
/frameworks/base/docs/html/guide/components/
Dprocesses-and-threads.jd164 resources between process caches and the underlying kernel caches.</p>
/frameworks/base/docs/html/google/play/billing/
Dapi.jd136 <p>Because the Google Play client now caches In-app Billing information locally on the device, you …

12