Lines Matching defs:dpy
42 const int dpy = HWC_DISPLAY_VIRTUAL;
44 initCompositionResources(ctx, dpy);
46 if(ctx->mFBUpdate[dpy])
47 ctx->mFBUpdate[dpy]->reset();
48 if(ctx->mMDPComp[dpy])
49 ctx->mMDPComp[dpy]->reset();
54 int dpy = HWC_DISPLAY_VIRTUAL;
57 if(ctx->dpyAttr[dpy].connected && (displays[dpy] == NULL)) {
58 ctx->dpyAttr[dpy].connected = false;
59 ctx->dpyAttr[dpy].isPause = false;
61 destroyCompositionResources(ctx, dpy);
75 const int dpy = HWC_DISPLAY_VIRTUAL;
78 reset_layer_prop(ctx, dpy, (int)list->numHwLayers - 1);
83 ctx->dpyAttr[dpy].xres = fbWidth;
84 ctx->dpyAttr[dpy].yres = fbHeight;
86 if(ctx->dpyAttr[dpy].connected == false) {
87 ctx->dpyAttr[dpy].connected = true;
88 ctx->dpyAttr[dpy].isPause = false;
91 ctx->dpyAttr[dpy].vsync_period
98 if(!ctx->dpyAttr[dpy].isPause) {
99 ctx->dpyAttr[dpy].isConfiguring = false;
100 ctx->dpyAttr[dpy].fd = Writeback::getInstance()->getFbFd();
103 setMDPScalingMode(ctx, ohnd, dpy);
110 setListStats(ctx, list, dpy);
112 if(ctx->mMDPComp[dpy]->prepare(ctx, list) < 0) {
114 if(not ctx->mFBUpdate[dpy]->prepareAndValidate(ctx, list, fbZ))
116 ctx->mOverlay->clear(dpy);
117 ctx->mLayerRotMap[dpy]->clear();
138 const int dpy = HWC_DISPLAY_VIRTUAL;
144 if(ctx->dpyAttr[dpy].connected
145 && (!ctx->dpyAttr[dpy].isPause))
163 hwc_sync(ctx, list, dpy, fd);
166 if(ctx->mHwcDebug[dpy])
167 ctx->mHwcDebug[dpy]->dumpLayers(list);
169 if (!ctx->mMDPComp[dpy]->draw(ctx, list)) {
179 if (fbLayer->handle && !ctx->mFBUpdate[dpy]->draw(ctx,
187 if(!Overlay::displayCommit(ctx->dpyAttr[dpy].fd)) {
223 private_handle_t* ohnd, int dpy) {
225 int fbWidth = ctx->dpyAttr[dpy].xres;
226 int fbHeight = ctx->dpyAttr[dpy].yres;
232 ctx->dpyAttr[dpy].mMDPScalingMode = scalingMode;