Lines Matching full:globals
305 SkEvent_Globals& globals = getGlobals();
307 globals.fEventMutex.acquire();
309 globals.fEventMutex.release();
323 SkEvent_Globals& globals = getGlobals();
325 globals.fEventMutex.acquire();
327 globals.fEventMutex.release();
336 SkEvent_Globals& globals = getGlobals();
341 bool wasEmpty = globals.fEventQHead == NULL;
343 if (globals.fEventQTail)
344 globals.fEventQTail->fNextEvent = evt;
345 globals.fEventQTail = evt;
346 if (globals.fEventQHead == NULL)
347 globals.fEventQHead = evt;
350 SkDEBUGCODE(++globals.fEventCounter);
356 SkEvent_Globals& globals = getGlobals();
357 globals.fEventMutex.acquire();
359 SkEvent* evt = globals.fEventQHead;
361 SkDEBUGCODE(--globals.fEventCounter);
363 globals.fEventQHead = evt->fNextEvent;
364 if (globals.fEventQHead == NULL) {
365 globals.fEventQTail = NULL;
368 globals.fEventMutex.release();
374 SkEvent_Globals& globals = getGlobals();
377 return globals.fEventQHead != NULL;
385 SkEvent_Globals& globals = getGlobals();
388 SkEvent* curr = globals.fDelayQHead;
402 globals.fDelayQHead = evt;
407 SkMSec delay = globals.fDelayQHead->fTime - SkTime::GetMSecs();
434 SkEvent_Globals& globals = getGlobals();
436 globals.fEventMutex.acquire();
440 SkEvent* evt = globals.fDelayQHead;
461 globals.fDelayQHead = evt;
465 globals.fEventMutex.release();
474 SkEvent_Globals& globals = getGlobals();
475 globals.fEventMutex.acquire();
478 const SkEvent* evt = globals.fEventQHead;
483 globals.fEventMutex.release();
493 SkEvent_Globals& globals = getGlobals();
495 SkEvent* evt = globals.fEventQHead;
502 evt = globals.fDelayQHead;