| Index: include/gpu/GrFragmentStage.h
|
| diff --git a/include/gpu/GrFragmentStage.h b/include/gpu/GrFragmentStage.h
|
| deleted file mode 100644
|
| index ca3be8a0f7f56c9a732f02753954166f3ccc01cf..0000000000000000000000000000000000000000
|
| --- a/include/gpu/GrFragmentStage.h
|
| +++ /dev/null
|
| @@ -1,34 +0,0 @@
|
| -/*
|
| - * Copyright 2010 Google Inc.
|
| - *
|
| - * Use of this source code is governed by a BSD-style license that can be
|
| - * found in the LICENSE file.
|
| - */
|
| -
|
| -#ifndef GrFragmentStage_DEFINED
|
| -#define GrFragmentStage_DEFINED
|
| -
|
| -#include "GrFragmentProcessor.h"
|
| -
|
| -/**
|
| - * Wraps a GrFragmentProcessor, basically a copyable SkAutoTUnref
|
| - */
|
| -class GrFragmentStage {
|
| -public:
|
| - explicit GrFragmentStage(const GrFragmentProcessor* proc) : fProc(SkRef(proc)) {}
|
| -
|
| - GrFragmentStage(const GrFragmentStage& other) { fProc.reset(SkRef(other.fProc.get())); }
|
| -
|
| - const GrFragmentProcessor* processor() const { return fProc.get(); }
|
| -
|
| - bool operator==(const GrFragmentStage& that) const {
|
| - return this->processor() == that.processor();
|
| - }
|
| -
|
| - bool operator!=(const GrFragmentStage& that) const { return !(*this == that); }
|
| -
|
| -protected:
|
| - SkAutoTUnref<const GrFragmentProcessor> fProc;
|
| -};
|
| -
|
| -#endif
|
|
|