Enable dynamic effect of GIF animating images in browser

The ANDROID_LARGE_MEMORY_DEVICE flag is not set for x86 platforms but it
is required to get animated GIF working. 256MB is considered "large".

Change-Id: I2ed6d1668702e6b422e6d585eb8cd06f064ccc32
Author: Bin Xu <bxu10X@intel.com>
Signed-off-by: Bin Xu <bxu10X@intel.com>
Singed-off-by: Shuo Gao <shuo.gao@intel.com>
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
Signed-off-by: Jack Ren <jack.ren@intel.com>
Author-tracking-BZ: 19205
Skia: GPU backend enhancement for canvas2D.

Improve browser performance for canvas2D, we adopted skia-gpu backend.
Add a switch to turn on GR_STATIC_RECT_VB flag, which improve the performance.

Change-Id: I41059c745ef4ee727cfbb5471b697bbfae238015
Author: Kangyuan Shu <kangyuan.shu@intel.com>
Singed-off-by: Shuo Gao <shuo.gao@intel.com>
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
Signed-off-by: Jack Ren <jack.ren@intel.com>
Author-tracking-BZ: 26567

Conflicts:
	Android.mk
Corrected a bug in SkPaint::breakText.

The bug occurs when linear text is meassured. E.g. without this
correction, the following test case will fail

  String s = new String("abcdef");
  Paint p = new Paint();
  p.setLinearText(true);
  float width = p.measureText(s);
  int numberOfCharacters = p.breakText(s, true, width, null);
  assertTrue(numberOfCharacters == s.length());

The reason for this bug is that canonical text size is used to messure
linear text while the maxWidth is not scaled correspondingly.

Change-Id: Iede2d769e43e0914f3e877ee1f46eeeb6b5405ac
Signed-off-by: Peter Eliasson <peter.eliasson.x@sonyericsson.com>

Conflicts:
	src/core/SkPaint.cpp