Searched defs:caches (Results 1 - 23 of 23) sorted by last modified time

/frameworks/data-binding/prebuilds/1.0-rc0/
H A Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/databinding/Bindable.class Bindable. ...
/frameworks/base/libs/hwui/
H A DAssetAtlas.cpp40 Caches& caches = Caches::getInstance(); local
41 mTexture = new Texture(caches);
44 createEntries(caches, map, count);
79 DelegateTexture(Caches& caches, Texture* delegate) argument
80 : Texture(caches), mDelegate(delegate) { }
96 void AssetAtlas::createEntries(Caches& caches, int64_t* map, int count) { argument
117 Texture* texture = new DelegateTexture(caches, mTexture);
H A DBakedOpRenderer.h57 BakedOpRenderer(Caches& caches, RenderState& renderState, bool opaque, argument
61 , mCaches(caches)
67 Caches& caches() { return mCaches; } function in class:android::uirenderer::BakedOpRenderer
H A DDither.cpp27 Dither::Dither(Caches& caches) argument
28 : mCaches(caches)
H A DFontRenderer.cpp71 GlopBuilder(renderer->renderState(), renderer->caches(), &glop)
434 void checkTextureUpdateForCache(Caches& caches, std::vector<CacheTexture*>& cacheTextures, argument
441 caches.textureState().activateTexture(0);
442 caches.textureState().bindTexture(lastTextureId);
457 Caches& caches = Caches::getInstance(); local
463 checkTextureUpdateForCache(caches, mACacheTextures, resetPixelStore, lastTextureId);
464 checkTextureUpdateForCache(caches, mRGBACacheTextures, resetPixelStore, lastTextureId);
467 caches.pixelBufferState().unbind();
H A DFrameBuilder.cpp36 const LightGeometry& lightGeometry, Caches& caches)
41 , mCaches(caches)
55 const LightGeometry& lightGeometry, Caches& caches)
60 , mCaches(caches)
34 FrameBuilder(const SkRect& clip, uint32_t viewportWidth, uint32_t viewportHeight, const LightGeometry& lightGeometry, Caches& caches) argument
54 FrameBuilder(const LayerUpdateQueue& layers, const LightGeometry& lightGeometry, Caches& caches) argument
H A DGlopBuilder.cpp61 GlopBuilder::GlopBuilder(RenderState& renderState, Caches& caches, Glop* outGlop) argument
63 , mCaches(caches)
H A DLayer.h348 Caches& caches; member in class:android::uirenderer::Layer
H A DLayerRenderer.cpp191 Caches& caches = Caches::getInstance(); local
198 caches.textureState().activateTexture(0);
199 Layer* layer = caches.layerCache.get(renderState, width, height);
208 const uint32_t maxTextureSize = caches.maxTextureSize;
355 Caches& caches = Caches::getInstance(); local
357 && bitmap->width() <= caches.maxTextureSize
358 && bitmap->height() <= caches.maxTextureSize) {
411 caches.textureState().activateTexture(0);
412 caches.textureState().bindTexture(texture);
453 caches
[all...]
H A DPathCache.cpp325 PathCache::PathProcessor::PathProcessor(Caches& caches): argument
326 TaskProcessor<SkBitmap*>(&caches.tasks), mMaxTextureSize(caches.maxTextureSize) {
H A DPathCache.h64 PathTexture(Caches& caches, float left, float top, argument
66 : Texture(caches)
72 PathTexture(Caches& caches, int generation) argument
73 : Texture(caches) {
217 * Trimming is used for caches that support pre-caching from a worker
291 PathProcessor(Caches& caches);
H A DReadback.cpp39 Caches& caches = Caches::getInstance(); local
43 if (destWidth > caches.maxTextureSize
44 || destHeight > caches.maxTextureSize) {
46 destWidth, destHeight, caches.maxTextureSize);
89 caches.textureState().activateTexture(0);
90 caches.textureState().bindTexture(texture);
154 Texture sourceTexture(caches);
167 GlopBuilder(renderState, caches, &glop)
183 caches.textureState().deleteTexture(texture);
H A DSkiaShader.cpp59 static inline void bindTexture(Caches* caches, Texture* texture, GLenum wrapS, GLenum wrapT) { argument
60 caches->textureState().bindTexture(texture->id());
120 bool tryStoreGradient(Caches& caches, const SkShader& shader, const Matrix4 modelViewMatrix, argument
169 outData->gradientTexture = caches.gradientCache.get(
184 void applyGradient(Caches& caches, const SkiaShaderData::GradientShaderData& data) { argument
186 caches.textureState().activateTexture(data.gradientSampler);
187 bindTexture(&caches, data.gradientTexture, data.wrapST, data.wrapST);
188 glUniform1i(caches.program().getUniform("gradientSampler"), data.gradientSampler);
190 bindUniformColor(caches.program().getUniform("startColor"), data.startColor);
191 bindUniformColor(caches
202 tryStoreBitmap(Caches& caches, const SkShader& shader, const Matrix4& modelViewMatrix, GLuint* textureUnit, ProgramDescription* description, SkiaShaderData::BitmapShaderData* outData) argument
248 applyBitmap(Caches& caches, const SkiaShaderData::BitmapShaderData& data) argument
281 storeCompose(Caches& caches, const SkShader& bitmapShader, const SkShader& gradientShader, const Matrix4& modelViewMatrix, GLuint* textureUnit, ProgramDescription* description, SkiaShaderData* outData) argument
292 tryStoreCompose(Caches& caches, const SkShader& shader, const Matrix4& modelViewMatrix, GLuint* textureUnit, ProgramDescription* description, SkiaShaderData* outData) argument
324 tryStoreLayer(Caches& caches, const SkShader& shader, const Matrix4& modelViewMatrix, GLuint* textureUnit, ProgramDescription* description, SkiaShaderData::LayerShaderData* outData) argument
347 applyLayer(Caches& caches, const SkiaShaderData::LayerShaderData& data) argument
360 store(Caches& caches, const SkShader& shader, const Matrix4& modelViewMatrix, GLuint* textureUnit, ProgramDescription* description, SkiaShaderData* outData) argument
391 apply(Caches& caches, const SkiaShaderData& data) argument
[all...]
H A DTessellationCache.cpp139 TessellationProcessor(Caches& caches) argument
140 : TaskProcessor<VertexBuffer*>(&caches.tasks) {}
273 ShadowProcessor(Caches& caches) argument
274 : TaskProcessor<TessellationCache::vertexBuffer_pair_t>(&caches.tasks) {}
H A DTextDropShadowCache.cpp163 Caches& caches = Caches::getInstance(); local
165 texture = new ShadowTexture(caches);
H A DTextDropShadowCache.h114 ShadowTexture(Caches& caches): Texture(caches) { argument
H A DTexture.h37 Texture(Caches& caches) argument
39 , mCaches(caches)
/frameworks/base/libs/hwui/renderstate/
H A DOffscreenBufferPool.cpp36 OffscreenBuffer::OffscreenBuffer(RenderState& renderState, Caches& caches, argument
42 , texture(caches) {
46 caches.textureState().activateTexture(0);
H A DTextureState.cpp72 void TextureState::constructTexture(Caches& caches) { argument
74 mShadowLutTexture.reset(new Texture(caches));
/frameworks/base/libs/hwui/renderthread/
H A DCanvasContext.cpp360 auto& caches = Caches::getInstance(); local
361 FrameBuilder frameBuilder(dirty, frame.width(), frame.height(), mLightGeometry, caches);
368 BakedOpRenderer renderer(caches, mRenderThread.renderState(),
375 caches.clearGarbage();
376 caches.pathCache.trim();
377 caches.tessellationCache.trim();
383 caches.dumpMemoryUsage();
633 auto& caches = Caches::getInstance(); local
634 FrameBuilder frameBuilder(mLayerUpdateQueue, mLightGeometry, caches);
636 BakedOpRenderer renderer(caches, mRenderThrea
661 Caches& caches = Caches::getInstance(); local
770 FuncTaskProcessor(Caches& caches) argument
[all...]
/frameworks/base/libs/hwui/tests/unit/
H A DGlopBuilderTests.cpp120 Caches& caches = Caches::getInstance(); local
126 GlopBuilder(renderState, caches, &glop)
H A DLeakCheckTests.cpp43 Caches& caches = Caches::getInstance(); local
48 BakedOpRenderer renderer(caches, renderState, true, sLightInfo);
60 Caches& caches = Caches::getInstance(); local
65 BakedOpRenderer renderer(caches, renderState, true, sLightInfo);
/frameworks/base/core/java/android/content/res/
H A DResourcesImpl.java55 * The implementation of Resource access. This class contains the AssetManager and all caches
91 /** Lock object used to protect access to caches and configuration. */
533 final DrawableCache caches;
538 caches = mColorDrawableCache;
542 caches = mDrawableCache;
550 final Drawable cachedDrawable = caches.getInstance(key, wrapper, theme);
589 cacheDrawable(value, isColorDrawable, caches, theme, canApplyTheme, key, dr);
612 private void cacheDrawable(TypedValue value, boolean isColorDrawable, DrawableCache caches, argument
641 caches.put(key, theme, cs, usesTheme);

Completed in 181 milliseconds