OSDN Git Service

android-x86/external-webkit.git
12 years agoam 5dbcb79e: Merge "Fix clipping" into ics-mr0
John Reck [Mon, 17 Oct 2011 18:30:54 +0000 (11:30 -0700)]
am 5dbcb79e: Merge "Fix clipping" into ics-mr0

* commit '5dbcb79ed2d4e7a3b7ebdf43b7e0048205d5da1a':
  Fix clipping

12 years agoam 92738f1e: Merge "Fix layer initialization" into ics-mr0
Chris Craik [Mon, 17 Oct 2011 18:30:37 +0000 (11:30 -0700)]
am 92738f1e: Merge "Fix layer initialization" into ics-mr0

* commit '92738f1e982e39a6098acf39fcb5927502ec6b4c':
  Fix layer initialization

12 years agoresolved conflicts for merge of 7eb15a6b to master
Nicolas Roard [Mon, 17 Oct 2011 18:20:08 +0000 (11:20 -0700)]
resolved conflicts for merge of 7eb15a6b to master

Change-Id: Ibb8a05afcdf79923d8ba105b391fa9dcd2e9deb9

12 years agoMerge "Don't cache size of cursor rings array"
John Reck [Fri, 14 Oct 2011 23:18:00 +0000 (16:18 -0700)]
Merge "Don't cache size of cursor rings array"

12 years agoMerge "Fix clipping" into ics-mr0
John Reck [Fri, 14 Oct 2011 23:16:51 +0000 (16:16 -0700)]
Merge "Fix clipping" into ics-mr0

12 years agoMerge "Fix layer initialization" into ics-mr0
Chris Craik [Fri, 14 Oct 2011 22:39:45 +0000 (15:39 -0700)]
Merge "Fix layer initialization" into ics-mr0

12 years agoFix layer initialization
Chris Craik [Fri, 14 Oct 2011 22:06:28 +0000 (15:06 -0700)]
Fix layer initialization

bug:5452786

Fixed layer initialization to reference its current layer's SkPicture when it's
created

Change-Id: I4ac33ad6874a982d375859445e2a014ff35d7e12

12 years agoImprove performances / fixes some glitches
Nicolas Roard [Fri, 14 Oct 2011 21:36:56 +0000 (14:36 -0700)]
Improve performances / fixes some glitches

- no layout / bgd color check if no inval on the base layer
- throttle the number of ImageTexture uploaded per draw call
- disable fast layer position update for now

bug:5297559 bug:5421309 bug:5218173

Change-Id: I9ff9867dd3cfc2e0805e378d75ea75667fef8673

12 years agoDon't cache size of cursor rings array
John Reck [Fri, 14 Oct 2011 21:04:01 +0000 (14:04 -0700)]
Don't cache size of cursor rings array

 Bug: 4974452
 Remove the unnecessary assert
 Prevent size of cursor rings array from getting out of sync
 with the cached size by eliminating the cached size

Change-Id: I40ceb22f3b636e5af890607b456e76e38c615eac

12 years agoFix clipping
John Reck [Fri, 14 Oct 2011 20:06:55 +0000 (13:06 -0700)]
Fix clipping

 Bug: 5282993

Change-Id: Ia47c420d867d3aaed8a8ea6f91285cb3b634d970

12 years agoam 4520f40c: Merge "Fixup JNI" into ics-mr0
John Reck [Fri, 14 Oct 2011 17:12:16 +0000 (10:12 -0700)]
am 4520f40c: Merge "Fixup JNI" into ics-mr0

* commit '4520f40c217eca38e19654c0d5e7c987ab07bb9a':
  Fixup JNI

12 years agoMerge "Fixup JNI" into ics-mr0
John Reck [Fri, 14 Oct 2011 17:10:28 +0000 (10:10 -0700)]
Merge "Fixup JNI" into ics-mr0

12 years agoam 383cc128: Cherry-pick WebKit change 89836 to fix a crash due to floats not being...
Steve Block [Fri, 14 Oct 2011 16:27:00 +0000 (09:27 -0700)]
am 383cc128: Cherry-pick WebKit change 89836 to fix a crash due to floats not being removed

* commit '383cc12851b723ebdaf6dddc7cb16d62cf7c7c7e':
  Cherry-pick WebKit change 89836 to fix a crash due to floats not being removed

12 years agoam 4fb1f2dd: Cherry-pick WebKit change 89165 to fix a crash due to floats not being...
Steve Block [Fri, 14 Oct 2011 16:26:59 +0000 (09:26 -0700)]
am 4fb1f2dd: Cherry-pick WebKit change 89165 to fix a crash due to floats not being removed

