Home
last modified time | relevance | path

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

/frameworks/native/services/surfaceflinger/DisplayHardware/
DHWC2.cpp51 namespace Hwc2 = android::Hwc2;
59 inline bool hasMetadataKey(const std::set<Hwc2::PerFrameMetadataKey>& keys, in hasMetadataKey()
60 const Hwc2::PerFrameMetadataKey& key) { in hasMetadataKey()
64 class ComposerCallbackBridge : public Hwc2::IComposerCallback {
69 Return<void> onHotplug(Hwc2::Display display, in onHotplug()
77 Return<void> onRefresh(Hwc2::Display display) override in onRefresh()
83 Return<void> onVsync(Hwc2::Display display, int64_t timestamp) override in onVsync()
99 Device::Device(std::unique_ptr<android::Hwc2::Composer> composer) : mComposer(std::move(composer)) { in Device()
169 reinterpret_cast<Hwc2::IComposerClient::DisplayType *>( in onHotplug()
222 Display::Display(android::Hwc2::Composer& composer, in Display()
[all …]
DHWC2.h46 namespace Hwc2 {
83 explicit Device(std::unique_ptr<android::Hwc2::Composer> composer);
106 android::Hwc2::Composer* getComposer() { return mComposer.get(); } in getComposer()
119 std::unique_ptr<android::Hwc2::Composer> mComposer;
129 Display(android::Hwc2::Composer& composer, const std::unordered_set<Capability>& capabilities,
284 android::Hwc2::Composer& mComposer;
298 Layer(android::Hwc2::Composer& composer,
342 android::Hwc2::Composer& mComposer;
DHWComposer.h63 namespace Hwc2 {
70 explicit HWComposer(std::unique_ptr<android::Hwc2::Composer> composer);
179 android::Hwc2::Composer* getComposer() const { return mHwcDevice->getComposer(); } in getComposer()
DComposerHal.h38 namespace Hwc2 {
268 class Composer final : public Hwc2::Composer {
DHWComposer.cpp89 HWComposer::HWComposer(std::unique_ptr<android::Hwc2::Composer> composer) in HWComposer()
DComposerHal.cpp36 namespace Hwc2 { namespace
/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;
310 bool Initialize(Hwc2::Composer* composer,
342 DisplayParams GetDisplayParams(Hwc2::Composer* composer,
353 class ComposerCallback : public Hwc2::IComposerCallback {
356 hardware::Return<void> onHotplug(Hwc2::Display display,
358 hardware::Return<void> onRefresh(Hwc2::Display display) override;
359 hardware::Return<void> onVsync(Hwc2::Display display,
465 std::unique_ptr<Hwc2::Composer> composer_;
Dhardware_composer.cpp137 Hwc2::Composer* composer, hwc2_display_t primary_display_id, in Initialize()
220 composer_.reset(new Hwc2::impl::Composer("default")); in CreateComposer()
292 (Hwc2::IComposerClient::Vsync)(enabled ? HWC2_VSYNC_ENABLE in EnableVsync()
307 power_mode.cast<Hwc2::IComposerClient::PowerMode>()); in SetPowerMode()
349 Hwc2::Composer* composer, hwc2_display_t display, bool is_primary) { in GetDisplayParams()
354 Hwc2::Config config; in GetDisplayParams()
362 display, config, (Hwc2::IComposerClient::Attribute)attr, &val); in GetDisplayParams()
531 std::vector<Hwc2::Layer> out_layers; in PostLayers()
1071 Hwc2::Display display, IComposerCallback::Connection conn) { in onHotplug()
1120 Hwc2::Display /*display*/) { in onRefresh()
[all …]
Dvr_flinger.cpp32 Hwc2::Composer* hidl, hwc2_display_t primary_display_id, in Create()
59 bool VrFlinger::Init(Hwc2::Composer* hidl, in Init()
Ddisplay_service.h80 DisplayService(android::Hwc2::Composer* hidl,
Ddisplay_service.cpp40 DisplayService::DisplayService(Hwc2::Composer* hidl, in DisplayService()
/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/
DMockComposer.cpp20 namespace Hwc2 { namespace
DMockComposer.h27 namespace Hwc2 {
46 class Composer : public Hwc2::Composer {
/frameworks/native/services/surfaceflinger/tests/unittests/
DTestableSurfaceFlinger.h30 namespace Hwc2 {
43 void setupComposer(std::unique_ptr<Hwc2::Composer> composer) { in setupComposer()
154 HWC2Display(Hwc2::Composer& composer, in HWC2Display()
219 void inject(TestableSurfaceFlinger* flinger, Hwc2::Composer* composer) { in inject()
DDisplayTransactionTest.cpp48 using android::Hwc2::ColorMode;
49 using android::Hwc2::Error;
50 using android::Hwc2::Hdr;
51 using android::Hwc2::IComposer;
52 using android::Hwc2::IComposerClient;
53 using android::Hwc2::PerFrameMetadataKey;
54 using android::Hwc2::RenderIntent;
119 Hwc2::mock::Composer* mComposer = nullptr;
168 mComposer = new Hwc2::mock::Composer(); in injectMockComposer()
172 mFlinger.setupComposer(std::unique_ptr<Hwc2::Composer>(mComposer)); in injectMockComposer()
/frameworks/native/services/surfaceflinger/
DSurfaceFlinger.cpp678 new HWComposer(std::make_unique<Hwc2::impl::Composer>(getBE().mHwcServiceName))); in init()
1440 getBE().mHwc.reset(new HWComposer(std::make_unique<Hwc2::impl::Composer>( in updateVrFlinger()