OSDN Git Service

android-x86/external-webkit.git
12 years agomerge in ics-mr1-release history after reset to ics-mr1
The Android Automerger [Sat, 14 Jan 2012 00:17:44 +0000 (16:17 -0800)]
merge in ics-mr1-release history after reset to ics-mr1

12 years agoPrevent infinite loop when turning on then off composited mode
Nicolas Roard [Fri, 13 Jan 2012 01:29:34 +0000 (17:29 -0800)]
Prevent infinite loop when turning on then off composited mode

bug:5820635
Change-Id: I24b6eae6c76c29e44106b4ec87e74d945aad7b1b

12 years agomerge in ics-mr1-release history after reset to ics-mr1
The Android Automerger [Thu, 12 Jan 2012 00:28:36 +0000 (16:28 -0800)]
merge in ics-mr1-release history after reset to ics-mr1

12 years agoFully invalidate the pictureset when content size changes
Chris Craik [Tue, 10 Jan 2012 23:10:06 +0000 (15:10 -0800)]
Fully invalidate the pictureset when content size changes

bug:5759299

Webkit invals aren't correct when the content size changes (even simply growing
vertically), for now just repaint from scratch in that case.

Change-Id: I408b289bfee1139d6c8f3c7babd963d217cb5bc0

12 years agomerge in ics-mr1-release history after reset to ics-mr1
The Android Automerger [Thu, 5 Jan 2012 00:41:49 +0000 (16:41 -0800)]
merge in ics-mr1-release history after reset to ics-mr1

12 years agoMerge "Enable History API. Do not merge." into ics-mr1
Bart Sears [Wed, 4 Jan 2012 21:47:26 +0000 (13:47 -0800)]
Merge "Enable History API. Do not merge." into ics-mr1

12 years agoMerge "Fix crash with composited layers - DO NOT MERGE" into ics-mr1
Bart Sears [Wed, 4 Jan 2012 21:46:46 +0000 (13:46 -0800)]
Merge "Fix crash with composited layers - DO NOT MERGE" into ics-mr1

12 years agoMerge "When in singlesurfacemode, resist switching out - DO NOT MERGE" into ics-mr1
Chris Craik [Wed, 4 Jan 2012 21:43:37 +0000 (13:43 -0800)]
Merge "When in singlesurfacemode, resist switching out - DO NOT MERGE" into ics-mr1

12 years agoMerge "When loading new content, reset zoom state - DO NOT MERGE" into ics-mr1
Chris Craik [Wed, 4 Jan 2012 21:43:26 +0000 (13:43 -0800)]
Merge "When loading new content, reset zoom state - DO NOT MERGE" into ics-mr1

12 years agoWhen loading new content, reset zoom state - DO NOT MERGE
Chris Craik [Wed, 14 Dec 2011 01:42:52 +0000 (17:42 -0800)]
When loading new content, reset zoom state - DO NOT MERGE

cherry-pick of https://android-git.corp.google.com/g/#/c/155121/2 into MR1 branch
bug:5757950
Change-Id: I34042e8b1f1adf1fc1826d7fde5500708bef3b60

12 years agoWhen in singlesurfacemode, resist switching out - DO NOT MERGE
Chris Craik [Tue, 13 Dec 2011 23:44:47 +0000 (15:44 -0800)]
When in singlesurfacemode, resist switching out - DO NOT MERGE

cherry-pick of https://android-git.corp.google.com/g/#/c/155078/ into MR1 branch
bug:5660814

We want to avoid swapping in and out of singlesurface mode when we have enough
textures to hold the content, but not while the content is updating.

Change-Id: I3c45f2b9f3c8e06b397b701fb53ac6ac5ff8efdd

12 years agoEnable History API. Do not merge.
Ben Murdoch [Fri, 16 Dec 2011 10:48:40 +0000 (10:48 +0000)]
Enable History API. Do not merge.

Cherry pick Ic6b6860ca4bfe891e84fb0445d67c7ea728c6fe3

The HTML5 History API is disabled at runtime by default in WebKit.
Configure it to be enabled.

Bug: 5767904
Change-Id: Ib7374e0145c581588990baec6e67025c1b7ef693

12 years agoReturn the tile generation thread to default priority.
Chris Craik [Wed, 4 Jan 2012 01:06:05 +0000 (17:06 -0800)]
Return the tile generation thread to default priority.

With this partial revert of ececd484e5832707be4a73b70da37f862eb14c35 , single core devices can't have tile generation starved by javascript/plugins.

bug:5746432
Change-Id: I42b5799f4ba136e1c6f9812219824d21390bace2

12 years agoFix crash with composited layers - DO NOT MERGE
Nicolas Roard [Sat, 17 Dec 2011 04:05:07 +0000 (20:05 -0800)]
Fix crash with composited layers - DO NOT MERGE

Cherry-pick from master

When we have composited layers inside iframes/frames, the layers
hierarchy is not always up to date at the time of the layerSync()
call. If some of those layers are scheduled to be repainted, the
repaint operation will triggers the update of the composited layers
tree -- possibly resulting in the deallocation of the very same
GraphicsLayer we were painting from, and thus leading to a crash.

