LCOV - code coverage report
Current view: top level - gfx/gl - SurfaceTypes.cpp (source / functions) Hit Total Coverage
Test: output.info Lines: 0 17 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++; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40; -*- */
       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             : #include "SurfaceTypes.h"
       7             : 
       8             : #include "mozilla/layers/TextureForwarder.h"
       9             : 
      10             : namespace mozilla {
      11             : namespace gl {
      12             : 
      13           0 : SurfaceCaps::SurfaceCaps()
      14             : {
      15           0 :     Clear();
      16           0 : }
      17             : 
      18             : /* These are defined out of line so that we don't need to include
      19             :  * ISurfaceAllocator.h in the header */
      20             : SurfaceCaps::SurfaceCaps(const SurfaceCaps& other) = default;
      21             : SurfaceCaps&
      22             : SurfaceCaps::operator=(const SurfaceCaps& other) = default;
      23             : 
      24             : void
      25           0 : SurfaceCaps::Clear()
      26             : {
      27           0 :     any = false;
      28           0 :     color = false;
      29           0 :     alpha = false;
      30           0 :     bpp16 = false;
      31           0 :     depth = false;
      32           0 :     stencil = false;
      33           0 :     antialias = false;
      34           0 :     premultAlpha = true;
      35           0 :     preserve = false;
      36           0 :     surfaceAllocator = nullptr;
      37           0 : }
      38             : 
      39           0 : SurfaceCaps::~SurfaceCaps()
      40             : {
      41           0 : }
      42             : 
      43             : } // namespace gl
      44             : } // namespace mozilla

Generated by: LCOV version 1.13