LCOV - code coverage report
Current view: top level - dom/canvas - WebGLSync.h (source / functions) Hit Total Coverage
Test: output.info Lines: 0 2 0.0 %
Date: 2017-07-14 16:53:18 Functions: 0 6 0.0 %
Legend: Lines: hit not hit

          Line data    Source code
       1             : /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
       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 WEBGL_SYNC_H_
       7             : #define WEBGL_SYNC_H_
       8             : 
       9             : #include "mozilla/LinkedList.h"
      10             : #include "nsWrapperCache.h"
      11             : #include "WebGLObjectModel.h"
      12             : 
      13             : namespace mozilla {
      14             : 
      15             : class WebGLSync final
      16             :     : public nsWrapperCache
      17             :     , public WebGLRefCountedObject<WebGLSync>
      18             :     , public LinkedListElement<WebGLSync>
      19             : {
      20             :     friend class WebGL2Context;
      21             : 
      22             : public:
      23             :     WebGLSync(WebGLContext* webgl, GLenum condition, GLbitfield flags);
      24             : 
      25             :     void Delete();
      26             :     WebGLContext* GetParentObject() const;
      27             : 
      28             :     virtual JSObject* WrapObject(JSContext* cx, JS::Handle<JSObject*> givenProto) override;
      29             : 
      30           0 :     NS_INLINE_DECL_CYCLE_COLLECTING_NATIVE_REFCOUNTING(WebGLSync)
      31           0 :     NS_DECL_CYCLE_COLLECTION_SCRIPT_HOLDER_NATIVE_CLASS(WebGLSync)
      32             : 
      33             : private:
      34             :     ~WebGLSync();
      35             : 
      36             :     GLsync mGLName;
      37             : };
      38             : 
      39             : } // namespace mozilla
      40             : 
      41             : #endif // WEBGL_SYNC_H_

Generated by: LCOV version 1.13