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

          Line data    Source code
       1             : /* This Source Code Form is subject to the terms of the Mozilla Public
       2             :  * License, v. 2.0. If a copy of the MPL was not distributed with this file,
       3             :  * You can obtain one at http://mozilla.org/MPL/2.0/. */
       4             : 
       5             : #include "WebGLExtensions.h"
       6             : 
       7             : #include "GLContext.h"
       8             : #include "mozilla/dom/WebGLRenderingContextBinding.h"
       9             : #include "WebGLContext.h"
      10             : #include "WebGLFormats.h"
      11             : 
      12             : namespace mozilla {
      13             : 
      14           0 : WebGLExtensionTextureHalfFloatLinear::WebGLExtensionTextureHalfFloatLinear(WebGLContext* webgl)
      15           0 :     : WebGLExtensionBase(webgl)
      16             : {
      17           0 :     auto& fua = webgl->mFormatUsage;
      18             : 
      19           0 :     fua->EditUsage(webgl::EffectiveFormat::RGBA16F)->isFilterable = true;
      20           0 :     fua->EditUsage(webgl::EffectiveFormat::RGB16F)->isFilterable = true;
      21           0 :     fua->EditUsage(webgl::EffectiveFormat::Luminance16FAlpha16F)->isFilterable = true;
      22           0 :     fua->EditUsage(webgl::EffectiveFormat::Luminance16F)->isFilterable = true;
      23           0 :     fua->EditUsage(webgl::EffectiveFormat::Alpha16F)->isFilterable = true;
      24           0 : }
      25             : 
      26           0 : WebGLExtensionTextureHalfFloatLinear::~WebGLExtensionTextureHalfFloatLinear()
      27             : {
      28           0 : }
      29             : 
      30           0 : IMPL_WEBGL_EXTENSION_GOOP(WebGLExtensionTextureHalfFloatLinear, OES_texture_half_float_linear)
      31             : 
      32             : } // namespace mozilla

Generated by: LCOV version 1.13