OSDN Git Service

android-x86/external-webkit.git
12 years agofix viewport lagging a drawGL call behind
Chris Craik [Thu, 8 Dec 2011 00:03:07 +0000 (16:03 -0800)]
fix viewport lagging a drawGL call behind

bug:5724482 bug:5660963

we were calling setViewport and setViewRect out of order, so we were clipping
with the last frame's (or last webview's, if >1 were visible) projection matrix

Change-Id: Ifcbfa0021cb33e3400ac9eaf64fc2235ee8afe50

12 years agoMerge "Don't deep copy animations, prepare animations on both trees" into ics-mr1
Chris Craik [Tue, 6 Dec 2011 22:29:46 +0000 (14:29 -0800)]
Merge "Don't deep copy animations, prepare animations on both trees" into ics-mr1

12 years agoDelete TextureGenerator operations outside the lock
Chris Craik [Tue, 6 Dec 2011 01:26:07 +0000 (17:26 -0800)]
Delete TextureGenerator operations outside the lock

bug:5713701

This fixes a potential deadlock between TextureGenerator and ImagesManager

Change-Id: I57503d3b73aff571629826f2278491232b37cb67

12 years agoDon't deep copy animations, prepare animations on both trees
John Reck [Sat, 3 Dec 2011 03:12:05 +0000 (19:12 -0800)]
Don't deep copy animations, prepare animations on both trees

 Bug: 5699085

Previously, animations were copied along with layer trees from the webkit to UI
thread. This changes that to instead use a single object per animation with
refcounting so that animations are kept consistent.

Additionally, animations are now run on both the painting and drawing trees in
the tree manager so that animated content clipped correctly during a tree swap.

Change-Id: I79f0c0e47b717f9fdddf303eb7ec29efc4950aaf

12 years agoMerge "Revert "Set the exact buffer size to Surf Tex"" into ics-mr1
Teng-Hui Zhu [Sat, 3 Dec 2011 00:06:27 +0000 (16:06 -0800)]
Merge "Revert "Set the exact buffer size to Surf Tex"" into ics-mr1

12 years agoRevert "Set the exact buffer size to Surf Tex"
Teng-Hui Zhu [Fri, 2 Dec 2011 23:28:40 +0000 (15:28 -0800)]
Revert "Set the exact buffer size to Surf Tex"

This reverts commit 2d19ea7c0d192c0c1eda1caed7e25143bbe22c20.

bug:5689093

12 years agoMerge "Maintain UI-side start times for animations in SW rendering mode" into ics-mr1
Chris Craik [Fri, 2 Dec 2011 22:03:25 +0000 (14:03 -0800)]
Merge "Maintain UI-side start times for animations in SW rendering mode" into ics-mr1

12 years agoMaintain UI-side start times for animations in SW rendering mode
Chris Craik [Fri, 2 Dec 2011 21:42:02 +0000 (13:42 -0800)]
Maintain UI-side start times for animations in SW rendering mode

bug:5704428
Change-Id: I1d1d1f214642b6ff868e8425778565686bfe8b69

12 years agoclip tile prepare bounds to content OR viewport
Chris Craik [Fri, 2 Dec 2011 19:48:43 +0000 (11:48 -0800)]
clip tile prepare bounds to content OR viewport

bug:5699003
Change-Id: I4c35008f1324e0f9e83b7dd9e72e09a7e09ae7a9

12 years agoMerge "Turn off partial layer inval in MR1 - DO NOT MERGE" into ics-mr1
Chris Craik [Fri, 2 Dec 2011 18:37:03 +0000 (10:37 -0800)]
Merge "Turn off partial layer inval in MR1 - DO NOT MERGE" into ics-mr1

12 years agoTurn off partial layer inval in MR1 - DO NOT MERGE
Chris Craik [Fri, 2 Dec 2011 01:19:24 +0000 (17:19 -0800)]
Turn off partial layer inval in MR1 - DO NOT MERGE

bug:5699531

Partial layer inval isn't working yet, disabling for correctness.

Change-Id: I4838db41ea24e07f7b30c44ddb8321f598087d2a

12 years agoMerge "Scroll position now passed to all layers" into ics-mr1
Chris Craik [Fri, 2 Dec 2011 01:08:14 +0000 (17:08 -0800)]
Merge "Scroll position now passed to all layers" into ics-mr1