The fix consist in gathering all the root RenderLayer (for each
frame containing composited layers) and explicitely asking
RenderLayerCompositor to check if the composited tree needs to be
updated, before we traverse the tree to paint the elements.

bug:5695185
Change-Id: I33a00b847eb19c9aa4b68f0ac3adbe36709ed00b

12 years agomerge in ics-mr1-release history after reset to ics-mr1
The Android Automerger [Wed, 14 Dec 2011 00:02:49 +0000 (16:02 -0800)]
merge in ics-mr1-release history after reset to ics-mr1

12 years agoMerge "Revert "Put canvas on a layer"" into ics-mr1
John Reck [Tue, 13 Dec 2011 21:16:40 +0000 (13:16 -0800)]
Merge "Revert "Put canvas on a layer"" into ics-mr1

12 years agoRevert "Put canvas on a layer"
John Reck [Tue, 13 Dec 2011 18:11:31 +0000 (10:11 -0800)]
Revert "Put canvas on a layer"

Bug: 5712065
This reverts commit 35e0b8dd7902e92f50ede4df2e4bad4ed581b770

12 years agomerge in ics-mr1-release history after reset to ics-mr1
The Android Automerger [Fri, 9 Dec 2011 01:34:59 +0000 (17:34 -0800)]
merge in ics-mr1-release history after reset to ics-mr1

12 years agoMerge "Fix ANR when hitting very large layers" into ics-mr1
Nicolas Roard [Fri, 9 Dec 2011 01:06:41 +0000 (17:06 -0800)]
Merge "Fix ANR when hitting very large layers" into ics-mr1

12 years agoFix ANR when hitting very large layers
Nicolas Roard [Fri, 9 Dec 2011 00:50:32 +0000 (16:50 -0800)]
Fix ANR when hitting very large layers

In some cases we have to deal with very large layers (e.g. 130k x 56k).
We do clip them at draw time, but at prepare time we will generate *all* the
needed BaseTile objects. Those are small, but when you have to allocated
100k of them and then iterate, it does not make things fast, and we can
ANR (and sometimes recover later).

bug:5466840
Change-Id: I01c64ed1014fa719b619609fd2bd24126dc9056e

12 years agoMerge "Reset framework inval when done zooming" into ics-mr1
Chris Craik [Thu, 8 Dec 2011 23:30:05 +0000 (15:30 -0800)]
Merge "Reset framework inval when done zooming" into ics-mr1

12 years agoReset framework inval when done zooming
Chris Craik [Thu, 8 Dec 2011 19:53:56 +0000 (11:53 -0800)]
Reset framework inval when done zooming

bug:5726709

Framework invals are not valid when zooming completes because much content
outside the rect will have changed from zooming.

Change-Id: I72e4509e13bf97ea90f09716699e66c1c3f9acd8

12 years agoMerge "Prevent native crashes on client cert request" into ics-mr1
Selim Gurun [Thu, 8 Dec 2011 18:19:59 +0000 (10:19 -0800)]
Merge "Prevent native crashes on client cert request" into ics-mr1

12 years agomerge in ics-mr1-release history after reset to ics-mr1
The Android Automerger [Thu, 8 Dec 2011 14:59:58 +0000 (06:59 -0800)]
merge in ics-mr1-release history after reset to ics-mr1

12 years agoMerge "Revert change that caused text in floating divs to not reflow." into ics-mr1
Mangesh Ghiware [Thu, 8 Dec 2011 02:21:50 +0000 (18:21 -0800)]
Merge "Revert change that caused text in floating divs to not reflow." into ics-mr1

12 years agoRevert change that caused text in floating divs to not reflow.
Mangesh Ghiware [Thu, 8 Dec 2011 02:02:46 +0000 (18:02 -0800)]
Revert change that caused text in floating divs to not reflow.

Bug: 5455817 (Text reflow not working in browser)
Change-Id: I2a62a7fb4c7acde640cd87b8d0f03200b8f7fc2f

12 years agoMerge "Fix the repaint inval mechanism for layers - DO NOT MERGE" into ics-mr1
Nicolas Roard [Thu, 8 Dec 2011 02:02:35 +0000 (18:02 -0800)]
Merge "Fix the repaint inval mechanism for layers - DO NOT MERGE" into ics-mr1

12 years agoPrevent native crashes on client cert request
Selim Gurun [Wed, 7 Dec 2011 18:50:23 +0000 (10:50 -0800)]
Prevent native crashes on client cert request

Bug: 4586251

Explicitly manage ref counter for WebUrlLoaderClient. This will
prevent early release of the object.

Change-Id: I4b8e41b470eaacb594ce85afdd650e7827ab4a6d

12 years agoMerge "Fix crash" into ics-mr1
John Reck [Thu, 8 Dec 2011 01:18:02 +0000 (17:18 -0800)]
Merge "Fix crash" into ics-mr1

