Home
last modified time | relevance | path

Searched refs:displays (Results 1 – 25 of 41) sorted by relevance

12

/hardware/qcom/display/msm8909/sdm/libs/hwc2/
Dhwcomposer.cpp53 std::map<hwc2_display_t, DummyDisplay> displays; variable
190 displays.emplace(std::piecewise_construct, std::forward_as_tuple(id), in Hwc2ImplCreateVirtualDisplay()
202 auto iter = displays.find(display); in Hwc2ImplDestroyVirtualDisplay()
204 if (iter == displays.end()) { in Hwc2ImplDestroyVirtualDisplay()
216 displays.erase(iter); in Hwc2ImplDestroyVirtualDisplay()
243 for (const auto& disp : displays) { in Hwc2ImplRegisterCallback()
262 if (displays.find(display) == displays.end()) { in Hwc2ImplAcceptDisplayChanges()
271 auto iter = displays.find(display); in Hwc2ImplCreateLayer()
273 if (iter == displays.end()) { in Hwc2ImplCreateLayer()
284 auto iter = displays.find(display); in Hwc2ImplDestroyLayer()
[all …]
/hardware/libhardware/modules/hwcomposer/
Dhwcomposer.cpp74 size_t /*numDisplays*/, hwc_display_contents_1_t** displays) { in hwc_prepare() argument
75 if (displays && (displays[0]->flags & HWC_GEOMETRY_CHANGED)) { in hwc_prepare()
76 for (size_t i=0 ; i<displays[0]->numHwLayers ; i++) { in hwc_prepare()
78 displays[0]->hwLayers[i].compositionType = HWC_FRAMEBUFFER; in hwc_prepare()
85 size_t /*numDisplays*/, hwc_display_contents_1_t** displays) in hwc_set() argument
91 EGLBoolean success = eglSwapBuffers((EGLDisplay)displays[0]->dpy, in hwc_set()
92 (EGLSurface)displays[0]->sur); in hwc_set()
/hardware/ti/am57x/libhwcomposer/
Dhwc.cpp56 if (disp < 0 || disp >= MAX_DISPLAYS || !hwc_dev->displays[disp]) in is_valid_display()
154 if (hwc_dev->displays[HWC_DISPLAY_PRIMARY]) { in init_primary_display()
162 hwc_dev->displays[HWC_DISPLAY_PRIMARY] = display; in init_primary_display()
207 if (hwc_dev->displays[HWC_DISPLAY_EXTERNAL]) { in add_external_hdmi_display()
228 hwc_dev->displays[HWC_DISPLAY_EXTERNAL] = display; in add_external_hdmi_display()
253 HWCDisplay* display = hwc_dev->displays[HWC_DISPLAY_EXTERNAL]; in remove_external_hdmi_display()
259 delete hwc_dev->displays[HWC_DISPLAY_EXTERNAL]; in remove_external_hdmi_display()
260 hwc_dev->displays[HWC_DISPLAY_EXTERNAL] = NULL; in remove_external_hdmi_display()
425 HWCDisplay* display = hwc_dev->displays[disp]; in hwc_prepare_for_display()
441 …prepare(struct hwc_composer_device_1* dev, size_t numDisplays, hwc_display_contents_1_t** displays) in hwc_prepare() argument
[all …]
Dhwc_dev.h47 HWCDisplay* displays[MAX_DISPLAYS]; member
/hardware/qcom/display/msm8084/libhwcomposer/
Dhwc.cpp105 hwc_display_contents_1_t** displays) { in setPaddingRound() argument
108 hwc_display_contents_1_t *list = displays[i]; in setPaddingRound()
130 hwc_display_contents_1_t** displays) { in setDMAState() argument
136 hwc_display_contents_1_t *list = displays[dpy]; in setDMAState()
182 hwc_display_contents_1_t** displays) { in setNumActiveDisplays() argument
186 hwc_display_contents_1_t *list = displays[i]; in setNumActiveDisplays()
200 hwc_display_contents_1_t** displays) { in reset() argument
204 hwc_display_contents_1_t *list = displays[i]; in reset()
230 ctx->mHWCVirtual->destroy(ctx, numDisplays, displays); in reset()
337 hwc_display_contents_1_t** displays) in hwc_prepare() argument
[all …]
Dhwc_virtual.h42 hwc_display_contents_1_t** displays) = 0;
64 hwc_display_contents_1_t** displays);
/hardware/qcom/display/msm8226/libhwcomposer/
Dhwc.cpp115 hwc_display_contents_1_t** displays) { in setPaddingRound() argument
118 hwc_display_contents_1_t *list = displays[i]; in setPaddingRound()
140 hwc_display_contents_1_t** displays) { in setDMAState() argument
146 hwc_display_contents_1_t *list = displays[dpy]; in setDMAState()
192 hwc_display_contents_1_t** displays) { in setNumActiveDisplays() argument
196 hwc_display_contents_1_t *list = displays[i]; in setNumActiveDisplays()
210 hwc_display_contents_1_t** displays) { in reset() argument
214 hwc_display_contents_1_t *list = displays[i]; in reset()
239 ctx->mHWCVirtual->destroy(ctx, numDisplays, displays); in reset()
336 hwc_display_contents_1_t** displays) in hwc_prepare() argument
[all …]
Dhwc_virtual.h42 hwc_display_contents_1_t** displays) = 0;
64 hwc_display_contents_1_t** displays);
/hardware/qcom/display/msm8994/libhwcomposer/
Dhwc.cpp94 hwc_display_contents_1_t** displays) { in setPaddingRound() argument
97 hwc_display_contents_1_t *list = displays[i]; in setPaddingRound()
119 hwc_display_contents_1_t** displays) { in setDMAState() argument
126 hwc_display_contents_1_t *list = displays[dpy]; in setDMAState()
174 hwc_display_contents_1_t** displays) { in setNumActiveDisplays() argument
178 hwc_display_contents_1_t *list = displays[i]; in setNumActiveDisplays()
198 hwc_display_contents_1_t** displays) { in reset() argument
202 hwc_display_contents_1_t *list = displays[i]; in reset()
370 hwc_display_contents_1_t** displays) in hwc_prepare() argument
382 setPaddingRound(ctx, (int)numDisplays, displays); in hwc_prepare()
[all …]
Dhwc_virtual.h45 hwc_display_contents_1_t** displays);
Dhwc_virtual.cpp53 hwc_display_contents_1_t** displays) { in destroy() argument
57 if(ctx->dpyAttr[dpy].connected && (displays[dpy] == NULL)) { in destroy()
/hardware/qcom/display/msm8996/sdm/libs/hwc/
Dhwc_session.h59 hwc_display_contents_1_t **displays);
61 hwc_display_contents_1_t **displays);
86 void HandleSecureDisplaySession(hwc_display_contents_1_t **displays);
Dhwc_color_manager.h119 bool SolidFillLayersPrepare(hwc_display_contents_1_t **displays, HWCDisplay *hwc_display);
120 bool SolidFillLayersSet(hwc_display_contents_1_t **displays, HWCDisplay *hwc_display);
Dhwc_session.cpp251 hwc_display_contents_1_t **displays) { in Prepare() argument
254 if (!device || !displays || num_displays > HWC_NUM_DISPLAY_TYPES) { in Prepare()
277 hwc_session->HandleSecureDisplaySession(displays); in Prepare()
282 int ret = hwc_session->color_mgr_->SolidFillLayersPrepare(displays, primary_display); in Prepare()
289 hwc_display_contents_1_t *content_list = displays[dpy]; in Prepare()
354 hwc_display_contents_1_t **displays) { in Set() argument
359 if (!device || !displays || num_displays > HWC_NUM_DISPLAY_TYPES) { in Set()
368 int ret = hwc_session->color_mgr_->SolidFillLayersSet(displays, primary_display); in Set()
375 hwc_display_contents_1_t *content_list = displays[dpy]; in Set()
395 hwc_display_contents_1_t *content_list = displays[HWC_DISPLAY_PRIMARY]; in Set()
[all …]
Dhwc_color_manager.cpp169 bool HWCColorManager::SolidFillLayersPrepare(hwc_display_contents_1_t **displays, in SolidFillLayersPrepare() argument
175 hwc_display_contents_1_t *layer_list = displays[HWC_DISPLAY_PRIMARY]; in SolidFillLayersPrepare()
199 bool HWCColorManager::SolidFillLayersSet(hwc_display_contents_1_t **displays, in SolidFillLayersSet() argument
203 hwc_display_contents_1_t *layer_list = displays[HWC_DISPLAY_PRIMARY]; in SolidFillLayersSet()
/hardware/qcom/display/msm8960/libhwcomposer/
Dhwc.cpp87 hwc_display_contents_1_t** displays) { in reset() argument
89 hwc_display_contents_1_t *list = displays[i]; in reset()
208 hwc_display_contents_1_t** displays) in hwc_prepare() argument
213 reset(ctx, numDisplays, displays); in hwc_prepare()
220 hwc_display_contents_1_t *list = displays[i]; in hwc_prepare()
460 hwc_display_contents_1_t** displays) in hwc_set() argument
466 hwc_display_contents_1_t* list = displays[i]; in hwc_set()
/hardware/qcom/display/msm8909w_3100/sdm/libs/hwc/
Dhwc_session.h60 hwc_display_contents_1_t **displays);
62 hwc_display_contents_1_t **displays);
87 void HandleSecureDisplaySession(hwc_display_contents_1_t **displays);
Dhwc_color_manager.h119 bool SolidFillLayersPrepare(hwc_display_contents_1_t **displays, HWCDisplay *hwc_display);
120 bool SolidFillLayersSet(hwc_display_contents_1_t **displays, HWCDisplay *hwc_display);
Dhwc_session.cpp269 hwc_display_contents_1_t **displays) { in Prepare() argument
272 if (!device || !displays || num_displays > HWC_NUM_DISPLAY_TYPES) { in Prepare()
296 hwc_session->HandleSecureDisplaySession(displays); in Prepare()
301 int ret = hwc_session->color_mgr_->SolidFillLayersPrepare(displays, primary_display); in Prepare()
308 hwc_display_contents_1_t *content_list = displays[dpy]; in Prepare()
373 hwc_display_contents_1_t **displays) { in Set() argument
378 if (!device || !displays || num_displays > HWC_NUM_DISPLAY_TYPES) { in Set()
387 int ret = hwc_session->color_mgr_->SolidFillLayersSet(displays, primary_display); in Set()
395 hwc_display_contents_1_t *content_list = displays[dpy]; in Set()
415 hwc_display_contents_1_t *content_list = displays[HWC_DISPLAY_PRIMARY]; in Set()
[all …]
Dhwc_color_manager.cpp169 bool HWCColorManager::SolidFillLayersPrepare(hwc_display_contents_1_t **displays, in SolidFillLayersPrepare() argument
175 hwc_display_contents_1_t *layer_list = displays[HWC_DISPLAY_PRIMARY]; in SolidFillLayersPrepare()
199 bool HWCColorManager::SolidFillLayersSet(hwc_display_contents_1_t **displays, in SolidFillLayersSet() argument
203 hwc_display_contents_1_t *layer_list = displays[HWC_DISPLAY_PRIMARY]; in SolidFillLayersSet()
/hardware/qcom/display/msm8909/sdm/libs/hwc/
Dhwc_session.h60 hwc_display_contents_1_t **displays);
62 hwc_display_contents_1_t **displays);
87 void HandleSecureDisplaySession(hwc_display_contents_1_t **displays);
Dhwc_color_manager.h119 bool SolidFillLayersPrepare(hwc_display_contents_1_t **displays, HWCDisplay *hwc_display);
120 bool SolidFillLayersSet(hwc_display_contents_1_t **displays, HWCDisplay *hwc_display);
Dhwc_session.cpp269 hwc_display_contents_1_t **displays) { in Prepare() argument
272 if (!device || !displays || num_displays > HWC_NUM_DISPLAY_TYPES) { in Prepare()
296 hwc_session->HandleSecureDisplaySession(displays); in Prepare()
301 int ret = hwc_session->color_mgr_->SolidFillLayersPrepare(displays, primary_display); in Prepare()
308 hwc_display_contents_1_t *content_list = displays[dpy]; in Prepare()
373 hwc_display_contents_1_t **displays) { in Set() argument
378 if (!device || !displays || num_displays > HWC_NUM_DISPLAY_TYPES) { in Set()
387 int ret = hwc_session->color_mgr_->SolidFillLayersSet(displays, primary_display); in Set()
395 hwc_display_contents_1_t *content_list = displays[dpy]; in Set()
415 hwc_display_contents_1_t *content_list = displays[HWC_DISPLAY_PRIMARY]; in Set()
[all …]
Dhwc_color_manager.cpp169 bool HWCColorManager::SolidFillLayersPrepare(hwc_display_contents_1_t **displays, in SolidFillLayersPrepare() argument
175 hwc_display_contents_1_t *layer_list = displays[HWC_DISPLAY_PRIMARY]; in SolidFillLayersPrepare()
199 bool HWCColorManager::SolidFillLayersSet(hwc_display_contents_1_t **displays, in SolidFillLayersSet() argument
203 hwc_display_contents_1_t *layer_list = displays[HWC_DISPLAY_PRIMARY]; in SolidFillLayersSet()
/hardware/libhardware/include/hardware/
Dhwcomposer.h529 size_t numDisplays, hwc_display_contents_1_t** displays);
574 size_t numDisplays, hwc_display_contents_1_t** displays);

12