Searched defs:renderState (Results 1 - 19 of 19) sorted by relevance

/frameworks/base/libs/hwui/tests/unit/
H A DLeakCheckTests.cpp42 RenderState& renderState = renderThread.renderState(); local
48 BakedOpRenderer renderer(caches, renderState, true, sLightInfo);
59 RenderState& renderState = renderThread.renderState(); local
65 BakedOpRenderer renderer(caches, renderState, true, sLightInfo);
H A DGlopBuilderTests.cpp98 static std::unique_ptr<Glop> blackUnitQuadGlop(RenderState& renderState) { argument
106 renderState.meshState().getUnitQuadVBO(),
120 RenderState& renderState = renderThread.renderState(); local
127 GlopBuilder(renderState, caches, &glop)
135 std::unique_ptr<Glop> goldenGlop(blackUnitQuadGlop(renderState));
H A DBakedOpDispatcherTests.cpp39 ValidatingBakedOpRenderer(RenderState& renderState, std::function<void(const Glop& glop)> validator) argument
40 : BakedOpRenderer(Caches::getInstance(), renderState, true, sLightInfo)
69 ValidatingBakedOpRenderer renderer(renderThread.renderState(), glopReceiver);
186 ValidatingBakedOpRenderer renderer(renderThread.renderState(), glopReceiver);
211 OffscreenBuffer layer(renderThread.renderState(), Caches::getInstance(), 100, 100);
217 ValidatingBakedOpRenderer renderer(renderThread.renderState(), validator);
/frameworks/base/libs/hwui/
H A DLayer.cpp26 Layer::Layer(RenderState& renderState, Api api, SkColorFilter* colorFilter, int alpha, argument
29 , mRenderState(renderState)
38 renderState.registerLayer(this);
H A DGlLayer.cpp35 GlLayer::GlLayer(RenderState& renderState, uint32_t layerWidth, uint32_t layerHeight, argument
37 : Layer(renderState, Api::OpenGL, colorFilter, alpha, mode)
H A DVkLayer.h30 VkLayer(RenderState& renderState, uint32_t layerWidth, uint32_t layerHeight, argument
32 : Layer(renderState, Api::Vulkan, colorFilter, alpha, mode)
H A DDeferredLayerUpdater.cpp28 DeferredLayerUpdater::DeferredLayerUpdater(RenderState& renderState, CreateLayerFn createLayerFn, argument
30 : mRenderState(renderState)
39 renderState.registerDeferredLayerUpdater(this);
H A DCaches.cpp52 Caches::Caches(RenderState& renderState) argument
54 , patchCache(renderState)
56 , mRenderState(&renderState)
H A DPatchCache.cpp33 PatchCache::PatchCache(RenderState& renderState) argument
34 : mRenderState(renderState)
H A DBakedOpRenderer.h57 BakedOpRenderer(Caches& caches, RenderState& renderState, bool opaque, argument
60 , mRenderState(renderState)
66 RenderState& renderState() { return mRenderState; } function in class:android::uirenderer::BakedOpRenderer
H A DCaches.h61 static Caches& createInstance(RenderState& renderState) { argument
63 sInstance = new Caches(renderState);
76 explicit Caches(RenderState& renderState);
H A DOpenGLReadback.cpp123 inline CopyResult copyTextureInto(Caches& caches, RenderState& renderState, argument
141 GLuint fbo = renderState.createFramebuffer();
174 renderState.bindFramebuffer(fbo);
196 renderState.setViewport(destWidth, destHeight);
197 renderState.scissor().setEnabled(false);
198 renderState.blend().syncEnabled();
199 renderState.stencil().disable();
219 GlopBuilder(renderState, caches, &glop)
228 renderState.render(glop, ortho);
236 renderState
[all...]
H A DGlopBuilder.cpp64 GlopBuilder::GlopBuilder(RenderState& renderState, Caches& caches, Glop* outGlop) argument
65 : mRenderState(renderState)
/frameworks/base/libs/hwui/renderstate/
H A DOffscreenBufferPool.h45 OffscreenBuffer(RenderState& renderState, Caches& caches,
65 RenderState& renderState; member in class:android::uirenderer::OffscreenBuffer
92 WARN_UNUSED_RESULT OffscreenBuffer* get(RenderState& renderState,
H A DOffscreenBufferPool.cpp37 OffscreenBuffer::OffscreenBuffer(RenderState& renderState, Caches& caches, argument
40 , renderState(renderState)
96 renderState.meshState().genOrUpdateMeshBuffer(&vbo,
109 renderState.meshState().deleteMeshBuffer(vbo);
141 OffscreenBuffer* OffscreenBufferPool::get(RenderState& renderState, argument
157 layer = new OffscreenBuffer(renderState, Caches::getInstance(), width, height);
165 RenderState& renderState = layer->renderState; local
177 return get(renderState, widt
[all...]
/frameworks/base/libs/hwui/renderthread/
H A DRenderThread.h95 RenderState& renderState() const { return *mRenderState; } function in class:android::uirenderer::renderthread::RenderThread
H A DOpenGLPipeline.cpp79 BakedOpRenderer renderer(caches, mRenderThread.renderState(),
129 static Layer* createLayer(RenderState& renderState, uint32_t layerWidth, uint32_t layerHeight, argument
131 GlLayer* layer = new GlLayer(renderState, layerWidth, layerHeight, colorFilter, alpha,
140 return new DeferredLayerUpdater(mRenderThread.renderState(), createLayer, Layer::Api::OpenGL);
182 mRenderThread.renderState().flush(Caches::FlushMode::Layers);
192 BakedOpRenderer renderer(caches, mRenderThread.renderState(),
208 RenderState& renderState = mRenderThread.renderState(); local
209 OffscreenBufferPool& layerPool = renderState.layerPool();
212 node->setLayer(layerPool.get(renderState, nod
[all...]
/frameworks/base/libs/hwui/pipeline/skia/
H A DSkiaOpenGLPipeline.cpp139 static Layer* createLayer(RenderState& renderState, uint32_t layerWidth, uint32_t layerHeight, argument
141 GlLayer* layer = new GlLayer(renderState, layerWidth, layerHeight, colorFilter, alpha,
149 return new DeferredLayerUpdater(mRenderThread.renderState(), createLayer, Layer::Api::OpenGL);
H A DSkiaVulkanPipeline.cpp120 static Layer* createLayer(RenderState& renderState, uint32_t layerWidth, uint32_t layerHeight, argument
122 return new VkLayer(renderState, layerWidth, layerHeight, colorFilter, alpha, mode, blend);
128 return new DeferredLayerUpdater(mRenderThread.renderState(), createLayer, Layer::Api::Vulkan);

Completed in 152 milliseconds