Sanitizing source files in Housekeeper-Nightly

git-svn-id: http://skia.googlecode.com/svn/trunk@13989 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
skia.committer@gmail.com 2014-03-29 03:02:36 +00:00
parent ecc45365b6
commit da0d978b1f
2 changed files with 6 additions and 6 deletions

View File

@ -23,15 +23,15 @@
#ifndef SkUserConfig_Android_DEFINED
#define SkUserConfig_Android_DEFINED
#ifdef ANDROID
#include <utils/misc.h>
#include <utils/misc.h>
#endif
#if __BYTE_ORDER == __BIG_ENDIAN
#define SK_CPU_BENDIAN
#undef SK_CPU_LENDIAN
#define SK_CPU_BENDIAN
#undef SK_CPU_LENDIAN
#else
#define SK_CPU_LENDIAN
#undef SK_CPU_BENDIAN
#define SK_CPU_LENDIAN
#undef SK_CPU_BENDIAN
#endif
#define SK_BUILD_FOR_ANDROID

View File

@ -146,7 +146,7 @@ void GLCircleEffect::emitCode(GrGLShaderBuilder* builder,
SkASSERT(kHairlineAA_GrEffectEdgeType != ce.getEdgeType());
if (GrEffectEdgeTypeIsInverseFill(ce.getEdgeType())) {
builder->fsCodeAppendf("\t\tfloat d = length(%s.xy - %s.xy) - %s.z;\n",
builder->fsCodeAppendf("\t\tfloat d = length(%s.xy - %s.xy) - %s.z;\n",
circleName, fragmentPos, circleName);
} else {
builder->fsCodeAppendf("\t\tfloat d = %s.z - length(%s.xy - %s.xy);\n",