12 years agoScroll position now passed to all layers
Chris Craik [Thu, 1 Dec 2011 23:31:25 +0000 (15:31 -0800)]
Scroll position now passed to all layers

bug:5666027

Previously, only the most recent version of the scrollablelayerandroid would
have its position updated. This caused issues with position inconsistency
between the painting and drawing version of the layer, if both existed.

Change-Id: Ife29ae4e2cb00fbaa2f6fc95d9914b3434862f10

12 years agoMerge "Fix image layer codepath" into ics-mr1
Nicolas Roard [Thu, 1 Dec 2011 15:39:44 +0000 (07:39 -0800)]
Merge "Fix image layer codepath" into ics-mr1

12 years agoMerge "Ensure font encoding is correct for drawing loopers." into ics-mr1
Derek Sollenberger [Thu, 1 Dec 2011 13:05:00 +0000 (05:05 -0800)]
Merge "Ensure font encoding is correct for drawing loopers." into ics-mr1

12 years agoMerge "add support for WebTextView on scrolling layers" into ics-mr1
Bart Sears [Thu, 1 Dec 2011 06:29:04 +0000 (22:29 -0800)]
Merge "add support for WebTextView on scrolling layers" into ics-mr1

12 years agoMerge "Fix offscreen tile optimization with small content" into ics-mr1
Bart Sears [Thu, 1 Dec 2011 06:15:13 +0000 (22:15 -0800)]
Merge "Fix offscreen tile optimization with small content" into ics-mr1

12 years agoMerge "Increase the transfer queue size a little to improve the performance" into...
Bart Sears [Thu, 1 Dec 2011 06:13:28 +0000 (22:13 -0800)]
Merge "Increase the transfer queue size a little to improve the performance" into ics-mr1

12 years agoMerge "A WAR to enable the slider touch event on youtube.com" into ics-mr1
Bart Sears [Thu, 1 Dec 2011 06:11:17 +0000 (22:11 -0800)]
Merge "A WAR to enable the slider touch event on youtube.com" into ics-mr1

12 years agoFix image layer codepath
Nicolas Roard [Wed, 23 Nov 2011 22:23:24 +0000 (14:23 -0800)]
Fix image layer codepath

- asynchronous loading
- support for tiled content using TiledTexture
- fix repaint/duplication bugs
- share same textures as layers
- disambiguate between images by computing a CRC code
- added better debugging in TilesManager/ClassTracker to track
  memory usage

bug:5661120 bug:5572134 bug:5521718

Change-Id: Id422fb991d6233bbe4dc6e5c3c7409468b7dca98

12 years agoFix offscreen tile optimization with small content
Chris Craik [Thu, 1 Dec 2011 01:01:07 +0000 (17:01 -0800)]
Fix offscreen tile optimization with small content

bug:5691644
Change-Id: Ida66f42c634099c4399bae0bbf4b5776913757b0

12 years agoIncrease the transfer queue size a little to improve the performance
Teng-Hui Zhu [Thu, 1 Dec 2011 00:48:46 +0000 (16:48 -0800)]
Increase the transfer queue size a little to improve the performance

bug:5666757
Change-Id: Ib9589254c656731eaf35be60f9dccf45d4cea21b

12 years agoadd support for WebTextView on scrolling layers
Michael Kolb [Wed, 30 Nov 2011 23:54:31 +0000 (15:54 -0800)]
add support for WebTextView on scrolling layers

    Bug: 5677828

Change-Id: I22ecf16c79badab68d8305d2e040057d73b02bea

12 years agoMerge "Swap tiled page tiles on zoom" into ics-mr1
Chris Craik [Wed, 30 Nov 2011 22:33:55 +0000 (14:33 -0800)]
Merge "Swap tiled page tiles on zoom" into ics-mr1

12 years agoSwap tiled page tiles on zoom
Chris Craik [Wed, 30 Nov 2011 20:57:28 +0000 (12:57 -0800)]
Swap tiled page tiles on zoom

bug:5678199
Change-Id: I8cc811753f1c9325d3adefbd30e7501ee8719b6b

12 years agoEnsure font encoding is correct for drawing loopers.
Derek Sollenberger [Wed, 30 Nov 2011 14:08:11 +0000 (09:08 -0500)]
Ensure font encoding is correct for drawing loopers.

This is particularly important for drawing shadowed text.

bug: 5571685
Change-Id: Id90e4524faf086fc96cc1d59883f7a420c8c3ff5

