/frameworks/native/services/surfaceflinger/DisplayHardware/ |
D | HWC2.cpp | 50 namespace Hwc2 = android::Hwc2; 58 inline bool hasMetadataKey(const std::set<Hwc2::PerFrameMetadataKey>& keys, in hasMetadataKey() 59 const Hwc2::PerFrameMetadataKey& key) { in hasMetadataKey() 63 class ComposerCallbackBridge : public Hwc2::IComposerCallback { 68 Return<void> onHotplug(Hwc2::Display display, in onHotplug() 76 Return<void> onRefresh(Hwc2::Display display) override in onRefresh() 82 Return<void> onVsync(Hwc2::Display display, int64_t timestamp) override in onVsync() 98 Device::Device(std::unique_ptr<android::Hwc2::Composer> composer) : mComposer(std::move(composer)) { in Device() 174 reinterpret_cast<Hwc2::IComposerClient::DisplayType *>( in onHotplug() 256 Display::Display(android::Hwc2::Composer& composer, in Display() [all …]
|
D | PowerAdvisor.h | 33 namespace Hwc2 { 48 class PowerAdvisor final : public Hwc2::PowerAdvisor {
|
D | HWC2.h | 46 namespace Hwc2 { 83 explicit Device(std::unique_ptr<android::Hwc2::Composer> composer); 109 android::Hwc2::Composer* getComposer() { return mComposer.get(); } in getComposer() 122 std::unique_ptr<android::Hwc2::Composer> mComposer; 273 Display(android::Hwc2::Composer& composer, const std::unordered_set<Capability>& capabilities, 351 android::Hwc2::Composer& mComposer; 402 Layer(android::Hwc2::Composer& composer, 436 android::Hwc2::Composer& mComposer;
|
D | HWComposer.h | 44 namespace Hwc2 { 177 virtual Hwc2::Composer* getComposer() const = 0; 191 explicit HWComposer(std::unique_ptr<Hwc2::Composer> composer); 310 Hwc2::Composer* getComposer() const override { return mHwcDevice->getComposer(); } in getComposer()
|
D | HWComposer.cpp | 74 HWComposer::HWComposer(std::unique_ptr<Hwc2::Composer> composer) in HWComposer() 476 static_cast<Hwc2::IComposerClient::Composition>(newCompositionType); in prepare() 480 case Hwc2::IComposerClient::Composition::CLIENT: in prepare() 483 case Hwc2::IComposerClient::Composition::DEVICE: in prepare() 484 case Hwc2::IComposerClient::Composition::SOLID_COLOR: in prepare() 485 case Hwc2::IComposerClient::Composition::CURSOR: in prepare() 486 case Hwc2::IComposerClient::Composition::SIDEBAND: in prepare()
|
D | PowerAdvisor.cpp | 28 namespace Hwc2 { namespace
|
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/ |
D | LayerFECompositionState.h | 64 Hwc2::IComposerClient::BlendMode blendMode{Hwc2::IComposerClient::BlendMode::INVALID}; 84 Hwc2::IComposerClient::Composition compositionType{Hwc2::IComposerClient::Composition::INVALID}; 96 Hwc2::IComposerClient::Color color;
|
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/impl/ |
D | OutputLayerCompositionState.h | 58 Hwc2::Transform bufferTransform{static_cast<Hwc2::Transform>(0)}; 74 Hwc2::IComposerClient::Composition hwcCompositionType{ 75 Hwc2::IComposerClient::Composition::INVALID};
|
/frameworks/native/libs/vr/libvrflinger/ |
D | hardware_composer.h | 71 Layer(Hwc2::Composer* composer, const DisplayParams& display_params, 85 Layer(Hwc2::Composer* composer, const DisplayParams& display_params, 176 Hwc2::Composer* composer_ = nullptr; 308 bool Initialize(Hwc2::Composer* composer, 338 DisplayParams GetDisplayParams(Hwc2::Composer* composer, 361 class ComposerCallback : public Hwc2::IComposerCallback { 364 hardware::Return<void> onHotplug(Hwc2::Display display, 366 hardware::Return<void> onRefresh(Hwc2::Display display) override; 367 hardware::Return<void> onVsync(Hwc2::Display display, 475 std::unique_ptr<Hwc2::Composer> composer_;
|
D | hardware_composer.cpp | 143 Hwc2::Composer* composer, hwc2_display_t primary_display_id, in Initialize() 233 composer_.reset(new Hwc2::impl::Composer("default")); in CreateComposer() 309 (Hwc2::IComposerClient::Vsync)(enabled ? HWC2_VSYNC_ENABLE in EnableVsync() 324 power_mode.cast<Hwc2::IComposerClient::PowerMode>()); in SetPowerMode() 365 Hwc2::Composer* composer, hwc2_display_t display, bool is_primary) { in GetDisplayParams() 370 Hwc2::Config config; in GetDisplayParams() 378 display, config, (Hwc2::IComposerClient::Attribute)attr, &val); in GetDisplayParams() 547 std::vector<Hwc2::Layer> out_layers; in PostLayers() 1127 Hwc2::Display display, IComposerCallback::Connection conn) { in onHotplug() 1176 Hwc2::Display /*display*/) { in onRefresh() [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/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 | 24 namespace Hwc2 { 27 class PowerAdvisor : public android::Hwc2::PowerAdvisor {
|
D | MockComposer.cpp | 20 namespace Hwc2 { namespace
|
D | MockPowerAdvisor.cpp | 20 namespace Hwc2 { namespace
|
D | MockDisplay.cpp | 20 namespace Hwc2 { namespace
|
D | MockComposer.h | 27 namespace Hwc2 { 46 class Composer : public Hwc2::Composer {
|
/frameworks/native/services/surfaceflinger/CompositionEngine/tests/ |
D | OutputLayerTest.cpp | 253 static constexpr Hwc2::Transform kBufferTransform = static_cast<Hwc2::Transform>(31); 254 static constexpr Hwc2::IComposerClient::BlendMode kBlendMode = 255 static_cast<Hwc2::IComposerClient::BlendMode>(41); 269 outputLayerState.bufferTransform = static_cast<Hwc2::Transform>(kBufferTransform); in OutputLayerWriteStateToHWCTest()
|
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | CompositionTest.cpp | 64 using android::Hwc2::Error; 65 using android::Hwc2::IComposer; 66 using android::Hwc2::IComposerClient; 67 using android::Hwc2::Transform; 118 mComposer = new Hwc2::mock::Composer(); in setupComposer() 122 mFlinger.setupComposer(std::unique_ptr<Hwc2::Composer>(mComposer)); in setupComposer() 174 Hwc2::mock::Composer* mComposer = nullptr; 258 static_cast<Hwc2::IComposerClient::PowerMode>( in setupPreconditions() 290 .WillOnce(DoAll(SetArgPointee<1>(std::vector<Hwc2::DisplayCapability>({})), in setupPreconditionCallExpectations() 297 setColorTransform(HWC_DISPLAY, _, Hwc2::ColorTransform::IDENTITY)) in setupCommonCompositionCallExpectations() [all …]
|
D | TestableSurfaceFlinger.h | 52 namespace Hwc2 { 186 void setupComposer(std::unique_ptr<Hwc2::Composer> composer) { in setupComposer() 222 (*state.hwc).hwcCompositionType = static_cast<Hwc2::IComposerClient::Composition>(type); in setLayerCompositionType() 367 HWC2Display(Hwc2::Composer& composer, in HWC2Display() 440 void inject(TestableSurfaceFlinger* flinger, Hwc2::Composer* composer) { in inject()
|
D | RefreshRateConfigsTest.cpp | 100 auto display = new Hwc2::mock::Display(); in TEST_F() 133 auto display = new Hwc2::mock::Display(); in TEST_F()
|
D | RefreshRateStatsTest.cpp | 75 auto display = new Hwc2::mock::Display(); in TEST_F() 130 auto display = new Hwc2::mock::Display(); in TEST_F()
|
/frameworks/native/services/surfaceflinger/ |
D | BufferLayer.cpp | 290 setCompositionType(displayDevice, Hwc2::IComposerClient::Composition::SIDEBAND); in setPerFrameData() 298 layerCompositionState.compositionType = Hwc2::IComposerClient::Composition::SIDEBAND; in setPerFrameData() 305 setCompositionType(displayDevice, Hwc2::IComposerClient::Composition::CURSOR); in setPerFrameData() 308 setCompositionType(displayDevice, Hwc2::IComposerClient::Composition::DEVICE); in setPerFrameData() 330 setCompositionType(displayDevice, Hwc2::IComposerClient::Composition::CLIENT); in setPerFrameData()
|
D | ColorLayer.cpp | 115 setCompositionType(display, Hwc2::IComposerClient::Composition::SOLID_COLOR); in setPerFrameData() 147 outputLayer->editState().bufferTransform = static_cast<Hwc2::Transform>(0); in setPerFrameData()
|
/frameworks/native/services/surfaceflinger/CompositionEngine/src/ |
D | LayerCompositionState.cpp | 27 void dumpVal(std::string& out, const char* name, Hwc2::IComposerClient::Color value) { in dumpVal()
|