* commit '4fb1f2dd7e874d968a0effac0dd1e0ea8e94f46d':
  Cherry-pick WebKit change 89165 to fix a crash due to floats not being removed

12 years agoCherry-pick WebKit change 89836 to fix a crash due to floats not being removed
Steve Block [Fri, 14 Oct 2011 10:34:13 +0000 (11:34 +0100)]
Cherry-pick WebKit change 89836 to fix a crash due to floats not being removed

This is part 2 of 2 of the fix.

See http://trac.webkit.org/changeset/89836

Bug: 5249309
Change-Id: If23a41a8e75e5fb6ba9e84e481ca44a319f678ef

12 years agoCherry-pick WebKit change 89165 to fix a crash due to floats not being removed
Steve Block [Fri, 14 Oct 2011 10:30:59 +0000 (11:30 +0100)]
Cherry-pick WebKit change 89165 to fix a crash due to floats not being removed

This is part 1 of 2 of the fix.

See http://trac.webkit.org/changeset/89165

Bug: 5249309
Change-Id: I1159aab70e1fa6d3025761423c4164682dc97b64

12 years agoFixup JNI
John Reck [Fri, 14 Oct 2011 02:24:03 +0000 (19:24 -0700)]
Fixup JNI

 Bug: 5459736

Change-Id: I2125e8c0162b218f417e777d5ba62bfd314c7f60

12 years agoam 16c97c12: (-s ours) Merge "Double number of tile textures allocated - do not merge...
Chris Craik [Fri, 14 Oct 2011 00:42:57 +0000 (17:42 -0700)]
am 16c97c12: (-s ours) Merge "Double number of tile textures allocated - do not merge" into ics-mr0

* commit '16c97c12719fc27c990fc4b53f19ffd7b88f17d4':
  Double number of tile textures allocated - do not merge

12 years agoam 9f5d6eac: Merge "Fix navcache to work with layers for rings" into ics-mr0
John Reck [Fri, 14 Oct 2011 00:41:10 +0000 (17:41 -0700)]
am 9f5d6eac: Merge "Fix navcache to work with layers for rings" into ics-mr0

* commit '9f5d6eac13414011f6c0e5aac6a921b0bd777a95':
  Fix navcache to work with layers for rings

12 years agoMerge "Double number of tile textures allocated - do not merge" into ics-mr0
Chris Craik [Fri, 14 Oct 2011 00:38:57 +0000 (17:38 -0700)]
Merge "Double number of tile textures allocated - do not merge" into ics-mr0

12 years agoMerge "Fix navcache to work with layers for rings" into ics-mr0
John Reck [Fri, 14 Oct 2011 00:38:26 +0000 (17:38 -0700)]
Merge "Fix navcache to work with layers for rings" into ics-mr0

12 years agoFix navcache to work with layers for rings
John Reck [Fri, 14 Oct 2011 00:06:17 +0000 (17:06 -0700)]
Fix navcache to work with layers for rings

 Bug: 5453034

Change-Id: I426aa4ca1b1c253f99c32aaf8cad597c09144af0

12 years agoDouble number of tile textures allocated - do not merge
Chris Craik [Fri, 14 Oct 2011 00:04:21 +0000 (17:04 -0700)]
Double number of tile textures allocated - do not merge

bug:5452814
Change-Id: Ib13a0f4e5189af0e4928bc376b29610e20eeb4dc

12 years agoam 530c83c6: Fix crash in BaseTileTexture
Chris Craik [Thu, 13 Oct 2011 22:04:15 +0000 (15:04 -0700)]
am 530c83c6: Fix crash in BaseTileTexture

* commit '530c83c6351e05a6939ad0b5bc291da073e77b5b':
  Fix crash in BaseTileTexture

12 years agoFix crash in BaseTileTexture
Chris Craik [Thu, 13 Oct 2011 18:53:27 +0000 (11:53 -0700)]
Fix crash in BaseTileTexture

bug:5453156

simplified m_owner management - ONLY modified on UI thread

Previously deferring clear of m_owner, now set immediately since texture thread
doesn't use need stale owner info

Change-Id: I9b6f7bfd27af44a818d378ff750c0170d8122cfd

12 years agoam 834299ee: Merge "Fix crash if a plugin is destroyed before its first drawing pass...
Derek Sollenberger [Thu, 13 Oct 2011 17:15:26 +0000 (10:15 -0700)]
am 834299ee: Merge "Fix crash if a plugin is destroyed before its first drawing pass." into ics-mr0

* commit '834299ee1971101446d6f2a422956215b6dd1c06':
  Fix crash if a plugin is destroyed before its first drawing pass.

