/frameworks/native/services/surfaceflinger/DisplayHardware/ |
D | HWC2.cpp | 57 namespace Hwc2 = android::Hwc2; 61 inline bool hasMetadataKey(const std::set<Hwc2::PerFrameMetadataKey>& keys, in hasMetadataKey() 62 const Hwc2::PerFrameMetadataKey& key) { in hasMetadataKey() 73 Display::Display(android::Hwc2::Composer& composer, in Display() 149 std::vector<Hwc2::Layer> layerIds; in getChangedCompositionTypes() 150 std::vector<Hwc2::IComposerClient::Composition> types; in getChangedCompositionTypes() 188 std::vector<Hwc2::PerFrameMetadataKey> tmpKeys = mComposer.getPerFrameMetadataKeys(mId); in getSupportedPerFrameMetadata() 189 std::set<Hwc2::PerFrameMetadataKey> keys(tmpKeys.begin(), tmpKeys.end()); in getSupportedPerFrameMetadata() 195 if (hasMetadataKey(keys, Hwc2::PerFrameMetadataKey::DISPLAY_RED_PRIMARY_X) && in getSupportedPerFrameMetadata() 196 hasMetadataKey(keys, Hwc2::PerFrameMetadataKey::DISPLAY_RED_PRIMARY_Y) && in getSupportedPerFrameMetadata() [all …]
|
D | PowerAdvisor.h | 31 namespace Hwc2 { 49 class PowerAdvisor final : public Hwc2::PowerAdvisor {
|
D | HWComposer.h | 56 namespace Hwc2 { 238 virtual Hwc2::Composer* getComposer() const = 0; 252 explicit HWComposer(std::unique_ptr<Hwc2::Composer> composer); 372 Hwc2::Composer* getComposer() const override { return mComposer.get(); } in getComposer() 420 std::unique_ptr<android::Hwc2::Composer> mComposer;
|
D | HWC2.h | 46 namespace Hwc2 { 157 Display(android::Hwc2::Composer&, const std::unordered_set<hal::Capability>&, hal::HWDisplayId, 236 android::Hwc2::Composer& mComposer; 298 Layer(android::Hwc2::Composer& composer, 337 android::Hwc2::Composer& mComposer;
|
/frameworks/native/libs/vr/libvrflinger/ |
D | hardware_composer.h | 72 Layer(Hwc2::Composer* composer, const DisplayParams& display_params, 86 Layer(Hwc2::Composer* composer, const DisplayParams& display_params, 177 Hwc2::Composer* composer_ = nullptr; 309 bool Initialize(Hwc2::Composer* composer, 347 DisplayParams GetDisplayParams(Hwc2::Composer* composer, 370 class ComposerCallback : public Hwc2::IComposerCallback { 373 hardware::Return<void> onHotplug(Hwc2::Display display, 375 hardware::Return<void> onRefresh(Hwc2::Display display) override; 376 hardware::Return<void> onVsync(Hwc2::Display display, 379 Hwc2::Display display, int64_t timestamp, [all …]
|
D | hardware_composer.cpp | 139 void HardwareComposer::UpdateEdidData(Hwc2::Composer* composer, in UpdateEdidData() 154 Hwc2::Composer* composer, hwc2_display_t primary_display_id, in Initialize() 242 composer_.reset(new Hwc2::impl::Composer("default")); in CreateComposer() 312 (Hwc2::IComposerClient::Vsync)(enabled ? HWC2_VSYNC_ENABLE in EnableVsync() 327 power_mode.cast<Hwc2::IComposerClient::PowerMode>()); in SetPowerMode() 368 Hwc2::Composer* composer, hwc2_display_t display, bool is_primary) { in GetDisplayParams() 373 Hwc2::Config config; in GetDisplayParams() 381 display, config, (Hwc2::IComposerClient::Attribute)attr, &val); in GetDisplayParams() 550 std::vector<Hwc2::Layer> out_layers; in PostLayers() 1102 Hwc2::Display display, IComposerCallback::Connection conn) { in onHotplug() [all …]
|
D | vr_flinger.cpp | 31 Hwc2::Composer* hidl, hwc2_display_t primary_display_id, in Create() 58 bool VrFlinger::Init(Hwc2::Composer* hidl, in Init()
|
/frameworks/native/services/surfaceflinger/CompositionEngine/tests/ |
D | OutputLayerTest.cpp | 572 EXPECT_EQ(static_cast<Hwc2::Transform>(mBufferTransform), state.bufferTransform); in validateComputedGeometryState() 715 static constexpr Hwc2::Transform kBufferTransform = static_cast<Hwc2::Transform>(31); 716 static constexpr Hwc2::Transform kOverrideBufferTransform = static_cast<Hwc2::Transform>(0); 717 static constexpr Hwc2::IComposerClient::BlendMode kBlendMode = 718 static_cast<Hwc2::IComposerClient::BlendMode>(41); 719 static constexpr Hwc2::IComposerClient::BlendMode kOverrideBlendMode = 720 Hwc2::IComposerClient::BlendMode::PREMULTIPLIED; 758 outputLayerState.bufferTransform = static_cast<Hwc2::Transform>(kBufferTransform); in OutputLayerWriteStateToHWCTest() 806 Hwc2::Transform bufferTransform = kBufferTransform, in expectGeometryCommonCalls() 807 Hwc2::IComposerClient::BlendMode blendMode = kBlendMode, in expectGeometryCommonCalls() [all …]
|
D | MockPowerAdvisor.h | 24 namespace Hwc2 { 27 class PowerAdvisor : public android::Hwc2::PowerAdvisor {
|
D | MockPowerAdvisor.cpp | 20 namespace Hwc2 { namespace
|
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/impl/ |
D | OutputLayer.h | 53 void applyDeviceCompositionTypeChange(Hwc2::IComposerClient::Composition) override; 55 void applyDeviceLayerRequest(Hwc2::IComposerClient::LayerRequest request) override; 71 void writeOutputDependentGeometryStateToHWC(HWC2::Layer*, Hwc2::IComposerClient::Composition, 81 void writeCompositionTypeToHWC(HWC2::Layer*, Hwc2::IComposerClient::Composition, 83 void detectDisallowedCompositionTypeChange(Hwc2::IComposerClient::Composition from, 84 Hwc2::IComposerClient::Composition to) const;
|
D | OutputLayerCompositionState.h | 86 Hwc2::Transform bufferTransform{static_cast<Hwc2::Transform>(0)}; 126 Hwc2::IComposerClient::Composition hwcCompositionType{ 127 Hwc2::IComposerClient::Composition::INVALID};
|
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | HWComposerTest.cpp | 51 using Hwc2::Config; 71 Hwc2::mock::Composer* mHal = new StrictMock<Hwc2::mock::Composer>(); 91 impl::HWComposer hwc{std::unique_ptr<Hwc2::Composer>(mHal)}; in TEST_F() 109 impl::HWComposer hwc{std::unique_ptr<Hwc2::Composer>(mHal)}; in TEST_F() 130 std::unique_ptr<Hwc2::mock::Composer> mHal{new StrictMock<Hwc2::mock::Composer>()};
|
D | TunnelModeEnabledReporterTest.cpp | 38 using android::Hwc2::IComposer; 39 using android::Hwc2::IComposerClient; 71 Hwc2::mock::Composer* mComposer = nullptr; 87 mFlinger.setupComposer(std::make_unique<Hwc2::mock::Composer>()); in TunnelModeEnabledReporterTest()
|
D | GameModeTest.cpp | 87 mComposer = new Hwc2::mock::Composer(); in setupComposer() 88 mFlinger.setupComposer(std::unique_ptr<Hwc2::Composer>(mComposer)); in setupComposer() 101 Hwc2::mock::Composer* mComposer = nullptr;
|
D | FpsReporterTest.cpp | 46 using android::Hwc2::IComposer; 47 using android::Hwc2::IComposerClient; 104 mFlinger.setupComposer(std::make_unique<Hwc2::mock::Composer>()); in FpsReporterTest()
|
D | RefreshRateSelectionTest.cpp | 41 using android::Hwc2::IComposer; 42 using android::Hwc2::IComposerClient; 84 mFlinger.setupComposer(std::make_unique<Hwc2::mock::Composer>()); in RefreshRateSelectionTest()
|
D | DisplayTransactionTest.cpp | 90 mComposer = new Hwc2::mock::Composer(); in injectMockComposer() 91 mFlinger.setupComposer(std::unique_ptr<Hwc2::Composer>(mComposer)); in injectMockComposer()
|
/frameworks/native/libs/vr/libvrflinger/include/dvr/ |
D | vr_flinger.h | 18 namespace Hwc2 { 30 Hwc2::Composer* hidl, 45 bool Init(Hwc2::Composer* hidl,
|
/frameworks/native/services/surfaceflinger/tests/unittests/mock/DisplayHardware/ |
D | MockPowerAdvisor.h | 23 namespace android::Hwc2::mock { 25 class PowerAdvisor : public android::Hwc2::PowerAdvisor {
|
D | MockPowerAdvisor.cpp | 19 namespace android::Hwc2::mock { namespace
|
D | MockComposer.cpp | 24 namespace android::Hwc2::mock { namespace
|
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/mock/ |
D | OutputLayer.h | 49 MOCK_METHOD1(applyDeviceCompositionTypeChange, void(Hwc2::IComposerClient::Composition)); 51 MOCK_METHOD1(applyDeviceLayerRequest, void(Hwc2::IComposerClient::LayerRequest request));
|
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/ |
D | DisplayCreationArgs.h | 53 Hwc2::PowerAdvisor* powerAdvisor = nullptr; 92 DisplayCreationArgsBuilder& setPowerAdvisor(Hwc2::PowerAdvisor* powerAdvisor) { in setPowerAdvisor()
|
D | OutputLayer.h | 115 virtual void applyDeviceCompositionTypeChange(Hwc2::IComposerClient::Composition) = 0; 121 virtual void applyDeviceLayerRequest(Hwc2::IComposerClient::LayerRequest request) = 0;
|