diff options
Diffstat (limited to 'gpu/include')
-rw-r--r-- | gpu/include/GrContext.h | 2 | ||||
-rw-r--r-- | gpu/include/GrTypes.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/gpu/include/GrContext.h b/gpu/include/GrContext.h index 2f98cdfc38..e07cf42288 100644 --- a/gpu/include/GrContext.h +++ b/gpu/include/GrContext.h @@ -586,7 +586,7 @@ private: // determines whether offscreen AA should be applied bool doOffscreenAA(GrDrawTarget* target, const GrPaint& paint, - bool isLines) const; + bool isHairLines) const; // attempts to setup offscreen AA. All paint state must be transferred to // target by the time this is called. diff --git a/gpu/include/GrTypes.h b/gpu/include/GrTypes.h index e9fb3e6a16..c51ee12e80 100644 --- a/gpu/include/GrTypes.h +++ b/gpu/include/GrTypes.h @@ -197,8 +197,8 @@ enum GrPrimitiveType { kTriangleStrip_PrimitiveType, kTriangleFan_PrimitiveType, kPoints_PrimitiveType, - kLines_PrimitiveType, - kLineStrip_PrimitiveType + kLines_PrimitiveType, // 1 pix wide only + kLineStrip_PrimitiveType // 1 pix wide only }; static inline bool GrIsPrimTypeLines(GrPrimitiveType type) { |