From 153659763b450f5a636213edeea693f034baecec Mon Sep 17 00:00:00 2001 From: Hyowon Kim Date: Thu, 2 May 2013 18:40:10 +0900 Subject: [PATCH] Add the 'GraphicsSurface::UseLinearFilter' flag to Canvas2DLayerTizen. [Title] Add the 'GraphicsSurface::UseLinearFilter' flag to Canvas2DLayerTizen. [Issue] VPSS-870 TDIST-184 [Problem] The image is distorted by minification (when its scale factor is not 1.) [Cause] The Canvas2DLayerTizen's CanvasFlag doesn't have UseLinearFilter. [Solution] Canvas2DLayerTizen::graphicsSurfaceFlags() returns UseLinearFilter. Change-Id: I68572babd03adb3ad42ba5fb500759672efc1529 --- Source/WebCore/platform/graphics/efl/tizen/Canvas2DLayerTizen.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/WebCore/platform/graphics/efl/tizen/Canvas2DLayerTizen.h b/Source/WebCore/platform/graphics/efl/tizen/Canvas2DLayerTizen.h index 92462f1..97f2a24 100644 --- a/Source/WebCore/platform/graphics/efl/tizen/Canvas2DLayerTizen.h +++ b/Source/WebCore/platform/graphics/efl/tizen/Canvas2DLayerTizen.h @@ -58,7 +58,7 @@ public: #if ENABLE(TIZEN_CANVAS_GRAPHICS_SURFACE) virtual uint32_t copyToGraphicsSurface(); virtual uint64_t graphicsSurfaceToken() const; - virtual int graphicsSurfaceFlags() const { return GraphicsSurface::Is2D | GraphicsSurface::Alpha; } + virtual int graphicsSurfaceFlags() const { return GraphicsSurface::Is2D | GraphicsSurface::Alpha | GraphicsSurface::UseLinearFilter; } #endif private: @@ -80,4 +80,4 @@ private: #endif -#endif // Canvas2DLayerTizen_h \ No newline at end of file +#endif // Canvas2DLayerTizen_h -- 2.7.4