• Home
  • Raw
  • Download

Lines Matching refs:ctx

54 static void handle_uevent(hwc_context_t* ctx, const char* udata, int len)  in handle_uevent()  argument
88 ctx->mExtDisplay->setExtDpyNum(dpy); in handle_uevent()
99 ctx->dpyAttr[HWC_DISPLAY_EXTERNAL].isActive = false; in handle_uevent()
102 ctx->dpyAttr[HWC_DISPLAY_VIRTUAL].isActive = true; in handle_uevent()
113 ctx->mExtDisplay->processUEventOffline(udata); in handle_uevent()
114 if(ctx->mFBUpdate[dpy]) { in handle_uevent()
115 Locker::Autolock _l(ctx->mExtSetLock); in handle_uevent()
116 delete ctx->mFBUpdate[dpy]; in handle_uevent()
117 ctx->mFBUpdate[dpy] = NULL; in handle_uevent()
119 if(ctx->mCopyBit[dpy]){ in handle_uevent()
120 Locker::Autolock _l(ctx->mExtSetLock); in handle_uevent()
121 delete ctx->mCopyBit[dpy]; in handle_uevent()
122 ctx->mCopyBit[dpy] = NULL; in handle_uevent()
124 if(ctx->mMDPComp[dpy]) { in handle_uevent()
125 delete ctx->mMDPComp[dpy]; in handle_uevent()
126 ctx->mMDPComp[dpy] = NULL; in handle_uevent()
130 ctx->dpyAttr[dpy].connected = false; in handle_uevent()
131 Locker::Autolock _l(ctx->mExtSetLock); in handle_uevent()
133 ctx->proc->hotplug(ctx->proc, dpy, connected); in handle_uevent()
138 ctx->mExtDispConfiguring = true; in handle_uevent()
139 ctx->mExtDisplay->processUEventOnline(udata); in handle_uevent()
140 ctx->mFBUpdate[dpy] = in handle_uevent()
141 IFBUpdate::getObject(ctx->dpyAttr[dpy].xres, dpy); in handle_uevent()
142 ctx->dpyAttr[dpy].isPause = false; in handle_uevent()
144 ctx->mCopyBit[dpy] = new CopyBit(); in handle_uevent()
145 ctx->mMDPComp[dpy] = MDPComp::getObject( in handle_uevent()
146 ctx->dpyAttr[dpy].xres, dpy); in handle_uevent()
149 ctx->dpyAttr[dpy].connected = true; in handle_uevent()
150 Locker::Autolock _l(ctx->mExtSetLock); //hwc comp could be on in handle_uevent()
151 ctx->proc->hotplug(ctx->proc, dpy, connected); in handle_uevent()
159 ctx->mExtDispConfiguring = true; in handle_uevent()
160 ctx->dpyAttr[dpy].isActive = true; in handle_uevent()
161 ctx->dpyAttr[dpy].isPause = true; in handle_uevent()
167 ctx->dpyAttr[dpy].isActive = true; in handle_uevent()
168 ctx->dpyAttr[dpy].isPause = false; in handle_uevent()
183 hwc_context_t * ctx = reinterpret_cast<hwc_context_t *>(param); in uevent_loop() local
191 handle_uevent(ctx, udata, len); in uevent_loop()
197 void init_uevent_thread(hwc_context_t* ctx) in init_uevent_thread() argument
203 ret = pthread_create(&uevent_thread, NULL, uevent_loop, (void*) ctx); in init_uevent_thread()