LCOV - code coverage report
Current view: top level - gfx/skia/skia/src/ports - SkGlobalInitialization_default.cpp (source / functions) Hit Total Coverage
Test: output.info Lines: 0 7 0.0 %
Date: 2017-07-14 16:53:18 Functions: 0 1 0.0 %
Legend: Lines: hit not hit

          Line data    Source code
       1             : /*
       2             :  * Copyright 2011 Google Inc.
       3             :  *
       4             :  * Use of this source code is governed by a BSD-style license that can be
       5             :  * found in the LICENSE file.
       6             :  */
       7             : 
       8             : #include "SkBitmapSourceDeserializer.h"
       9             : #include "SkDashPathEffect.h"
      10             : #include "SkGradientShader.h"
      11             : #include "SkImageSource.h"
      12             : #include "SkLayerRasterizer.h"
      13             : 
      14             : // Security note:
      15             : //
      16             : // As new subclasses are added here, they should be reviewed by chrome security before they
      17             : // support deserializing cross-process: chrome-security@google.com. SampleFilterFuzz.cpp should
      18             : // also be amended to exercise the new subclass.
      19             : //
      20             : // See SkReadBuffer::isCrossProcess() and SkPicture::PictureIOSecurityPrecautionsEnabled()
      21             : //
      22             : 
      23             : /*
      24             :  *  None of these are strictly "required" for Skia to operate.
      25             :  *
      26             :  *  These are the bulk of our "effects" -- subclasses of various effects on SkPaint.
      27             :  *
      28             :  *  Clients should feel free to dup this file and modify it as needed. This function "InitEffects"
      29             :  *  will automatically be called before any of skia's effects are asked to be deserialized.
      30             :  */
      31           0 : void SkFlattenable::PrivateInitializer::InitEffects() {
      32           0 :     SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkBitmapSourceDeserializer)
      33             : 
      34             :     // Rasterizer
      35           0 :     SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkLayerRasterizer)
      36             : 
      37             :     // Shader
      38           0 :     SkGradientShader::InitializeFlattenables();
      39             : 
      40             :     // PathEffect
      41           0 :     SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkDashPathEffect)
      42             : 
      43             :     // ImageFilter
      44           0 :     SkImageFilter::InitializeFlattenables();
      45           0 : }

Generated by: LCOV version 1.13