/frameworks/base/libs/hwui/tests/unit/ |
H A D | BakedOpRendererTests.cpp | 28 BakedOpRenderer renderer(Caches::getInstance(), renderThread.renderState(), true, false, 30 OffscreenBuffer layer(renderThread.renderState(), Caches::getInstance(), 200u, 200u); 58 static void drawFirstOp(RenderState& renderState, int color, SkBlendMode mode) { argument 59 BakedOpRenderer renderer(Caches::getInstance(), renderState, true, false, sLightInfo); local 68 GlopBuilder(renderState, Caches::getInstance(), &glop) 79 static void verifyBlend(RenderState& renderState, GLenum expectedSrc, GLenum expectedDst) { argument 80 EXPECT_TRUE(renderState.blend().getEnabled()); 83 renderState.blend().getFactors(&src, &dst); 88 static void verifyBlendDisabled(RenderState& renderState) { argument 89 EXPECT_FALSE(renderState [all...] |
H A D | LeakCheckTests.cpp | 41 RenderState& renderState = renderThread.renderState(); local 47 BakedOpRenderer renderer(caches, renderState, true, false, sLightInfo); 57 RenderState& renderState = renderThread.renderState(); local 63 BakedOpRenderer renderer(caches, renderState, true, false, sLightInfo);
|
H A D | OffscreenBufferPoolTests.cpp | 34 OffscreenBuffer layer(renderThread.renderState(), Caches::getInstance(), 49u, 149u); 45 OffscreenBuffer layer(renderThread.renderState(), Caches::getInstance(), 49u, 149u, true); 58 OffscreenBuffer layerAligned(renderThread.renderState(), Caches::getInstance(), 256u, 256u); 61 OffscreenBuffer layerUnaligned(renderThread.renderState(), Caches::getInstance(), 200u, 225u); 66 OffscreenBuffer buffer(renderThread.renderState(), Caches::getInstance(), 256u, 256u); 82 auto layer = pool.get(renderThread.renderState(), 100u, 200u); 91 auto layer2 = pool.get(renderThread.renderState(), 102u, 202u); 105 auto layer = pool.get(renderThread.renderState(), 100u, 200u, true); 115 auto layer2 = pool.get(renderThread.renderState(), 102u, 202u, true); 126 auto layer3 = pool.get(renderThread.renderState(), 10 [all...] |
H A D | MeshStateTests.cpp | 35 renderThread.renderState().meshState().genOrUpdateMeshBuffer(&buffer, 10, nullptr,
|
H A D | GlopBuilderTests.cpp | 97 static std::unique_ptr<Glop> blackUnitQuadGlop(RenderState& renderState) { argument 104 glop->mesh.vertices = {renderState.meshState().getUnitQuadVBO(), 120 RenderState& renderState = renderThread.renderState(); local 127 GlopBuilder(renderState, caches, &glop) 135 std::unique_ptr<Glop> goldenGlop(blackUnitQuadGlop(renderState));
|
H A D | BakedOpDispatcherTests.cpp | 39 ValidatingBakedOpRenderer(RenderState& renderState, argument 41 : BakedOpRenderer(Caches::getInstance(), renderState, true, false, sLightInfo) 71 ValidatingBakedOpRenderer renderer(renderThread.renderState(), glopReceiver); 187 ValidatingBakedOpRenderer renderer(renderThread.renderState(), glopReceiver); 212 OffscreenBuffer layer(renderThread.renderState(), Caches::getInstance(), 100, 100); 218 ValidatingBakedOpRenderer renderer(renderThread.renderState(), validator);
|
/frameworks/base/libs/hwui/ |
H A D | VkLayer.h | 30 VkLayer(RenderState& renderState, uint32_t layerWidth, uint32_t layerHeight, argument 32 : Layer(renderState, Api::Vulkan, colorFilter, alpha, mode)
|
H A D | Layer.cpp | 26 Layer::Layer(RenderState& renderState, Api api, sk_sp<SkColorFilter> colorFilter, int alpha, argument 29 , mRenderState(renderState) 38 renderState.registerLayer(this);
|
H A D | OpenGLReadback.cpp | 116 inline CopyResult copyTextureInto(Caches& caches, RenderState& renderState, Texture& sourceTexture, argument 133 GLuint fbo = renderState.createFramebuffer(); 174 renderState.bindFramebuffer(fbo); 194 renderState.setViewport(destWidth, destHeight); 195 renderState.scissor().setEnabled(false); 196 renderState.blend().syncEnabled(); 197 renderState.stencil().disable(); 217 GlopBuilder(renderState, caches, &glop) 226 renderState.render(glop, ortho, false); 235 renderState [all...] |
H A D | GlLayer.cpp | 34 GlLayer::GlLayer(RenderState& renderState, uint32_t layerWidth, uint32_t layerHeight, argument 36 : Layer(renderState, Api::OpenGL, colorFilter, alpha, mode)
|
H A D | Caches.h | 62 static Caches& createInstance(RenderState& renderState) { argument 64 sInstance = new Caches(renderState); 76 explicit Caches(RenderState& renderState);
|
H A D | BakedOpRenderer.h | 55 BakedOpRenderer(Caches& caches, RenderState& renderState, bool opaque, bool wideColorGamut, argument 58 , mRenderState(renderState) 64 RenderState& renderState() { return mRenderState; } function in class:android::uirenderer::BakedOpRenderer
|
H A D | DeferredLayerUpdater.cpp | 28 DeferredLayerUpdater::DeferredLayerUpdater(RenderState& renderState, CreateLayerFn createLayerFn, argument 30 : mRenderState(renderState) 39 renderState.registerDeferredLayerUpdater(this);
|
H A D | DeferredLayerUpdater.h | 44 typedef std::function<Layer*(RenderState& renderState, uint32_t layerWidth, 48 ANDROID_API explicit DeferredLayerUpdater(RenderState& renderState, CreateLayerFn createLayerFn,
|
H A D | GlLayer.h | 34 GlLayer(RenderState& renderState, uint32_t layerWidth, uint32_t layerHeight,
|
H A D | BakedOpDispatcher.cpp | 75 GlopBuilder(renderer.renderState(), renderer.caches(), &glop) 176 GlopBuilder(renderer.renderState(), renderer.caches(), &glop) 213 GlopBuilder(renderer.renderState(), renderer.caches(), &glop) 343 GlopBuilder(renderer.renderState(), renderer.caches(), &glop) 367 GlopBuilder(renderer.renderState(), renderer.caches(), &glop) 423 GlopBuilder(renderer.renderState(), renderer.caches(), &glop) 490 GlopBuilder(renderer.renderState(), renderer.caches(), &glop) 517 GlopBuilder(renderer.renderState(), renderer.caches(), &glop) 534 GlopBuilder(renderer.renderState(), renderer.caches(), &glop) 599 GlopBuilder(renderer.renderState(), rendere [all...] |
H A D | Layer.h | 98 Layer(RenderState& renderState, Api api, sk_sp<SkColorFilter>, int alpha,
|
H A D | Caches.cpp | 52 Caches::Caches(RenderState& renderState) argument 54 , patchCache(renderState) 56 , mRenderState(&renderState)
|
/frameworks/base/libs/hwui/renderstate/ |
H A D | OffscreenBufferPool.cpp | 36 OffscreenBuffer::OffscreenBuffer(RenderState& renderState, Caches& caches, uint32_t viewportWidth, argument 39 , renderState(renderState) 98 renderState.meshState().genOrUpdateMeshBuffer( 110 renderState.meshState().deleteMeshBuffer(vbo); 145 OffscreenBuffer* OffscreenBufferPool::get(RenderState& renderState, const uint32_t width, argument 161 layer = new OffscreenBuffer(renderState, Caches::getInstance(), width, height, 170 RenderState& renderState = layer->renderState; local 183 return get(renderState, widt [all...] |
H A D | OffscreenBufferPool.h | 45 OffscreenBuffer(RenderState& renderState, Caches& caches, uint32_t viewportWidth, 65 RenderState& renderState; member in class:android::uirenderer::OffscreenBuffer 94 WARN_UNUSED_RESULT OffscreenBuffer* get(RenderState& renderState, const uint32_t width,
|
/frameworks/base/libs/hwui/tests/microbench/ |
H A D | FrameBuilderBench.cpp | 78 RenderState& renderState = thread.renderState(); 85 BakedOpRenderer renderer(caches, renderState, true, false, sLightInfo); 135 RenderState& renderState = thread.renderState(); 143 BakedOpRenderer renderer(caches, renderState, true, false, sLightInfo);
|
/frameworks/base/libs/hwui/renderthread/ |
H A D | OpenGLPipeline.cpp | 76 BakedOpRenderer renderer(caches, mRenderThread.renderState(), opaque, wideColorGamut, 125 static Layer* createLayer(RenderState& renderState, uint32_t layerWidth, uint32_t layerHeight, argument 129 new GlLayer(renderState, layerWidth, layerHeight, colorFilter, alpha, mode, blend); 137 return new DeferredLayerUpdater(mRenderThread.renderState(), createLayer, Layer::Api::OpenGL); 179 mRenderThread.renderState().flush(Caches::FlushMode::Layers); 191 BakedOpRenderer renderer(caches, mRenderThread.renderState(), opaque, wideColorGamut, 209 RenderState& renderState = mRenderThread.renderState(); local 210 OffscreenBufferPool& layerPool = renderState.layerPool(); 214 layerPool.get(renderState, nod [all...] |
H A D | CacheManager.cpp | 182 void CacheManager::dumpMemoryUsage(String8& log, const RenderState* renderState) { argument 213 if (renderState) { 214 if (renderState->mActiveLayers.size() > 0) { 219 for (std::set<Layer*>::iterator it = renderState->mActiveLayers.begin(); 220 it != renderState->mActiveLayers.end(); it++) { 228 layerMemoryTotal / 1024.0f, renderState->mActiveLayers.size());
|
H A D | CacheManager.h | 50 void dumpMemoryUsage(String8& log, const RenderState* renderState = nullptr);
|
/frameworks/base/libs/hwui/pipeline/skia/ |
H A D | SkiaVulkanPipeline.cpp | 117 static Layer* createLayer(RenderState& renderState, uint32_t layerWidth, uint32_t layerHeight, argument 120 return new VkLayer(renderState, layerWidth, layerHeight, colorFilter, alpha, mode, blend); 126 return new DeferredLayerUpdater(mRenderThread.renderState(), createLayer, Layer::Api::Vulkan);
|