diff options
Diffstat (limited to 'src/gpu/effects')
-rw-r--r-- | src/gpu/effects/GrBicubicEffect.cpp | 2 | ||||
-rw-r--r-- | src/gpu/effects/GrBlurredEdgeFragmentProcessor.h | 1 | ||||
-rw-r--r-- | src/gpu/effects/GrCircleEffect.h | 1 | ||||
-rw-r--r-- | src/gpu/effects/GrDitherEffect.h | 1 | ||||
-rw-r--r-- | src/gpu/effects/GrEllipseEffect.h | 1 | ||||
-rw-r--r-- | src/gpu/effects/GrGaussianConvolutionFragmentProcessor.cpp | 1 | ||||
-rw-r--r-- | src/gpu/effects/GrProxyMove.h | 39 | ||||
-rw-r--r-- | src/gpu/effects/GrSimpleTextureEffect.h | 1 |
8 files changed, 0 insertions, 47 deletions
diff --git a/src/gpu/effects/GrBicubicEffect.cpp b/src/gpu/effects/GrBicubicEffect.cpp index 9472f5192e..dc608c5c9f 100644 --- a/src/gpu/effects/GrBicubicEffect.cpp +++ b/src/gpu/effects/GrBicubicEffect.cpp @@ -7,9 +7,7 @@ #include "GrBicubicEffect.h" -#include "GrProxyMove.h" #include "GrTexture.h" -#include "GrTextureProxy.h" #include "glsl/GrGLSLColorSpaceXformHelper.h" #include "glsl/GrGLSLFragmentShaderBuilder.h" #include "glsl/GrGLSLProgramDataManager.h" diff --git a/src/gpu/effects/GrBlurredEdgeFragmentProcessor.h b/src/gpu/effects/GrBlurredEdgeFragmentProcessor.h index 0875d88f8c..733fd8342c 100644 --- a/src/gpu/effects/GrBlurredEdgeFragmentProcessor.h +++ b/src/gpu/effects/GrBlurredEdgeFragmentProcessor.h @@ -15,7 +15,6 @@ #include "GrFragmentProcessor.h" #include "GrCoordTransform.h" #include "GrColorSpaceXform.h" -#include "effects/GrProxyMove.h" class GrBlurredEdgeFragmentProcessor : public GrFragmentProcessor { public: enum Mode { kGaussian_Mode = 0, kSmoothStep_Mode = 1 }; diff --git a/src/gpu/effects/GrCircleEffect.h b/src/gpu/effects/GrCircleEffect.h index 00f98d416e..fae8155389 100644 --- a/src/gpu/effects/GrCircleEffect.h +++ b/src/gpu/effects/GrCircleEffect.h @@ -15,7 +15,6 @@ #include "GrFragmentProcessor.h" #include "GrCoordTransform.h" #include "GrColorSpaceXform.h" -#include "effects/GrProxyMove.h" class GrCircleEffect : public GrFragmentProcessor { public: int edgeType() const { return fEdgeType; } diff --git a/src/gpu/effects/GrDitherEffect.h b/src/gpu/effects/GrDitherEffect.h index 62c97d5bf7..d3a4e86486 100644 --- a/src/gpu/effects/GrDitherEffect.h +++ b/src/gpu/effects/GrDitherEffect.h @@ -15,7 +15,6 @@ #include "GrFragmentProcessor.h" #include "GrCoordTransform.h" #include "GrColorSpaceXform.h" -#include "effects/GrProxyMove.h" class GrDitherEffect : public GrFragmentProcessor { public: int rangeType() const { return fRangeType; } diff --git a/src/gpu/effects/GrEllipseEffect.h b/src/gpu/effects/GrEllipseEffect.h index 02efb6761d..980ba533be 100644 --- a/src/gpu/effects/GrEllipseEffect.h +++ b/src/gpu/effects/GrEllipseEffect.h @@ -15,7 +15,6 @@ #include "GrFragmentProcessor.h" #include "GrCoordTransform.h" #include "GrColorSpaceXform.h" -#include "effects/GrProxyMove.h" class GrEllipseEffect : public GrFragmentProcessor { public: int edgeType() const { return fEdgeType; } diff --git a/src/gpu/effects/GrGaussianConvolutionFragmentProcessor.cpp b/src/gpu/effects/GrGaussianConvolutionFragmentProcessor.cpp index 423b25dc0f..6d51cf9ed1 100644 --- a/src/gpu/effects/GrGaussianConvolutionFragmentProcessor.cpp +++ b/src/gpu/effects/GrGaussianConvolutionFragmentProcessor.cpp @@ -7,7 +7,6 @@ #include "GrGaussianConvolutionFragmentProcessor.h" -#include "GrProxyMove.h" #include "GrTexture.h" #include "GrTextureProxy.h" #include "../private/GrGLSL.h" diff --git a/src/gpu/effects/GrProxyMove.h b/src/gpu/effects/GrProxyMove.h deleted file mode 100644 index 4fbf1a008d..0000000000 --- a/src/gpu/effects/GrProxyMove.h +++ /dev/null @@ -1,39 +0,0 @@ -/* - * Copyright 2013 Google Inc. - * - * Use of this source code is governed by a BSD-style license that can be - * found in the LICENSE file. - */ - -#ifndef GrProxyMove_DEFINED -#define GrProxyMove_DEFINED - -// In a few places below we rely on braced initialization order being defined by the C++ spec (left -// to right). We use operator-> on a sk_sp and then in a later argument std::move() the sk_sp. GCC -// 4.9.0 and earlier has a bug where the left to right order evaluation isn't implemented correctly. -// -// Clang has the same bug when targeting Windows (http://crbug.com/687259). -// TODO(hans): Remove work-around once Clang is fixed. -#if defined(__GNUC__) && !defined(__clang__) -# define GCC_VERSION (__GNUC__ * 10000 + __GNUC_MINOR__ * 100 + __GNUC_PATCHLEVEL__) -# if (GCC_VERSION > 40900) -# define GCC_EVAL_ORDER_BUG 0 -# else -# define GCC_EVAL_ORDER_BUG 1 -# endif -# undef GCC_VERSION -#elif defined(_MSC_VER) && defined(__clang__) -# define GCC_EVAL_ORDER_BUG 1 -#else -# define GCC_EVAL_ORDER_BUG 0 -#endif - -#if GCC_EVAL_ORDER_BUG -# define GR_PROXY_MOVE(X) (X) -#else -# define GR_PROXY_MOVE(X) (std::move(X)) -#endif - -#undef GCC_EVAL_ORDER_BUG - -#endif diff --git a/src/gpu/effects/GrSimpleTextureEffect.h b/src/gpu/effects/GrSimpleTextureEffect.h index af85ff1d3c..41d7af772c 100644 --- a/src/gpu/effects/GrSimpleTextureEffect.h +++ b/src/gpu/effects/GrSimpleTextureEffect.h @@ -15,7 +15,6 @@ #include "GrFragmentProcessor.h" #include "GrCoordTransform.h" #include "GrColorSpaceXform.h" -#include "effects/GrProxyMove.h" class GrSimpleTextureEffect : public GrFragmentProcessor { public: sk_sp<GrColorSpaceXform> colorXform() const { return fColorXform; } |