diff options
Diffstat (limited to 'src/gpu/ccpr/GrCCPathCache.h')
-rw-r--r-- | src/gpu/ccpr/GrCCPathCache.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gpu/ccpr/GrCCPathCache.h b/src/gpu/ccpr/GrCCPathCache.h index e6e25d2562..0e6f4f055d 100644 --- a/src/gpu/ccpr/GrCCPathCache.h +++ b/src/gpu/ccpr/GrCCPathCache.h @@ -38,7 +38,11 @@ public: struct MaskTransform { MaskTransform(const SkMatrix& m, SkIVector* shift); float fMatrix2x2[4]; +#ifndef SK_BUILD_FOR_ANDROID_FRAMEWORK + // Except on AOSP, cache hits must have matching subpixel portions of their view matrix. + // On AOSP we follow after HWUI and ignore the subpixel translate. float fSubpixelTranslate[2]; +#endif }; enum class CreateIfAbsent : bool { |