HomeSort by relevance Sort by last modified time
    Searched full:hwc_display_primary (Results 1 - 25 of 75) sorted by null

1 2 3

  /frameworks/native/services/surfaceflinger/
EventControlThread.cpp 39 mFlinger->setVsyncEnabled(HWC_DISPLAY_PRIMARY, mVsyncEnabled);
41 mFlinger->eventControl(HWC_DISPLAY_PRIMARY, SurfaceFlinger::EVENT_VSYNC,
55 mFlinger->setVsyncEnabled(HWC_DISPLAY_PRIMARY, mVsyncEnabled);
57 mFlinger->eventControl(HWC_DISPLAY_PRIMARY,
  /hardware/qcom/display/msm8996/sdm/libs/hwc/
hwc_session.cpp 54 #include "hwc_display_primary.h"
150 &hwc_display_[HWC_DISPLAY_PRIMARY]);
151 is_hdmi_yuv_ = IsDisplayYUV(HWC_DISPLAY_PRIMARY);
156 &hwc_display_[HWC_DISPLAY_PRIMARY]);
161 &hwc_display_[HWC_DISPLAY_PRIMARY]);
166 &hwc_display_[HWC_DISPLAY_PRIMARY]);
181 HWCDisplayPrimary::Destroy(hwc_display_[HWC_DISPLAY_PRIMARY]);
182 hwc_display_[HWC_DISPLAY_PRIMARY] = 0;
191 HWCDisplayPrimary::Destroy(hwc_display_[HWC_DISPLAY_PRIMARY]);
192 hwc_display_[HWC_DISPLAY_PRIMARY] = 0
    [all...]
Android.mk 23 hwc_display_primary.cpp \
hwc_display_primary.cpp 37 #include "hwc_display_primary.h"
51 HWCDisplay *hwc_display_primary = new HWCDisplayPrimary(core_intf, buffer_allocator, local
53 status = hwc_display_primary->Init();
55 delete hwc_display_primary;
59 hwc_display_primary->GetMixerResolution(&primary_width, &primary_height);
68 status = hwc_display_primary->SetFrameBufferResolution(primary_width, primary_height);
70 Destroy(hwc_display_primary);
74 *hwc_display = hwc_display_primary;
88 : HWCDisplay(core_intf, hwc_procs, kPrimary, HWC_DISPLAY_PRIMARY, true, qservice,
hwc_display_null.cpp 58 // We pass the display type as HWC_DISPLAY_PRIMARY to HWCDisplay, but since we override
61 : HWCDisplay(core_intf, hwc_procs, kPrimary, HWC_DISPLAY_PRIMARY, false, NULL,
  /hardware/qcom/display/msm8996/sdm/libs/hwc2/
hwc_session.cpp 44 #include "hwc_display_primary.h"
113 &hwc_display_[HWC_DISPLAY_PRIMARY]);
117 &hwc_display_[HWC_DISPLAY_PRIMARY]);
132 HWCDisplayPrimary::Destroy(hwc_display_[HWC_DISPLAY_PRIMARY]);
133 hwc_display_[HWC_DISPLAY_PRIMARY] = 0;
142 HWCDisplayPrimary::Destroy(hwc_display_[HWC_DISPLAY_PRIMARY]);
143 hwc_display_[HWC_DISPLAY_PRIMARY] = 0;
286 for (int id = HWC_DISPLAY_PRIMARY; id <= HWC_DISPLAY_VIRTUAL; id++) {
356 if (display == HWC_DISPLAY_PRIMARY) {
415 hwc_session->callbacks_.Hotplug(HWC_DISPLAY_PRIMARY, HWC2::Connection::Connected)
    [all...]
hwc_display_primary.cpp 41 #include "hwc_display_primary.h"
55 HWCDisplay *hwc_display_primary = local
57 status = hwc_display_primary->Init();
59 delete hwc_display_primary;
63 hwc_display_primary->GetMixerResolution(&primary_width, &primary_height);
72 status = hwc_display_primary->SetFrameBufferResolution(primary_width, primary_height);
74 Destroy(hwc_display_primary);
78 *hwc_display = hwc_display_primary;
90 : HWCDisplay(core_intf, callbacks, kPrimary, HWC_DISPLAY_PRIMARY, true, qservice,
253 callbacks_->Refresh(HWC_DISPLAY_PRIMARY);
    [all...]
Android.mk 24 hwc_display_primary.cpp \
  /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.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_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...]
  /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.cpp 269 const int dpy = HWC_DISPLAY_PRIMARY;
362 case HWC_DISPLAY_PRIMARY:
402 if(dpy == HWC_DISPLAY_PRIMARY) {
452 case HWC_DISPLAY_PRIMARY:
504 if (!ctx->dpyAttr[HWC_DISPLAY_PRIMARY].isActive) {
511 ret = ioctl(ctx->dpyAttr[HWC_DISPLAY_PRIMARY].fd, FBIOBLANK,
520 ret = ioctl(ctx->dpyAttr[HWC_DISPLAY_PRIMARY].fd, FBIOBLANK,
521 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].lastPowerMode);
524 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].lastPowerMode,
527 hwc_vsync_control(ctx, HWC_DISPLAY_PRIMARY, 1)
    [all...]
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...]
  /hardware/qcom/display/msm8909/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) {
172 for (int dpy = HWC_DISPLAY_PRIMARY; dpy < num_displays; dpy++) {
209 ctx->proc->vsync(ctx->proc, HWC_DISPLAY_PRIMARY, timestamp);
214 for (int dpy = HWC_DISPLAY_PRIMARY; dpy <= HWC_DISPLAY_EXTERNAL; dpy++ ) {
hwc_utils.cpp 111 !isDisplaySplit(ctx, HWC_DISPLAY_PRIMARY)) ||
118 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].xres_new = xres_orig;
119 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].yres_new = yres_orig;
120 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].customFBSize = false;
130 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].xres_new = xres_new;
131 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].yres_new = yres_new;
132 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].customFBSize = true;
137 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].xdpi = xdpi;
138 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].ydpi = ydpi;
198 int fb_fd = openFb(HWC_DISPLAY_PRIMARY);
    [all...]
