Home
last modified time | relevance | path

Searched refs:Hwc2 (Results 1 – 25 of 38) sorted by relevance

12

/frameworks/native/services/surfaceflinger/DisplayHardware/
DHWC2.cpp50 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 …]
DPowerAdvisor.h33 namespace Hwc2 {
48 class PowerAdvisor final : public Hwc2::PowerAdvisor {
DHWC2.h46 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;
DHWComposer.h44 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()
DHWComposer.cpp74 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()
DPowerAdvisor.cpp28 namespace Hwc2 { namespace
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/
DLayerFECompositionState.h64 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/
DOutputLayerCompositionState.h58 Hwc2::Transform bufferTransform{static_cast<Hwc2::Transform>(0)};
74 Hwc2::IComposerClient::Composition hwcCompositionType{
75 Hwc2::IComposerClient::Composition::INVALID};
/frameworks/native/libs/vr/libvrflinger/
Dhardware_composer.h71 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_;
Dhardware_composer.cpp143 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 …]
Dvr_flinger.cpp31 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/
Dvr_flinger.h18 namespace Hwc2 {
30 Hwc2::Composer* hidl,
45 bool Init(Hwc2::Composer* hidl,
/frameworks/native/services/surfaceflinger/tests/unittests/mock/DisplayHardware/
DMockPowerAdvisor.h24 namespace Hwc2 {
27 class PowerAdvisor : public android::Hwc2::PowerAdvisor {
DMockComposer.cpp20 namespace Hwc2 { namespace
DMockPowerAdvisor.cpp20 namespace Hwc2 { namespace
DMockDisplay.cpp20 namespace Hwc2 { namespace
DMockComposer.h27 namespace Hwc2 {
46 class Composer : public Hwc2::Composer {
/frameworks/native/services/surfaceflinger/CompositionEngine/tests/
DOutputLayerTest.cpp253 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/
DCompositionTest.cpp64 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 …]
DTestableSurfaceFlinger.h52 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()
DRefreshRateConfigsTest.cpp100 auto display = new Hwc2::mock::Display(); in TEST_F()
133 auto display = new Hwc2::mock::Display(); in TEST_F()
DRefreshRateStatsTest.cpp75 auto display = new Hwc2::mock::Display(); in TEST_F()
130 auto display = new Hwc2::mock::Display(); in TEST_F()
/frameworks/native/services/surfaceflinger/
DBufferLayer.cpp290 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()
DColorLayer.cpp115 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/
DLayerCompositionState.cpp27 void dumpVal(std::string& out, const char* name, Hwc2::IComposerClient::Color value) { in dumpVal()

12