/frameworks/native/services/surfaceflinger/ |
EventControlThread.cpp | 38 mFlinger->eventControl(HWC_DISPLAY_PRIMARY, SurfaceFlinger::EVENT_VSYNC, 50 mFlinger->eventControl(HWC_DISPLAY_PRIMARY,
|
/hardware/qcom/display/msm8974/libhwcomposer/ |
hwc_vsync.cpp | 86 for (int dpy = HWC_DISPLAY_PRIMARY; dpy < num_displays; dpy++) { 89 dpy == HWC_DISPLAY_PRIMARY ? 0 : 100 if (dpy == HWC_DISPLAY_PRIMARY) { 117 for (int dpy = HWC_DISPLAY_PRIMARY; dpy < num_displays; dpy++) { 156 timestamp[HWC_DISPLAY_PRIMARY] = systemTime(); 157 ctx->proc->vsync(ctx->proc, HWC_DISPLAY_PRIMARY, 158 timestamp[HWC_DISPLAY_PRIMARY]); 163 for (int dpy = HWC_DISPLAY_PRIMARY; dpy <= HWC_DISPLAY_EXTERNAL; dpy++ ) {
|
hwc_utils.cpp | 57 int fb_fd = openFb(HWC_DISPLAY_PRIMARY); 106 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].fd = fb_fd; 108 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].stride = finfo.line_length /(info.xres/8); 109 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].xres = info.xres; 110 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].yres = info.yres; 111 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].xdpi = xdpi; 112 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].ydpi = ydpi; 113 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].vsync_period = 1000000000l / fps; 120 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].isActive = true; 146 ctx->mFBUpdate[HWC_DISPLAY_PRIMARY] [all...] |
hwc_uevents.cpp | 130 usleep(ctx->dpyAttr[HWC_DISPLAY_PRIMARY].vsync_period 164 usleep(ctx->dpyAttr[HWC_DISPLAY_PRIMARY].vsync_period
|
/hardware/libhardware/include/hardware/ |
hwcomposer_defs.h | 204 HWC_DISPLAY_PRIMARY = 0, 213 HWC_DISPLAY_PRIMARY_BIT = 1 << HWC_DISPLAY_PRIMARY,
|
/hardware/qcom/display/msm8084/libhwcomposer/ |
hwc_vsync.cpp | 130 for (int dpy = HWC_DISPLAY_PRIMARY; dpy < num_displays; dpy++) { 134 dpy == HWC_DISPLAY_PRIMARY ? 0 : 143 if (dpy == HWC_DISPLAY_PRIMARY && pfd[dpy][ev].fd < 0) { 166 for (int dpy = HWC_DISPLAY_PRIMARY; dpy < num_displays; dpy++) { 199 ctx->proc->vsync(ctx->proc, HWC_DISPLAY_PRIMARY, timestamp); 204 for (int dpy = HWC_DISPLAY_PRIMARY; dpy <= HWC_DISPLAY_EXTERNAL; dpy++ ) {
|
hwc_utils.cpp | 81 !isDisplaySplit(ctx, HWC_DISPLAY_PRIMARY)) || 87 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].xres_orig = xres_orig; 88 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].yres_orig = yres_orig; 89 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].customFBSize = false; 99 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].xres = xres; 100 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].yres = yres; 101 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].customFBSize = true; 111 int fb_fd = openFb(HWC_DISPLAY_PRIMARY); 160 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].fd = fb_fd; 162 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].stride = finfo.line_length /(info.xres/8) [all...] |
hwc.cpp | 271 const int dpy = HWC_DISPLAY_PRIMARY; 362 case HWC_DISPLAY_PRIMARY: 402 if(dpy == HWC_DISPLAY_PRIMARY) { 460 if (dpy == HWC_DISPLAY_PRIMARY && not (mode == HWC_POWER_MODE_OFF)) { 468 case HWC_DISPLAY_PRIMARY: 520 if (!ctx->dpyAttr[HWC_DISPLAY_PRIMARY].isActive) { 527 ret = hwc_setPowerMode(dev, HWC_DISPLAY_PRIMARY, HWC_POWER_MODE_OFF); 534 ret = hwc_setPowerMode(dev, HWC_DISPLAY_PRIMARY, HWC_POWER_MODE_NORMAL); 539 hwc_vsync_control(ctx, HWC_DISPLAY_PRIMARY, 1); 582 const int dpy = HWC_DISPLAY_PRIMARY; [all...] |
hwc_ad.cpp | 147 if(adRead() >= 0 && isDisplaySplit(ctx, HWC_DISPLAY_PRIMARY) && 161 ctx->listStats[HWC_DISPLAY_PRIMARY].yuvCount == 1) { 162 int nYuvIndex = ctx->listStats[HWC_DISPLAY_PRIMARY].yuvIndices[0];
|
/hardware/qcom/display/msm8226/libhwcomposer/ |
hwc_vsync.cpp | 118 for (int dpy = HWC_DISPLAY_PRIMARY; dpy < num_displays; dpy++) { 122 dpy == HWC_DISPLAY_PRIMARY ? 0 : 131 if (dpy == HWC_DISPLAY_PRIMARY && pfd[dpy][ev].fd < 0) { 154 for (int dpy = HWC_DISPLAY_PRIMARY; dpy < num_displays; dpy++) { 200 ctx->proc->vsync(ctx->proc, HWC_DISPLAY_PRIMARY, timestamp); 205 for (int dpy = HWC_DISPLAY_PRIMARY; dpy <= HWC_DISPLAY_EXTERNAL; dpy++ ) {
|
hwc_utils.cpp | 82 !isDisplaySplit(ctx, HWC_DISPLAY_PRIMARY)) || 89 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].xres_new = xres_orig; 90 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].yres_new = yres_orig; 91 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].customFBSize = false; 100 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].xres_new = xres_new; 101 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].yres_new = yres_new; 102 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].customFBSize = true; 107 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].xdpi = xdpi; 108 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].ydpi = ydpi; 118 int fb_fd = openFb(HWC_DISPLAY_PRIMARY); [all...] |
hwc.cpp | 259 const int dpy = HWC_DISPLAY_PRIMARY; 352 case HWC_DISPLAY_PRIMARY: 392 if(dpy == HWC_DISPLAY_PRIMARY) { 442 case HWC_DISPLAY_PRIMARY: 494 if (!ctx->dpyAttr[HWC_DISPLAY_PRIMARY].isActive) { 501 ret = ioctl(ctx->dpyAttr[HWC_DISPLAY_PRIMARY].fd, FBIOBLANK, 510 ret = ioctl(ctx->dpyAttr[HWC_DISPLAY_PRIMARY].fd, FBIOBLANK, 511 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].lastPowerMode); 514 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].lastPowerMode, 517 hwc_vsync_control(ctx, HWC_DISPLAY_PRIMARY, 1) [all...] |
hwc_ad.cpp | 115 if(adRead() >= 0 && isDisplaySplit(ctx, HWC_DISPLAY_PRIMARY) && 129 ctx->listStats[HWC_DISPLAY_PRIMARY].yuvCount == 1) { 130 int nYuvIndex = ctx->listStats[HWC_DISPLAY_PRIMARY].yuvIndices[0];
|
/hardware/qcom/display/msm8994/libhwcomposer/ |
hwc_vsync.cpp | 134 for (int dpy = HWC_DISPLAY_PRIMARY; dpy < num_displays; dpy++) { 138 dpy == HWC_DISPLAY_PRIMARY ? 0 : 147 if (dpy == HWC_DISPLAY_PRIMARY && pfd[dpy][ev].fd < 0) { 170 for (int dpy = HWC_DISPLAY_PRIMARY; dpy < num_displays; dpy++) { 203 ctx->proc->vsync(ctx->proc, HWC_DISPLAY_PRIMARY, timestamp); 208 for (int dpy = HWC_DISPLAY_PRIMARY; dpy <= HWC_DISPLAY_EXTERNAL; dpy++ ) {
|
hwc_qclient.cpp | 153 if(dpy >= HWC_DISPLAY_PRIMARY && dpy <= HWC_DISPLAY_VIRTUAL) { 183 if(dpy > HWC_DISPLAY_PRIMARY && dpy <= HWC_DISPLAY_VIRTUAL) { 202 if(dpy >= HWC_DISPLAY_PRIMARY && dpy <= HWC_DISPLAY_VIRTUAL) { 277 uint32_t dpy = HWC_DISPLAY_PRIMARY; 325 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].isPause = true; 335 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].isPause = false;
|
hwc.cpp | 193 ((dpy == HWC_DISPLAY_PRIMARY) && 256 const int dpy = HWC_DISPLAY_PRIMARY; 365 case HWC_DISPLAY_PRIMARY: 410 if(dpy == HWC_DISPLAY_PRIMARY) { 459 case HWC_DISPLAY_PRIMARY: 526 if (!ctx->dpyAttr[HWC_DISPLAY_PRIMARY].isActive) { 533 ret = hwc_setPowerMode(dev, HWC_DISPLAY_PRIMARY, HWC_POWER_MODE_OFF); 540 ret = hwc_setPowerMode(dev, HWC_DISPLAY_PRIMARY, HWC_POWER_MODE_NORMAL); 545 hwc_vsync_control(ctx, HWC_DISPLAY_PRIMARY, 1); 589 const int dpy = HWC_DISPLAY_PRIMARY; [all...] |
hwc_utils.cpp | 90 !isDisplaySplit(ctx, HWC_DISPLAY_PRIMARY)) || 97 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].xres_new = xres_orig; 98 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].yres_new = yres_orig; 99 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].customFBSize = false; 109 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].xres_new = xres_new; 110 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].yres_new = yres_new; 111 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].customFBSize = true; 116 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].xdpi = xdpi; 117 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].ydpi = ydpi; 173 int fb_fd = openFb(HWC_DISPLAY_PRIMARY); [all...] |
hwc_uevents.cpp | 48 ret = HWC_DISPLAY_PRIMARY; 162 usleep(ctx->dpyAttr[HWC_DISPLAY_PRIMARY].vsync_period
|
hwc_ad.cpp | 118 if(adRead() >= 0 && isDisplaySplit(ctx, HWC_DISPLAY_PRIMARY) && 132 ctx->listStats[HWC_DISPLAY_PRIMARY].yuvCount == 1) { 133 int nYuvIndex = ctx->listStats[HWC_DISPLAY_PRIMARY].yuvIndices[0];
|
/hardware/qcom/display/msm8960/libhwcomposer/ |
hwc_utils.cpp | 52 int fb_fd = openFb(HWC_DISPLAY_PRIMARY); 90 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].fd = fb_fd; 92 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].stride = finfo.line_length /(info.xres/8); 93 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].xres = info.xres; 94 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].yres = info.yres; 95 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].xdpi = xdpi; 96 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].ydpi = ydpi; 97 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].vsync_period = 1000000000l / fps; 104 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].isActive = true; 211 ctx->mFBUpdate[HWC_DISPLAY_PRIMARY] [all...] |
/hardware/intel/img/hwcomposer/merrifield/include/ |
IDisplayDevice.h | 56 DEVICE_PRIMARY = HWC_DISPLAY_PRIMARY,
|
/hardware/intel/img/hwcomposer/moorefield_hdmi/include/ |
IDisplayDevice.h | 56 DEVICE_PRIMARY = HWC_DISPLAY_PRIMARY,
|
/system/core/adf/libadfhwc/include/adfhwc/ |
adfhwc.h | 79 case HWC_DISPLAY_PRIMARY: 94 * intf_fds[HWC_DISPLAY_PRIMARY] is the fd for the primary display
|
/hardware/qcom/display/msm8084/libvirtual/ |
virtual.cpp | 165 uint32_t priW = mHwcContext->dpyAttr[HWC_DISPLAY_PRIMARY].xres; 166 uint32_t priH = mHwcContext->dpyAttr[HWC_DISPLAY_PRIMARY].yres;
|
/hardware/qcom/display/msm8226/libvirtual/ |
virtual.cpp | 176 uint32_t priW = mHwcContext->dpyAttr[HWC_DISPLAY_PRIMARY].xres; 177 uint32_t priH = mHwcContext->dpyAttr[HWC_DISPLAY_PRIMARY].yres;
|