12 years agoMerge "DO NOT MERGE Use unsigned length when reading data" into ics-mr1
Russell Brenner [Wed, 30 Nov 2011 20:10:40 +0000 (12:10 -0800)]
Merge "DO NOT MERGE Use unsigned length when reading data" into ics-mr1

12 years agoDO NOT MERGE Use unsigned length when reading data
Russell Brenner [Tue, 29 Nov 2011 23:34:08 +0000 (15:34 -0800)]
DO NOT MERGE Use unsigned length when reading data

With a signed length, invalid negative sizes can bypass data limit
checks of the type:

        if (data + length < end)

With an unsigned length, absurdly large lengths will now trigger an
early exit instead of following through into the decoding routine
with a bad length.

Bug: 5143832
Change-Id: I8e4a8d357ee04a36e35ab47d538ce57088734ccf

12 years agoDo not load uncached images if blocked by embedding app.
Ben Murdoch [Tue, 22 Nov 2011 11:43:42 +0000 (11:43 +0000)]
Do not load uncached images if blocked by embedding app.

Ensure that onload callbacks are not sent for images that
are not actually loaded.

This is based off the patch and discussion in
https://bugs.webkit.org/show_bug.cgi?id=71661

Bug: 5522414
Change-Id: I6366448bce5dd053bda3bfecb18c02943fe645a2

12 years agoMerge "Don't prepare offscreen tiles" into ics-mr1
Chris Craik [Wed, 30 Nov 2011 03:18:45 +0000 (19:18 -0800)]
Merge "Don't prepare offscreen tiles" into ics-mr1

12 years agoDon't prepare offscreen tiles
Chris Craik [Wed, 30 Nov 2011 01:22:40 +0000 (17:22 -0800)]
Don't prepare offscreen tiles

bug:5675837

Corrected max tile bounds logic
Removed unused local variables

Change-Id: I3a47fa69b720c59c9468dfca03638e66e3ac78dc

12 years agoMerge "Set the exact buffer size to Surf Tex" into ics-mr1
Teng-Hui Zhu [Wed, 30 Nov 2011 01:06:04 +0000 (17:06 -0800)]
Merge "Set the exact buffer size to Surf Tex" into ics-mr1

12 years agoMerge "synchronize animation starts with webkit" into ics-mr1
Chris Craik [Wed, 30 Nov 2011 00:55:45 +0000 (16:55 -0800)]
Merge "synchronize animation starts with webkit" into ics-mr1

12 years agosynchronize animation starts with webkit
Chris Craik [Tue, 29 Nov 2011 21:39:24 +0000 (13:39 -0800)]
synchronize animation starts with webkit

bug:5239801

this better supports animations not synchronous with webkit

Relies on the frameworks/base CL: https://android-git.corp.google.com/g/#/c/152533/

Change-Id: Ia79a475065b3891db8fc4014559062ab1ac95ebe

12 years agoSet the exact buffer size to Surf Tex
Teng-Hui Zhu [Tue, 29 Nov 2011 22:43:29 +0000 (14:43 -0800)]
Set the exact buffer size to Surf Tex

Originally, the extra space is used to get the queue working when the size is
1, which is only for testing purpose.
Now we should claim this back to save some memory.

bug:5666757
Change-Id: I2079a562d8414f89274d7fff3342eafe32fe287f

12 years agoMerge "WebView Animation support" into ics-mr1
Teng-Hui Zhu [Tue, 29 Nov 2011 22:18:20 +0000 (14:18 -0800)]
Merge "WebView Animation support" into ics-mr1

12 years agoWebView Animation support
Teng-Hui Zhu [Mon, 14 Nov 2011 19:05:16 +0000 (11:05 -0800)]
WebView Animation support

bug:4982054
Change-Id: I1e8ea5ed7043a7140254a99053cf241de1b0ef3e

12 years agoMerge "Fix WebViewCore::createBaseLayer() to always do a layout and paint the backgro...
Steve Block [Tue, 29 Nov 2011 10:18:40 +0000 (02:18 -0800)]
Merge "Fix WebViewCore::createBaseLayer() to always do a layout and paint the background color" into ics-mr1

12 years agoMerge "Put canvas on a layer" into ics-mr1
John Reck [Mon, 28 Nov 2011 23:13:29 +0000 (15:13 -0800)]
Merge "Put canvas on a layer" into ics-mr1

