Home
last modified time | relevance | path

Searched refs:mWriter (Results 1 – 10 of 10) sorted by relevance

/hardware/interfaces/graphics/composer/2.1/vts/functional/
DVtsHalGraphicsComposerV2_1TargetTest.cpp660 mWriter = std::make_unique<CommandWriterBase>(1024); in SetUp()
676 void execute() { mComposerClient->execute(mReader.get(), mWriter.get()); } in execute()
678 std::unique_ptr<CommandWriterBase> mWriter; member in android::hardware::graphics::composer::V2_1::vts::__anon71d7d22f0111::GraphicsComposerHidlCommandTest
696 mWriter->selectDisplay(mPrimaryDisplay); in TEST_P()
697 mWriter->setColorTransform(identity.data(), ColorTransform::IDENTITY); in TEST_P()
708 mWriter->selectDisplay(mPrimaryDisplay); in TEST_P()
709 mWriter->setClientTarget(0, nullptr, -1, Dataspace::UNKNOWN, in TEST_P()
733 mWriter->selectDisplay(display); in TEST_P()
734 mWriter->setOutputBuffer(0, handle->get(), -1); in TEST_P()
742 mWriter->selectDisplay(mPrimaryDisplay); in TEST_P()
[all …]
/hardware/google/graphics/common/libacryl/
Dacrylic_g2d.h33 std::unique_ptr<IG2DHdr10CommandWriter> mWriter; variable
38 mWriter.reset(IG2DHdr10CommandWriter::createInstance()); in G2DHdrWriter()
47 …return mWriter ? mWriter->setLayerStaticMetadata(layer_index, dataspace, min_luminance, max_lumina… in setLayerStaticMetadata()
51 return mWriter ? mWriter->setLayerImageInfo(layer_index, pixfmt, alpha_premult) : true; in setLayerImageInfo()
55 if (mWriter) in setLayerOpaqueData()
56 mWriter->setLayerOpaqueData(layer_index, data, len); in setLayerOpaqueData()
60 return mWriter ? mWriter->setTargetInfo(dataspace, data) : true; in setTargetInfo()
64 if (mWriter) in setTargetDisplayLuminance()
65 mWriter->setTargetDisplayLuminance(min, max); in setTargetDisplayLuminance()
101 if (!mCmds && mWriter) in getCommands()
[all …]
/hardware/interfaces/graphics/composer/2.1/utils/hal/include/composer-hal/2.1/
DComposerCommandEngine.h44 mWriter = createCommandWriter(kWriterInitialSize); in ComposerCommandEngine()
79 return mWriter->writeQueue(outQueueChanged, outCommandLength, outCommandHandles) in execute()
84 const MQDescriptorSync<uint32_t>* getOutputMQDescriptor() { return mWriter->getMQDescriptor(); } in getOutputMQDescriptor()
88 mWriter->reset(); in reset()
160 mWriter->setChangedCompositionTypes(changedLayers, compositionTypes); in executeValidateDisplayInternal()
161 mWriter->setDisplayRequests(displayRequestMask, requestedLayers, requestMasks); in executeValidateDisplayInternal()
163 mWriter->setError(getCommandLoc(), err); in executeValidateDisplayInternal()
174 mWriter->selectDisplay(mCurrentDisplay); in executeSelectDisplay()
202 mWriter->setError(getCommandLoc(), err); in executeSetColorTransform()
236 mWriter->setError(getCommandLoc(), err); in executeSetClientTarget()
[all …]
/hardware/interfaces/graphics/composer/2.2/vts/functional/
DVtsHalGraphicsComposerV2_2ReadbackTest.cpp80 mWriter = std::make_shared<CommandWriterBase>(1024); in SetUpBase()
127 layer->write(mWriter); in writeLayers()
133 ASSERT_NO_FATAL_FAILURE(mComposerClient->execute(mReader.get(), mWriter.get())); in execute()
145 std::shared_ptr<CommandWriterBase> mWriter; member in android::hardware::graphics::composer::V2_2::vts::__anon8cadd1370111::GraphicsCompositionTestBase
193 mWriter->selectDisplay(mPrimaryDisplay); in TEST_P()
230 mWriter->validateDisplay(); in TEST_P()
240 mWriter->presentDisplay(); in TEST_P()
255 mWriter->selectDisplay(mPrimaryDisplay); in TEST_P()
274 mWriter->selectDisplay(mPrimaryDisplay); in TEST_P()
294 layer->setDataspace(ReadbackHelper::getDataspaceForColorMode(mode), mWriter); in TEST_P()
[all …]
DVtsHalGraphicsComposerV2_2TargetTest.cpp146 mWriter = std::make_unique<CommandWriterBase>(1024); in SetUp()
162 void execute() { mComposerClient->execute(mReader.get(), mWriter.get()); } in execute()
164 std::unique_ptr<CommandWriterBase> mWriter; member in android::hardware::graphics::composer::V2_2::vts::__anon46fb56f10111::GraphicsComposerHidlCommandTest
179 mWriter->selectDisplay(mPrimaryDisplay); in TEST_P()
180 mWriter->selectLayer(layer); in TEST_P()
208 mWriter->setLayerPerFrameMetadata(hidlMetadata); in TEST_P()
508 mWriter->selectDisplay(mPrimaryDisplay); in TEST_P()
509 mWriter->selectLayer(layer); in TEST_P()
510 mWriter->setLayerCompositionType(IComposerClient::Composition::SOLID_COLOR); in TEST_P()
511 mWriter->setLayerFloatColor(IComposerClient::FloatColor{1.0, 1.0, 1.0, 1.0}); in TEST_P()
[all …]
/hardware/interfaces/graphics/composer/2.4/utils/hal/include/composer-hal/2.4/
DComposerCommandEngine.h50 using BaseType2_1::mWriter;
66 mWriter->setChangedCompositionTypes(changedLayers, compositionTypes); in executeValidateDisplayInternal()
67 mWriter->setDisplayRequests(displayRequestMask, requestedLayers, requestMasks); in executeValidateDisplayInternal()
70 mWriter->setError(getCommandLoc(), static_cast<V2_1::Error>(err)); in executeValidateDisplayInternal()
75 CommandWriterBase* getWriter() { return static_cast<CommandWriterBase*>(mWriter.get()); } in getWriter()
108 mWriter->setError(getCommandLoc(), static_cast<V2_1::Error>(error)); in executeSetLayerGenericMetadata()
/hardware/interfaces/graphics/composer/2.4/vts/functional/
DVtsHalGraphicsComposerV2_4TargetTest.cpp108 mWriter = std::make_unique<CommandWriterBase>(1024); in SetUp()
158 void execute() { mComposerClient->execute(mReader.get(), mWriter.get()); } in execute()
255 std::unique_ptr<CommandWriterBase> mWriter; member in android::hardware::graphics::composer::V2_4::vts::__anonf14260750111::GraphicsComposerHidlTest
434 mWriter->selectDisplay(display.get()); in sendRefreshFrame()
448 mWriter->selectLayer(layer); in sendRefreshFrame()
449 mWriter->setLayerCompositionType(IComposerClient::Composition::DEVICE); in sendRefreshFrame()
450 mWriter->setLayerDisplayFrame(display.getFrameRect()); in sendRefreshFrame()
451 mWriter->setLayerPlaneAlpha(1); in sendRefreshFrame()
452 mWriter->setLayerSourceCrop(display.getCrop()); in sendRefreshFrame()
453 mWriter->setLayerTransform(static_cast<Transform>(0)); in sendRefreshFrame()
[all …]
/hardware/interfaces/graphics/composer/2.3/vts/functional/
DVtsHalGraphicsComposerV2_3TargetTest.cpp67 mWriter = std::make_unique<CommandWriterBase>(1024); in SetUp()
97 void execute() { mComposerClient->execute(mReader.get(), mWriter.get()); } in execute()
108 std::unique_ptr<CommandWriterBase> mWriter; member in android::hardware::graphics::composer::V2_3::vts::__anon1c1edbb30111::GraphicsComposerHidlTest
133 mWriter = std::make_unique<CommandWriterBase>(1024); in SetUp()
142 void execute() { mComposerClient->execute(mReader.get(), mWriter.get()); } in execute()
144 std::unique_ptr<CommandWriterBase> mWriter; member in android::hardware::graphics::composer::V2_3::vts::__anon1c1edbb30111::GraphicsComposerHidlCommandTest
194 mWriter->selectDisplay(mPrimaryDisplay); in TEST_P()
195 mWriter->selectLayer(layer); in TEST_P()
223 mWriter->setLayerPerFrameMetadata(hidlMetadata); in TEST_P()
458 mWriter->selectDisplay(mPrimaryDisplay); in TEST_P()
[all …]
/hardware/interfaces/graphics/composer/2.2/utils/hal/include/composer-hal/2.2/
DComposerCommandEngine.h73 mWriter->setError(getCommandLoc(), err); in executeSetLayerPerFrameMetadata()
86 mWriter->setError(getCommandLoc(), err); in executeSetLayerFloatColor()
98 using BaseType2_1::mWriter;
/hardware/interfaces/graphics/composer/2.3/utils/hal/include/composer-hal/2.3/
DComposerCommandEngine.h69 mWriter->setError(getCommandLoc(), err); in executeSetLayerColorTransform()
105 mWriter->setError(getCommandLoc(), err); in executeSetLayerPerFrameMetadataBlobs()
120 using BaseType2_1::mWriter;