Home
last modified time | relevance | path

Searched refs:hwc_session (Results 1 – 15 of 15) 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/display/msm8909w_3100/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/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/sm8150/display/sdm/libs/hwc2/
Dhwc_session.cpp404 HWCSession *hwc_session = new HWCSession(module); in Open() local
405 if (!hwc_session) { in Open()
409 int status = hwc_session->Init(); in Open()
411 delete hwc_session; in Open()
412 hwc_session = NULL; in Open()
416 hwc2_device_t *composer_device = hwc_session; in Open()
429 HWCSession *hwc_session = static_cast<HWCSession *>(composer_device); in Close() local
431 hwc_session->Deinit(); in Close()
460 HWCSession *hwc_session = static_cast<HWCSession *>(device); in GetDisplayBrightnessSupport() local
461 *out_support = display == HWC_DISPLAY_PRIMARY && hwc_session->brightness_fd_ != -1; in GetDisplayBrightnessSupport()
[all …]
Dhwc_session.h147 HWCSession *hwc_session = static_cast<HWCSession *>(device); in CallDisplayFunction() local
149 if (hwc_session->hwc_display_[display]) { in CallDisplayFunction()
150 auto hwc_display = hwc_session->hwc_display_[display]; in CallDisplayFunction()
169 HWCSession *hwc_session = static_cast<HWCSession *>(device); in CallLayerFunction() local
171 if (hwc_session->hwc_display_[display]) { in CallLayerFunction()
173 auto hwc_layer = hwc_session->hwc_display_[display]->GetHWCLayer(layer); in CallLayerFunction()
176 if (hwc_session->hwc_display_[display]->GetGeometryChanges()) { in CallLayerFunction()
177 hwc_session->hwc_display_[display]->ResetValidation(); in CallLayerFunction()
/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/sdm845/display/sdm/libs/hwc2/
Dhwc_session.cpp270 HWCSession *hwc_session = new HWCSession(module); in Open() local
271 if (!hwc_session) { in Open()
275 int status = hwc_session->Init(); in Open()
277 delete hwc_session; in Open()
278 hwc_session = NULL; in Open()
282 hwc2_device_t *composer_device = hwc_session; in Open()
295 HWCSession *hwc_session = static_cast<HWCSession *>(composer_device); in Close() local
297 hwc_session->Deinit(); in Close()
326 HWCSession *hwc_session = static_cast<HWCSession *>(device); in GetDisplayBrightnessSupport() local
327 *out_support = display == HWC_DISPLAY_PRIMARY && hwc_session->brightness_fd_ != -1; in GetDisplayBrightnessSupport()
[all …]
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()
/hardware/qcom/display/msm8996/sdm/libs/hwc2/
Dhwc_session.h54 HWCSession *hwc_session = static_cast<HWCSession *>(device); in CallDisplayFunction() local
56 if (display < HWC_NUM_DISPLAY_TYPES && hwc_session->hwc_display_[display]) { in CallDisplayFunction()
57 auto hwc_display = hwc_session->hwc_display_[display]; in CallDisplayFunction()
71 HWCSession *hwc_session = static_cast<HWCSession *>(device); in CallLayerFunction() local
73 if (display < HWC_NUM_DISPLAY_TYPES && hwc_session->hwc_display_[display]) { in CallLayerFunction()
75 auto hwc_layer = hwc_session->hwc_display_[display]->GetHWCLayer(layer); in CallLayerFunction()
78 if (hwc_session->hwc_display_[display]->geometry_changes_) { in CallLayerFunction()
79 hwc_session->hwc_display_[display]->validated_ = false; in CallLayerFunction()
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/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 …]