12 years agoPut canvas on a layer
John Reck [Mon, 28 Nov 2011 20:58:00 +0000 (12:58 -0800)]
Put canvas on a layer

 Bug: 5666191

Change-Id: I30708d508b7e05e8bcbc6c22413134ca378f6d2c

12 years agoMerge "Display media layers even if we ran out of layers textures" into ics-mr1
Nicolas Roard [Mon, 28 Nov 2011 19:02:55 +0000 (11:02 -0800)]
Merge "Display media layers even if we ran out of layers textures" into ics-mr1

12 years agoFix WebViewCore::createBaseLayer() to always do a layout and paint the background...
Steve Block [Thu, 24 Nov 2011 15:24:03 +0000 (15:24 +0000)]
Fix WebViewCore::createBaseLayer() to always do a layout and paint the background color

It seems that it's not valid to do this only when the base layer's inval region
is not empty.

This is a partial revert of https://android-git.corp.google.com/g/#/c/142481.

Bug: 5501576
Change-Id: Ie608674e0b61e0d6280777583c64499ff5afe8a3

12 years agoFix SVG text rendering
Steve Block [Thu, 24 Nov 2011 14:02:29 +0000 (14:02 +0000)]
Fix SVG text rendering

Android's implementation of GraphicsContext::setCTM() is broken, because Skia's
Picture mode does not support setMatrix(). This broken code was added in
https://android-git.corp.google.com/g/#/c/112636 as part of the merge to WebKit
r80534.

This change modifies SVGInlineTextBox to avoid calling
GraphicsContext::setCTM() and makes clear that the method should not be used.

Bug: 5590123
Change-Id: I45a3c8c356b7f068bb943a45b9f10cbc041331e2

12 years agoDisplay media layers even if we ran out of layers textures
Nicolas Roard [Wed, 23 Nov 2011 22:50:19 +0000 (14:50 -0800)]
Display media layers even if we ran out of layers textures

bug:5665482

Change-Id: Idd398d2adb7edcd5c782b9d6f019f448afadb21b

12 years agoA WAR to enable the slider touch event on youtube.com
Teng-Hui Zhu [Wed, 23 Nov 2011 01:27:11 +0000 (17:27 -0800)]
A WAR to enable the slider touch event on youtube.com

bug:5520141
Change-Id: Ib346c42037f68b5e8303f0c61196fb28e698f7c9

12 years agoForce layers above overscroll/fixed elements to composite
Chris Craik [Wed, 23 Nov 2011 00:06:08 +0000 (16:06 -0800)]
Force layers above overscroll/fixed elements to composite

bug:5480098

This fixes the case where they were drawn on the base layer, beneath overscroll
elements.

Change-Id: If9dda8c3a25cf38e777847b834ae02ec530a8000

12 years agoMerge "Use isHighEndGfx to double textures" into ics-mr1
John Reck [Mon, 21 Nov 2011 22:11:48 +0000 (14:11 -0800)]
Merge "Use isHighEndGfx to double textures" into ics-mr1

12 years agoUse isHighEndGfx to double textures
John Reck [Mon, 21 Nov 2011 17:17:33 +0000 (09:17 -0800)]
Use isHighEndGfx to double textures

 Bug: 5639612

Change-Id: I308f6fbb8208a0d2e83f2b6d285d4c471137a0e7

12 years agoMerge "Set the number of current textures depending on the layers' count, to avoid...
Nicolas Roard [Mon, 21 Nov 2011 18:07:22 +0000 (10:07 -0800)]
Merge "Set the number of current textures depending on the layers' count, to avoid going to single drawing surface if we can. Also fix a crash when logging layers." into ics-mr1

12 years agoSet the number of current textures depending on the layers' count,
Nicolas Roard [Thu, 17 Nov 2011 02:25:59 +0000 (18:25 -0800)]
Set the number of current textures depending on the layers' count,
to avoid going to single drawing surface if we can.
Also fix a crash when logging layers.

bug:5279231
Change-Id: I1c3f2ce4bcedac1c172e87c7ec3c6692d8e35e14

12 years agoMerge "Content and viewport rects set in one step." into ics-mr1
Bart Sears [Fri, 18 Nov 2011 19:46:11 +0000 (11:46 -0800)]
Merge "Content and viewport rects set in one step." into ics-mr1

