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

/frameworks/base/libs/hwui/tests/unit/
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);
H A DGlopBuilderTests.cpp121 Caches& caches = Caches::getInstance(); local
127 GlopBuilder(renderState, caches, &glop)
/frameworks/base/libs/hwui/
H A DGlLayer.h86 Caches& caches; member in class:android::uirenderer::GlLayer
H A DTextDropShadowCache.cpp163 Caches& caches = Caches::getInstance(); local
165 texture = new ShadowTexture(caches);
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 DOpenGLReadback.cpp123 inline CopyResult copyTextureInto(Caches& caches, RenderState& renderState, argument
128 if (destWidth > caches.maxTextureSize
129 || destHeight > caches.maxTextureSize) {
131 destWidth, destHeight, caches.maxTextureSize);
181 caches.textureState().activateTexture(0);
182 caches.textureState().bindTexture(texture);
219 GlopBuilder(renderState, caches, &glop)
235 caches.textureState().deleteTexture(texture);
247 Caches& caches = Caches::getInstance(); local
251 caches
[all...]
H A DSkiaShader.cpp59 static inline void bindTexture(Caches* caches, Texture* texture, GLenum wrapS, GLenum wrapT) { argument
60 caches->textureState().bindTexture(texture->target(), texture->id());
120 bool tryStoreGradient(Caches& caches, const SkShader& shader, const Matrix4 modelViewMatrix, argument
169 outData->gradientTexture = caches.gradientCache.get(
183 void applyGradient(Caches& caches, const SkiaShaderData::GradientShaderData& data, argument
187 caches.textureState().activateTexture(data.gradientSampler);
188 bindTexture(&caches, data.gradientTexture, data.wrapST, data.wrapST);
189 glUniform1i(caches.program().getUniform("gradientSampler"), data.gradientSampler);
191 bindUniformColor(caches.program().getUniform("startColor"), data.startColor);
192 bindUniformColor(caches
200 tryStoreBitmap(Caches& caches, const SkShader& shader, const Matrix4& modelViewMatrix, GLuint* textureUnit, ProgramDescription* description, SkiaShaderData::BitmapShaderData* outData) argument
252 applyBitmap(Caches& caches, const SkiaShaderData::BitmapShaderData& data) argument
285 storeCompose(Caches& caches, const SkShader& bitmapShader, const SkShader& gradientShader, const Matrix4& modelViewMatrix, GLuint* textureUnit, ProgramDescription* description, SkiaShaderData* outData) argument
296 tryStoreCompose(Caches& caches, const SkShader& shader, const Matrix4& modelViewMatrix, GLuint* textureUnit, ProgramDescription* description, SkiaShaderData* outData) argument
325 store(Caches& caches, const SkShader& shader, const Matrix4& modelViewMatrix, GLuint* textureUnit, ProgramDescription* description, SkiaShaderData* outData) argument
350 apply(Caches& caches, const SkiaShaderData& data, const GLsizei width, const GLsizei height) argument
[all...]
H A DTextDropShadowCache.h114 explicit ShadowTexture(Caches& caches): Texture(caches) { argument
H A DTexture.cpp195 void Texture::colorTypeToGlFormatAndType(const Caches& caches, SkColorType colorType, argument
208 *outInternalFormat = caches.rgbaInternalFormat();
221 *outInternalFormat = caches.rgbaInternalFormat(needSRGB);
230 if (caches.extensions().getMajorGlVersion() >= 3) {
237 *outInternalFormat = caches.rgbaInternalFormat(true);
H A DTexture.h54 static void colorTypeToGlFormatAndType(const Caches& caches, SkColorType colorType,
57 explicit Texture(Caches& caches) argument
59 , mCaches(caches)
H A DGlopBuilder.cpp64 GlopBuilder::GlopBuilder(RenderState& renderState, Caches& caches, Glop* outGlop) argument
66 , mCaches(caches)
H A DPathCache.cpp323 PathCache::PathProcessor::PathProcessor(Caches& caches): argument
324 TaskProcessor<sk_sp<Bitmap> >(&caches.tasks), mMaxTextureSize(caches.maxTextureSize) {
H A DPathCache.h78 PathTexture(Caches& caches, int generation) argument
79 : Texture(caches) {
223 * Trimming is used for caches that support pre-caching from a worker
264 explicit PathProcessor(Caches& caches);
H A DTessellationCache.cpp138 explicit TessellationProcessor(Caches& caches) argument
139 : TaskProcessor<VertexBuffer*>(&caches.tasks) {}
272 explicit ShadowProcessor(Caches& caches) argument
273 : TaskProcessor<TessellationCache::vertexBuffer_pair_t>(&caches.tasks) {}
H A DFontRenderer.cpp67 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.cpp37 const LightGeometry& lightGeometry, Caches& caches)
42 , mCaches(caches)
56 const LightGeometry& lightGeometry, Caches& caches)
61 , mCaches(caches)
35 FrameBuilder(const SkRect& clip, uint32_t viewportWidth, uint32_t viewportHeight, const LightGeometry& lightGeometry, Caches& caches) argument
55 FrameBuilder(const LayerUpdateQueue& layers, const LightGeometry& lightGeometry, Caches& caches) argument
/frameworks/base/libs/hwui/renderstate/
H A DTextureState.cpp72 void TextureState::constructTexture(Caches& caches) { argument
74 mShadowLutTexture.reset(new Texture(caches));
H A DOffscreenBufferPool.cpp37 OffscreenBuffer::OffscreenBuffer(RenderState& renderState, Caches& caches, argument
43 , texture(caches) {
47 caches.textureState().activateTexture(0);
48 texture.resize(width, height, caches.rgbaInternalFormat(), GL_RGBA);
/frameworks/base/libs/hwui/renderthread/
H A DOpenGLPipeline.cpp71 auto& caches = Caches::getInstance(); local
72 FrameBuilder frameBuilder(dirty, frame.width(), frame.height(), lightGeometry, caches);
79 BakedOpRenderer renderer(caches, mRenderThread.renderState(),
87 caches.clearGarbage();
88 caches.pathCache.trim();
89 caches.tessellationCache.trim();
92 caches.dumpMemoryUsage();
95 caches.dumpMemoryUsage();
178 Caches& caches = Caches::getInstance(); local
181 caches
189 auto& caches = Caches::getInstance(); local
[all...]
H A DCanvasContext.cpp493 Caches& caches = Caches::getInstance(); local
494 caches.fontRenderer.getFontRenderer().historyTracker().frameCompleted();
/frameworks/base/libs/hwui/hwui/
H A DBitmap.cpp156 AutoGlTexture(uirenderer::Caches& caches) argument
157 : mCaches(caches) {
159 caches.textureState().bindTexture(mTexture);
171 static bool uploadBitmapToGraphicBuffer(uirenderer::Caches& caches, SkBitmap& bitmap, argument
187 AutoGlTexture glTexture(caches);
219 uirenderer::Caches& caches = uirenderer::Caches::getInstance(); local
228 bool hasLinearBlending = caches.extensions().hasLinearBlending();
230 uirenderer::Texture::colorTypeToGlFormatAndType(caches, skBitmap.colorType(),
255 if (!uploadBitmapToGraphicBuffer(caches, bitmap, *buffer, format, type)) {
/frameworks/base/core/java/android/content/res/
H A DResourcesImpl.java61 * The implementation of Resource access. This class contains the AssetManager and all caches
95 /** Lock object used to protect access to caches and configuration. */
560 final DrawableCache caches;
565 caches = mColorDrawableCache;
569 caches = mDrawableCache;
577 final Drawable cachedDrawable = caches.getInstance(key, wrapper, theme);
625 cacheDrawable(value, isColorDrawable, caches, theme, canApplyTheme, key, dr);
655 private void cacheDrawable(TypedValue value, boolean isColorDrawable, DrawableCache caches, argument
684 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 4169 milliseconds