Home
last modified time | relevance | path

Searched refs:num_displays (Results 1 – 11 of 11) sorted by relevance

/hardware/qcom/display/msm8226/libhwcomposer/
Dhwc_vsync.cpp103 int num_displays = HWC_NUM_DISPLAY_TYPES - 1; in vsync_loop() local
104 struct pollfd pfd[num_displays][num_events]; in vsync_loop()
117 for (int dpy = HWC_DISPLAY_PRIMARY; dpy < num_displays; dpy++) { in vsync_loop()
151 int err = poll(*pfd, (int)(num_displays * num_events), -1); in vsync_loop()
153 for (int dpy = HWC_DISPLAY_PRIMARY; dpy < num_displays; dpy++) { in vsync_loop()
/hardware/qcom/display/msm8084/libhwcomposer/
Dhwc_vsync.cpp113 int num_displays = HWC_NUM_DISPLAY_TYPES - 1; in vsync_loop() local
114 struct pollfd pfd[num_displays][num_events]; in vsync_loop()
129 for (int dpy = HWC_DISPLAY_PRIMARY; dpy < num_displays; dpy++) { in vsync_loop()
163 int err = poll(*pfd, num_displays * num_events, -1); in vsync_loop()
165 for (int dpy = HWC_DISPLAY_PRIMARY; dpy < num_displays; dpy++) { in vsync_loop()
/hardware/qcom/display/msm8994/libhwcomposer/
Dhwc_vsync.cpp122 int num_displays = HWC_NUM_DISPLAY_TYPES - 1; in vsync_loop() local
123 struct pollfd pfd[num_displays][num_events]; in vsync_loop()
133 for (int dpy = HWC_DISPLAY_PRIMARY; dpy < num_displays; dpy++) { in vsync_loop()
167 int err = poll(*pfd, (int)(num_displays * num_events), -1); in vsync_loop()
169 for (int dpy = HWC_DISPLAY_PRIMARY; dpy < num_displays; dpy++) { in vsync_loop()
/hardware/google/graphics/common/libhwc2.1/libdrmresource/drm/
Ddrmdevice.cpp49 std::tuple<int, int> DrmDevice::Init(const char *path, int num_displays) { in Init() argument
180 conn->set_display(num_displays); in Init()
181 displays_[num_displays] = num_displays; in Init()
182 ++num_displays; in Init()
189 conn->set_display(num_displays); in Init()
190 displays_[num_displays] = num_displays; in Init()
191 ++num_displays; in Init()
/hardware/qcom/display/msm8996/sdm/libs/hwc/
Dhwc_session.h58 static int Prepare(hwc_composer_device_1 *device, size_t num_displays,
60 static int Set(hwc_composer_device_1 *device, size_t num_displays,
Dhwc_session.cpp250 int HWCSession::Prepare(hwc_composer_device_1 *device, size_t num_displays, in Prepare() argument
254 if (!device || !displays || num_displays > HWC_NUM_DISPLAY_TYPES) { in Prepare()
288 for (ssize_t dpy = static_cast<ssize_t>(num_displays - 1); dpy >= 0; dpy--) { in Prepare()
353 int HWCSession::Set(hwc_composer_device_1 *device, size_t num_displays, in Set() argument
359 if (!device || !displays || num_displays > HWC_NUM_DISPLAY_TYPES) { in Set()
374 for (size_t dpy = 0; dpy < num_displays; dpy++) { in Set()
/hardware/qcom/display/msm8909w_3100/sdm/libs/hwc/
Dhwc_session.h59 static int Prepare(hwc_composer_device_1 *device, size_t num_displays,
61 static int Set(hwc_composer_device_1 *device, size_t num_displays,
Dhwc_session.cpp268 int HWCSession::Prepare(hwc_composer_device_1 *device, size_t num_displays, in Prepare() argument
272 if (!device || !displays || num_displays > HWC_NUM_DISPLAY_TYPES) { in Prepare()
307 for (ssize_t dpy = static_cast<ssize_t>(num_displays - 1); dpy >= 0; dpy--) { in Prepare()
372 int HWCSession::Set(hwc_composer_device_1 *device, size_t num_displays, in Set() argument
378 if (!device || !displays || num_displays > HWC_NUM_DISPLAY_TYPES) { in Set()
394 for (size_t dpy = 0; dpy < num_displays; dpy++) { in Set()
/hardware/qcom/display/msm8909/sdm/libs/hwc/
Dhwc_session.h59 static int Prepare(hwc_composer_device_1 *device, size_t num_displays,
61 static int Set(hwc_composer_device_1 *device, size_t num_displays,
Dhwc_session.cpp268 int HWCSession::Prepare(hwc_composer_device_1 *device, size_t num_displays, in Prepare() argument
272 if (!device || !displays || num_displays > HWC_NUM_DISPLAY_TYPES) { in Prepare()
307 for (ssize_t dpy = static_cast<ssize_t>(num_displays - 1); dpy >= 0; dpy--) { in Prepare()
372 int HWCSession::Set(hwc_composer_device_1 *device, size_t num_displays, in Set() argument
378 if (!device || !displays || num_displays > HWC_NUM_DISPLAY_TYPES) { in Set()
394 for (size_t dpy = 0; dpy < num_displays; dpy++) { in Set()
/hardware/google/graphics/common/libhwc2.1/libdrmresource/include/
Ddrmdevice.h37 std::tuple<int, int> Init(const char *path, int num_displays);