12 years agoMerge "Fix crash if a plugin is destroyed before its first drawing pass." into ics-mr0
Derek Sollenberger [Thu, 13 Oct 2011 17:13:42 +0000 (10:13 -0700)]
Merge "Fix crash if a plugin is destroyed before its first drawing pass." into ics-mr0

12 years agoam 668d7ec1: Merge "Fix uses of GetByteArrayElements() in WebCoreFrameBridge" into...
Steve Block [Thu, 13 Oct 2011 16:36:57 +0000 (09:36 -0700)]
am 668d7ec1: Merge "Fix uses of GetByteArrayElements() in WebCoreFrameBridge" into ics-mr0

* commit '668d7ec1b1c31b8bb2e6f45f5d2595e29a997276':
  Fix uses of GetByteArrayElements() in WebCoreFrameBridge

12 years agoMerge "Fix uses of GetByteArrayElements() in WebCoreFrameBridge" into ics-mr0
Steve Block [Thu, 13 Oct 2011 16:35:23 +0000 (09:35 -0700)]
Merge "Fix uses of GetByteArrayElements() in WebCoreFrameBridge" into ics-mr0

12 years agoFix crash if a plugin is destroyed before its first drawing pass.
Derek Sollenberger [Thu, 13 Oct 2011 15:56:32 +0000 (11:56 -0400)]
Fix crash if a plugin is destroyed before its first drawing pass.

bug: 5454889
Change-Id: I34e125d4b6aa5b9c0da7017a975e80761b6183df

12 years agoam 0557c56c: Merge "Fix disappearing content" into ics-mr0
Nicolas Roard [Thu, 13 Oct 2011 16:02:01 +0000 (09:02 -0700)]
am 0557c56c: Merge "Fix disappearing content" into ics-mr0

* commit '0557c56c5b00819cf14bf29948b6d9edd1e937f2':
  Fix disappearing content

12 years agoMerge "Fix disappearing content" into ics-mr0
Nicolas Roard [Thu, 13 Oct 2011 16:00:06 +0000 (09:00 -0700)]
Merge "Fix disappearing content" into ics-mr0

12 years agoam 9bd21466: Merge "Refactor the image sharing code" into ics-mr0
Nicolas Roard [Thu, 13 Oct 2011 15:50:12 +0000 (08:50 -0700)]
am 9bd21466: Merge "Refactor the image sharing code" into ics-mr0

* commit '9bd214662e776fb18e43d1ad32ce274803ec309a':
  Refactor the image sharing code

12 years agoMerge "Refactor the image sharing code" into ics-mr0
Nicolas Roard [Thu, 13 Oct 2011 15:47:58 +0000 (08:47 -0700)]
Merge "Refactor the image sharing code" into ics-mr0

12 years agoFix disappearing content
Nicolas Roard [Thu, 13 Oct 2011 00:01:09 +0000 (17:01 -0700)]
Fix disappearing content

When we fixed the superfluous contentInvalidateAll() that was called
every time we were scrolling/zooming, this uncover some issues.
This particular one was clearing the entire pictureset when an iframe
was loaded -- this is wrong since we added support for composited
iframes, but we didn't experience this problem before because of the
contentInvalidateAll() masking it...

bug:5449492
Change-Id: I57e4ea68daf6de901118725f5b7d70087084f23b

12 years agoMerge "Revert "Support "Vertical Writing Mode".""
Nicolas Roard [Wed, 12 Oct 2011 21:34:30 +0000 (14:34 -0700)]
Merge "Revert "Support "Vertical Writing Mode".""

12 years agoRevert "Support "Vertical Writing Mode"."
John Reck [Wed, 12 Oct 2011 21:08:26 +0000 (14:08 -0700)]
Revert "Support "Vertical Writing Mode"."

This reverts commit 5403113c5aa5d55a05ea001f562829e907632178

12 years agoam 5ed31e7b: Merge "Ensure the frame inversion flag is immediately effective." into...
Derek Sollenberger [Wed, 12 Oct 2011 20:27:59 +0000 (13:27 -0700)]
am 5ed31e7b: Merge "Ensure the frame inversion flag is immediately effective." into ics-mr0

* commit '5ed31e7bc52e99103e4da5755d944f9ca98305b3':
  Ensure the frame inversion flag is immediately effective.

12 years agoMerge "Ensure the frame inversion flag is immediately effective." into ics-mr0
Derek Sollenberger [Wed, 12 Oct 2011 20:26:49 +0000 (13:26 -0700)]
Merge "Ensure the frame inversion flag is immediately effective." into ics-mr0

12 years agoEnsure the frame inversion flag is immediately effective.
Derek Sollenberger [Wed, 12 Oct 2011 19:22:02 +0000 (15:22 -0400)]
Ensure the frame inversion flag is immediately effective.

