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

          Line data    Source code
       1             : /*
       2             :  * Copyright 2017 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             : #ifndef GrSemaphoreOp_DEFINED
       9             : #define GrSemaphoreOp_DEFINED
      10             : 
      11             : #include "GrOp.h"
      12             : 
      13             : #include "GrSemaphore.h"
      14             : #include "SkRefCnt.h"
      15             : 
      16           0 : class GrSemaphoreOp : public GrOp {
      17             : public:
      18             :     static std::unique_ptr<GrSemaphoreOp> MakeSignal(sk_sp<GrSemaphore> semaphore);
      19             : 
      20             :     static std::unique_ptr<GrSemaphoreOp> MakeWait(sk_sp<GrSemaphore> semaphore);
      21             : 
      22             : protected:
      23           0 :     GrSemaphoreOp(uint32_t classId, sk_sp<GrSemaphore> semaphore)
      24           0 :         : INHERITED(classId), fSemaphore(std::move(semaphore)) {}
      25             : 
      26             :     sk_sp<GrSemaphore> fSemaphore;
      27             : 
      28             : private:
      29           0 :     bool onCombineIfPossible(GrOp* that, const GrCaps& caps) override { return false; }
      30           0 :     void onPrepare(GrOpFlushState*) override {}
      31             : 
      32             :     typedef GrOp INHERITED;
      33             : };
      34             : 
      35             : #endif

Generated by: LCOV version 1.13