From 3efc67e0caf0b63fe0350d6896d2cbc08661f5d7 Mon Sep 17 00:00:00 2001 From: Teng-Hui Zhu Date: Tue, 17 Apr 2012 10:38:53 -0700 Subject: Enable point sample when the texel and pixel is 1:1 mapping. Change-Id: I532ad6b038d3b141bd212c8c408533fec0e9616e --- Source/WebCore/platform/graphics/android/rendering/Tile.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Source/WebCore/platform/graphics/android/rendering/Tile.h') diff --git a/Source/WebCore/platform/graphics/android/rendering/Tile.h b/Source/WebCore/platform/graphics/android/rendering/Tile.h index cc10799..fa06892 100644 --- a/Source/WebCore/platform/graphics/android/rendering/Tile.h +++ b/Source/WebCore/platform/graphics/android/rendering/Tile.h @@ -102,7 +102,7 @@ public: // Return false when real draw didn't happen for any reason. bool drawGL(float opacity, const SkRect& rect, float scale, const TransformationMatrix* transform, - bool forceBlending = false); + bool forceBlending = false, bool usePointSampling = false); // the only thread-safe function called by the background thread void paintBitmap(TilePainter* painter); -- cgit v1.1