LCOV - code coverage report
Current view: top level - gfx/vr/ipc - VRLayerParent.h (source / functions) Hit Total Coverage
Test: output.info Lines: 0 3 0.0 %
Date: 2017-07-14 16:53:18 Functions: 0 4 0.0 %
Legend: Lines: hit not hit

          Line data    Source code
       1             : /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
       2             :  * This Source Code Form is subject to the terms of the Mozilla Public
       3             :  * License, v. 2.0. If a copy of the MPL was not distributed with this
       4             :  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
       5             : 
       6             : #ifndef GFX_VR_LAYERPARENT_H
       7             : #define GFX_VR_LAYERPARENT_H
       8             : 
       9             : #include "VRManager.h"
      10             : 
      11             : #include "mozilla/RefPtr.h"
      12             : #include "mozilla/gfx/PVRLayerParent.h"
      13             : #include "gfxVR.h"
      14             : 
      15             : namespace mozilla {
      16             : namespace gfx {
      17             : 
      18             : class VRLayerParent : public PVRLayerParent {
      19           0 :   NS_INLINE_DECL_THREADSAFE_REFCOUNTING(VRLayerParent)
      20             : 
      21             : public:
      22             :   VRLayerParent(uint32_t aVRDisplayID, const Rect& aLeftEyeRect,
      23             :                 const Rect& aRightEyeRect, const uint32_t aGroup);
      24             :   virtual mozilla::ipc::IPCResult RecvSubmitFrame(PTextureParent* texture) override;
      25             :   virtual mozilla::ipc::IPCResult RecvDestroy() override;
      26           0 :   uint32_t GetDisplayID() const { return mVRDisplayID; }
      27           0 :   uint32_t GetGroup() const { return mGroup; }
      28             : protected:
      29             :   virtual void ActorDestroy(ActorDestroyReason aWhy) override;
      30             : 
      31             :   virtual ~VRLayerParent();
      32             :   void Destroy();
      33             : 
      34             :   bool mIPCOpen;
      35             : 
      36             :   uint32_t mVRDisplayID;
      37             :   gfx::IntSize mSize;
      38             :   gfx::Rect mLeftEyeRect;
      39             :   gfx::Rect mRightEyeRect;
      40             :   uint32_t mGroup;
      41             : };
      42             : 
      43             : } // namespace gfx
      44             : } // namespace mozilla
      45             : 
      46             : #endif

Generated by: LCOV version 1.13