Home
last modified time | relevance | path

Searched refs:hwc_session (Results 1 – 16 of 16) sorted by relevance

/hardware/qcom/display/msm8996/sdm/libs/hwc/
Dhwc_session.cpp216 HWCSession *hwc_session = new HWCSession(module); in Open() local
217 if (!hwc_session) { in Open()
221 int status = hwc_session->Init(); in Open()
223 delete hwc_session; in Open()
227 hwc_composer_device_1_t *composer_device = hwc_session; in Open()
242 HWCSession *hwc_session = static_cast<HWCSession *>(composer_device); in Close() local
244 hwc_session->Deinit(); in Close()
245 delete hwc_session; in Close()
258 HWCSession *hwc_session = static_cast<HWCSession *>(device); in Prepare() local
266 hwc_procs = hwc_session->hwc_procs_; in Prepare()
[all …]
/hardware/qcom/display/msm8909/sdm/libs/hwc/
Dhwc_session.cpp234 HWCSession *hwc_session = new HWCSession(module); in Open() local
235 if (!hwc_session) { in Open()
239 int status = hwc_session->Init(); in Open()
241 delete hwc_session; in Open()
245 hwc_composer_device_1_t *composer_device = hwc_session; in Open()
260 HWCSession *hwc_session = static_cast<HWCSession *>(composer_device); in Close() local
262 hwc_session->Deinit(); in Close()
263 delete hwc_session; in Close()
276 HWCSession *hwc_session = static_cast<HWCSession *>(device); in Prepare() local
284 hwc_procs = hwc_session->hwc_procs_; in Prepare()
[all …]
/hardware/qcom/sm8150/display/sdm/libs/hwc2/
Dhwc_session.cpp406 HWCSession *hwc_session = new HWCSession(module); in Open() local
407 if (!hwc_session) { in Open()
411 int status = hwc_session->Init(); in Open()
413 delete hwc_session; in Open()
414 hwc_session = NULL; in Open()
418 hwc2_device_t *composer_device = hwc_session; in Open()
431 HWCSession *hwc_session = static_cast<HWCSession *>(composer_device); in Close() local
433 hwc_session->Deinit(); in Close()
507 HWCSession *hwc_session = static_cast<HWCSession *>(device); in CreateVirtualDisplay() local
508 auto status = hwc_session->CreateVirtualDisplayObj(width, height, format, out_display_id); in CreateVirtualDisplay()
[all …]
Dhwc_session.h118 HWCSession *hwc_session = static_cast<HWCSession *>(device); in CallDisplayFunction() local
122 if (hwc_session->power_state_transition_[display]) { in CallDisplayFunction()
123 display = hwc_session->map_hwc_display_.find(display)->second; in CallDisplayFunction()
129 if (hwc_session->hwc_display_[display]) { in CallDisplayFunction()
130 auto hwc_display = hwc_session->hwc_display_[display]; in CallDisplayFunction()
148 HWCSession *hwc_session = static_cast<HWCSession *>(device); in CallLayerFunction() local
152 if (hwc_session->power_state_transition_[display]) { in CallLayerFunction()
153 display = hwc_session->map_hwc_display_.find(display)->second; in CallLayerFunction()
159 if (hwc_session->hwc_display_[display]) { in CallLayerFunction()
161 auto hwc_layer = hwc_session->hwc_display_[display]->GetHWCLayer(layer); in CallLayerFunction()
[all …]
/hardware/qcom/display/msm8909/sdm/libs/hwc2/
Dhwc_session.cpp254 HWCSession *hwc_session = new HWCSession(module); in Open() local
255 if (!hwc_session) { in Open()
259 int status = hwc_session->Init(); in Open()
264 hwc2_device_t *composer_device = hwc_session; in Open()
277 HWCSession *hwc_session = static_cast<HWCSession *>(composer_device); in Close() local
279 hwc_session->Deinit(); in Close()
292 HWCSession *hwc_session = static_cast<HWCSession *>(device); in GetCapabilities() local
293 bool color_transform_supported = hwc_session->core_intf_->IsColorTransformSupported(); in GetCapabilities()
348 HWCSession *hwc_session = static_cast<HWCSession *>(device); in CreateVirtualDisplay() local
349 auto status = hwc_session->CreateVirtualDisplayObject(width, height, format); in CreateVirtualDisplay()
[all …]
Dhwc_session.h98 HWCSession *hwc_session = static_cast<HWCSession *>(device); in CallDisplayFunction() local
100 if (hwc_session->hwc_display_[display]) { in CallDisplayFunction()
101 auto hwc_display = hwc_session->hwc_display_[display]; in CallDisplayFunction()
116 HWCSession *hwc_session = static_cast<HWCSession *>(device); in CallLayerFunction() local
118 if (hwc_session->hwc_display_[display]) { in CallLayerFunction()
120 auto hwc_layer = hwc_session->hwc_display_[display]->GetHWCLayer(layer); in CallLayerFunction()
123 if (hwc_session->hwc_display_[display]->GetGeometryChanges()) { in CallLayerFunction()
124 hwc_session->hwc_display_[display]->ResetValidation(); in CallLayerFunction()
/hardware/qcom/sm7250/display/composer/
Dpixel-display.cpp29 void DisplayInit(sdm::HWCSession *hwc_session) { in DisplayInit() argument
33 ndk::SharedRefBase::make<Display>(hwc_session); in DisplayInit()
51 Display::Display(HWCSession *hwc_session):mHWCSession(hwc_session) { in Display() argument
Dpixel-display.h34 Display(HWCSession *hwc_session);
Dhwc_session.h322 explicit CWB(HWCSession *hwc_session) : hwc_session_(hwc_session) { } in CWB() argument
353 HWCSession *hwc_session);
Dhwc_session.cpp56 extern void DisplayInit(sdm::HWCSession *hwc_session);
151 static HWCSession *hwc_session = new HWCSession(); in GetInstance() local
152 return hwc_session; in GetInstance()
/hardware/qcom/display/msm8998/sdm/libs/hwc2/
Dhwc_session.h55 HWCSession *hwc_session = static_cast<HWCSession *>(device); in CallDisplayFunction() local
57 if (display < HWC_NUM_DISPLAY_TYPES && hwc_session->hwc_display_[display]) { in CallDisplayFunction()
58 auto hwc_display = hwc_session->hwc_display_[display]; in CallDisplayFunction()
72 HWCSession *hwc_session = static_cast<HWCSession *>(device); in CallLayerFunction() local
74 if (display < HWC_NUM_DISPLAY_TYPES && hwc_session->hwc_display_[display]) { in CallLayerFunction()
76 auto hwc_layer = hwc_session->hwc_display_[display]->GetHWCLayer(layer); in CallLayerFunction()
79 if (hwc_session->hwc_display_[display]->geometry_changes_) { in CallLayerFunction()
80 hwc_session->hwc_display_[display]->validated_ = false; in CallLayerFunction()
Dhwc_session.cpp186 HWCSession *hwc_session = new HWCSession(module); in Open() local
187 if (!hwc_session) { in Open()
191 int status = hwc_session->Init(); in Open()
196 hwc2_device_t *composer_device = hwc_session; in Open()
211 HWCSession *hwc_session = static_cast<HWCSession *>(composer_device); in Close() local
213 hwc_session->Deinit(); in Close()
260 HWCSession *hwc_session = static_cast<HWCSession *>(device); in CreateVirtualDisplay() local
261 auto status = hwc_session->CreateVirtualDisplayObject(width, height, format); in CreateVirtualDisplay()
285 auto *hwc_session = static_cast<HWCSession *>(device); in DestroyVirtualDisplay() local
287 if (display < HWC_NUM_DISPLAY_TYPES && hwc_session->hwc_display_[display]) { in DestroyVirtualDisplay()
[all …]
/hardware/qcom/display/msm8909w_3100/sdm/libs/hwc2/
Dhwc_session.cpp250 HWCSession *hwc_session = new HWCSession(module); in Open() local
251 if (!hwc_session) { in Open()
255 int status = hwc_session->Init(); in Open()
260 hwc2_device_t *composer_device = hwc_session; in Open()
275 HWCSession *hwc_session = static_cast<HWCSession *>(composer_device); in Close() local
277 hwc_session->Deinit(); in Close()
346 HWCSession *hwc_session = static_cast<HWCSession *>(device); in CreateVirtualDisplay() local
347 auto status = hwc_session->CreateVirtualDisplayObject(width, height, format); in CreateVirtualDisplay()
374 auto *hwc_session = static_cast<HWCSession *>(device); in DestroyVirtualDisplay() local
376 if (hwc_session->hwc_display_[display]) { in DestroyVirtualDisplay()
[all …]
Dhwc_session.h88 HWCSession *hwc_session = static_cast<HWCSession *>(device); in CallDisplayFunction() local
90 if (hwc_session->hwc_display_[display]) { in CallDisplayFunction()
91 auto hwc_display = hwc_session->hwc_display_[display]; in CallDisplayFunction()
105 HWCSession *hwc_session = static_cast<HWCSession *>(device); in CallLayerFunction() local
107 if (hwc_session->hwc_display_[display]) { in CallLayerFunction()
109 auto hwc_layer = hwc_session->hwc_display_[display]->GetHWCLayer(layer); in CallLayerFunction()
112 if (hwc_session->hwc_display_[display]->GetGeometryChanges()) { in CallLayerFunction()
113 hwc_session->hwc_display_[display]->ResetValidation(); in CallLayerFunction()
/hardware/qcom/display/msm8996/sdm/libs/hwc2/
Dhwc_session.cpp173 HWCSession *hwc_session = new HWCSession(module); in Open() local
174 if (!hwc_session) { in Open()
178 int status = hwc_session->Init(); in Open()
183 hwc2_device_t *composer_device = hwc_session; in Open()
198 HWCSession *hwc_session = static_cast<HWCSession *>(composer_device); in Close() local
200 hwc_session->Deinit(); in Close()
243 HWCSession *hwc_session = static_cast<HWCSession *>(device); in CreateVirtualDisplay() local
244 auto status = hwc_session->CreateVirtualDisplayObject(width, height, format); in CreateVirtualDisplay()
268 auto *hwc_session = static_cast<HWCSession *>(device); in DestroyVirtualDisplay() local
270 if (display < HWC_NUM_DISPLAY_TYPES && hwc_session->hwc_display_[display]) { in DestroyVirtualDisplay()
[all …]
/hardware/qcom/sdm845/display/sdm/libs/hwc2/
Dhwc_session.h110 HWCSession *hwc_session = static_cast<HWCSession *>(device); in CallDisplayFunction() local
112 if (hwc_session->hwc_display_[display]) { in CallDisplayFunction()
113 auto hwc_display = hwc_session->hwc_display_[display]; in CallDisplayFunction()
132 HWCSession *hwc_session = static_cast<HWCSession *>(device); in CallLayerFunction() local
134 if (hwc_session->hwc_display_[display]) { in CallLayerFunction()
136 auto hwc_layer = hwc_session->hwc_display_[display]->GetHWCLayer(layer); in CallLayerFunction()
139 if (hwc_session->hwc_display_[display]->GetGeometryChanges()) { in CallLayerFunction()
140 hwc_session->hwc_display_[display]->ResetValidation(); in CallLayerFunction()