/hardware/qcom/display/msm8084/libhwcomposer/ |
D | hwc_virtual.cpp | 68 if(ctx->dpyAttr[dpy].connected && (displays[dpy] == NULL)) { in destroy() 69 ctx->dpyAttr[dpy].connected = false; in destroy() 70 ctx->dpyAttr[dpy].isPause = false; in destroy() 104 ctx->dpyAttr[dpy].xres = fbWidth; in prepare() 105 ctx->dpyAttr[dpy].yres = fbHeight; in prepare() 107 if(ctx->dpyAttr[dpy].connected == false) { in prepare() 108 ctx->dpyAttr[dpy].connected = true; in prepare() 109 ctx->dpyAttr[dpy].isPause = false; in prepare() 112 ctx->dpyAttr[dpy].vsync_period in prepare() 113 = ctx->dpyAttr[HWC_DISPLAY_PRIMARY].vsync_period; in prepare() [all …]
|
D | hwc_uevents.cpp | 123 ctx->dpyAttr[HWC_DISPLAY_VIRTUAL].connected = false; in teardownWfd() 124 ctx->dpyAttr[HWC_DISPLAY_VIRTUAL].isActive = false; in teardownWfd() 174 if(!ctx->dpyAttr[dpy].connected){ in handle_uevent() 182 ctx->dpyAttr[dpy].connected = false; in handle_uevent() 183 ctx->dpyAttr[dpy].isActive = false; in handle_uevent() 200 ctx->mQService->onHdmiHotplug((int)ctx->dpyAttr[dpy].connected); in handle_uevent() 207 if(ctx->dpyAttr[dpy].connected) { in handle_uevent() 222 ctx->dpyAttr[dpy].isConfiguring = true; in handle_uevent() 226 usleep(ctx->dpyAttr[HWC_DISPLAY_PRIMARY].vsync_period in handle_uevent() 230 if(ctx->dpyAttr[HWC_DISPLAY_VIRTUAL].connected) { in handle_uevent() [all …]
|
D | hwc.cpp | 239 uint32_t origXres = ctx->dpyAttr[dpy].xres_orig; in scaleDisplayFrame() 240 uint32_t origYres = ctx->dpyAttr[dpy].yres_orig; in scaleDisplayFrame() 241 uint32_t fakeXres = ctx->dpyAttr[dpy].xres; in scaleDisplayFrame() 242 uint32_t fakeYres = ctx->dpyAttr[dpy].yres; in scaleDisplayFrame() 274 ctx->dpyAttr[dpy].isActive) { in hwc_prepare_primary() 276 if (ctx->dpyAttr[dpy].customFBSize) in hwc_prepare_primary() 308 ctx->dpyAttr[dpy].isActive && in hwc_prepare_external() 309 ctx->dpyAttr[dpy].connected) { in hwc_prepare_external() 311 if(!ctx->dpyAttr[dpy].isPause) { in hwc_prepare_external() 312 ctx->dpyAttr[dpy].isConfiguring = false; in hwc_prepare_external() [all …]
|
D | hwc_qclient.cpp | 103 connected = ctx->dpyAttr[HWC_DISPLAY_EXTERNAL].connected ? 1 : 0; in isExternalConnected() 110 outParcel->writeInt32(ctx->dpyAttr[dpy].vsync_period); in getDisplayAttributes() 111 outParcel->writeInt32(ctx->dpyAttr[dpy].xres); in getDisplayAttributes() 112 outParcel->writeInt32(ctx->dpyAttr[dpy].yres); in getDisplayAttributes() 113 outParcel->writeFloat(ctx->dpyAttr[dpy].xdpi); in getDisplayAttributes() 114 outParcel->writeFloat(ctx->dpyAttr[dpy].ydpi); in getDisplayAttributes() 142 outParcel->writeInt32(ctx->dpyAttr[dpy].mDstRect.left); in getDisplayVisibleRegion() 143 outParcel->writeInt32(ctx->dpyAttr[dpy].mDstRect.top); in getDisplayVisibleRegion() 144 outParcel->writeInt32(ctx->dpyAttr[dpy].mDstRect.right); in getDisplayVisibleRegion() 145 outParcel->writeInt32(ctx->dpyAttr[dpy].mDstRect.bottom); in getDisplayVisibleRegion()
|
D | hwc_utils.cpp | 87 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].xres_orig = xres_orig; in changeResolution() 88 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].yres_orig = yres_orig; in changeResolution() 89 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].customFBSize = false; in changeResolution() 99 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].xres = xres; in changeResolution() 100 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].yres = yres; in changeResolution() 101 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].customFBSize = true; in changeResolution() 160 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].fd = fb_fd; in openFramebufferDevice() 162 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].stride = finfo.line_length /(info.xres/8); in openFramebufferDevice() 163 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].xres = info.xres; in openFramebufferDevice() 164 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].yres = info.yres; in openFramebufferDevice() [all …]
|
/hardware/qcom/display/msm8226/libhwcomposer/ |
D | hwc_virtual.cpp | 79 if(ctx->dpyAttr[dpy].connected && (displays[dpy] == NULL)) { in destroy() 80 ctx->dpyAttr[dpy].connected = false; in destroy() 81 ctx->dpyAttr[dpy].isPause = false; in destroy() 115 ctx->dpyAttr[dpy].xres = fbWidth; in prepare() 116 ctx->dpyAttr[dpy].yres = fbHeight; in prepare() 118 if(ctx->dpyAttr[dpy].connected == false) { in prepare() 119 ctx->dpyAttr[dpy].connected = true; in prepare() 120 ctx->dpyAttr[dpy].isPause = false; in prepare() 123 ctx->dpyAttr[dpy].vsync_period in prepare() 124 = ctx->dpyAttr[HWC_DISPLAY_PRIMARY].vsync_period; in prepare() [all …]
|
D | hwc_uevents.cpp | 123 ctx->dpyAttr[HWC_DISPLAY_VIRTUAL].connected = false; in teardownWfd() 124 ctx->dpyAttr[HWC_DISPLAY_VIRTUAL].isActive = false; in teardownWfd() 155 usleep(ctx->dpyAttr[HWC_DISPLAY_PRIMARY].vsync_period in teardownWfd() 183 if(!ctx->dpyAttr[dpy].connected){ in handle_uevent() 191 ctx->dpyAttr[dpy].connected = false; in handle_uevent() 192 ctx->dpyAttr[dpy].isActive = false; in handle_uevent() 215 if(ctx->dpyAttr[dpy].connected) { in handle_uevent() 230 ctx->dpyAttr[dpy].isConfiguring = true; in handle_uevent() 234 usleep(ctx->dpyAttr[HWC_DISPLAY_PRIMARY].vsync_period in handle_uevent() 238 if(ctx->dpyAttr[HWC_DISPLAY_VIRTUAL].connected) { in handle_uevent() [all …]
|
D | hwc.cpp | 244 uint32_t origXres = ctx->dpyAttr[dpy].xres; in scaleDisplayFrame() 245 uint32_t origYres = ctx->dpyAttr[dpy].yres; in scaleDisplayFrame() 246 uint32_t newXres = ctx->dpyAttr[dpy].xres_new; in scaleDisplayFrame() 247 uint32_t newYres = ctx->dpyAttr[dpy].yres_new; in scaleDisplayFrame() 272 ctx->dpyAttr[dpy].isActive) { in hwc_prepare_primary() 274 if (ctx->dpyAttr[dpy].customFBSize && in hwc_prepare_primary() 307 ctx->dpyAttr[dpy].isActive && in hwc_prepare_external() 308 ctx->dpyAttr[dpy].connected) { in hwc_prepare_external() 310 if(!ctx->dpyAttr[dpy].isPause) { in hwc_prepare_external() 311 ctx->dpyAttr[dpy].isConfiguring = false; in hwc_prepare_external() [all …]
|
D | hwc_qclient.cpp | 104 connected = ctx->dpyAttr[HWC_DISPLAY_EXTERNAL].connected ? 1 : 0; in isExternalConnected() 111 outParcel->writeInt32(ctx->dpyAttr[dpy].vsync_period); in getDisplayAttributes() 112 if (ctx->dpyAttr[dpy].customFBSize) { in getDisplayAttributes() 113 outParcel->writeInt32(ctx->dpyAttr[dpy].xres_new); in getDisplayAttributes() 114 outParcel->writeInt32(ctx->dpyAttr[dpy].yres_new); in getDisplayAttributes() 116 outParcel->writeInt32(ctx->dpyAttr[dpy].xres); in getDisplayAttributes() 117 outParcel->writeInt32(ctx->dpyAttr[dpy].yres); in getDisplayAttributes() 119 outParcel->writeFloat(ctx->dpyAttr[dpy].xdpi); in getDisplayAttributes() 120 outParcel->writeFloat(ctx->dpyAttr[dpy].ydpi); in getDisplayAttributes() 148 outParcel->writeInt32(ctx->dpyAttr[dpy].mDstRect.left); in getDisplayVisibleRegion() [all …]
|
D | hwc_utils.cpp | 89 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].xres_new = xres_orig; in changeResolution() 90 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].yres_new = yres_orig; in changeResolution() 91 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].customFBSize = false; in changeResolution() 100 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].xres_new = xres_new; in changeResolution() 101 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].yres_new = yres_new; in changeResolution() 102 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].customFBSize = true; in changeResolution() 107 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].xdpi = xdpi; in changeResolution() 108 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].ydpi = ydpi; in changeResolution() 167 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].fd = fb_fd; in openFramebufferDevice() 169 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].stride = finfo.line_length /(info.xres/8); in openFramebufferDevice() [all …]
|
D | hwc_fbupdate.cpp | 51 uint32_t xres = ctx->dpyAttr[mDpy].xres; in IFBUpdate() 52 uint32_t yres = ctx->dpyAttr[mDpy].yres; in IFBUpdate() 53 if (ctx->dpyAttr[dpy].customFBSize) { in IFBUpdate() 56 xres = ctx->dpyAttr[mDpy].xres_new; in IFBUpdate() 57 yres = ctx->dpyAttr[mDpy].yres_new; in IFBUpdate() 76 ctx->mOverlay->validateAndSet(mDpy, ctx->dpyAttr[mDpy].fd); in prepareAndValidate() 176 if(!ctx->dpyAttr[mDpy].customFBSize && !ctx->mBufferMirrorMode in configure() 198 && !ctx->dpyAttr[mDpy].mDownScaleMode)) in configure() 201 !ctx->dpyAttr[mDpy].customFBSize) { in configure() 209 ctx->dpyAttr[mDpy].mDstRect = displayFrame; in configure() [all …]
|
/hardware/qcom/display/msm8994/libhwcomposer/ |
D | hwc_virtual.cpp | 57 if(ctx->dpyAttr[dpy].connected && (displays[dpy] == NULL)) { in destroy() 58 ctx->dpyAttr[dpy].connected = false; in destroy() 59 ctx->dpyAttr[dpy].isPause = false; in destroy() 83 ctx->dpyAttr[dpy].xres = fbWidth; in prepare() 84 ctx->dpyAttr[dpy].yres = fbHeight; in prepare() 86 if(ctx->dpyAttr[dpy].connected == false) { in prepare() 87 ctx->dpyAttr[dpy].connected = true; in prepare() 88 ctx->dpyAttr[dpy].isPause = false; in prepare() 91 ctx->dpyAttr[dpy].vsync_period in prepare() 92 = ctx->dpyAttr[HWC_DISPLAY_PRIMARY].vsync_period; in prepare() [all …]
|
D | hwc.cpp | 231 uint32_t origXres = ctx->dpyAttr[dpy].xres; in scaleDisplayFrame() 232 uint32_t origYres = ctx->dpyAttr[dpy].yres; in scaleDisplayFrame() 233 uint32_t newXres = ctx->dpyAttr[dpy].xres_new; in scaleDisplayFrame() 234 uint32_t newYres = ctx->dpyAttr[dpy].yres_new; in scaleDisplayFrame() 288 if (LIKELY(list && list->numHwLayers > 1) && ctx->dpyAttr[dpy].connected && in hwc_prepare_primary() 289 (ctx->dpyAttr[dpy].isActive || in hwc_prepare_primary() 291 && !ctx->dpyAttr[dpy].isPause) { in hwc_prepare_primary() 295 if (!ctx->dpyAttr[dpy].isActive) { in hwc_prepare_primary() 301 if ((cableConnected == 1) && !ctx->dpyAttr[dpy].connected) { in hwc_prepare_primary() 305 ctx->dpyAttr[dpy].isActive = true; in hwc_prepare_primary() [all …]
|
D | hwc_qclient.cpp | 115 connected = ctx->dpyAttr[HWC_DISPLAY_EXTERNAL].connected ? 1 : 0; in isExternalConnected() 122 outParcel->writeInt32(ctx->dpyAttr[dpy].vsync_period); in getDisplayAttributes() 123 if (ctx->dpyAttr[dpy].customFBSize) { in getDisplayAttributes() 124 outParcel->writeInt32(ctx->dpyAttr[dpy].xres_new); in getDisplayAttributes() 125 outParcel->writeInt32(ctx->dpyAttr[dpy].yres_new); in getDisplayAttributes() 127 outParcel->writeInt32(ctx->dpyAttr[dpy].xres); in getDisplayAttributes() 128 outParcel->writeInt32(ctx->dpyAttr[dpy].yres); in getDisplayAttributes() 130 outParcel->writeFloat(ctx->dpyAttr[dpy].xdpi); in getDisplayAttributes() 131 outParcel->writeFloat(ctx->dpyAttr[dpy].ydpi); in getDisplayAttributes() 159 outParcel->writeInt32(ctx->dpyAttr[dpy].mDstRect.left); in getDisplayVisibleRegion() [all …]
|
D | hwc_utils.cpp | 98 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].xres_new = xres_orig; in changeResolution() 99 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].yres_new = yres_orig; in changeResolution() 100 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].customFBSize = false; in changeResolution() 110 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].xres_new = xres_new; in changeResolution() 111 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].yres_new = yres_new; in changeResolution() 112 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].customFBSize = true; in changeResolution() 117 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].xdpi = xdpi; in changeResolution() 118 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].ydpi = ydpi; in changeResolution() 127 ctx->dpyAttr[dpy].fd = ctx->mHDMIDisplay->getFd(); in updateDisplayInfo() 128 ctx->dpyAttr[dpy].xres = ctx->mHDMIDisplay->getWidth(); in updateDisplayInfo() [all …]
|
D | hwc_uevents.cpp | 111 if(!ctx->dpyAttr[dpy].connected){ in handle_uevent() 133 if(ctx->dpyAttr[dpy].connected) { in handle_uevent() 156 ctx->dpyAttr[dpy].isConfiguring = true; in handle_uevent() 162 usleep(ctx->dpyAttr[HWC_DISPLAY_PRIMARY].vsync_period in handle_uevent() 190 ctx->dpyAttr[dpy].isPause = false; in handle_uevent() 191 ctx->dpyAttr[dpy].connected = true; in handle_uevent() 192 ctx->dpyAttr[dpy].isConfiguring = true; in handle_uevent()
|
D | hwc_fbupdate.cpp | 49 uint32_t xres = ctx->dpyAttr[mDpy].xres; in IFBUpdate() 50 uint32_t yres = ctx->dpyAttr[mDpy].yres; in IFBUpdate() 51 if (ctx->dpyAttr[dpy].customFBSize) { in IFBUpdate() 54 xres = ctx->dpyAttr[mDpy].xres_new; in IFBUpdate() 55 yres = ctx->dpyAttr[mDpy].yres_new; in IFBUpdate() 74 ctx->mOverlay->validateAndSet(mDpy, ctx->dpyAttr[mDpy].fd); in prepareAndValidate() 170 if(!ctx->dpyAttr[mDpy].customFBSize && !ctx->mBufferMirrorMode in configure() 191 && !ctx->dpyAttr[mDpy].mMDPScalingMode)) { in configure() 193 !ctx->dpyAttr[mDpy].customFBSize) { in configure() 201 ctx->dpyAttr[mDpy].mDstRect = displayFrame; in configure() [all …]
|
/hardware/qcom/display/msm8226/libvirtual/ |
D | virtual.cpp | 84 mHwcContext->dpyAttr[HWC_DISPLAY_VIRTUAL].xres = 0; in teardown() 85 mHwcContext->dpyAttr[HWC_DISPLAY_VIRTUAL].yres = 0; in teardown() 166 mHwcContext->dpyAttr[HWC_DISPLAY_VIRTUAL].mDownScaleMode = true; in setDownScaleMode() 168 mHwcContext->dpyAttr[HWC_DISPLAY_VIRTUAL].mDownScaleMode = false; in setDownScaleMode() 174 uint32_t &extW = mHwcContext->dpyAttr[HWC_DISPLAY_VIRTUAL].xres; in setAttributes() 175 uint32_t &extH = mHwcContext->dpyAttr[HWC_DISPLAY_VIRTUAL].yres; in setAttributes() 176 uint32_t priW = mHwcContext->dpyAttr[HWC_DISPLAY_PRIMARY].xres; in setAttributes() 177 uint32_t priH = mHwcContext->dpyAttr[HWC_DISPLAY_PRIMARY].yres; in setAttributes() 201 (int)mHwcContext->dpyAttr[HWC_DISPLAY_VIRTUAL].xres; in setAttributes() 203 (int)mHwcContext->dpyAttr[HWC_DISPLAY_VIRTUAL].yres; in setAttributes() [all …]
|
/hardware/qcom/display/msm8084/libvirtual/ |
D | virtual.cpp | 84 mHwcContext->dpyAttr[HWC_DISPLAY_VIRTUAL].xres = 0; in teardown() 85 mHwcContext->dpyAttr[HWC_DISPLAY_VIRTUAL].yres = 0; in teardown() 155 mHwcContext->dpyAttr[HWC_DISPLAY_VIRTUAL].mDownScaleMode = true; in setDownScaleMode() 157 mHwcContext->dpyAttr[HWC_DISPLAY_VIRTUAL].mDownScaleMode = false; in setDownScaleMode() 163 uint32_t &extW = mHwcContext->dpyAttr[HWC_DISPLAY_VIRTUAL].xres; in setAttributes() 164 uint32_t &extH = mHwcContext->dpyAttr[HWC_DISPLAY_VIRTUAL].yres; in setAttributes() 165 uint32_t priW = mHwcContext->dpyAttr[HWC_DISPLAY_PRIMARY].xres; in setAttributes() 166 uint32_t priH = mHwcContext->dpyAttr[HWC_DISPLAY_PRIMARY].yres; in setAttributes() 186 mHwcContext->dpyAttr[HWC_DISPLAY_VIRTUAL].vsync_period = in setAttributes() 208 mHwcContext->dpyAttr[HWC_DISPLAY_VIRTUAL].fd = mFd; in openFrameBuffer() [all …]
|
/hardware/qcom/display/msm8960/libhwcomposer/ |
D | hwc_uevents.cpp | 97 ctx->dpyAttr[HWC_DISPLAY_EXTERNAL].isActive = false; in handle_uevent() 100 ctx->dpyAttr[HWC_DISPLAY_VIRTUAL].isActive = true; in handle_uevent() 128 ctx->dpyAttr[dpy].connected = false; in handle_uevent() 139 IFBUpdate::getObject(ctx->dpyAttr[dpy].xres, dpy); in handle_uevent() 140 ctx->dpyAttr[dpy].isPause = false; in handle_uevent() 144 ctx->dpyAttr[dpy].xres, dpy); in handle_uevent() 147 ctx->dpyAttr[dpy].connected = true; in handle_uevent() 158 ctx->dpyAttr[dpy].isActive = true; in handle_uevent() 159 ctx->dpyAttr[dpy].isPause = true; in handle_uevent() 165 ctx->dpyAttr[dpy].isActive = true; in handle_uevent() [all …]
|
D | hwc.cpp | 120 int fbFd = ctx->dpyAttr[dpy].fd; in display_commit() 143 ctx->dpyAttr[dpy].isActive) { in hwc_prepare_primary() 170 ctx->dpyAttr[dpy].isActive && in hwc_prepare_external() 171 ctx->dpyAttr[dpy].connected) { in hwc_prepare_external() 175 if(!ctx->dpyAttr[dpy].isPause) { in hwc_prepare_external() 247 if(!ctx->dpyAttr[dpy].isActive) { in hwc_eventControl() 289 ret = ioctl(ctx->dpyAttr[dpy].fd, FBIOBLANK, in hwc_blank() 292 ret = ioctl(ctx->dpyAttr[dpy].fd, FBIOBLANK,FB_BLANK_UNBLANK); in hwc_blank() 315 ctx->dpyAttr[dpy].isActive = !blank; in hwc_blank() 356 if (LIKELY(list) && ctx->dpyAttr[dpy].isActive) { in hwc_set_primary() [all …]
|
D | hwc_utils.cpp | 90 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() 212 IFBUpdate::getObject(ctx->dpyAttr[HWC_DISPLAY_PRIMARY].xres, in initContext() 233 MDPComp::getObject(ctx->dpyAttr[HWC_DISPLAY_PRIMARY].xres, in initContext() [all …]
|
/hardware/qcom/display/msm8084/libexternal/ |
D | external.cpp | 349 mHwcContext->dpyAttr[HWC_DISPLAY_EXTERNAL].fd = mFd; in openFrameBuffer() 361 mHwcContext->dpyAttr[HWC_DISPLAY_EXTERNAL].fd = mFd; in closeFrameBuffer() 585 mHwcContext->dpyAttr[HWC_DISPLAY_EXTERNAL].xres = width; in setAttributes() 586 mHwcContext->dpyAttr[HWC_DISPLAY_EXTERNAL].yres = height; in setAttributes() 587 mHwcContext->dpyAttr[HWC_DISPLAY_EXTERNAL].mDownScaleMode = false; in setAttributes() 590 int priW = mHwcContext->dpyAttr[HWC_DISPLAY_PRIMARY].xres; in setAttributes() 591 int priH = mHwcContext->dpyAttr[HWC_DISPLAY_PRIMARY].yres; in setAttributes() 598 mHwcContext->dpyAttr[HWC_DISPLAY_EXTERNAL].xres = priW; in setAttributes() 599 mHwcContext->dpyAttr[HWC_DISPLAY_EXTERNAL].yres = priH; in setAttributes() 603 mHwcContext->dpyAttr[HWC_DISPLAY_EXTERNAL].xres = priH; in setAttributes() [all …]
|
/hardware/qcom/display/msm8226/libexternal/ |
D | external.cpp | 349 mHwcContext->dpyAttr[HWC_DISPLAY_EXTERNAL].fd = mFd; in openFrameBuffer() 361 mHwcContext->dpyAttr[HWC_DISPLAY_EXTERNAL].fd = mFd; in closeFrameBuffer() 585 mHwcContext->dpyAttr[HWC_DISPLAY_EXTERNAL].xres = width; in setAttributes() 586 mHwcContext->dpyAttr[HWC_DISPLAY_EXTERNAL].yres = height; in setAttributes() 587 mHwcContext->dpyAttr[HWC_DISPLAY_EXTERNAL].mDownScaleMode = false; in setAttributes() 590 int priW = mHwcContext->dpyAttr[HWC_DISPLAY_PRIMARY].xres; in setAttributes() 591 int priH = mHwcContext->dpyAttr[HWC_DISPLAY_PRIMARY].yres; in setAttributes() 615 mHwcContext->dpyAttr[HWC_DISPLAY_EXTERNAL].xres = in setAttributes() 617 mHwcContext->dpyAttr[HWC_DISPLAY_EXTERNAL].yres = in setAttributes() 620 mHwcContext->dpyAttr[HWC_DISPLAY_EXTERNAL].mDownScaleMode =true; in setAttributes() [all …]
|
/hardware/qcom/display/msm8960/libexternal/ |
D | external.cpp | 450 mHwcContext->dpyAttr[mExtDpyNum].fd = mFd; in openFrameBuffer() 464 mHwcContext->dpyAttr[mExtDpyNum].fd = mFd; in closeFrameBuffer() 647 mHwcContext->dpyAttr[mExtDpyNum].connected = connected; in setExternalDisplay() 691 mHwcContext->dpyAttr[mExtDpyNum].xres = mVInfo.xres; in setDpyWfdAttr() 692 mHwcContext->dpyAttr[mExtDpyNum].yres = mVInfo.yres; in setDpyWfdAttr() 693 mHwcContext->dpyAttr[mExtDpyNum].vsync_period = in setDpyWfdAttr() 704 mHwcContext->dpyAttr[HWC_DISPLAY_EXTERNAL].xres = width; in setDpyHdmiAttr() 705 mHwcContext->dpyAttr[HWC_DISPLAY_EXTERNAL].yres = height; in setDpyHdmiAttr() 706 mHwcContext->dpyAttr[HWC_DISPLAY_EXTERNAL].vsync_period = in setDpyHdmiAttr()
|