Home
last modified time | relevance | path

Searched refs:hwc2_display_t (Results 1 – 25 of 66) sorted by relevance

123

/hardware/libhardware/include/hardware/
Dhwcomposer2.h905 typedef uint64_t hwc2_display_t; typedef
992 hwc2_display_t display, int32_t /*hwc2_connection_t*/ connected);
1011 hwc2_display_t display);
1031 hwc2_display_t display, int64_t timestamp);
1068 int32_t* /*android_pixel_format_t*/ format, hwc2_display_t* outDisplay);
1087 hwc2_device_t* device, hwc2_display_t display);
1205 hwc2_device_t* device, hwc2_display_t display);
1221 hwc2_display_t display, hwc2_layer_t* outLayer);
1237 hwc2_device_t* device, hwc2_display_t display, hwc2_layer_t layer);
1259 hwc2_device_t* device, hwc2_display_t display,
[all …]
/hardware/qcom/display/msm8909/sdm/libs/hwc2/
Dhwcomposer.cpp52 hwc2_display_t nextId = 1;
53 std::map<hwc2_display_t, DummyDisplay> displays;
66 DummyDisplay(hwc2_display_t id, uint32_t width, uint32_t height) in DummyDisplay()
69 hwc2_display_t GetId() { return id_; } in GetId()
139 hwc2_display_t id_;
186 hwc2_display_t* out_display) { in Hwc2ImplCreateVirtualDisplay()
187 hwc2_display_t id = nextId++; in Hwc2ImplCreateVirtualDisplay()
201 hwc2_display_t display) { in Hwc2ImplDestroyVirtualDisplay()
261 hwc2_display_t display) { in Hwc2ImplAcceptDisplayChanges()
269 int32_t Hwc2ImplCreateLayer(hwc2_device_t* /*device*/, hwc2_display_t display, in Hwc2ImplCreateLayer()
[all …]
Dhwc_session.h87 static int32_t CallDisplayFunction(hwc2_device_t *device, hwc2_display_t display, in CallDisplayFunction()
108 static int32_t CallLayerFunction(hwc2_device_t *device, hwc2_display_t display, in CallLayerFunction()
133 static int32_t AcceptDisplayChanges(hwc2_device_t *device, hwc2_display_t display);
134 static int32_t CreateLayer(hwc2_device_t *device, hwc2_display_t display,
137 int32_t *format, hwc2_display_t *out_display_id);
138 static int32_t DestroyLayer(hwc2_device_t *device, hwc2_display_t display, hwc2_layer_t layer);
139 static int32_t DestroyVirtualDisplay(hwc2_device_t *device, hwc2_display_t display);
141 static int32_t PresentDisplay(hwc2_device_t *device, hwc2_display_t display,
146 static int32_t SetOutputBuffer(hwc2_device_t *device, hwc2_display_t display,
148 static int32_t SetPowerMode(hwc2_device_t *device, hwc2_display_t display, int32_t int_mode);
[all …]
Dhwc_callbacks.h43 HWC2::Error Hotplug(hwc2_display_t display, HWC2::Connection state);
44 HWC2::Error Refresh(hwc2_display_t display);
45 HWC2::Error Vsync(hwc2_display_t display, int64_t timestamp);
Dhwc_session.cpp323 int32_t HWCSession::AcceptDisplayChanges(hwc2_device_t *device, hwc2_display_t display) { in AcceptDisplayChanges()
327 int32_t HWCSession::CreateLayer(hwc2_device_t *device, hwc2_display_t display, in CreateLayer()
337 int32_t *format, hwc2_display_t *out_display_id) { in CreateVirtualDisplay()
360 int32_t HWCSession::DestroyLayer(hwc2_device_t *device, hwc2_display_t display, in DestroyLayer()
365 int32_t HWCSession::DestroyVirtualDisplay(hwc2_device_t *device, hwc2_display_t display) { in DestroyVirtualDisplay()
406 static int32_t GetActiveConfig(hwc2_device_t *device, hwc2_display_t display, in GetActiveConfig()
411 static int32_t GetChangedCompositionTypes(hwc2_device_t *device, hwc2_display_t display, in GetChangedCompositionTypes()
422 static int32_t GetClientTargetSupport(hwc2_device_t *device, hwc2_display_t display, uint32_t width, in GetClientTargetSupport()
428 static int32_t GetColorModes(hwc2_device_t *device, hwc2_display_t display, uint32_t *out_num_modes, in GetColorModes()
435 static int32_t GetDisplayAttribute(hwc2_device_t *device, hwc2_display_t display, in GetDisplayAttribute()
[all …]
/hardware/qcom/sm8150/display/sdm/libs/hwc2/
Dhwc_callbacks.h49 HWC2::Error Hotplug(hwc2_display_t display, HWC2::Connection state);
50 HWC2::Error Refresh(hwc2_display_t display);
51 HWC2::Error Vsync(hwc2_display_t display, int64_t timestamp);
54 void UpdateVsyncSource(hwc2_display_t from) { in UpdateVsyncSource()
57 hwc2_display_t GetVsyncSource() { return vsync_source_; } in GetVsyncSource()
60 bool NeedsRefresh(hwc2_display_t display) { return pending_refresh_.test(UINT32(display)); } in NeedsRefresh()
61 void ResetRefresh(hwc2_display_t display) { pending_refresh_.reset(UINT32(display)); } in ResetRefresh()
71 hwc2_display_t vsync_source_ = HWC_DISPLAY_PRIMARY; // hw vsync is active on this display
Dhwc_session.h133 hwc2_display_t *out_display_id);
136 static int32_t CallDisplayFunction(hwc2_device_t *device, hwc2_display_t display, in CallDisplayFunction()
157 static int32_t CallLayerFunction(hwc2_device_t *device, hwc2_display_t display, in CallLayerFunction()
186 static int32_t AcceptDisplayChanges(hwc2_device_t *device, hwc2_display_t display);
187 static int32_t CreateLayer(hwc2_device_t *device, hwc2_display_t display,
190 int32_t *format, hwc2_display_t *out_display_id);
191 static int32_t DestroyLayer(hwc2_device_t *device, hwc2_display_t display, hwc2_layer_t layer);
192 static int32_t DestroyVirtualDisplay(hwc2_device_t *device, hwc2_display_t display);
194 static int32_t PresentDisplay(hwc2_device_t *device, hwc2_display_t display,
199 static int32_t SetOutputBuffer(hwc2_device_t *device, hwc2_display_t display,
[all …]
Dhwc_session.cpp344 hwc2_display_t base_id = qdutils::DISPLAY_EXTERNAL; in InitSupportedDisplaySlots()
458 int32_t HWCSession::GetDisplayBrightnessSupport(hwc2_device_t *device, hwc2_display_t display, in GetDisplayBrightnessSupport()
474 int32_t HWCSession::AcceptDisplayChanges(hwc2_device_t *device, hwc2_display_t display) { in AcceptDisplayChanges()
478 int32_t HWCSession::CreateLayer(hwc2_device_t *device, hwc2_display_t display, in CreateLayer()
488 int32_t *format, hwc2_display_t *out_display_id) { in CreateVirtualDisplay()
508 int32_t HWCSession::DestroyLayer(hwc2_device_t *device, hwc2_display_t display, in DestroyLayer()
513 int32_t HWCSession::DestroyVirtualDisplay(hwc2_device_t *device, hwc2_display_t display) { in DestroyVirtualDisplay()
519 hwc2_display_t active_builtin_disp_id = hwc_session->GetActiveBuiltinDisplay(); in DestroyVirtualDisplay()
574 static int32_t GetActiveConfig(hwc2_device_t *device, hwc2_display_t display, in GetActiveConfig()
579 static int32_t GetChangedCompositionTypes(hwc2_device_t *device, hwc2_display_t display, in GetChangedCompositionTypes()
[all …]
/hardware/qcom/sdm845/display/sdm/libs/hwc2/
Dhwc_session.h99 static int32_t CallDisplayFunction(hwc2_device_t *device, hwc2_display_t display, in CallDisplayFunction()
120 static int32_t CallLayerFunction(hwc2_device_t *device, hwc2_display_t display, in CallLayerFunction()
149 static int32_t AcceptDisplayChanges(hwc2_device_t *device, hwc2_display_t display);
150 static int32_t CreateLayer(hwc2_device_t *device, hwc2_display_t display,
153 int32_t *format, hwc2_display_t *out_display_id);
154 static int32_t DestroyLayer(hwc2_device_t *device, hwc2_display_t display, hwc2_layer_t layer);
155 static int32_t DestroyVirtualDisplay(hwc2_device_t *device, hwc2_display_t display);
157 static int32_t PresentDisplay(hwc2_device_t *device, hwc2_display_t display,
162 static int32_t SetOutputBuffer(hwc2_device_t *device, hwc2_display_t display,
164 static int32_t SetPowerMode(hwc2_device_t *device, hwc2_display_t display, int32_t int_mode);
[all …]
Dhwc_callbacks.h43 HWC2::Error Hotplug(hwc2_display_t display, HWC2::Connection state);
44 HWC2::Error Refresh(hwc2_display_t display);
45 HWC2::Error Vsync(hwc2_display_t display, int64_t timestamp);
Dhwc_session.cpp324 int32_t HWCSession::GetDisplayBrightnessSupport(hwc2_device_t *device, hwc2_display_t display, in GetDisplayBrightnessSupport()
340 int32_t HWCSession::AcceptDisplayChanges(hwc2_device_t *device, hwc2_display_t display) { in AcceptDisplayChanges()
344 int32_t HWCSession::CreateLayer(hwc2_device_t *device, hwc2_display_t display, in CreateLayer()
354 int32_t *format, hwc2_display_t *out_display_id) { in CreateVirtualDisplay()
377 int32_t HWCSession::DestroyLayer(hwc2_device_t *device, hwc2_display_t display, in DestroyLayer()
382 int32_t HWCSession::DestroyVirtualDisplay(hwc2_device_t *device, hwc2_display_t display) { in DestroyVirtualDisplay()
423 static int32_t GetActiveConfig(hwc2_device_t *device, hwc2_display_t display, in GetActiveConfig()
428 static int32_t GetChangedCompositionTypes(hwc2_device_t *device, hwc2_display_t display, in GetChangedCompositionTypes()
439 static int32_t GetClientTargetSupport(hwc2_device_t *device, hwc2_display_t display, uint32_t width, in GetClientTargetSupport()
445 static int32_t GetColorModes(hwc2_device_t *device, hwc2_display_t display, uint32_t *out_num_modes, in GetColorModes()
[all …]
/hardware/qcom/display/msm8996/sdm/libs/hwc2/
Dhwc_session.h48 static int32_t CallDisplayFunction(hwc2_device_t *device, hwc2_display_t display, in CallDisplayFunction()
64 static int32_t CallLayerFunction(hwc2_device_t *device, hwc2_display_t display, in CallLayerFunction()
88 static int32_t AcceptDisplayChanges(hwc2_device_t *device, hwc2_display_t display);
89 static int32_t CreateLayer(hwc2_device_t *device, hwc2_display_t display,
92 int32_t *format, hwc2_display_t *out_display_id);
93 static int32_t DestroyLayer(hwc2_device_t *device, hwc2_display_t display, hwc2_layer_t layer);
94 static int32_t DestroyVirtualDisplay(hwc2_device_t *device, hwc2_display_t display);
96 static int32_t PresentDisplay(hwc2_device_t *device, hwc2_display_t display,
101 static int32_t SetOutputBuffer(hwc2_device_t *device, hwc2_display_t display,
103 static int32_t SetLayerZOrder(hwc2_device_t *device, hwc2_display_t display, hwc2_layer_t layer,
[all …]
Dhwc_callbacks.h43 void Hotplug(hwc2_display_t display, HWC2::Connection state);
44 void Refresh(hwc2_display_t display);
45 void Vsync(hwc2_display_t display, int64_t timestamp);
Dhwc_callbacks.cpp37 void HWCCallbacks::Hotplug(hwc2_display_t display, HWC2::Connection state) { in Hotplug()
43 void HWCCallbacks::Refresh(hwc2_display_t display) { in Refresh()
49 void HWCCallbacks::Vsync(hwc2_display_t display, int64_t timestamp) { in Vsync()
Dhwc_session.cpp224 hwc2_display_t display) { in AcceptDisplayChanges()
229 int32_t HWCSession::CreateLayer(hwc2_device_t *device, hwc2_display_t display, in CreateLayer()
236 int32_t *format, hwc2_display_t *out_display_id) { in CreateVirtualDisplay()
255 int32_t HWCSession::DestroyLayer(hwc2_device_t *device, hwc2_display_t display, in DestroyLayer()
261 int32_t HWCSession::DestroyVirtualDisplay(hwc2_device_t *device, hwc2_display_t display) { in DestroyVirtualDisplay()
305 static int32_t GetActiveConfig(hwc2_device_t *device, hwc2_display_t display, in GetActiveConfig()
310 static int32_t GetChangedCompositionTypes(hwc2_device_t *device, hwc2_display_t display, in GetChangedCompositionTypes()
317 static int32_t GetClientTargetSupport(hwc2_device_t *device, hwc2_display_t display, uint32_t width, in GetClientTargetSupport()
323 static int32_t GetColorModes(hwc2_device_t *device, hwc2_display_t display, uint32_t *out_num_modes, in GetColorModes()
330 static int32_t GetDisplayAttribute(hwc2_device_t *device, hwc2_display_t display, in GetDisplayAttribute()
[all …]
/hardware/qcom/display/msm8998/sdm/libs/hwc2/
Dhwc_session.h49 static int32_t CallDisplayFunction(hwc2_device_t *device, hwc2_display_t display, in CallDisplayFunction()
65 static int32_t CallLayerFunction(hwc2_device_t *device, hwc2_display_t display, in CallLayerFunction()
89 static int32_t AcceptDisplayChanges(hwc2_device_t *device, hwc2_display_t display);
90 static int32_t CreateLayer(hwc2_device_t *device, hwc2_display_t display,
93 int32_t *format, hwc2_display_t *out_display_id);
94 static int32_t DestroyLayer(hwc2_device_t *device, hwc2_display_t display, hwc2_layer_t layer);
95 static int32_t DestroyVirtualDisplay(hwc2_device_t *device, hwc2_display_t display);
97 static int32_t PresentDisplay(hwc2_device_t *device, hwc2_display_t display,
102 static int32_t SetOutputBuffer(hwc2_device_t *device, hwc2_display_t display,
104 static int32_t SetLayerZOrder(hwc2_device_t *device, hwc2_display_t display, hwc2_layer_t layer,
[all …]
Dhwc_callbacks.h43 void Hotplug(hwc2_display_t display, HWC2::Connection state);
44 void Refresh(hwc2_display_t display);
45 void Vsync(hwc2_display_t display, int64_t timestamp);
Dhwc_callbacks.cpp37 void HWCCallbacks::Hotplug(hwc2_display_t display, HWC2::Connection state) { in Hotplug()
43 void HWCCallbacks::Refresh(hwc2_display_t display) { in Refresh()
49 void HWCCallbacks::Vsync(hwc2_display_t display, int64_t timestamp) { in Vsync()
/hardware/qcom/display/msm8909w_3100/sdm/libs/hwc2/
Dhwc_session.h78 static int32_t CallDisplayFunction(hwc2_device_t *device, hwc2_display_t display, in CallDisplayFunction()
98 static int32_t CallLayerFunction(hwc2_device_t *device, hwc2_display_t display, in CallLayerFunction()
122 static int32_t AcceptDisplayChanges(hwc2_device_t *device, hwc2_display_t display);
123 static int32_t CreateLayer(hwc2_device_t *device, hwc2_display_t display,
126 int32_t *format, hwc2_display_t *out_display_id);
127 static int32_t DestroyLayer(hwc2_device_t *device, hwc2_display_t display, hwc2_layer_t layer);
128 static int32_t DestroyVirtualDisplay(hwc2_device_t *device, hwc2_display_t display);
130 static int32_t PresentDisplay(hwc2_device_t *device, hwc2_display_t display,
135 static int32_t SetOutputBuffer(hwc2_device_t *device, hwc2_display_t display,
137 static int32_t SetLayerZOrder(hwc2_device_t *device, hwc2_display_t display, hwc2_layer_t layer,
[all …]
Dhwc_callbacks.h43 HWC2::Error Hotplug(hwc2_display_t display, HWC2::Connection state);
44 HWC2::Error Refresh(hwc2_display_t display);
45 HWC2::Error Vsync(hwc2_display_t display, int64_t timestamp);
Dhwc_session.cpp313 int32_t HWCSession::AcceptDisplayChanges(hwc2_device_t *device, hwc2_display_t display) { in AcceptDisplayChanges()
322 int32_t HWCSession::CreateLayer(hwc2_device_t *device, hwc2_display_t display, in CreateLayer()
335 int32_t *format, hwc2_display_t *out_display_id) { in CreateVirtualDisplay()
358 int32_t HWCSession::DestroyLayer(hwc2_device_t *device, hwc2_display_t display, in DestroyLayer()
367 int32_t HWCSession::DestroyVirtualDisplay(hwc2_device_t *device, hwc2_display_t display) { in DestroyVirtualDisplay()
411 static int32_t GetActiveConfig(hwc2_device_t *device, hwc2_display_t display, in GetActiveConfig()
416 static int32_t GetChangedCompositionTypes(hwc2_device_t *device, hwc2_display_t display, in GetChangedCompositionTypes()
427 static int32_t GetClientTargetSupport(hwc2_device_t *device, hwc2_display_t display, uint32_t width, in GetClientTargetSupport()
433 static int32_t GetColorModes(hwc2_device_t *device, hwc2_display_t display, uint32_t *out_num_modes, in GetColorModes()
440 static int32_t GetDisplayAttribute(hwc2_device_t *device, hwc2_display_t display, in GetDisplayAttribute()
[all …]
Dhwc_callbacks.cpp37 HWC2::Error HWCCallbacks::Hotplug(hwc2_display_t display, HWC2::Connection state) { in Hotplug()
45 HWC2::Error HWCCallbacks::Refresh(hwc2_display_t display) { in Refresh()
53 HWC2::Error HWCCallbacks::Vsync(hwc2_display_t display, int64_t timestamp) { in Vsync()
/hardware/interfaces/graphics/composer/2.1/utils/hwc2onfbadapter/
DHWC2OnFbAdapter.cpp78 int32_t* /*format*/, hwc2_display_t* /*outDisplay*/) { in createVirtualDisplayHook() argument
82 int32_t destroyVirtualDisplayHook(hwc2_device_t* /*device*/, hwc2_display_t /*display*/) { in destroyVirtualDisplayHook() argument
86 int32_t setOutputBufferHook(hwc2_device_t* /*device*/, hwc2_display_t /*display*/, in setOutputBufferHook() argument
91 int32_t getDisplayNameHook(hwc2_device_t* device, hwc2_display_t display, uint32_t* outSize, in getDisplayNameHook()
108 int32_t getDisplayTypeHook(hwc2_device_t* device, hwc2_display_t display, int32_t* outType) { in getDisplayTypeHook()
118 int32_t getDozeSupportHook(hwc2_device_t* device, hwc2_display_t display, int32_t* outSupport) { in getDozeSupportHook()
128 int32_t getHdrCapabilitiesHook(hwc2_device_t* device, hwc2_display_t display, uint32_t* outNumTypes, in getHdrCapabilitiesHook()
140 int32_t setPowerModeHook(hwc2_device_t* device, hwc2_display_t display, int32_t /*mode*/) { in setPowerModeHook()
150 int32_t setVsyncEnabledHook(hwc2_device_t* device, hwc2_display_t display, int32_t enabled) { in setVsyncEnabledHook()
160 int32_t getColorModesHook(hwc2_device_t* device, hwc2_display_t display, uint32_t* outNumModes, in getColorModesHook()
[all …]
/hardware/interfaces/graphics/composer/2.1/utils/hwc2on1adapter/include/hwc2on1adapter/
DHWC2On1Adapter.h86 hwc2_display_t* outDisplay);
89 hwc2_display_t* outDisplay) { in createVirtualDisplayHook()
97 HWC2::Error destroyVirtualDisplay(hwc2_display_t display);
99 hwc2_display_t display) { in destroyVirtualDisplayHook()
193 hwc2_display_t getId() const { return mId; } in getId()
394 static std::atomic<hwc2_display_t> sNextId;
395 const hwc2_display_t mId;
467 hwc2_display_t displayId, HWC2::Error (Display::*member)(Args...), in callDisplayFunction()
478 static int32_t displayHook(hwc2_device_t* device, hwc2_display_t displayId, in displayHook()
485 hwc2_display_t display, hwc2_config_t config, in getDisplayAttributeHook()
[all …]
/hardware/qcom/display/msm8994/libhwcomposer/
DHWC2On1Adapter.h78 hwc2_display_t* outDisplay);
81 hwc2_display_t* outDisplay) { in createVirtualDisplayHook()
89 HWC2::Error destroyVirtualDisplay(hwc2_display_t display);
91 hwc2_display_t display) { in destroyVirtualDisplayHook()
176 hwc2_display_t getId() const { return mId; } in getId()
353 static std::atomic<hwc2_display_t> sNextId;
354 const hwc2_display_t mId;
401 hwc2_display_t displayId, HWC2::Error (Display::*member)(Args...), in callDisplayFunction()
412 static int32_t displayHook(hwc2_device_t* device, hwc2_display_t displayId, in displayHook()
419 hwc2_display_t display, hwc2_config_t config, in getDisplayAttributeHook()
[all …]

123