LCOV - code coverage report
Current view: top level - dom/canvas - WebGL1Context.h (source / functions) Hit Total Coverage
Test: output.info Lines: 0 2 0.0 %
Date: 2017-07-14 16:53:18 Functions: 0 1 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_1_CONTEXT_H_
       7             : #define WEBGL_1_CONTEXT_H_
       8             : 
       9             : #include "WebGLContext.h"
      10             : 
      11             : namespace mozilla {
      12             : 
      13             : class WebGL1Context
      14             :     : public WebGLContext
      15             : {
      16             : public:
      17             :     static WebGL1Context* Create();
      18             : 
      19             : private:
      20             :     WebGL1Context();
      21             : 
      22             :     virtual UniquePtr<webgl::FormatUsageAuthority>
      23             :     CreateFormatUsage(gl::GLContext* gl) const override;
      24             : 
      25             : public:
      26             :     virtual ~WebGL1Context();
      27             : 
      28           0 :     virtual bool IsWebGL2() const override {
      29           0 :         return false;
      30             :     }
      31             : 
      32             :     // nsWrapperCache
      33             :     virtual JSObject* WrapObject(JSContext* cx, JS::Handle<JSObject*> givenProto) override;
      34             : };
      35             : 
      36             : } // namespace mozilla
      37             : 
      38             : #endif // WEBGL_1_CONTEXT_H_

Generated by: LCOV version 1.13