12 years agoMerge "Only allow stacking contexts to skip compositing" into ics-mr1
Bart Sears [Fri, 18 Nov 2011 03:25:21 +0000 (19:25 -0800)]
Merge "Only allow stacking contexts to skip compositing" into ics-mr1

12 years agoOnly allow stacking contexts to skip compositing
Chris Craik [Fri, 18 Nov 2011 01:33:50 +0000 (17:33 -0800)]
Only allow stacking contexts to skip compositing

bug:5635942
Change-Id: Ibda67bb638d9fca5f32c85ee39c1ae1429986eda

12 years agoMerge "Force tiles to swap whenever drawing tree is ready" into ics-mr1
Chris Craik [Thu, 17 Nov 2011 20:50:39 +0000 (12:50 -0800)]
Merge "Force tiles to swap whenever drawing tree is ready" into ics-mr1

12 years agoMerge "Add logging to help debug an ANR" into ics-mr1
Teng-Hui Zhu [Thu, 17 Nov 2011 18:07:14 +0000 (10:07 -0800)]
Merge "Add logging to help debug an ANR" into ics-mr1

12 years agoForce tiles to swap whenever drawing tree is ready
Chris Craik [Thu, 17 Nov 2011 02:24:33 +0000 (18:24 -0800)]
Force tiles to swap whenever drawing tree is ready

bug:5632237

Sometimes the drawing tree wouldn't swap it's tiles after a scroll or a view
resize, even though the tiles were painted ready. Now, force all tiles to swap
every time the entire tree is ready.

Change-Id: Id204ed9082b7ee4d41fa712c37febc3dacf6984e

12 years agoMerge "synchronous layer updates, and animation deferral during paint" into ics-mr1
Chris Craik [Thu, 17 Nov 2011 02:21:35 +0000 (18:21 -0800)]
Merge "synchronous layer updates, and animation deferral during paint" into ics-mr1

12 years agosynchronous layer updates, and animation deferral during paint
Chris Craik [Tue, 15 Nov 2011 19:28:34 +0000 (11:28 -0800)]
synchronous layer updates, and animation deferral during paint

bug:5522081
bug:5239801
bug:5297563

Change-Id: I600f66999e093f720a8ea97ef3e15d3d1d297a8f

12 years agoAdd logging to help debug an ANR
Teng-Hui Zhu [Wed, 16 Nov 2011 23:03:40 +0000 (15:03 -0800)]
Add logging to help debug an ANR

bug:5627977
Change-Id: Ie68a4ae44599063fa93938370a5dcff7e63d7b9b

12 years agoFix clipping issue causing the layers to disappear when IME is up
Nicolas Roard [Wed, 16 Nov 2011 22:40:14 +0000 (14:40 -0800)]
Fix clipping issue causing the layers to disappear when IME is up

bug:5622291
Change-Id: I0134b784092b8e3910fcabf3e647034eb31096c7

12 years agoMerge "Promote -ve z-index fixed/scrollable elements to layers" into ics-mr1
Ben Murdoch [Wed, 16 Nov 2011 19:20:29 +0000 (11:20 -0800)]
Merge "Promote -ve z-index fixed/scrollable elements to layers" into ics-mr1

12 years agoMerge "Position WebTextView correctly on layers" into ics-mr1
Michael Kolb [Wed, 16 Nov 2011 18:34:38 +0000 (10:34 -0800)]
Merge "Position WebTextView correctly on layers" into ics-mr1

12 years agoContent and viewport rects set in one step.
George Mount [Tue, 15 Nov 2011 19:21:25 +0000 (11:21 -0800)]
Content and viewport rects set in one step.

 Bug 5342918
 The content rect of the WebView was being retrieved during
 the draw while the viewport rect was being set when the
 draw functor was setup. During animations, the content
 rect was changing between the time the draw functor was
 retrieved and it was executed. The content rect is now
 being set with the viewport rect.

 Framework change: I1b0978ee

Change-Id: I05d68dcc73ede1e919ddc1478f48b372b7b64042

12 years agoPromote -ve z-index fixed/scrollable elements to layers
Ben Murdoch [Wed, 16 Nov 2011 11:47:08 +0000 (11:47 +0000)]
Promote -ve z-index fixed/scrollable elements to layers

We normally do not necessarily promote fixed or scrollable
elements to compositing layers to try and reduce the number
of layers that get created. However in the case that such
an element appears in the negative z-order, we must do
the promotion to ensure that the layer is painted at the
correct z-index in the hierarchy (i.e not too high - sites
like to use a fixed image with z-index:-1 to implement
a fixed background -- without this patch we end up painting
the background over the main page content).

