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()
159 int dpy = getConnectedDisplay(udata); in handle_uevent() local
160 if(dpy < 0) { in handle_uevent()
174 if(!ctx->dpyAttr[dpy].connected){ in handle_uevent()
176 "for display: %d", __FUNCTION__, dpy); in handle_uevent()
181 clear(ctx, dpy); in handle_uevent()
182 ctx->dpyAttr[dpy].connected = false; in handle_uevent()
183 ctx->dpyAttr[dpy].isActive = false; in handle_uevent()
185 if(dpy == HWC_DISPLAY_EXTERNAL) { in handle_uevent()
193 if(dpy == HWC_DISPLAY_EXTERNAL || in handle_uevent()
200 ctx->mQService->onHdmiHotplug((int)ctx->dpyAttr[dpy].connected); in handle_uevent()
207 if(ctx->dpyAttr[dpy].connected) { in handle_uevent()
209 "for display: %d", __FUNCTION__, dpy); in handle_uevent()
222 ctx->dpyAttr[dpy].isConfiguring = true; in handle_uevent()
229 if(dpy == HWC_DISPLAY_EXTERNAL) { in handle_uevent()
267 setup(ctx, dpy); in handle_uevent()
268 ctx->dpyAttr[dpy].isPause = false; in handle_uevent()
269 ctx->dpyAttr[dpy].connected = true; in handle_uevent()
270 ctx->dpyAttr[dpy].isConfiguring = true; in handle_uevent()
272 if(dpy == HWC_DISPLAY_EXTERNAL || in handle_uevent()
279 ctx->mQService->onHdmiHotplug(ctx->dpyAttr[dpy].connected); in handle_uevent()
292 handle_pause(ctx, dpy); in handle_uevent()
301 handle_resume(ctx, dpy); in handle_uevent()