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:
Martin Stransky 2018-06-06 15:25:15 +02:00
Родитель f7e331b36e
Коммит daff99d97a
1 изменённых файлов: 3 добавлений и 2 удалений

Просмотреть файл

@ -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*