зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1467125 - [Wayland] Get events from Wayland display faster on compositor thread, r=jhorak
MozReview-Commit-ID: AmarsYA2INc --HG-- extra : rebase_source : c30015ba1a45e98691abdeb012bede816eb8c440
This commit is contained in:
Родитель
f7e331b36e
Коммит
daff99d97a
|
@ -151,8 +151,9 @@ static nsWaylandDisplay* WaylandDisplayGet(wl_display *aDisplay);
|
|||
static void WaylandDisplayRelease(wl_display *aDisplay);
|
||||
static void WaylandDisplayLoop(wl_display *aDisplay);
|
||||
|
||||
// TODO: is the 60pfs loop correct?
|
||||
#define EVENT_LOOP_DELAY (1000/60)
|
||||
// TODO: Bug 1467125 - We need to integrate wl_display_dispatch_queue_pending() with
|
||||
// compositor event loop.
|
||||
#define EVENT_LOOP_DELAY (1000/240)
|
||||
|
||||
// Get WaylandDisplay for given wl_display and actual calling thread.
|
||||
static nsWaylandDisplay*
|
||||
|
|
Загрузка…
Ссылка в новой задаче