Previously the frame inversion state was passed to the UI thread
when the layer tree was synced. This CL removes that restriction
and updates it immediately by storing the state in a cross thread
refcounted object.

bug: 5283034
Change-Id: I58a7ea0f2ed261008b945241bc783cfee4f33466

12 years agoam 4ac06026: Merge "Correctly guard WebFrame methods needed only with the Chromium...
Steve Block [Wed, 12 Oct 2011 19:00:46 +0000 (12:00 -0700)]
am 4ac06026: Merge "Correctly guard WebFrame methods needed only with the Chromium HTTP stack" into ics-mr0

* commit '4ac060268c9283c7c27657f97929fbe99712a14c':
  Correctly guard WebFrame methods needed only with the Chromium HTTP stack

12 years agoMerge "Fallback handle if vertical glyphs are missing."
claireho [Wed, 12 Oct 2011 18:11:14 +0000 (11:11 -0700)]
Merge "Fallback handle if vertical glyphs are missing."

12 years agoRefactor the image sharing code
Nicolas Roard [Wed, 12 Oct 2011 01:57:52 +0000 (18:57 -0700)]
Refactor the image sharing code

We add a separate Images Manager, working
both in GL and software rendering.

bug:5425148

Change-Id: Ib5bc88ad94d49c7f1eb969a716691ac98dc10b77

12 years agoMerge "Correctly guard WebFrame methods needed only with the Chromium HTTP stack...
Steve Block [Wed, 12 Oct 2011 18:02:19 +0000 (11:02 -0700)]
Merge "Correctly guard WebFrame methods needed only with the Chromium HTTP stack" into ics-mr0

12 years agoCorrectly guard WebFrame methods needed only with the Chromium HTTP stack
Steve Block [Wed, 12 Oct 2011 17:44:42 +0000 (18:44 +0100)]
Correctly guard WebFrame methods needed only with the Chromium HTTP stack

This fixes the break in builds which use the Android HTTP stack.

Change-Id: I0feb885754c34e96216c8e0c28390808f424534e

12 years agoam d33401fd: Merge "Modify BrowserFrame.requestClientCert() to take the host and...
Steve Block [Wed, 12 Oct 2011 17:00:52 +0000 (10:00 -0700)]
am d33401fd: Merge "Modify BrowserFrame.requestClientCert() to take the host and port as a String" into ics-mr0

* commit 'd33401fdd5a0b8f3d82389f1d7cc5168fa14a122':
  Modify BrowserFrame.requestClientCert() to take the host and port as a String

12 years agoMerge "Modify BrowserFrame.requestClientCert() to take the host and port as a String...
Steve Block [Wed, 12 Oct 2011 16:58:20 +0000 (09:58 -0700)]
Merge "Modify BrowserFrame.requestClientCert() to take the host and port as a String" into ics-mr0

12 years agoFix uses of GetByteArrayElements() in WebCoreFrameBridge
Steve Block [Wed, 12 Oct 2011 09:07:57 +0000 (10:07 +0100)]
Fix uses of GetByteArrayElements() in WebCoreFrameBridge

Currently, we call GetByteArrayElements() to get a pointer to the data, then
modify it, then fail to call ReleaseByteArrayElements. This means that if
GetByteArrayElements() happens to take a copy of the data, we'll never sync the
modified data back to the JNI object.

This change updates the code to use SetByteArrayRegion() which handles
releasing any copies that are made by JNI.

Also use ScopedLocalRef where possible.

Bug: 5442710
Change-Id: Ic8691eb18cac746ee2a2086017ffb9b5558755bd

12 years agoModify BrowserFrame.requestClientCert() to take the host and port as a String
Steve Block [Wed, 12 Oct 2011 08:53:09 +0000 (09:53 +0100)]
Modify BrowserFrame.requestClientCert() to take the host and port as a String

Currently we get the host and port from Chromium as a std::string, convert to a
jbyte array to pass over JNI, then convert to String. It's simpler to convert
directly to jstring and to pass that over JNI.

This also fixes the fact that WebFrame::requestClientCert() fails to call
ReleaseByteArrayElements().

Requires https://android-git.corp.google.com/g/141238
in frameworks/base.

Bug: 5442710

Change-Id: If81fdef338ecdf2debeece0ebb9926bd261ae219

12 years agoam 47f387fd: (-s ours) Merge "Revert crash on bad scale - do not merge" into ics-mr0
Chris Craik [Wed, 12 Oct 2011 00:32:51 +0000 (17:32 -0700)]
am 47f387fd: (-s ours) Merge "Revert crash on bad scale - do not merge" into ics-mr0

* commit '47f387fdb2c9e81ee710f41b1e79f1419817801a':
  Revert crash on bad scale - do not merge

