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:
parent
ecc45365b6
commit
da0d978b1f
@ -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
|
||||
|
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user