Home
last modified time | relevance | path

Searched refs:dpyAttr (Results 1 – 8 of 8) sorted by relevance

/hardware/qcom/display/libhwcomposer/
Dhwc_uevents.cpp99 ctx->dpyAttr[HWC_DISPLAY_EXTERNAL].isActive = false; in handle_uevent()
102 ctx->dpyAttr[HWC_DISPLAY_VIRTUAL].isActive = true; in handle_uevent()
130 ctx->dpyAttr[dpy].connected = false; in handle_uevent()
141 IFBUpdate::getObject(ctx->dpyAttr[dpy].xres, dpy); in handle_uevent()
142 ctx->dpyAttr[dpy].isPause = false; in handle_uevent()
146 ctx->dpyAttr[dpy].xres, dpy); in handle_uevent()
149 ctx->dpyAttr[dpy].connected = true; in handle_uevent()
160 ctx->dpyAttr[dpy].isActive = true; in handle_uevent()
161 ctx->dpyAttr[dpy].isPause = true; in handle_uevent()
167 ctx->dpyAttr[dpy].isActive = true; in handle_uevent()
[all …]
Dhwc.cpp121 int fbFd = ctx->dpyAttr[dpy].fd; in display_commit()
144 ctx->dpyAttr[dpy].isActive) { in hwc_prepare_primary()
171 ctx->dpyAttr[dpy].isActive && in hwc_prepare_external()
172 ctx->dpyAttr[dpy].connected) { in hwc_prepare_external()
176 if(!ctx->dpyAttr[dpy].isPause) { in hwc_prepare_external()
249 if(!ctx->dpyAttr[dpy].isActive) { in hwc_eventControl()
291 ret = ioctl(ctx->dpyAttr[dpy].fd, FBIOBLANK, in hwc_blank()
294 ret = ioctl(ctx->dpyAttr[dpy].fd, FBIOBLANK,FB_BLANK_UNBLANK); in hwc_blank()
317 ctx->dpyAttr[dpy].isActive = !blank; in hwc_blank()
358 if (LIKELY(list) && ctx->dpyAttr[dpy].isActive) { in hwc_set_primary()
[all …]
Dhwc_utils.cpp90 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].fd = fb_fd; in openFramebufferDevice()
92 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].stride = finfo.line_length /(info.xres/8); in openFramebufferDevice()
93 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].xres = info.xres; in openFramebufferDevice()
94 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].yres = info.yres; in openFramebufferDevice()
95 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].xdpi = xdpi; in openFramebufferDevice()
96 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].ydpi = ydpi; in openFramebufferDevice()
97 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].vsync_period = 1000000000l / fps; in openFramebufferDevice()
104 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].isActive = true; in openFramebufferDevice()
129 IFBUpdate::getObject(ctx->dpyAttr[HWC_DISPLAY_PRIMARY].xres, in initContext()
150 MDPComp::getObject(ctx->dpyAttr[HWC_DISPLAY_PRIMARY].xres, in initContext()
[all …]
Dhwc_mdpcomp.cpp165 int fb_stride = ctx->dpyAttr[dpy].stride; in setupBasePipe()
166 int fb_width = ctx->dpyAttr[dpy].xres; in setupBasePipe()
167 int fb_height = ctx->dpyAttr[dpy].yres; in setupBasePipe()
168 int fb_fd = ctx->dpyAttr[dpy].fd; in setupBasePipe()
270 int hw_w = ctx->dpyAttr[mDpy].xres; in isValidDimension()
271 int hw_h = ctx->dpyAttr[mDpy].yres; in isValidDimension()
938 int hw_w = ctx->dpyAttr[mDpy].xres; in pipesNeeded()
959 int hw_w = ctx->dpyAttr[mDpy].xres; in acquireMDPPipes()
Dhwc_vsync.cpp40 ioctl(ctx->dpyAttr[dpy].fd, MSMFB_OVERLAY_VSYNC_CTRL, in hwc_vsync_control()
Dhwc_copybit.cpp99 int fbWidth = ctx->dpyAttr[dpy].xres; in canUseCopybitForRGB()
100 int fbHeight = ctx->dpyAttr[dpy].yres; in canUseCopybitForRGB()
Dhwc_utils.h290 qhwc::DisplayAttributes dpyAttr[MAX_DISPLAYS]; member
/hardware/qcom/display/libexternal/
Dexternal.cpp450 mHwcContext->dpyAttr[mExtDpyNum].fd = mFd; in openFrameBuffer()
464 mHwcContext->dpyAttr[mExtDpyNum].fd = mFd; in closeFrameBuffer()
648 mHwcContext->dpyAttr[mExtDpyNum].connected = connected; in setExternalDisplay()
692 mHwcContext->dpyAttr[mExtDpyNum].xres = mVInfo.xres; in setDpyWfdAttr()
693 mHwcContext->dpyAttr[mExtDpyNum].yres = mVInfo.yres; in setDpyWfdAttr()
694 mHwcContext->dpyAttr[mExtDpyNum].vsync_period = in setDpyWfdAttr()
705 mHwcContext->dpyAttr[HWC_DISPLAY_EXTERNAL].xres = width; in setDpyHdmiAttr()
706 mHwcContext->dpyAttr[HWC_DISPLAY_EXTERNAL].yres = height; in setDpyHdmiAttr()
707 mHwcContext->dpyAttr[HWC_DISPLAY_EXTERNAL].vsync_period = in setDpyHdmiAttr()