Bug: 5152567

Change-Id: I36bfe14660a33d45ad54552ae41b9d7157f8dabf

12 years agoMerge "Fix CacheManager to correctly write CacheFiles to disk." into ics-mr1
Ben Murdoch [Wed, 16 Nov 2011 10:26:41 +0000 (02:26 -0800)]
Merge "Fix CacheManager to correctly write CacheFiles to disk." into ics-mr1

12 years agoMerge "Use the transformed clipping rect for media layers (flash plugin)" into ics-mr1
Bart Sears [Wed, 16 Nov 2011 06:44:58 +0000 (22:44 -0800)]
Merge "Use the transformed clipping rect for media layers (flash plugin)" into ics-mr1

12 years agoUse the transformed clipping rect for media layers (flash plugin)
Nicolas Roard [Wed, 16 Nov 2011 03:11:51 +0000 (19:11 -0800)]
Use the transformed clipping rect for media layers (flash plugin)

bug:5621574
Change-Id: I4e2925edc314872a628b81daffe4ab1be7fe366f

12 years agoPosition WebTextView correctly on layers
Michael Kolb [Tue, 15 Nov 2011 23:39:50 +0000 (15:39 -0800)]
Position WebTextView correctly on layers

    Bug: 5550648

Change-Id: If3d59e0d197e9383b64f6a9e17d94e022044b5c3

12 years agoFix text selection handle positioning
John Reck [Tue, 15 Nov 2011 19:53:29 +0000 (11:53 -0800)]
Fix text selection handle positioning

 Bug: 5620362

Change-Id: Ic75ba855b5b86f8b0c3a21ee5dcbcc92b0dc982a

12 years agoFix CacheManager to correctly write CacheFiles to disk.
Ben Murdoch [Tue, 15 Nov 2011 15:26:37 +0000 (15:26 +0000)]
Fix CacheManager to correctly write CacheFiles to disk.

There are two problems with the CacheManager -
1. Need to null terminate the file path used for the cache file on
disk.
2. A race condition between starting the background task to write
the file and updating internal state variables.

These were causing a CTS test to fail.

Bug: 5619303
Change-Id: I61f06d50b7ef560ede2f1141fc51d92255d4efbd

12 years agoOnly mark tiles as dirty if the inval region actually intersects
Nicolas Roard [Tue, 15 Nov 2011 01:41:26 +0000 (17:41 -0800)]
Only mark tiles as dirty if the inval region actually intersects

bug:5553084
Change-Id: Ic5cf86ff8f53e86fca9ae98745d9556eadc7f8d2

12 years agoUse a single shared bitmap instead of one per BaseTile.
Nicolas Roard [Mon, 14 Nov 2011 17:48:20 +0000 (09:48 -0800)]
Use a single shared bitmap instead of one per BaseTile.

CL https://android-git.corp.google.com/g/#/c/148708/ uncovered an
existing memory leak on BaseTile. As we now keep the bitmap around,
this triggers an OOM.
We still need to track down the BaseTile leak, but at least with
this CL we won't OOM (and it's also using less memory...)

bug:5613031
Change-Id: Iac56d3b5c408b5e3e87c0f621e227bd3f4e37c3d

12 years agoMerge "Enable SPDY protocol." into ics-mr1
Selim Gurun [Fri, 11 Nov 2011 22:29:33 +0000 (14:29 -0800)]
Merge "Enable SPDY protocol." into ics-mr1

12 years agoRemove inset for WebTextView
Michael Kolb [Fri, 11 Nov 2011 18:28:34 +0000 (10:28 -0800)]
Remove inset for WebTextView

    Bug: 5383911
    By removing the inset we cover webkit's text field completely

Change-Id: Ib3edf21beb4e26b38b2195a9e336523336f26eb7

12 years agoMerge "Fix combobox metrics and asset scaling" into ics-mr1
Michael Kolb [Fri, 11 Nov 2011 17:13:46 +0000 (09:13 -0800)]
Merge "Fix combobox metrics and asset scaling" into ics-mr1

12 years agoMerge "Fallback mode when running out of textures for layers" into ics-mr1
Nicolas Roard [Fri, 11 Nov 2011 05:18:09 +0000 (21:18 -0800)]
Merge "Fallback mode when running out of textures for layers" into ics-mr1