12 years agoMerge "Revert crash on bad scale - do not merge" into ics-mr0
Chris Craik [Wed, 12 Oct 2011 00:21:03 +0000 (17:21 -0700)]
Merge "Revert crash on bad scale - do not merge" into ics-mr0

12 years agoFallback handle if vertical glyphs are missing.
claireho [Tue, 11 Oct 2011 20:28:10 +0000 (13:28 -0700)]
Fallback handle if vertical glyphs are missing.

Bug 5094208 : browser VerticalWritingMode support.
Some punctuation has to change its glyph in vertical writing mode.
For example, dash in vertical text is a vertical bar. In
current Android system fonts and fallback fonts, none of them have the
substitute tables for vertical writing mode.  We call a conversion
function that converts the punctuation to the Unicode Vertical Form
(0xFE10 - 0xFE19) or to the closest glyphs as alternative when
vertical substitute tables are absent in fonts. Otherwise, we use
Harfbuzz to do the vertical glyph shapping.

Change-Id: If1d31bb72aaaba45ed50bbb75d6246cfa30e3428

12 years agoRevert crash on bad scale - do not merge
Chris Craik [Tue, 11 Oct 2011 23:10:50 +0000 (16:10 -0700)]
Revert crash on bad scale - do not merge

bug:5367327
Change-Id: I94589e007f9669fa1b43ab5cee42bfa44d9e503c

12 years agoam 14492673: Merge "Fixed infinite redraw loop from running out of layer tiles" into...
Chris Craik [Tue, 11 Oct 2011 23:10:24 +0000 (16:10 -0700)]
am 14492673: Merge "Fixed infinite redraw loop from running out of layer tiles" into ics-mr0

* commit '144926737b2b4e6f76f5c6347db3093b8a483e21':
  Fixed infinite redraw loop from running out of layer tiles

12 years agoMerge "Fixed infinite redraw loop from running out of layer tiles" into ics-mr0
Chris Craik [Tue, 11 Oct 2011 23:08:53 +0000 (16:08 -0700)]
Merge "Fixed infinite redraw loop from running out of layer tiles" into ics-mr0

12 years agoam 46f244f2: Merge "Mark tiles discarded by TransferQueue as dirty" into ics-mr0
Chris Craik [Tue, 11 Oct 2011 23:04:22 +0000 (16:04 -0700)]
am 46f244f2: Merge "Mark tiles discarded by TransferQueue as dirty" into ics-mr0

* commit '46f244f2351cbaa1a251d79605ed6d7e21d1d53f':
  Mark tiles discarded by TransferQueue as dirty

12 years agoMerge "Mark tiles discarded by TransferQueue as dirty" into ics-mr0
Chris Craik [Tue, 11 Oct 2011 23:02:01 +0000 (16:02 -0700)]
Merge "Mark tiles discarded by TransferQueue as dirty" into ics-mr0

12 years agoam d253060c: Merge "Fix repaint bug. In some cases when the content size changes...
Nicolas Roard [Tue, 11 Oct 2011 22:44:00 +0000 (15:44 -0700)]
am d253060c: Merge "Fix repaint bug. In some cases when the content size changes, the inval rects we receive from webkit do not fully cover the area that changed. For now, fix this by forcing the invalidation of the entire content (note: we only invalidate the tiles -

* commit 'd253060c6edf139871ea630f884cc6631a162854':
  Fix repaint bug. In some cases when the content size changes, the inval rects we receive from webkit do not fully cover the area that changed. For now, fix this by forcing the invalidation of the entire content (note: we only invalidate the tiles -- we do not force an actual regeneration of the pictureset for the entire content)

12 years agoMerge "Fix repaint bug. In some cases when the content size changes, the inval rects...
Nicolas Roard [Tue, 11 Oct 2011 22:42:44 +0000 (15:42 -0700)]
Merge "Fix repaint bug. In some cases when the content size changes, the inval rects we receive from webkit do not fully cover the area that changed. For now, fix this by forcing the invalidation of the entire content (note: we only invalidate the tiles -- we do not force an actual regeneration of the pictureset for the entire content)" into ics-mr0

12 years agoFixed infinite redraw loop from running out of layer tiles
Chris Craik [Tue, 11 Oct 2011 21:35:51 +0000 (14:35 -0700)]
Fixed infinite redraw loop from running out of layer tiles

bug:5349958

Clear a flag when a layer tile can't allocate a texture, and only try and redraw
from tile dirtiness if that flag is set.

Also, don't ask for redraw if offending tiles are offscreen.

Change-Id: Iadb0cb267a9c1f308e5b42a6e0e3b4bc71d18ece