hwc.cpp 194 case HWC_DISPLAY_PRIMARY:
262 const int dpy = HWC_DISPLAY_PRIMARY;
377 case HWC_DISPLAY_PRIMARY:
426 if(dpy == HWC_DISPLAY_PRIMARY) {
480 case HWC_DISPLAY_PRIMARY:
546 if (!ctx->dpyAttr[HWC_DISPLAY_PRIMARY].isActive) {
553 ret = hwc_setPowerMode(dev, HWC_DISPLAY_PRIMARY, HWC_POWER_MODE_OFF);
560 ret = hwc_setPowerMode(dev, HWC_DISPLAY_PRIMARY, HWC_POWER_MODE_NORMAL);
565 hwc_vsync_control(ctx, HWC_DISPLAY_PRIMARY, 1);
609 const int dpy = HWC_DISPLAY_PRIMARY;
    [all...]
hwc_qclient.cpp 155 if(dpy >= HWC_DISPLAY_PRIMARY && dpy <= HWC_DISPLAY_VIRTUAL) {
185 if(dpy > HWC_DISPLAY_PRIMARY && dpy <= HWC_DISPLAY_VIRTUAL) {
204 if(dpy >= HWC_DISPLAY_PRIMARY && dpy <= HWC_DISPLAY_VIRTUAL) {
261 uint32_t dpy = HWC_DISPLAY_PRIMARY;
323 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].isPause = true;
333 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].isPause = false;
  /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_utils.cpp 91 !isDisplaySplit(ctx, HWC_DISPLAY_PRIMARY)) ||
98 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].xres_new = xres_orig;
99 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].yres_new = yres_orig;
100 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].customFBSize = false;
110 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].xres_new = xres_new;
111 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].yres_new = yres_new;
112 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].customFBSize = true;
117 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].xdpi = xdpi;
118 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].ydpi = ydpi;
174 int fb_fd = openFb(HWC_DISPLAY_PRIMARY);
    [all...]
hwc.cpp 193 ((dpy == HWC_DISPLAY_PRIMARY) &&
284 const int dpy = HWC_DISPLAY_PRIMARY;
395 case HWC_DISPLAY_PRIMARY:
440 if(dpy == HWC_DISPLAY_PRIMARY) {
489 case HWC_DISPLAY_PRIMARY:
559 if (!ctx->dpyAttr[HWC_DISPLAY_PRIMARY].isActive) {
566 ret = hwc_setPowerMode(dev, HWC_DISPLAY_PRIMARY, HWC_POWER_MODE_OFF);
573 ret = hwc_setPowerMode(dev, HWC_DISPLAY_PRIMARY, HWC_POWER_MODE_NORMAL);
578 hwc_vsync_control(ctx, HWC_DISPLAY_PRIMARY, 1);
622 const int dpy = HWC_DISPLAY_PRIMARY;
    [all...]
hwc_qclient.cpp 154 if(dpy >= HWC_DISPLAY_PRIMARY && dpy <= HWC_DISPLAY_VIRTUAL) {
184 if(dpy > HWC_DISPLAY_PRIMARY && dpy <= HWC_DISPLAY_VIRTUAL) {
203 if(dpy >= HWC_DISPLAY_PRIMARY && dpy <= HWC_DISPLAY_VIRTUAL) {
278 uint32_t dpy = HWC_DISPLAY_PRIMARY;
326 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].isPause = true;
336 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].isPause = false;
  /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/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...]
hwc.cpp 139 const int dpy = HWC_DISPLAY_PRIMARY;
222 case HWC_DISPLAY_PRIMARY:
287 case HWC_DISPLAY_PRIMARY:
354 const int dpy = HWC_DISPLAY_PRIMARY;
468 case HWC_DISPLAY_PRIMARY:
496 case HWC_DISPLAY_PRIMARY:

Completed in 1029 milliseconds

1 2 3