Lines Matching refs:writer
28 void TestLayer::write(const std::shared_ptr<CommandWriterBase>& writer) { in write() argument
29 writer->selectLayer(mLayer); in write()
30 writer->setLayerDisplayFrame(mDisplayFrame); in write()
31 writer->setLayerSourceCrop(mSourceCrop); in write()
32 writer->setLayerZOrder(mZOrder); in write()
33 writer->setLayerSurfaceDamage(mSurfaceDamage); in write()
34 writer->setLayerTransform(mTransform); in write()
35 writer->setLayerPlaneAlpha(mAlpha); in write()
36 writer->setLayerBlendMode(mBlendMode); in write()
236 void TestColorLayer::write(const std::shared_ptr<CommandWriterBase>& writer) { in write() argument
237 TestLayer::write(writer); in write()
238 writer->setLayerCompositionType(IComposerClient::Composition::SOLID_COLOR); in write()
239 writer->setLayerColor(mColor); in write()
275 void TestBufferLayer::write(const std::shared_ptr<CommandWriterBase>& writer) { in write() argument
276 TestLayer::write(writer); in write()
277 writer->setLayerCompositionType(mComposition); in write()
278 writer->setLayerVisibleRegion(std::vector<IComposerClient::Rect>(1, mDisplayFrame)); in write()
279 if (mBufferHandle != nullptr) writer->setLayerBuffer(0, mBufferHandle->get(), mFillFence); in write()
327 const std::shared_ptr<CommandWriterBase>& writer) { in setDataspace() argument
328 writer->selectLayer(mLayer); in setDataspace()
329 writer->setLayerDataspace(dataspace); in setDataspace()
332 void TestBufferLayer::setToClientComposition(const std::shared_ptr<CommandWriterBase>& writer) { in setToClientComposition() argument
333 writer->selectLayer(mLayer); in setToClientComposition()
334 writer->setLayerCompositionType(IComposerClient::Composition::CLIENT); in setToClientComposition()