12 years agoam 85e38448: Support spellcheck attribute in input fields
Michael Kolb [Tue, 11 Oct 2011 22:33:34 +0000 (15:33 -0700)]
am 85e38448: Support spellcheck attribute in input fields

* commit '85e3844824444f304a15e57f62d2e5670fb3bf47':
  Support spellcheck attribute in input fields

12 years agoFix repaint bug. In some cases when the content size changes, the
Nicolas Roard [Tue, 11 Oct 2011 22:12:09 +0000 (15:12 -0700)]
Fix repaint bug. In some cases when the content size changes, the
inval rects we receive from webkit do not fully cover the area that
changed. For now, fix this by forcing the invalidation of the entire
content (note: we only invalidate the tiles -- we do not force an
actual regeneration of the pictureset for the entire content)

bug:5361852
Change-Id: I682766d0101d4c8b8a38357dc7846c0030c1f9dc

12 years agoMark tiles discarded by TransferQueue as dirty
Chris Craik [Mon, 10 Oct 2011 22:58:27 +0000 (15:58 -0700)]
Mark tiles discarded by TransferQueue as dirty

bug:5409902

Tiles were being discarded from the queue (and simply unsuccessfully
added). This caused them to get stuck in the 'ValidatedUntransferred' state.

Now if a tile isn't added successfully, or if it's discarded, it removes its
painting texture and will have to repaint from scratch.

Change-Id: I551e00fb8a6be3b0f3cabeabaa91e8b8b30019d5

12 years agoSupport spellcheck attribute in input fields
Michael Kolb [Tue, 11 Oct 2011 21:05:45 +0000 (14:05 -0700)]
Support spellcheck attribute in input fields

    Bug: 5267547

    When spellcheck is set to false, disable the
    IME suggestions and the spelling error highlighting

Change-Id: Ib62bc760334159aa086214cc6f1388d1abe89cb4

12 years agoMerge "Support "Vertical Writing Mode"."
claireho [Tue, 11 Oct 2011 19:31:25 +0000 (12:31 -0700)]
Merge "Support "Vertical Writing Mode"."

12 years agoMerge "Delay sending Plugin Draw event until the surface is ready."
Derek Sollenberger [Mon, 10 Oct 2011 20:28:07 +0000 (13:28 -0700)]
Merge "Delay sending Plugin Draw event until the surface is ready."

12 years agoDelay sending Plugin Draw event until the surface is ready.
Derek Sollenberger [Mon, 22 Aug 2011 17:46:32 +0000 (13:46 -0400)]
Delay sending Plugin Draw event until the surface is ready.

bug: 5436630
Change-Id: I058a0d750f185c56c0fe70ac0bff7c9781c35dc8

12 years agoMerge "Fixed URL lookup for data URLs."
George Mount [Mon, 10 Oct 2011 20:06:48 +0000 (13:06 -0700)]
Merge "Fixed URL lookup for data URLs."

12 years agoMerge "Double buffering for layers"
Chris Craik [Mon, 10 Oct 2011 20:05:29 +0000 (13:05 -0700)]
Merge "Double buffering for layers"

12 years agoDouble buffering for layers
Chris Craik [Wed, 5 Oct 2011 20:19:22 +0000 (13:19 -0700)]
Double buffering for layers

bug:5309934

Defer picture changes and invalidations when:
1) a tiled texture hasn't completed painting
2) the user is scrolling (done in PaintedSurface)

Remaining issues:
Should block updates on zooming

Change-Id: I60ee722e651f96e95a4ac0e819999fc1589037c3

12 years agoAdding support for multiple video surfaces per plugin.
Derek Sollenberger [Wed, 14 Sep 2011 18:11:23 +0000 (14:11 -0400)]
Adding support for multiple video surfaces per plugin.

This CL refactors our implementation to support multiple
non-overlapping video surfaces per plugin instance. This
will allow plugins to hardware decode simulatenous video
streams using hardware.

Additionally, this CL improves plugin startup latency by
constructing the primary plugin surface as soon as possible
in the UI thread.

bug: 5318290
Change-Id: I53ceb8b6696159ecc4765c922704727a9a75a17d

12 years agoThe new FAST_PICTURESET code path seems to trigger repaint
Nicolas Roard [Sat, 8 Oct 2011 01:31:58 +0000 (18:31 -0700)]
The new FAST_PICTURESET code path seems to trigger repaint
bugs in some cases. The current performance improvement of this
code path is reasonably small compared to the default PICTURESET.
This CL turns off FAST_PICTURESET for now (we will revisit the
issue in the future)

bug:5406701
Change-Id: I7ab7addf14d46b28ebf6bd4ff7f2b3b4ee044cc4

