gecko-dev/gfx/vr/ipc/PVR.ipdl

39 строки
1.3 KiB
Plaintext

/* -*- 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 mozilla::TimeStamp from "mozilla/TimeStamp.h";
using mozilla::gfx::OpenVRControllerType from "VRMessageUtils.h";
using mozilla::dom::NativeThreadId from "mozilla/dom/TabMessageUtils.h";
include "VRMessageUtils.h";
include GraphicsMessages;
include protocol PVRGPU;
include "VRMessageUtils.h";
namespace mozilla {
namespace gfx {
async protocol PVR
{
parent:
async NewGPUVRManager(Endpoint<PVRGPUParent> endpoint);
async Init(GfxPrefSetting[] prefs, GfxVarUpdate[] vars, DevicePrefs devicePrefs);
async NotifyVsync(TimeStamp vsyncTimestamp);
async UpdatePref(GfxPrefSetting pref);
async UpdateVar(GfxVarUpdate var);
async OpenVRControllerActionPathToVR(nsCString aPath);
async OpenVRControllerManifestPathToVR(OpenVRControllerType aType, nsCString aPath);
child:
async OpenVRControllerActionPathToParent(nsCString aPath);
async OpenVRControllerManifestPathToParent(OpenVRControllerType aType, nsCString aPath);
async InitCrashReporter(Shmem shmem, NativeThreadId threadId);
};
} // namespace gfx
} // namespace mozilla