12 years agoEnable SPDY protocol.
Selim Gurun [Fri, 11 Nov 2011 02:46:47 +0000 (18:46 -0800)]
Enable SPDY protocol.

Bug: 5524112
Reenable SPDY protocol.

Change-Id: I0144791020b64e20a12b7cd45ac2427100bef8a7
Signed-off-by: Selim Gurun <sgurun@google.com>
12 years agoFallback mode when running out of textures for layers
Nicolas Roard [Fri, 4 Nov 2011 20:56:14 +0000 (13:56 -0700)]
Fallback mode when running out of textures for layers

- Implements a degraded rendering mode when running out of textures
- Speed up rendering by reusing the same SkBitmap in RasterRenderer
- Some refactoring

bug:5279231

Change-Id: I52943a87bed56c49b01b47fea4fa1a5c49e09e93

12 years agoMerge "Use anti-aliasing in prefetch tiles" into ics-mr1
Chris Craik [Fri, 11 Nov 2011 01:54:30 +0000 (17:54 -0800)]
Merge "Use anti-aliasing in prefetch tiles" into ics-mr1

12 years agoUse anti-aliasing in prefetch tiles
Chris Craik [Thu, 10 Nov 2011 23:05:05 +0000 (15:05 -0800)]
Use anti-aliasing in prefetch tiles

bug:5534278
Change-Id: I5929752a9edcf3cd1c51360e0dc4d8df6ae6bb1e

12 years agoFix combobox metrics and asset scaling
Michael Kolb [Thu, 10 Nov 2011 19:31:26 +0000 (11:31 -0800)]
Fix combobox metrics and asset scaling

    Bug: 5521553

Change-Id: I630eda2ffd90d0c986f00c5a2a4b523e93537192

12 years agoMerge "Fix CTS regressions from merge to r74534." into ics-mr1
Ben Murdoch [Thu, 10 Nov 2011 19:54:29 +0000 (11:54 -0800)]
Merge "Fix CTS regressions from merge to r74534." into ics-mr1

12 years agoMerge "Support pausing drawing" into ics-mr1
John Reck [Thu, 10 Nov 2011 17:20:02 +0000 (09:20 -0800)]
Merge "Support pausing drawing" into ics-mr1

12 years agoMerge "DO NOT MERGE Offset scroll area by the scroll origin on Android" into ics-mr1
George Mount [Thu, 10 Nov 2011 16:32:10 +0000 (08:32 -0800)]
Merge "DO NOT MERGE Offset scroll area by the scroll origin on Android" into ics-mr1

12 years agoFix CTS regressions from merge to r74534.
Ben Murdoch [Thu, 10 Nov 2011 11:52:39 +0000 (11:52 +0000)]
Fix CTS regressions from merge to r74534.

WebKit change http://trac.webkit.org/changeset/73385 removed
overflow dimensions from the calculation of layer dimensions.
This means that the optimisation inside the nav cache to skip
building a frame cache when one of the layer dimensions is 0
is no longer valid (as the layer may contain only overflow
content).

Bug: 5572431

Change-Id: I3c973ad1ed57b07217d19f5d4fba7bfe522a2165

12 years agoSupport pausing drawing
John Reck [Thu, 10 Nov 2011 00:22:25 +0000 (16:22 -0800)]
Support pausing drawing

 Bug: 5594608

Change-Id: I09590f8c04904957b079f0458022b960599eb47a

12 years agoDO NOT MERGE Offset scroll area by the scroll origin on Android
George Mount [Mon, 24 Oct 2011 22:45:31 +0000 (15:45 -0700)]
DO NOT MERGE Offset scroll area by the scroll origin on Android

 Bug 5268793
 The scrolled area for WebView is 0,0 - maxX,maxY while
 ScrollView can have any origin. On RTL pages, the origin
 is negative when it can scroll. This scrolls the page
 to the right when it detects an RTL page.

 Cherry-picked from master CL: I6a91b97f

 Framework CL: I2537b84a

Change-Id: I6a91b97f90f5ba4c323c56dda9d125108d9502c4

12 years agoMerge "Fix font size handling for harfbuzz hack" into ics-mr1
Russell Brenner [Wed, 9 Nov 2011 23:23:16 +0000 (15:23 -0800)]
Merge "Fix font size handling for harfbuzz hack" into ics-mr1