12 years agoFixed URL lookup for data URLs.
George Mount [Fri, 7 Oct 2011 22:41:57 +0000 (15:41 -0700)]
Fixed URL lookup for data URLs.

 Bug 5383517
 Data URLs were being stripped, preventing long click from doing anything.

Change-Id: I5eba97725375a155d39f2489f97714a2b8bc8189

12 years agoMerge "Switch find on page to GL"
John Reck [Fri, 7 Oct 2011 20:10:24 +0000 (13:10 -0700)]
Merge "Switch find on page to GL"

12 years agoSwitch find on page to GL
John Reck [Thu, 6 Oct 2011 23:17:19 +0000 (16:17 -0700)]
Switch find on page to GL

 Bug: 5354191
 Refactor how extras are drawn in GL

Change-Id: Ifb61c73abecd2d074903a7fb44fe4b82aacc64ac

12 years agoMerge "Fix scrolling offset of ScrollableLayer when we touch them. With the new direc...
Nicolas Roard [Fri, 7 Oct 2011 19:04:05 +0000 (12:04 -0700)]
Merge "Fix scrolling offset of ScrollableLayer when we touch them. With the new direct update, we are setting directly the layers position; but for ScrollableLayer, we already set their position in the UI, so for them their webkit counterpart is actually older/wrong. The fix consists simply in not updating the positioning of ScrollableLayer."

12 years agoFix scrolling offset of ScrollableLayer when we touch them.
Nicolas Roard [Fri, 7 Oct 2011 18:54:14 +0000 (11:54 -0700)]
Fix scrolling offset of ScrollableLayer when we touch them.
With the new direct update, we are setting directly the layers position;
but for ScrollableLayer, we already set their position in the UI, so for
them their webkit counterpart is actually older/wrong.
The fix consists simply in not updating the positioning of
ScrollableLayer.

bug:5421867
Change-Id: Ia14e41aff641173a45ed898cd3b3eceab3f7bd7a

12 years agoMerge "Fix inverted mode rendering"
Nicolas Roard [Fri, 7 Oct 2011 17:40:12 +0000 (10:40 -0700)]
Merge "Fix inverted mode rendering"

12 years agoFix WebViewCore uninitialised data.
Ben Murdoch [Fri, 7 Oct 2011 11:58:57 +0000 (12:58 +0100)]
Fix WebViewCore uninitialised data.

Improve WebViewCore initialisation by using the
initialiser list rather than assignment in the
constructor. Ensure that *all* members get an initial
value.

Also remove the WebViewCore::reset(bool) function, that
was only being called from the constructor and so is
now unnecessary.

