Fix problem of clipping when the textureSize is odd
authoruser <tanvir.rizvi@tanvir.rizvi-ubuntu>
Fri, 11 Oct 2013 09:27:21 +0000 (14:57 +0530)
committerGerrit Code Review <gerrit@gerrit.vlan144.tizendev.org>
Tue, 15 Oct 2013 05:40:38 +0000 (05:40 +0000)
commitff23af4019f09a8d9529a46ac1ec629b9157933f
treeeaeb7900d4a75f68f05f67d358b65a4a177be654
parentad16feb4a223df6e7f8f57addbf4a78230348f19
Fix problem of clipping when the textureSize is odd

[Title] When the Texture Size is Odd then a line is appearing in m.rolex.com in emulator
[Issue] N_SE-50996
[Problem] Presently the textureSize is reduced by one if the content Size is Odd to make it even.
[Solution] Increase the TextureSize by one instead of decreasing. By this the values in clipping will fall under the limits when the paint is done usingTheOverLapRegions. Previously when the clipping was done since the textureSize was falling one less a white line was visiblle.

Change-Id: I4df161cea4233b6a8ee01c041a63b90f46cd397a
Source/WebCore/platform/graphics/texmap/TextureMapperGL.cpp