/frameworks/base/libs/hwui/ |
D | Caches.cpp | 33 Caches* Caches::sInstance = nullptr; 49 Caches::Caches(RenderState& renderState) in Caches() function in android::uirenderer::Caches 63 bool Caches::init() { in init() 82 void Caches::initExtensions() { in initExtensions() 95 void Caches::initConstraints() { in initConstraints() 99 void Caches::initStaticProperties() { in initStaticProperties() 105 void Caches::terminate() { in terminate() 125 void Caches::setProgram(const ProgramDescription& description) { in setProgram() 129 void Caches::setProgram(Program* program) { in setProgram() 145 uint32_t Caches::getOverdrawColor(uint32_t amount) const { in getOverdrawColor() [all …]
|
D | Caches.h | 63 class ANDROID_API Caches { 65 static Caches& createInstance(RenderState& renderState) { in createInstance() 67 sInstance = new Caches(renderState); in createInstance() 71 static Caches& getInstance() { in getInstance() 80 Caches(RenderState& renderState); 81 static Caches* sInstance;
|
D | Dither.h | 25 class Caches; variable 40 Dither(Caches& caches); 48 Caches& mCaches;
|
D | SkiaShader.cpp | 59 static inline void bindTexture(Caches* caches, Texture* texture, GLenum wrapS, GLenum wrapT) { in bindTexture() 120 bool tryStoreGradient(Caches& caches, const SkShader& shader, const Matrix4 modelViewMatrix, in tryStoreGradient() 184 void applyGradient(Caches& caches, const SkiaShaderData::GradientShaderData& data) { in applyGradient() 202 bool tryStoreBitmap(Caches& caches, const SkShader& shader, const Matrix4& modelViewMatrix, in tryStoreBitmap() 248 void applyBitmap(Caches& caches, const SkiaShaderData::BitmapShaderData& data) { in applyBitmap() 281 void storeCompose(Caches& caches, const SkShader& bitmapShader, const SkShader& gradientShader, in storeCompose() 292 bool tryStoreCompose(Caches& caches, const SkShader& shader, const Matrix4& modelViewMatrix, in tryStoreCompose() 324 bool tryStoreLayer(Caches& caches, const SkShader& shader, const Matrix4& modelViewMatrix, in tryStoreLayer() 347 void applyLayer(Caches& caches, const SkiaShaderData::LayerShaderData& data) { in applyLayer() 360 void SkiaShader::store(Caches& caches, const SkShader& shader, const Matrix4& modelViewMatrix, in store() [all …]
|
D | SkiaShader.h | 31 class Caches; variable 90 static void store(Caches& caches, const SkShader& shader, const Matrix4& modelViewMatrix, 93 static void apply(Caches& caches, const SkiaShaderData& data);
|
D | AssetAtlas.cpp | 40 Caches& caches = Caches::getInstance(); in init() 79 DelegateTexture(Caches& caches, Texture* delegate) in DelegateTexture() 96 void AssetAtlas::createEntries(Caches& caches, int64_t* map, int count) { in createEntries()
|
D | ResourceCache.cpp | 115 if (Caches::hasInstance()) { in destructorLocked() 116 Caches::getInstance().patchCache.removeDeferred(resource); in destructorLocked() 138 if (Caches::hasInstance()) { in deleteResourceReferenceLocked() 139 Caches::getInstance().patchCache.removeDeferred((Res_png_9patch*) resource); in deleteResourceReferenceLocked()
|
D | BakedOpRenderer.h | 26 class Caches; variable 57 BakedOpRenderer(Caches& caches, RenderState& renderState, bool opaque, in BakedOpRenderer() 67 Caches& caches() { return mCaches; } in caches() 119 Caches& mCaches;
|
D | LayerRenderer.cpp | 191 Caches& caches = Caches::getInstance(); in createRenderLayer() 283 Caches::getInstance().textureState().activateTexture(0); in createTextureLayer() 315 if (!Caches::getInstance().layerCache.put(layer)) { in destroyLayer() 321 Caches::getInstance().layerCache.dump(); in destroyLayer() 337 if (Caches::getInstance().extensions().hasDiscardFramebuffer()) { in flushLayer() 355 Caches& caches = Caches::getInstance(); in copyLayer()
|
D | Texture.h | 28 class Caches; variable 37 Texture(Caches& caches) in Texture() 169 Caches& mCaches;
|
D | Image.cpp | 40 Caches::getInstance().textureState().bindTexture(mTexture); in Image() 55 Caches::getInstance().textureState().deleteTexture(mTexture); in ~Image()
|
D | PathCache.h | 43 class Caches; variable 64 PathTexture(Caches& caches, float left, float top, in PathTexture() 72 PathTexture(Caches& caches, int generation) in PathTexture() 291 PathProcessor(Caches& caches);
|
D | GlopBuilder.h | 31 class Caches; variable 48 GlopBuilder(RenderState& renderState, Caches& caches, Glop* outGlop); 129 Caches& mCaches;
|
D | DisplayList.cpp | 70 if (path->unique() && Caches::hasInstance()) { in cleanupResources() 71 Caches::getInstance().pathCache.removeDeferred(path); in cleanupResources()
|
D | PixelBuffer.cpp | 97 Caches& mCaches; 104 , mCaches(Caches::getInstance()){ in GpuPixelBuffer() 164 if (type == kBufferType_Auto && Caches::getInstance().gpuPixelBuffersEnabled) { in create()
|
D | AssetAtlas.h | 34 class Caches; variable 160 void createEntries(Caches& caches, int64_t* map, int count);
|
/frameworks/base/libs/hwui/tests/unit/ |
D | LeakCheckTests.cpp | 43 Caches& caches = Caches::getInstance(); in RENDERTHREAD_TEST() 46 sLightGeometery, Caches::getInstance()); in RENDERTHREAD_TEST() 60 Caches& caches = Caches::getInstance(); in RENDERTHREAD_TEST() 63 sLightGeometery, Caches::getInstance()); in RENDERTHREAD_TEST()
|
D | FrameBuilderTests.cpp | 137 sLightGeometry, Caches::getInstance()); in RENDERTHREAD_TEST() 165 sLightGeometry, Caches::getInstance()); in RENDERTHREAD_TEST() 182 sLightGeometry, Caches::getInstance()); in RENDERTHREAD_TEST() 217 sLightGeometry, Caches::getInstance()); in RENDERTHREAD_TEST() 243 sLightGeometry, Caches::getInstance()); in RENDERTHREAD_TEST() 313 sLightGeometry, Caches::getInstance()); in RENDERTHREAD_TEST() 334 FrameBuilder frameBuilder(emptyLayerUpdateQueue, sLightGeometry, Caches::getInstance()); in RENDERTHREAD_TEST() 356 sLightGeometry, Caches::getInstance()); in RENDERTHREAD_TEST() 384 sLightGeometry, Caches::getInstance()); in RENDERTHREAD_TEST() 427 sLightGeometry, Caches::getInstance()); in RENDERTHREAD_TEST() [all …]
|
D | OffscreenBufferPoolTests.cpp | 34 OffscreenBuffer layer(renderThread.renderState(), Caches::getInstance(), 49u, 149u); in RENDERTHREAD_TEST() 45 OffscreenBuffer layerAligned(renderThread.renderState(), Caches::getInstance(), 256u, 256u); in RENDERTHREAD_TEST() 49 OffscreenBuffer layerUnaligned(renderThread.renderState(), Caches::getInstance(), 200u, 225u); in RENDERTHREAD_TEST() 55 OffscreenBuffer buffer(renderThread.renderState(), Caches::getInstance(), 256u, 256u); in RENDERTHREAD_TEST()
|
D | BakedOpRendererTests.cpp | 27 BakedOpRenderer renderer(Caches::getInstance(), renderThread.renderState(), true, sLightInfo); in RENDERTHREAD_TEST() 28 OffscreenBuffer layer(renderThread.renderState(), Caches::getInstance(), 200u, 200u); in RENDERTHREAD_TEST()
|
D | BakedOpDispatcherTests.cpp | 39 : BakedOpRenderer(Caches::getInstance(), renderState, true, sLightInfo) in ValidatingBakedOpRenderer() 190 sLightGeometry, Caches::getInstance()); in RENDERTHREAD_TEST() 212 OffscreenBuffer layer(renderThread.renderState(), Caches::getInstance(), 100, 100); in validateLayerDraw() 220 sLightGeometry, Caches::getInstance()); in validateLayerDraw() 262 uint32_t expectedColor = Caches::getInstance().getOverdrawColor(glopCount - 2); in RENDERTHREAD_TEST()
|
/frameworks/base/libs/hwui/tests/microbench/ |
D | FrameBuilderBench.cpp | 66 sLightGeometry, Caches::getInstance()); in BM_FrameBuilder_defer() 79 Caches& caches = Caches::getInstance(); in BM_FrameBuilder_deferAndRender() 122 sLightGeometry, Caches::getInstance()); in BM_FrameBuilder_defer_scene() 137 Caches& caches = Caches::getInstance(); in BM_FrameBuilder_deferAndRender_scene() 142 sLightGeometry, Caches::getInstance()); in BM_FrameBuilder_deferAndRender_scene()
|
/frameworks/base/libs/hwui/renderstate/ |
D | RenderState.h | 42 class Caches; variable 55 friend class Caches; variable 60 void flush(Caches::FlushMode flushMode); 114 Caches* mCaches = nullptr;
|
D | TextureState.h | 32 friend class Caches; // TODO: move to RenderState variable 35 void constructTexture(Caches& caches);
|
/frameworks/base/core/jni/ |
D | android_view_DisplayListCanvas.cpp | 120 if (!Caches::hasInstance()) { in android_view_DisplayListCanvas_getMaxTextureWidth() 123 return Caches::getInstance().maxTextureSize; in android_view_DisplayListCanvas_getMaxTextureWidth() 127 if (!Caches::hasInstance()) { in android_view_DisplayListCanvas_getMaxTextureHeight() 130 return Caches::getInstance().maxTextureSize; in android_view_DisplayListCanvas_getMaxTextureHeight()
|