Home
last modified time | relevance | path

Searched refs:disp (Results 1 – 25 of 39) sorted by relevance

12

/hardware/intel/img/hwcomposer/common/base/
DHwcomposer.cpp145 bool Hwcomposer::vsyncControl(int disp, int enabled) in vsyncControl() argument
148 ALOGTRACE("disp = %d, enabled = %d", disp, enabled); in vsyncControl()
150 if (disp < 0 || disp >= IDisplayDevice::DEVICE_COUNT) { in vsyncControl()
151 ELOGTRACE("invalid disp %d", disp); in vsyncControl()
154 if (disp >= (int) mDisplayDevices.size()) { in vsyncControl()
157 IDisplayDevice *device = mDisplayDevices.itemAt(disp); in vsyncControl()
166 bool Hwcomposer::blank(int disp, int blank) in blank() argument
169 ALOGTRACE("disp = %d, blank = %d", disp, blank); in blank()
171 if (disp < 0 || disp >= IDisplayDevice::DEVICE_COUNT) { in blank()
172 ELOGTRACE("invalid disp %d", disp); in blank()
[all …]
DHwcModule.cpp103 int disp, in hwc_eventControl() argument
113 ret = hwc->vsyncControl(disp, enabled); in hwc_eventControl()
127 static int hwc_blank(hwc_composer_device_1_t *dev, int disp, int blank) in hwc_blank() argument
131 bool ret = hwc->blank(disp, blank); in hwc_blank()
133 ELOGTRACE("failed to blank disp %d, blank %d", disp, blank); in hwc_blank()
141 int disp, in hwc_getDisplayConfigs() argument
147 bool ret = hwc->getDisplayConfigs(disp, configs, numConfigs); in hwc_getDisplayConfigs()
149 WLOGTRACE("failed to get configs of disp %d", disp); in hwc_getDisplayConfigs()
157 int disp, in hwc_getDisplayAttributes() argument
164 bool ret = hwc->getDisplayAttributes(disp, config, attributes, values); in hwc_getDisplayAttributes()
[all …]
/hardware/intel/img/hwcomposer/include/
DHwcomposer.h43 virtual bool vsyncControl(int disp, int enabled);
48 virtual bool blank(int disp, int blank);
49 virtual bool getDisplayConfigs(int disp,
52 virtual bool getDisplayAttributes(int disp,
56 virtual bool compositionComplete(int disp);
58 virtual bool setPowerMode(int disp, int mode);
59 virtual int getActiveConfig(int disp);
60 virtual bool setActiveConfig(int disp, int index);
61 virtual bool setCursorPositionAsync(int disp, int x, int y);
64 virtual void vsync(int disp, int64_t timestamp);
[all …]
DIVsyncControl.h29 virtual bool control(int disp, bool enabled) = 0;
30 virtual bool wait(int disp, int64_t& timestamp) = 0;
DDisplayPlane.h75 DisplayPlane(int index, int type, int disp);
94 virtual bool assignToDevice(int disp);
DIBlankControl.h27 virtual bool blank(int disp, bool blank) = 0;
/hardware/libhardware/include/hardware/
Dhwcomposer.h460 void (*vsync)(const struct hwc_procs* procs, int disp, int64_t timestamp);
482 void (*hotplug)(const struct hwc_procs* procs, int disp, int connected);
603 int (*eventControl)(struct hwc_composer_device_1* dev, int disp,
621 int (*blank)(struct hwc_composer_device_1* dev, int disp, int blank);
646 int (*setPowerMode)(struct hwc_composer_device_1* dev, int disp,
704 int (*getDisplayConfigs)(struct hwc_composer_device_1* dev, int disp,
725 int (*getDisplayAttributes)(struct hwc_composer_device_1* dev, int disp,
739 int (*getActiveConfig)(struct hwc_composer_device_1* dev, int disp);
760 int (*setActiveConfig)(struct hwc_composer_device_1* dev, int disp,
787 … int (*setCursorPositionAsync)(struct hwc_composer_device_1 *dev, int disp, int x_pos, int y_pos);
/hardware/intel/img/hwcomposer/ips/common/
DVsyncControl.cpp46 bool VsyncControl::control(int disp, bool enabled) in control() argument
48 ALOGTRACE("disp = %d, enabled = %d", disp, enabled); in control()
54 arg.vsync.pipe = disp; in control()
65 bool VsyncControl::wait(int disp, int64_t& timestamp) in wait() argument
67 ALOGTRACE("disp = %d", disp); in wait()
75 arg.vsync.pipe = disp; in wait()
DBlankControl.cpp34 bool BlankControl::blank(int disp, bool blank) in blank() argument
38 VLOGTRACE("blank is not supported yet, disp %d, blank %d", disp, blank); in blank()
DVsyncControl.h32 bool control(int disp, bool enabled);
33 bool wait(int disp, int64_t& timestamp);
DSpritePlaneBase.cpp23 SpritePlaneBase::SpritePlaneBase(int index, int disp) in SpritePlaneBase() argument
24 : DisplayPlane(index, PLANE_SPRITE, disp), in SpritePlaneBase()
DOverlayPlaneBase.h37 OverlayPlaneBase(int index, int disp);
42 virtual bool assignToDevice(int disp);
DBlankControl.h30 bool blank(int disp, bool blank);
DSpritePlaneBase.h28 SpritePlaneBase(int index, int disp);
/hardware/intel/img/hwcomposer/platforms/merrifield_plus/
DPlatfHwcomposer.cpp54 IDisplayDevice* PlatfHwcomposer::createDisplayDevice(int disp, in createDisplayDevice() argument
59 switch (disp) { in createDisplayDevice()
69 return new DummyDevice((uint32_t)disp, *this); in createDisplayDevice()
75 return new DummyDevice((uint32_t)disp, *this); in createDisplayDevice()
78 ELOGTRACE("invalid display device %d", disp); in createDisplayDevice()
DPlatfHwcomposer.h33 IDisplayDevice* createDisplayDevice(int disp, DisplayPlaneManager& dpm);
/hardware/qcom/display/msm8226/libhwcomposer/
Dhwc.cpp718 int hwc_getDisplayConfigs(struct hwc_composer_device_1* dev, int disp, in hwc_getDisplayConfigs() argument
722 disp = getDpyforExternalDisplay(ctx, disp); in hwc_getDisplayConfigs()
725 switch(disp) { in hwc_getDisplayConfigs()
736 if(ctx->dpyAttr[disp].connected) { in hwc_getDisplayConfigs()
748 int hwc_getDisplayAttributes(struct hwc_composer_device_1* dev, int disp, in hwc_getDisplayAttributes() argument
752 disp = getDpyforExternalDisplay(ctx, disp); in hwc_getDisplayAttributes()
754 if( (disp != HWC_DISPLAY_PRIMARY) && !ctx->dpyAttr[disp].connected) { in hwc_getDisplayAttributes()
774 values[i] = ctx->dpyAttr[disp].vsync_period; in hwc_getDisplayAttributes()
777 if (ctx->dpyAttr[disp].customFBSize) in hwc_getDisplayAttributes()
778 values[i] = ctx->dpyAttr[disp].xres_new; in hwc_getDisplayAttributes()
[all …]
/hardware/qcom/display/msm8960/libhwcomposer/
Dhwc.cpp489 int hwc_getDisplayConfigs(struct hwc_composer_device_1* dev, int disp, in hwc_getDisplayConfigs() argument
495 switch(disp) { in hwc_getDisplayConfigs()
517 int hwc_getDisplayAttributes(struct hwc_composer_device_1* dev, int disp, in hwc_getDisplayAttributes() argument
522 if(disp == HWC_DISPLAY_EXTERNAL && !ctx->dpyAttr[disp].connected) { in hwc_getDisplayAttributes()
542 values[i] = ctx->dpyAttr[disp].vsync_period; in hwc_getDisplayAttributes()
545 values[i] = ctx->dpyAttr[disp].xres; in hwc_getDisplayAttributes()
546 ALOGD("%s disp = %d, width = %d",__FUNCTION__, disp, in hwc_getDisplayAttributes()
547 ctx->dpyAttr[disp].xres); in hwc_getDisplayAttributes()
550 values[i] = ctx->dpyAttr[disp].yres; in hwc_getDisplayAttributes()
551 ALOGD("%s disp = %d, height = %d",__FUNCTION__, disp, in hwc_getDisplayAttributes()
[all …]
/hardware/qcom/display/msm8084/libhwcomposer/
Dhwc.cpp733 int hwc_getDisplayConfigs(struct hwc_composer_device_1* dev, int disp, in hwc_getDisplayConfigs() argument
737 disp = getDpyforExternalDisplay(ctx, disp); in hwc_getDisplayConfigs()
740 switch(disp) { in hwc_getDisplayConfigs()
751 if(ctx->dpyAttr[disp].connected) { in hwc_getDisplayConfigs()
763 int hwc_getDisplayAttributes(struct hwc_composer_device_1* dev, int disp, in hwc_getDisplayAttributes() argument
767 disp = getDpyforExternalDisplay(ctx, disp); in hwc_getDisplayAttributes()
769 if( (disp != HWC_DISPLAY_PRIMARY) && !ctx->dpyAttr[disp].connected) { in hwc_getDisplayAttributes()
789 values[i] = ctx->dpyAttr[disp].vsync_period; in hwc_getDisplayAttributes()
792 values[i] = ctx->dpyAttr[disp].xres; in hwc_getDisplayAttributes()
793 ALOGD("%s disp = %d, width = %d",__FUNCTION__, disp, in hwc_getDisplayAttributes()
[all …]
/hardware/qcom/display/msm8974/libhwcomposer/
Dhwc.cpp585 int hwc_getDisplayConfigs(struct hwc_composer_device_1* dev, int disp, in hwc_getDisplayConfigs() argument
591 switch(disp) { in hwc_getDisplayConfigs()
613 int hwc_getDisplayAttributes(struct hwc_composer_device_1* dev, int disp, in hwc_getDisplayAttributes() argument
618 if(disp == HWC_DISPLAY_EXTERNAL && !ctx->dpyAttr[disp].connected) { in hwc_getDisplayAttributes()
638 values[i] = ctx->dpyAttr[disp].vsync_period; in hwc_getDisplayAttributes()
641 values[i] = ctx->dpyAttr[disp].xres; in hwc_getDisplayAttributes()
642 ALOGD("%s disp = %d, width = %d",__FUNCTION__, disp, in hwc_getDisplayAttributes()
643 ctx->dpyAttr[disp].xres); in hwc_getDisplayAttributes()
646 values[i] = ctx->dpyAttr[disp].yres; in hwc_getDisplayAttributes()
647 ALOGD("%s disp = %d, height = %d",__FUNCTION__, disp, in hwc_getDisplayAttributes()
[all …]
/hardware/intel/img/hwcomposer/common/planes/
DDisplayPlane.cpp25 DisplayPlane::DisplayPlane(int index, int type, int disp) in DisplayPlane() argument
29 mDevice(disp), in DisplayPlane()
341 bool DisplayPlane::assignToDevice(int disp) in assignToDevice() argument
344 ALOGTRACE("disp = %d", disp); in assignToDevice()
346 mDevice = disp; in assignToDevice()
355 mForceScaling = DisplayQuery::forceFbScaling(disp); in assignToDevice()
356 drm->getDisplayResolution(disp, mDisplayWidth, mDisplayHeight); in assignToDevice()
/hardware/intel/img/hwcomposer/common/observers/
DVsyncEventObserver.cpp23 VsyncEventObserver::VsyncEventObserver(PhysicalDevice& disp) in VsyncEventObserver() argument
26 mDisplayDevice(disp), in VsyncEventObserver()
DSoftVsyncObserver.cpp28 SoftVsyncObserver::SoftVsyncObserver(IDisplayDevice& disp) in SoftVsyncObserver() argument
29 : mDisplayDevice(disp), in SoftVsyncObserver()
DVsyncEventObserver.h29 VsyncEventObserver(PhysicalDevice& disp);
/hardware/intel/img/hwcomposer/ips/anniedale/
DAnnCursorPlane.h33 AnnCursorPlane(int index, int disp);

12