Home | History | Annotate | Download | only in libhwcomposer

Lines Matching refs:disp

733 int hwc_getDisplayConfigs(struct hwc_composer_device_1* dev, int disp,
737 disp = getDpyforExternalDisplay(ctx, disp);
740 switch(disp) {
751 if(ctx->dpyAttr[disp].connected) {
763 int hwc_getDisplayAttributes(struct hwc_composer_device_1* dev, int disp,
767 disp = getDpyforExternalDisplay(ctx, disp);
769 if( (disp != HWC_DISPLAY_PRIMARY) && !ctx->dpyAttr[disp].connected) {
789 values[i] = ctx->dpyAttr[disp].vsync_period;
792 values[i] = ctx->dpyAttr[disp].xres;
793 ALOGD("%s disp = %d, width = %d",__FUNCTION__, disp,
794 ctx->dpyAttr[disp].xres);
797 values[i] = ctx->dpyAttr[disp].yres;
798 ALOGD("%s disp = %d, height = %d",__FUNCTION__, disp,
799 ctx->dpyAttr[disp].yres);
802 values[i] = (int32_t) (ctx->dpyAttr[disp].xdpi*1000.0);
805 values[i] = (int32_t) (ctx->dpyAttr[disp].ydpi*1000.0);
842 int hwc_getActiveConfig(struct hwc_composer_device_1* /*dev*/, int /*disp*/) {
847 int hwc_setActiveConfig(struct hwc_composer_device_1* /*dev*/, int /*disp*/,