/frameworks/base/libs/hwui/ |
D | Caches.cpp | 36 Caches* Caches::sInstance = nullptr; 52 Caches::Caches(RenderState& renderState) in Caches() function in android::uirenderer::Caches 65 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 | 60 class ANDROID_API Caches { 62 static Caches& createInstance(RenderState& renderState) { in createInstance() 64 sInstance = new Caches(renderState); in createInstance() 68 static Caches& getInstance() { in getInstance() 77 explicit Caches(RenderState& renderState); 78 static Caches* sInstance;
|
D | SkiaShader.h | 30 class Caches; variable 76 static void store(Caches& caches, const SkShader& shader, const Matrix4& modelViewMatrix, 79 static void apply(Caches& caches, const SkiaShaderData& data,
|
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 | 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() 183 void applyGradient(Caches& caches, const SkiaShaderData::GradientShaderData& data, in applyGradient() 200 bool tryStoreBitmap(Caches& caches, const SkShader& shader, const Matrix4& modelViewMatrix, in tryStoreBitmap() 252 void applyBitmap(Caches& caches, const SkiaShaderData::BitmapShaderData& data) { in applyBitmap() 285 void storeCompose(Caches& caches, const SkShader& bitmapShader, const SkShader& gradientShader, in storeCompose() 296 bool tryStoreCompose(Caches& caches, const SkShader& shader, const Matrix4& modelViewMatrix, in tryStoreCompose() 325 void SkiaShader::store(Caches& caches, const SkShader& shader, const Matrix4& modelViewMatrix, in store() 350 void SkiaShader::apply(Caches& caches, const SkiaShaderData& data, in apply()
|
D | BakedOpRenderer.h | 26 class Caches; variable 57 BakedOpRenderer(Caches& caches, RenderState& renderState, bool opaque, bool wideColorGamut, in BakedOpRenderer() 68 Caches& caches() { return mCaches; } in caches() 120 Caches& mCaches;
|
D | Texture.h | 42 class Caches; variable 54 static void colorTypeToGlFormatAndType(const Caches& caches, SkColorType colorType, 57 explicit Texture(Caches& caches) in Texture() 226 Caches& mCaches;
|
D | Image.cpp | 40 Caches::getInstance().textureState().bindTexture(mTexture); in Image() 55 Caches::getInstance().textureState().deleteTexture(mTexture); in ~Image()
|
D | GlLayer.h | 27 class Caches; variable 86 Caches& caches;
|
D | GlopBuilder.h | 30 class Caches; variable 52 GlopBuilder(RenderState& renderState, Caches& caches, Glop* outGlop); 131 Caches& mCaches;
|
D | PixelBuffer.cpp | 89 Caches& mCaches; 96 , mCaches(Caches::getInstance()){ in GpuPixelBuffer() 152 if (type == kBufferType_Auto && Caches::getInstance().gpuPixelBuffersEnabled) { in create()
|
D | PathCache.h | 43 class Caches; variable 78 PathTexture(Caches& caches, int generation) in PathTexture() 264 explicit PathProcessor(Caches& caches);
|
D | OpenGLReadback.cpp | 119 inline CopyResult copyTextureInto(Caches& caches, RenderState& renderState, in copyTextureInto() 258 Caches& caches = Caches::getInstance(); in copyImageInto() 288 return CopyResult::Success == copyTextureInto(Caches::getInstance(), in copyLayerInto()
|
D | FrameBuilder.h | 65 const LightGeometry& lightGeometry, Caches& caches); 68 const LightGeometry& lightGeometry, Caches& caches); 250 Caches& mCaches;
|
/frameworks/base/libs/hwui/tests/unit/ |
D | LeakCheckTests.cpp | 43 Caches& caches = Caches::getInstance(); in RENDERTHREAD_OPENGL_PIPELINE_TEST() 46 sLightGeometery, Caches::getInstance()); in RENDERTHREAD_OPENGL_PIPELINE_TEST() 60 Caches& caches = Caches::getInstance(); in RENDERTHREAD_OPENGL_PIPELINE_TEST() 63 sLightGeometery, Caches::getInstance()); in RENDERTHREAD_OPENGL_PIPELINE_TEST()
|
D | FrameBuilderTests.cpp | 138 sLightGeometry, Caches::getInstance()); in RENDERTHREAD_OPENGL_PIPELINE_TEST() 166 sLightGeometry, Caches::getInstance()); in RENDERTHREAD_OPENGL_PIPELINE_TEST() 195 sLightGeometry, Caches::getInstance()); in RENDERTHREAD_OPENGL_PIPELINE_TEST() 212 sLightGeometry, Caches::getInstance()); in RENDERTHREAD_OPENGL_PIPELINE_TEST() 248 sLightGeometry, Caches::getInstance()); in RENDERTHREAD_OPENGL_PIPELINE_TEST() 274 sLightGeometry, Caches::getInstance()); in RENDERTHREAD_OPENGL_PIPELINE_TEST() 345 sLightGeometry, Caches::getInstance()); in RENDERTHREAD_OPENGL_PIPELINE_TEST() 367 sLightGeometry, Caches::getInstance()); in RENDERTHREAD_OPENGL_PIPELINE_TEST() 388 FrameBuilder frameBuilder(emptyLayerUpdateQueue, sLightGeometry, Caches::getInstance()); in RENDERTHREAD_OPENGL_PIPELINE_TEST() 410 sLightGeometry, Caches::getInstance()); in RENDERTHREAD_OPENGL_PIPELINE_TEST() [all …]
|
D | BakedOpRendererTests.cpp | 28 BakedOpRenderer renderer(Caches::getInstance(), renderThread.renderState(), in RENDERTHREAD_OPENGL_PIPELINE_TEST() 30 OffscreenBuffer layer(renderThread.renderState(), Caches::getInstance(), 200u, 200u); in RENDERTHREAD_OPENGL_PIPELINE_TEST() 59 BakedOpRenderer renderer(Caches::getInstance(), renderState, true, false, sLightInfo); in drawFirstOp() 68 GlopBuilder(renderState, Caches::getInstance(), &glop) in drawFirstOp()
|
D | OffscreenBufferPoolTests.cpp | 34 OffscreenBuffer layer(renderThread.renderState(), Caches::getInstance(), 49u, 149u); in RENDERTHREAD_OPENGL_PIPELINE_TEST() 45 OffscreenBuffer layer(renderThread.renderState(), Caches::getInstance(), 49u, 149u, true); in RENDERTHREAD_OPENGL_PIPELINE_TEST() 58 OffscreenBuffer layerAligned(renderThread.renderState(), Caches::getInstance(), 256u, 256u); in RENDERTHREAD_OPENGL_PIPELINE_TEST() 62 OffscreenBuffer layerUnaligned(renderThread.renderState(), Caches::getInstance(), 200u, 225u); in RENDERTHREAD_OPENGL_PIPELINE_TEST() 68 OffscreenBuffer buffer(renderThread.renderState(), Caches::getInstance(), 256u, 256u); in RENDERTHREAD_OPENGL_PIPELINE_TEST()
|
D | BakedOpDispatcherTests.cpp | 40 : BakedOpRenderer(Caches::getInstance(), renderState, true, false, sLightInfo) in ValidatingBakedOpRenderer() 189 sLightGeometry, Caches::getInstance()); in RENDERTHREAD_OPENGL_PIPELINE_TEST() 211 OffscreenBuffer layer(renderThread.renderState(), Caches::getInstance(), 100, 100); in validateLayerDraw() 219 sLightGeometry, Caches::getInstance()); in validateLayerDraw() 261 uint32_t expectedColor = Caches::getInstance().getOverdrawColor(glopCount - 2); in RENDERTHREAD_OPENGL_PIPELINE_TEST()
|
/frameworks/base/libs/hwui/renderthread/ |
D | OpenGLPipeline.cpp | 45 Caches::getInstance().textureCache.resetMarkInUse(this); in makeCurrent() 71 auto& caches = Caches::getInstance(); in draw() 133 Caches::getInstance().textureState().activateTexture(0); in createLayer() 179 Caches& caches = Caches::getInstance(); in onDestroyHardwareResources() 183 mRenderThread.renderState().flush(Caches::FlushMode::Layers); in onDestroyHardwareResources() 190 auto& caches = Caches::getInstance(); in renderLayers() 200 return &Caches::getInstance().tasks; in getTaskManager() 238 TextureCache& cache = Caches::getInstance().textureCache; in pinImages() 247 Caches::getInstance().textureCache.resetMarkInUse(this); in unpinImages() 258 if (Caches::hasInstance() && thread.eglManager().hasEglContext()) { in prepareToDraw() [all …]
|
/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 | 43 class Caches; variable 58 friend class Caches; variable 67 void flush(Caches::FlushMode flushMode); 132 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 | 130 if (!Caches::hasInstance()) { in android_view_DisplayListCanvas_getMaxTextureWidth() 133 return Caches::getInstance().maxTextureSize; in android_view_DisplayListCanvas_getMaxTextureWidth() 137 if (!Caches::hasInstance()) { in android_view_DisplayListCanvas_getMaxTextureHeight() 140 return Caches::getInstance().maxTextureSize; in android_view_DisplayListCanvas_getMaxTextureHeight()
|
/frameworks/base/libs/hwui/tests/common/ |
D | LeakChecker.cpp | 74 if (Caches::hasInstance()) { in checkForLeaks() 75 Caches::getInstance().tasks.stop(); in checkForLeaks()
|