Lines Matching refs:dpy

42 static void setup(hwc_context_t* ctx, int dpy)  in setup()  argument
44 ctx->mFBUpdate[dpy] = IFBUpdate::getObject(ctx, dpy); in setup()
45 ctx->mMDPComp[dpy] = MDPComp::getObject(ctx, dpy); in setup()
48 static void clear(hwc_context_t* ctx, int dpy) in clear() argument
50 if(ctx->mFBUpdate[dpy]) { in clear()
51 delete ctx->mFBUpdate[dpy]; in clear()
52 ctx->mFBUpdate[dpy] = NULL; in clear()
54 if(ctx->mMDPComp[dpy]) { in clear()
55 delete ctx->mMDPComp[dpy]; in clear()
56 ctx->mMDPComp[dpy] = NULL; in clear()
102 void handle_pause(hwc_context_t* ctx, int dpy) { in handle_pause() argument
104 ctx->mHWCVirtual->pause(ctx, dpy); in handle_pause()
109 void handle_resume(hwc_context_t* ctx, int dpy) { in handle_resume() argument
111 ctx->mHWCVirtual->resume(ctx, dpy); in handle_resume()
168 int dpy = getConnectedDisplay(udata); in handle_uevent() local
169 if(dpy < 0) { in handle_uevent()
183 if(!ctx->dpyAttr[dpy].connected){ in handle_uevent()
185 "for display: %d", __FUNCTION__, dpy); in handle_uevent()
190 clear(ctx, dpy); in handle_uevent()
191 ctx->dpyAttr[dpy].connected = false; in handle_uevent()
192 ctx->dpyAttr[dpy].isActive = false; in handle_uevent()
194 if(dpy == HWC_DISPLAY_EXTERNAL) { in handle_uevent()
202 if(dpy == HWC_DISPLAY_EXTERNAL || in handle_uevent()
215 if(ctx->dpyAttr[dpy].connected) { in handle_uevent()
217 "for display: %d", __FUNCTION__, dpy); in handle_uevent()
230 ctx->dpyAttr[dpy].isConfiguring = true; in handle_uevent()
237 if(dpy == HWC_DISPLAY_EXTERNAL) { in handle_uevent()
275 setup(ctx, dpy); in handle_uevent()
276 ctx->dpyAttr[dpy].isPause = false; in handle_uevent()
277 ctx->dpyAttr[dpy].connected = true; in handle_uevent()
278 ctx->dpyAttr[dpy].isConfiguring = true; in handle_uevent()
280 if(dpy == HWC_DISPLAY_EXTERNAL || in handle_uevent()
299 handle_pause(ctx, dpy); in handle_uevent()
308 handle_resume(ctx, dpy); in handle_uevent()