Searched refs:caches (Results 1 - 21 of 21) sorted by relevance

/frameworks/base/libs/hwui/
H A DSkiaShader.cpp54 static inline void bindTexture(Caches* caches, Texture* texture, GLenum wrapS, GLenum wrapT) { argument
55 caches->textureState().bindTexture(texture->id);
115 bool tryStoreGradient(Caches& caches, const SkShader& shader, const Matrix4 modelViewMatrix, argument
164 outData->gradientTexture = caches.gradientCache.get(
179 void applyGradient(Caches& caches, const SkiaShaderData::GradientShaderData& data) { argument
181 caches.textureState().activateTexture(data.gradientSampler);
182 bindTexture(&caches, data.gradientTexture, data.wrapST, data.wrapST);
183 glUniform1i(caches.program().getUniform("gradientSampler"), data.gradientSampler);
185 bindUniformColor(caches.program().getUniform("startColor"), data.startColor);
186 bindUniformColor(caches
197 tryStoreBitmap(Caches& caches, const SkShader& shader, const Matrix4& modelViewMatrix, GLuint* textureUnit, ProgramDescription* description, SkiaShaderData::BitmapShaderData* outData) argument
243 applyBitmap(Caches& caches, const SkiaShaderData::BitmapShaderData& data) argument
276 storeCompose(Caches& caches, const SkShader& bitmapShader, const SkShader& gradientShader, const Matrix4& modelViewMatrix, GLuint* textureUnit, ProgramDescription* description, SkiaShaderData* outData) argument
287 tryStoreCompose(Caches& caches, const SkShader& shader, const Matrix4& modelViewMatrix, GLuint* textureUnit, ProgramDescription* description, SkiaShaderData* outData) argument
319 tryStoreLayer(Caches& caches, const SkShader& shader, const Matrix4& modelViewMatrix, GLuint* textureUnit, ProgramDescription* description, SkiaShaderData::LayerShaderData* outData) argument
342 applyLayer(Caches& caches, const SkiaShaderData::LayerShaderData& data) argument
355 store(Caches& caches, const SkShader& shader, const Matrix4& modelViewMatrix, GLuint* textureUnit, ProgramDescription* description, SkiaShaderData* outData) argument
386 apply(Caches& caches, const SkiaShaderData& data) argument
[all...]
H A DDither.h40 Dither(Caches& caches);
H A DAssetAtlas.cpp42 Caches& caches = Caches::getInstance(); local
43 mTexture = new Texture(caches);
46 createEntries(caches, map, count);
99 DelegateTexture(Caches& caches, Texture* delegate): Texture(caches), mDelegate(delegate) { } argument
115 void AssetAtlas::createEntries(Caches& caches, int64_t* map, int count) { argument
136 Texture* texture = new DelegateTexture(caches, mTexture);
H A DDither.cpp27 Dither::Dither(Caches& caches) argument
28 : mCaches(caches)
H A DLayer.cpp42 , caches(Caches::getInstance())
44 , texture(caches)
111 const uint32_t maxTextureSize = caches.maxTextureSize;
124 caches.textureState().activateTexture(0);
154 caches.renderBufferCache.put(stencil);
161 caches.fboCache.put(fbo);
185 caches.textureState().bindTexture(renderTarget, texture.id);
209 caches.textureState().unbindTexture(texture.id);
H A DSkiaShader.h90 static void store(Caches& caches, const SkShader& shader, const Matrix4& modelViewMatrix,
93 static void apply(Caches& caches, const SkiaShaderData& data);
H A DTexture.h33 Texture(Caches& caches) : mCaches(caches) { } argument
H A DLayerRenderer.cpp190 Caches& caches = Caches::getInstance(); local
191 GLuint fbo = caches.fboCache.get();
197 caches.textureState().activateTexture(0);
198 Layer* layer = caches.layerCache.get(renderState, width, height);
207 const uint32_t maxTextureSize = caches.maxTextureSize;
354 Caches& caches = Caches::getInstance(); local
356 && bitmap->width() <= caches.maxTextureSize
357 && bitmap->height() <= caches.maxTextureSize) {
359 GLuint fbo = caches.fboCache.get();
412 caches
[all...]
H A DPathCache.h62 PathTexture(Caches& caches, float left, float top, argument
64 : Texture(caches)
72 PathTexture(Caches& caches, int generation) argument
73 : Texture(caches) {
218 * Trimming is used for caches that support pre-caching from a worker
292 PathProcessor(Caches& caches);
H A DTextDropShadowCache.h120 ShadowTexture(Caches& caches): Texture(caches) { argument
H A DAssetAtlas.h162 void createEntries(Caches& caches, int64_t* map, int count);
H A DTextDropShadowCache.cpp188 Caches& caches = Caches::getInstance(); local
190 texture = new ShadowTexture(caches);
210 caches.textureState().bindTexture(texture->id);
H A DFontRenderer.cpp428 void checkTextureUpdateForCache(Caches& caches, Vector<CacheTexture*>& cacheTextures, argument
435 caches.textureState().activateTexture(0);
436 caches.textureState().bindTexture(lastTextureId);
451 Caches& caches = Caches::getInstance(); local
458 checkTextureUpdateForCache(caches, mACacheTextures, resetPixelStore, lastTextureId);
459 checkTextureUpdateForCache(caches, mRGBACacheTextures, resetPixelStore, lastTextureId);
462 caches.pixelBufferState().unbind();
H A DGlopBuilder.h48 GlopBuilder(RenderState& renderState, Caches& caches, Glop* outGlop);
H A DTessellationCache.cpp113 TessellationProcessor(Caches& caches) argument
114 : TaskProcessor<VertexBuffer*>(&caches.tasks) {}
286 ShadowProcessor(Caches& caches) argument
287 : TaskProcessor<TessellationCache::vertexBuffer_pair_t*>(&caches.tasks) {}
H A DPathCache.cpp308 PathCache::PathProcessor::PathProcessor(Caches& caches): argument
309 TaskProcessor<SkBitmap*>(&caches.tasks), mMaxTextureSize(caches.maxTextureSize) {
H A DLayer.h345 Caches& caches; member in class:android::uirenderer::Layer
H A DGlopBuilder.cpp61 GlopBuilder::GlopBuilder(RenderState& renderState, Caches& caches, Glop* outGlop) argument
63 , mCaches(caches)
/frameworks/base/libs/hwui/renderthread/
H A DCanvasContext.cpp370 Caches& caches = Caches::getInstance(); local
373 caches.textureCache.resetMarkInUse(this);
374 caches.flush(Caches::kFlushMode_Layers);
/frameworks/base/core/java/android/content/res/
H A DResources.java2503 final DrawableCache caches;
2508 caches = mColorDrawableCache;
2512 caches = mDrawableCache;
2519 final Drawable cachedDrawable = caches.getInstance(key, theme);
2557 cacheDrawable(value, isColorDrawable, caches, theme, canApplyTheme, key, dr);
2563 private void cacheDrawable(TypedValue value, boolean isColorDrawable, DrawableCache caches, argument
2592 caches.put(key, theme, cs, usesTheme);
/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. ...

Completed in 1164 milliseconds