LCOV - code coverage report
Current view: top level - dom/canvas - WebGLVertexArrayFake.h (source / functions) Hit Total Coverage
Test: output.info Lines: 0 4 0.0 %
Date: 2017-07-14 16:53:18 Functions: 0 3 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_VERTEX_ARRAY_FAKE_H_
       7             : #define WEBGL_VERTEX_ARRAY_FAKE_H_
       8             : 
       9             : #include "WebGLVertexArray.h"
      10             : 
      11             : namespace mozilla {
      12             : 
      13             : class WebGLVertexArrayFake final
      14             :     : public WebGLVertexArray
      15             : {
      16             :     friend class WebGLVertexArray;
      17             : 
      18             : protected:
      19             :     virtual void BindVertexArrayImpl() override;
      20             :     virtual void DeleteImpl() override;
      21           0 :     virtual void GenVertexArray() override {};
      22             :     virtual bool IsVertexArrayImpl() const override;
      23             : 
      24             : private:
      25             :     explicit WebGLVertexArrayFake(WebGLContext* webgl);
      26             : 
      27           0 :     ~WebGLVertexArrayFake() {
      28           0 :         DeleteOnce();
      29           0 :     }
      30             : 
      31             :     bool mIsVAO;
      32             : };
      33             : 
      34             : } // namespace mozilla
      35             : 
      36             : #endif // WEBGL_VERTEX_ARRAY_FAKE_H_

Generated by: LCOV version 1.13