12 years agoMerge "fix viewport lagging a drawGL call behind" into ics-mr1
Chris Craik [Thu, 8 Dec 2011 01:06:37 +0000 (17:06 -0800)]
Merge "fix viewport lagging a drawGL call behind" into ics-mr1

12 years agoFix crash
John Reck [Thu, 8 Dec 2011 00:11:36 +0000 (16:11 -0800)]
Fix crash

 Bug: 5727901

Change-Id: Ic2323eca6bc6e77fe428f3602800799e7b996cce

12 years agoFix the repaint inval mechanism for layers - DO NOT MERGE
Nicolas Roard [Wed, 7 Dec 2011 23:46:29 +0000 (15:46 -0800)]
Fix the repaint inval mechanism for layers - DO NOT MERGE

We only keep the scrollable layers invalidating their entire area
instead of incurring this penalty for *all* layers.

Also remove unnecessary repaint when scrolling (we have the entire
content on the UI side already).

While the entire scrollable area will be invalidated and marked
as dirty, the existing code in PaintedSurface already only look at
the visible tiles of scrollable layers to consider the layer's content
as being ready to display, so the real world penalty (while far from
optimal) is limited.

Implementing the correct approach (only invalidating what really
changed on scrollable layers) would sadly be a lot more complex,
as currently webkit will *not* send us the repaint invals if they
are on a currently clipped area, as webkit's default behaviour
to implement scrolling of such element is to repaint them anyway...

bug:5721618

Change-Id: Ia470157c716fa1c557e4a196ba014296ad9e627a

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 "Account for dirty tiles doubly in texture counting" into ics-mr1
Chris Craik [Wed, 7 Dec 2011 18:58:49 +0000 (10:58 -0800)]
Merge "Account for dirty tiles doubly in texture counting" into ics-mr1

12 years agoAccount for dirty tiles doubly in texture counting
Chris Craik [Wed, 7 Dec 2011 01:40:33 +0000 (17:40 -0800)]
Account for dirty tiles doubly in texture counting

bug:5704511

Dirty tiles use two textures - one for display, and one for painting.

This fixes an issue where the number of textures requested did not meet the
needs of a double buffered tree with most content invalidated. The webview would
give up drawing, and thus not paint the invalidated portions of the layers.

Change-Id: Icd9b9e0b53cf82415074dac4338a8c48de880364

12 years agomerge in ics-mr1-release history after reset to ics-mr1
The Android Automerger [Wed, 7 Dec 2011 00:53:39 +0000 (16:53 -0800)]
merge in ics-mr1-release history after reset to ics-mr1

12 years agoRemove unneeded PictureSet clear
Nicolas Roard [Wed, 7 Dec 2011 00:52:41 +0000 (16:52 -0800)]
Remove unneeded PictureSet clear

bug:5720732

Change-Id: Iaf3a41adaa0799867a615b42d1d603aca3c8e35d

12 years agoMerge "Support spellcheck on text areas" into ics-mr1
John Reck [Tue, 6 Dec 2011 23:44:42 +0000 (15:44 -0800)]
Merge "Support spellcheck on text areas" into ics-mr1

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 agoSupport spellcheck on text areas
John Reck [Tue, 6 Dec 2011 21:00:08 +0000 (13:00 -0800)]
Support spellcheck on text areas

 Bug: 5719053

Change-Id: I5f69e411d2ade2eaaf5c9e9e39dc8dc7d23425f1

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 in ics-mr1-release history after reset to ics-mr1
The Android Automerger [Sat, 3 Dec 2011 00:20:52 +0000 (16:20 -0800)]
merge in ics-mr1-release history after reset to ics-mr1

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 agomerge in ics-mr1-release history after reset to ics-mr1
The Android Automerger [Fri, 2 Dec 2011 18:24:41 +0000 (10:24 -0800)]
merge in ics-mr1-release history after reset to 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 agomerge in ics-mr1-release history after reset to ics-mr1
The Android Automerger [Fri, 2 Dec 2011 00:45:30 +0000 (16:45 -0800)]
merge in ics-mr1-release history after reset to 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 in ics-mr1-release history after reset to ics-mr1
The Android Automerger [Thu, 1 Dec 2011 14:45:55 +0000 (06:45 -0800)]
merge in ics-mr1-release history after reset to 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 agomerge in ics-mr1-release history after reset to ics-mr1
The Android Automerger [Wed, 30 Nov 2011 14:45:49 +0000 (06:45 -0800)]
merge in ics-mr1-release history after reset to ics-mr1

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 agomerge in ics-mr1-release history after reset to ics-mr1
The Android Automerger [Tue, 29 Nov 2011 20:02:38 +0000 (12:02 -0800)]
merge in ics-mr1-release history after reset to 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 in ics-mr1-release history after reset to ics-mr1
The Android Automerger [Mon, 28 Nov 2011 20:21:55 +0000 (12:21 -0800)]
merge in ics-mr1-release history after reset to ics-mr1

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 in ics-mr1-release history after reset to ics-mr1
The Android Automerger [Tue, 22 Nov 2011 19:55:51 +0000 (11:55 -0800)]
merge in ics-mr1-release history after reset to ics-mr1

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