Additionally remove two completely unused members and one
(m_now) that was being written once but never read (and only
ever behind a debug #ifdef).

Bug: 5399726

Change-Id: I29216737c2406eed1cdc426d011bca0728fdf232

12 years agoFix inverted mode rendering
Nicolas Roard [Fri, 7 Oct 2011 01:50:02 +0000 (18:50 -0700)]
Fix inverted mode rendering

The GPU texture upload workaround broke it, as we are not using the
Shaders when doing the copy. Adding some code to instead use a final
shader that can be either normal or inverted, on demand.

bug:5424589

Change-Id: If845233e12c65738925fbc81b21f1dc0fd38546e

12 years agoFix repaint request logic for the image layer code path
Nicolas Roard [Fri, 7 Oct 2011 00:10:55 +0000 (17:10 -0700)]
Fix repaint request logic for the image layer code path

bug:5425608 bug:5218173

Change-Id: Ib14a5e53466b05781a842e24443e89a4779dba68

12 years agoFix repaint issues with overflow layers
Nicolas Roard [Wed, 5 Oct 2011 23:14:36 +0000 (16:14 -0700)]
Fix repaint issues with overflow layers

bug:5297412
Change-Id: I6b483e174339bc854e5d301c5c1f2e5851e57772

12 years agoMerge "Streamline the layers update codepath. Directly update the layers transform...
Nicolas Roard [Wed, 5 Oct 2011 18:35:24 +0000 (11:35 -0700)]
Merge "Streamline the layers update codepath. Directly update the layers transform and position. This makes updates faster and less dependent on other webkit work."

12 years agoStreamline the layers update codepath.
Nicolas Roard [Wed, 5 Oct 2011 01:01:40 +0000 (18:01 -0700)]
Streamline the layers update codepath.
Directly update the layers transform and position.
This makes updates faster and less dependent on other webkit work.

counterpart java CL: https://android-git.corp.google.com/g/#/c/139853/

bug:5218173

Change-Id: I03a76ab853e81f0f12177fb785707ffb8dace330

12 years agoMerge "Remove m_contentsImage usage"
John Reck [Wed, 5 Oct 2011 00:41:15 +0000 (17:41 -0700)]
Merge "Remove m_contentsImage usage"

12 years agoRemove m_contentsImage usage
John Reck [Tue, 4 Oct 2011 23:04:01 +0000 (16:04 -0700)]
Remove m_contentsImage usage

 Bug: 5410522

Change-Id: Id8457715665dbd51761900011beba57b7f634fff

12 years agoFix ring clip
John Reck [Tue, 4 Oct 2011 16:12:27 +0000 (09:12 -0700)]
Fix ring clip

 Bug: 5406350

Change-Id: I95507ee163a2cb41cc605efaabf32b7cad814533

12 years agoallow for compositing of 1x1 plugins
Chris Craik [Mon, 3 Oct 2011 21:38:23 +0000 (14:38 -0700)]
allow for compositing of 1x1 plugins

bug:5382635

Change-Id: I0da21245ec7808da452941a45ae5008e278f3007

12 years agoHW accelate button focus rings
John Reck [Mon, 3 Oct 2011 16:26:49 +0000 (09:26 -0700)]
HW accelate button focus rings

 Bug: 5353510

Change-Id: I1bb306381864357dab4c38fd5c182fda2dd08d8c

12 years agoMerge "Fine-tune the number of buckets in PictureSet add some clearing logic as well"
Nicolas Roard [Sat, 1 Oct 2011 01:49:21 +0000 (18:49 -0700)]
Merge "Fine-tune the number of buckets in PictureSet add some clearing logic as well"

12 years agoFine-tune the number of buckets in PictureSet
Nicolas Roard [Sat, 1 Oct 2011 01:24:04 +0000 (18:24 -0700)]
Fine-tune the number of buckets in PictureSet
add some clearing logic as well

bug:5145259 bug:5255262
Change-Id: I764e2b67ff15893e853e36185cd610e7293d0129

12 years agoMerge "Turn on the new Gpu Upload code path"
Teng-Hui Zhu [Fri, 30 Sep 2011 22:34:25 +0000 (15:34 -0700)]
Merge "Turn on the new Gpu Upload code path"

12 years agoMerge "Fix low-res tiles rendering too early"
Chris Craik [Fri, 30 Sep 2011 22:31:01 +0000 (15:31 -0700)]
Merge "Fix low-res tiles rendering too early"

12 years agoTurn on the new Gpu Upload code path
Teng-Hui Zhu [Fri, 30 Sep 2011 21:47:05 +0000 (14:47 -0700)]
Turn on the new Gpu Upload code path

bug:5395019
Change-Id: Ifc16eb59fec62e5f4b95ad4e35f140969226506d

12 years agoFix low-res tiles rendering too early
Chris Craik [Fri, 30 Sep 2011 21:16:28 +0000 (14:16 -0700)]
Fix low-res tiles rendering too early

bug:5369978

Low-res tiles were being prepared before high res, so despite being lower
priority, they had a chance to start rendering when a new page was loaded before
any other tiles existed in the priority queue.

Change-Id: I479f01a00c2507bcabf13929eb099571d8886c4c

12 years agoMerge "The new Gpu upload code path."
Teng-Hui Zhu [Fri, 30 Sep 2011 19:59:01 +0000 (12:59 -0700)]
Merge "The new Gpu upload code path."

12 years agoMerge "Initialize to BUCKET_SIZE instead of 0"
Russell Brenner [Fri, 30 Sep 2011 18:00:21 +0000 (11:00 -0700)]
Merge "Initialize to BUCKET_SIZE instead of 0"

12 years agoInitialize to BUCKET_SIZE instead of 0
Russell Brenner [Thu, 29 Sep 2011 20:11:14 +0000 (13:11 -0700)]
Initialize to BUCKET_SIZE instead of 0

Some execution path appears to be leaving mBucketSizeX and/or Y set
to 0, causing a divide-by-zero exception. This should only be
feasible when mWidth and mHeight are also 0, but, to keep things
safe, we'll initialize to BUCKET_SIZE instead.

Bug: 5391435
Change-Id: I4e01f980731619e6a6fb70a6eb315c44dd677c7b

12 years agoThe new Gpu upload code path.
Teng-Hui Zhu [Thu, 29 Sep 2011 00:28:58 +0000 (17:28 -0700)]
The new Gpu upload code path.

This relied on the hacky Surface Texture change:
https://android-git.corp.google.com/g/#/c/138516/

bug:5347539
Change-Id: I78e0f677a9c201ba49e11ddb24fa095471cbf3c9

12 years agoMerge "Make the Gpu Upload path faster"
Teng-Hui Zhu [Fri, 30 Sep 2011 16:22:46 +0000 (09:22 -0700)]
Merge "Make the Gpu Upload path faster"