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

/frameworks/base/libs/hwui/tests/unit/
H A DLeakCheckTests.cpp42 Caches& caches = Caches::getInstance(); local
47 BakedOpRenderer renderer(caches, renderState, true, false, sLightInfo);
58 Caches& caches = Caches::getInstance(); local
63 BakedOpRenderer renderer(caches, renderState, true, false, sLightInfo);
H A DGlopBuilderTests.cpp121 Caches& caches = Caches::getInstance(); local
127 GlopBuilder(renderState, caches, &glop)
/frameworks/base/libs/hwui/
H A DGlLayer.h70 Caches& caches; member in class:android::uirenderer::GlLayer
H A DTextDropShadowCache.cpp162 Caches& caches = Caches::getInstance(); local
164 texture = new ShadowTexture(caches);
H A DBakedOpRenderer.h55 BakedOpRenderer(Caches& caches, RenderState& renderState, bool opaque, bool wideColorGamut, argument
59 , mCaches(caches)
65 Caches& caches() { return mCaches; } function in class:android::uirenderer::BakedOpRenderer
H A DOpenGLReadback.cpp116 inline CopyResult copyTextureInto(Caches& caches, RenderState& renderState, Texture& sourceTexture, argument
121 if (destWidth > caches.maxTextureSize || destHeight > caches.maxTextureSize) {
123 destHeight, caches.maxTextureSize);
128 !caches.extensions().hasRenderableFloatTextures()) {
181 caches.textureState().activateTexture(0);
182 caches.textureState().bindTexture(texture);
217 GlopBuilder(renderState, caches, &glop)
234 caches.textureState().deleteTexture(texture);
251 Caches& caches local
[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
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
199 tryStoreBitmap(Caches& caches, const SkShader& shader, const Matrix4& modelViewMatrix, GLuint* textureUnit, ProgramDescription* description, SkiaShaderData::BitmapShaderData* outData) argument
251 applyBitmap(Caches& caches, const SkiaShaderData::BitmapShaderData& data) argument
284 storeCompose(Caches& caches, const SkShader& bitmapShader, const SkShader& gradientShader, const Matrix4& modelViewMatrix, GLuint* textureUnit, ProgramDescription* description, SkiaShaderData* outData) argument
295 tryStoreCompose(Caches& caches, const SkShader& shader, const Matrix4& modelViewMatrix, GLuint* textureUnit, ProgramDescription* description, SkiaShaderData* outData) argument
323 store(Caches& caches, const SkShader& shader, const Matrix4& modelViewMatrix, GLuint* textureUnit, ProgramDescription* description, SkiaShaderData* outData) argument
347 apply(Caches& caches, const SkiaShaderData& data, const GLsizei width, const GLsizei height) argument
[all...]
H A DTextDropShadowCache.h115 explicit ShadowTexture(Caches& caches) : Texture(caches) {} argument
H A DTexture.cpp194 void Texture::colorTypeToGlFormatAndType(const Caches& caches, SkColorType colorType, bool needSRGB, argument
208 *outInternalFormat = caches.rgbaInternalFormat();
220 *outInternalFormat = caches.rgbaInternalFormat(needSRGB);
229 if (caches.extensions().getMajorGlVersion() >= 3) {
236 *outInternalFormat = caches.rgbaInternalFormat(true);
H A DTexture.h54 static void colorTypeToGlFormatAndType(const Caches& caches, SkColorType colorType,
58 explicit Texture(Caches& caches) : GpuMemoryTracker(GpuObjectType::Texture), mCaches(caches) {} argument
H A DGlopBuilder.cpp64 GlopBuilder::GlopBuilder(RenderState& renderState, Caches& caches, Glop* outGlop) argument
65 : mRenderState(renderState), mCaches(caches), mShader(nullptr), mOutGlop(outGlop) {
H A DPathCache.cpp318 PathCache::PathProcessor::PathProcessor(Caches& caches) argument
319 : TaskProcessor<sk_sp<Bitmap> >(&caches.tasks), mMaxTextureSize(caches.maxTextureSize) {}
H A DPathCache.h77 PathTexture(Caches& caches, int generation) : Texture(caches) { this->generation = generation; } argument
205 * Trimming is used for caches that support pre-caching from a worker
242 explicit PathProcessor(Caches& caches);
H A DTessellationCache.cpp136 explicit TessellationProcessor(Caches& caches) : TaskProcessor<VertexBuffer*>(&caches.tasks) {} argument
261 explicit ShadowProcessor(Caches& caches) argument
262 : TaskProcessor<TessellationCache::vertexBuffer_pair_t>(&caches.tasks) {}
H A DFontRenderer.cpp66 GlopBuilder(renderer->renderState(), renderer->caches(), &glop)
432 void checkTextureUpdateForCache(Caches& caches, std::vector<CacheTexture*>& cacheTextures, argument
439 caches.textureState().activateTexture(0);
440 caches.textureState().bindTexture(lastTextureId);
455 Caches& caches = Caches::getInstance(); local
461 checkTextureUpdateForCache(caches, mACacheTextures, resetPixelStore, lastTextureId);
462 checkTextureUpdateForCache(caches, mRGBACacheTextures, resetPixelStore, lastTextureId);
465 caches.pixelBufferState().unbind();
H A DFrameBuilder.cpp36 const LightGeometry& lightGeometry, Caches& caches)
41 , mCaches(caches)
53 Caches& caches)
58 , mCaches(caches)
35 FrameBuilder(const SkRect& clip, uint32_t viewportWidth, uint32_t viewportHeight, const LightGeometry& lightGeometry, Caches& caches) argument
52 FrameBuilder(const LayerUpdateQueue& layers, const LightGeometry& lightGeometry, Caches& caches) argument
/frameworks/base/libs/hwui/renderstate/
H A DTextureState.cpp66 void TextureState::constructTexture(Caches& caches) { argument
68 mShadowLutTexture.reset(new Texture(caches));
H A DOffscreenBufferPool.cpp36 OffscreenBuffer::OffscreenBuffer(RenderState& renderState, Caches& caches, uint32_t viewportWidth, argument
42 , texture(caches)
47 caches.textureState().activateTexture(0);
48 texture.resize(width, height, wideColorGamut ? GL_RGBA16F : caches.rgbaInternalFormat(),
/frameworks/base/libs/hwui/renderthread/
H A DOpenGLPipeline.cpp68 auto& caches = Caches::getInstance(); local
69 FrameBuilder frameBuilder(dirty, frame.width(), frame.height(), lightGeometry, caches);
76 BakedOpRenderer renderer(caches, mRenderThread.renderState(), opaque, wideColorGamut,
84 caches.clearGarbage();
85 caches.pathCache.trim();
86 caches.tessellationCache.trim();
89 caches.dumpMemoryUsage();
92 caches.dumpMemoryUsage();
175 Caches& caches = Caches::getInstance(); local
178 caches
187 auto& caches = Caches::getInstance(); local
330 AutoGlTexture(uirenderer::Caches& caches) argument
342 uploadBitmapToGraphicBuffer(uirenderer::Caches& caches, SkBitmap& bitmap, GraphicBuffer& buffer, GLint format, GLint type) argument
407 uirenderer::Caches& caches = uirenderer::Caches::getInstance(); local
[all...]
H A DCanvasContext.cpp537 Caches& caches = Caches::getInstance(); local
538 caches.fontRenderer.getFontRenderer().historyTracker().frameCompleted();
/frameworks/base/core/java/android/content/res/
H A DResourcesImpl.java65 * The implementation of Resource access. This class contains the AssetManager and all caches
110 /** Lock object used to protect access to caches and configuration. */
581 final DrawableCache caches;
586 caches = mColorDrawableCache;
590 caches = mDrawableCache;
598 final Drawable cachedDrawable = caches.getInstance(key, wrapper, theme);
656 cacheDrawable(value, isColorDrawable, caches, theme, canApplyTheme, key, dr);
686 private void cacheDrawable(TypedValue value, boolean isColorDrawable, DrawableCache caches, argument
715 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 1746 milliseconds