1/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*-
2 * vim: sw=2 ts=8 et :
3 */
4/* This Source Code Form is subject to the terms of the Mozilla Public
5 * License, v. 2.0. If a copy of the MPL was not distributed with this
6 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
7
8include LayersSurfaces;
9include protocol PVRManager;
10
11using mozilla::gfx::Rect from "mozilla/gfx/Rect.h";
12
13namespace mozilla {
14namespace gfx {
15
16async protocol PVRLayer
17{
18  manager PVRManager;
19
20parent:
21  async SubmitFrame(SurfaceDescriptor aTexture, uint64_t aFrameId,
22                    Rect aLeftEyeRect, Rect aRightEyeRect);
23
24  async Destroy();
25
26child:
27  async __delete__();
28};
29
30} // gfx
31} // mozilla
32