12 years agoMerge "Add support for Bengali and Tamil gpos/gsub tables" into ics-mr1
Russell Brenner [Wed, 9 Nov 2011 18:11:22 +0000 (10:11 -0800)]
Merge "Add support for Bengali and Tamil gpos/gsub tables" into ics-mr1

12 years agoAdd support for Bengali and Tamil gpos/gsub tables
Russell Brenner [Tue, 8 Nov 2011 00:10:32 +0000 (16:10 -0800)]
Add support for Bengali and Tamil gpos/gsub tables

HB_Script_Bengali and HB_Script_Tamil are now recognized in
FontAndroid.cpp and map to Lohit-Bengali.ttf and Lohit-Tamil.ttf,
allowing Harfbuzz to properly load the gpos/gsub tables for those
languages.

Bug: 5578901
Change-Id: I20ed542dd5a616535222dcb5c808f3716a062e80

12 years agoMerge "Revert crash on bad scale - do not merge" into ics-mr1
Bart Sears [Wed, 9 Nov 2011 02:30:04 +0000 (18:30 -0800)]
Merge "Revert crash on bad scale - do not merge" into ics-mr1

12 years agoRevert crash on bad scale - do not merge
Bart Sears [Wed, 9 Nov 2011 01:11:44 +0000 (17:11 -0800)]
Revert crash on bad scale - do not merge

bug:5367327

Cherry pick of: dc193f393a845e88f55ecf0055386fc4e4204537

Change-Id: Iea6e4a564fc003d8e2ad8e1d6d9d9b64d016e43d

12 years agoMerge "Add necessary null pointer check to avoid crash on youtube video" into ics-mr1
Teng-Hui Zhu [Wed, 9 Nov 2011 00:20:56 +0000 (16:20 -0800)]
Merge "Add necessary null pointer check to avoid crash on youtube video" into ics-mr1

12 years agoAdd necessary null pointer check to avoid crash on youtube video
Teng-Hui Zhu [Tue, 8 Nov 2011 21:34:17 +0000 (13:34 -0800)]
Add necessary null pointer check to avoid crash on youtube video

bug:5562347
Change-Id: I9b53a58137d70955bde5334c7c8b581343a8c2ce

12 years agoFix font size handling for harfbuzz hack
Russell Brenner [Thu, 3 Nov 2011 23:22:00 +0000 (16:22 -0700)]
Fix font size handling for harfbuzz hack

Complex languages (Arabic, Thai, etc.) currently need to override the
base font (e.g. Roboto)  with an explicitly loaded copy of the right
fallback font (e.g. DroidNaskh). To keep from running out of file
descriptors, a caching mechanism was put in place, but the cached
data contained the font size, so the first size seen on the page was
applied to all subsequent renderings of that font, regardless of the
size requested. Size is now also considered in the cache.

Bug: 5509443
Change-Id: I616954980122e89da14ce86efe99d5e4343a40c2

12 years agoMerge "Fix extras clipping" into ics-mr1
John Reck [Tue, 8 Nov 2011 01:29:07 +0000 (17:29 -0800)]
Merge "Fix extras clipping" into ics-mr1

12 years agoFix extras clipping
John Reck [Mon, 7 Nov 2011 19:21:27 +0000 (11:21 -0800)]
Fix extras clipping

 Bug: 5556494

Change-Id: I82e8282271dfc623afa9b1ef0d0061ca9c3df5f4

12 years agoMerge "Change the default webView behavior to minimize the memory consumption" into...
Teng-Hui Zhu [Mon, 7 Nov 2011 23:53:51 +0000 (15:53 -0800)]
Merge "Change the default webView behavior to minimize the memory consumption" into ics-mr1

12 years agoRemove the global button lock
John Reck [Mon, 7 Nov 2011 21:53:18 +0000 (13:53 -0800)]
Remove the global button lock

 Bug: 5558699
 Bug: 5572238

Change-Id: Ic199ffda5bc4aa09d39ee54221c6fcce6a91ca05

12 years agoChange the default webView behavior to minimize the memory consumption
Teng-Hui Zhu [Mon, 7 Nov 2011 20:47:43 +0000 (12:47 -0800)]
Change the default webView behavior to minimize the memory consumption

For now, we just limit the expansion on x and y direction.
In the future, we need to dynamically allocate and deallocate the memory.

browser change is : c/148242

bug:5522175
Change-Id: I8562c39c55913ab89848afe8a36e8a2784c12727