gfx/ipc/PVsyncBridge.ipdl
author moz-wptsync-bot <wptsync@mozilla.com>
Thu, 08 Nov 2018 08:22:51 +0000
changeset 506788 f62150dda3664620284888933718cef568d96558
parent 465967 5d9f32557d7740c7c30f7bc6057c4de0c294d828
child 508833 ae190948ad730114399ac7074dbbf1cda2ebe359
permissions -rw-r--r--
Bug 1505638 [wpt PR 13972] - Update wpt metadata, a=testonly wpt-pr: 13972 wpt-type: metadata

/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */

using class mozilla::TimeStamp from "mozilla/TimeStamp.h";
using mozilla::layers::LayersId from "mozilla/layers/LayersTypes.h";

namespace mozilla {
namespace gfx {

// This protocol only serves one purpose: deliver vsync notifications from a
// dedicated thread in the UI process to the compositor thread in the
// compositor process. The child side exists in the UI process, and the
// parent side in the GPU process.
sync protocol PVsyncBridge
{
parent:
  async NotifyVsync(TimeStamp vsyncTimeStamp, LayersId layersId);
};

} // namespace gfx
} // namespace mozilla