tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

PVRLayer.ipdl (840B)


      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 
      8 include LayersSurfaces;
      9 include protocol PVRManager;
     10 
     11 include "mozilla/GfxMessageUtils.h";
     12 include "VRLayerChild.h";
     13 
     14 using mozilla::gfx::Rect from "mozilla/gfx/Rect.h";
     15 
     16 namespace mozilla {
     17 namespace gfx {
     18 
     19 [ManualDealloc, ChildImpl="VRLayerChild", ParentImpl=virtual]
     20 async protocol PVRLayer
     21 {
     22   manager PVRManager;
     23 
     24 parent:
     25   async SubmitFrame(SurfaceDescriptor aTexture, uint64_t aFrameId,
     26                     Rect aLeftEyeRect, Rect aRightEyeRect);
     27 
     28   async Destroy();
     29 
     30 child:
     31   async __delete__();
     32 };
     33 
     34 } // gfx
     35 } // mozilla