| OLD | NEW |
| 1 | |
| 2 /* | 1 /* |
| 3 * Copyright 2011 Google Inc. | 2 * Copyright 2011 Google Inc. |
| 4 * | 3 * |
| 5 * Use of this source code is governed by a BSD-style license that can be | 4 * Use of this source code is governed by a BSD-style license that can be |
| 6 * found in the LICENSE file. | 5 * found in the LICENSE file. |
| 7 */ | 6 */ |
| 8 #include <X11/Xlib.h> | 7 #include <X11/Xlib.h> |
| 9 #include <X11/Xatom.h> | 8 #include <X11/Xatom.h> |
| 10 #include <X11/XKBlib.h> | 9 #include <X11/XKBlib.h> |
| 11 #include <GL/glx.h> | 10 #include <GL/glx.h> |
| (...skipping 498 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 510 | 509 |
| 511 void SkEvent::SignalNonEmptyQueue() { | 510 void SkEvent::SignalNonEmptyQueue() { |
| 512 // nothing to do, since we spin on our event-queue, polling for XPending | 511 // nothing to do, since we spin on our event-queue, polling for XPending |
| 513 } | 512 } |
| 514 | 513 |
| 515 void SkEvent::SignalQueueTimer(SkMSec delay) { | 514 void SkEvent::SignalQueueTimer(SkMSec delay) { |
| 516 // just need to record the delay time. We handle waking up for it in | 515 // just need to record the delay time. We handle waking up for it in |
| 517 // MyXNextEventWithDelay() | 516 // MyXNextEventWithDelay() |
| 518 gTimerDelay = delay; | 517 gTimerDelay = delay; |
| 519 } | 518 } |
| OLD | NEW |