Home | History | Annotate | Download | only in libhwcomposer

Lines Matching refs:disp

718 int hwc_getDisplayConfigs(struct hwc_composer_device_1* dev, int disp,
722 disp = getDpyforExternalDisplay(ctx, disp);
725 switch(disp) {
736 if(ctx->dpyAttr[disp].connected) {
748 int hwc_getDisplayAttributes(struct hwc_composer_device_1* dev, int disp,
752 disp = getDpyforExternalDisplay(ctx, disp);
754 if( (disp != HWC_DISPLAY_PRIMARY) && !ctx->dpyAttr[disp].connected) {
774 values[i] = ctx->dpyAttr[disp].vsync_period;
777 if (ctx->dpyAttr[disp].customFBSize)
778 values[i] = ctx->dpyAttr[disp].xres_new;
780 values[i] = ctx->dpyAttr[disp].xres;
782 ALOGD("%s disp = %d, width = %d",__FUNCTION__, disp,
786 if (ctx->dpyAttr[disp].customFBSize)
787 values[i] = ctx->dpyAttr[disp].yres_new;
789 values[i] = ctx->dpyAttr[disp].yres;
790 ALOGD("%s disp = %d, height = %d",__FUNCTION__, disp,
794 values[i] = (int32_t) (ctx->dpyAttr[disp].xdpi*1000.0);
797 values[i] = (int32_t) (ctx->dpyAttr[disp].ydpi*1000.0);
836 int hwc_getActiveConfig(struct hwc_composer_device_1* /*dev*/, int /*disp*/) {
841 int hwc_setActiveConfig(struct hwc_composer_device_1* /*dev*/, int /*disp*/,