OSDN Git Service

android-x86/external-webkit.git
13 years agomerge in honeycomb-mr1-release history after reset to master
The Android Automerger [Tue, 1 Mar 2011 15:26:34 +0000 (07:26 -0800)]
merge in honeycomb-mr1-release history after reset to master

13 years agoMerge "Add support for plugins to use incognito mode."
Derek Sollenberger [Tue, 1 Mar 2011 13:19:47 +0000 (05:19 -0800)]
Merge "Add support for plugins to use incognito mode."

13 years agoMerge changes I7d73cc44,I610ebdbc
Ben Murdoch [Tue, 1 Mar 2011 10:08:54 +0000 (02:08 -0800)]
Merge changes I7d73cc44,I610ebdbc

* changes:
  Merge WebKit at Chromium 9.0.597.107: Update WebKit merge revision
  Merge WebKit at Chromium 9.0.597.107: Initial merge by git.

13 years agoam 17ed9cd4: am 7571a1f2: Cap framerate at 60fps
Nicolas Roard [Tue, 1 Mar 2011 06:23:43 +0000 (22:23 -0800)]
am 17ed9cd4: am 7571a1f2: Cap framerate at 60fps

* commit '17ed9cd411dd026b58faa85f77cf63c25eee4883':
  Cap framerate at 60fps

13 years agoam 7571a1f2: Cap framerate at 60fps
Nicolas Roard [Mon, 28 Feb 2011 22:47:15 +0000 (14:47 -0800)]
am 7571a1f2: Cap framerate at 60fps

* commit '7571a1f293987b3cbe0b393968b163d5ece2bd64':
  Cap framerate at 60fps

13 years agoCap framerate at 60fps
Nicolas Roard [Mon, 28 Feb 2011 17:58:49 +0000 (09:58 -0800)]
Cap framerate at 60fps

bug:3471680
Change-Id: Ia19c4402858b758312c1f801bda990275f970b63

13 years agoCap framerate at 60fps
Nicolas Roard [Mon, 28 Feb 2011 17:58:49 +0000 (09:58 -0800)]
Cap framerate at 60fps

Change-Id: I1b6be15a38d2afc55659872b82e13ebcd8fd2ada

13 years agoMerge WebKit at Chromium 9.0.597.107: Update WebKit merge revision
Ben Murdoch [Mon, 28 Feb 2011 17:48:07 +0000 (17:48 +0000)]
Merge WebKit at Chromium 9.0.597.107: Update WebKit merge revision

Note that we are tracking the Chromium 9.0.597 release branch,
which is WebKit r72805 + stability cherry picks.

This corresponds to r78920 on the 597 release branch.

Change-Id: I7d73cc447de8511b956a75d8acb1379c21ab266e

13 years agoMerge WebKit at Chromium 9.0.597.107: Initial merge by git.
Ben Murdoch [Mon, 28 Feb 2011 17:44:23 +0000 (17:44 +0000)]
Merge WebKit at Chromium 9.0.597.107: Initial merge by git.

Note that we are tracking the Chromium 9.0.597 release branch,
which is WebKit r72805 + stability cherry picks.

This corresponds to r78920 on the 597 release branch.

Change-Id: I610ebdbcba92cfa788b229ee207a405789d45e67

13 years agomerge in honeycomb-mr1-release history after reset to master
The Android Automerger [Mon, 28 Feb 2011 15:24:58 +0000 (07:24 -0800)]
merge in honeycomb-mr1-release history after reset to master

13 years agoAdd support for plugins to use incognito mode.
Derek Sollenberger [Fri, 25 Feb 2011 15:34:46 +0000 (10:34 -0500)]
Add support for plugins to use incognito mode.

bug: 2968415

Change-Id: Ie67c9f6b28a81d4a65f39bde2896078d7b49b8ee

13 years agoAllow a site to specify to not show the IME for a textfield.
Leon Scroggins [Fri, 25 Feb 2011 19:50:57 +0000 (14:50 -0500)]
Allow a site to specify to not show the IME for a textfield.

Bug:3391139
Change-Id: Ic1c99750c9e91940d9ac628444be594f5f860748

13 years agoMerge "Use UI side scrolling for readOnly textareas."
Leon Scroggins [Fri, 25 Feb 2011 20:58:18 +0000 (12:58 -0800)]
Merge "Use UI side scrolling for readOnly textareas."

13 years agoUse UI side scrolling for readOnly textareas.
Leon Scroggins [Fri, 25 Feb 2011 20:54:52 +0000 (15:54 -0500)]
Use UI side scrolling for readOnly textareas.

Bug:3300760
Change-Id: I44641bb4ba385ece2ace9f8dba2205b76e755289

13 years agoMerge "Clean up synchronisation in Texture code."
Nicolas Roard [Fri, 25 Feb 2011 20:37:56 +0000 (12:37 -0800)]
Merge "Clean up synchronisation in Texture code."

13 years agoMerge "Fix frameset expansion."
Patrick Scott [Fri, 25 Feb 2011 19:42:01 +0000 (11:42 -0800)]
Merge "Fix frameset expansion."

13 years agoClean up synchronisation in Texture code.
Ben Murdoch [Thu, 24 Feb 2011 16:42:27 +0000 (16:42 +0000)]
Clean up synchronisation in Texture code.

Ensure that we wait in a while loop checking the condition when
we call wait, and only signal after unlocking the Mutex.

Also removes mNewRequest lock and condition in the TexturesGenerator
as it doesn't seem to be needed.

Hopefully this will clear up some ANRs.

Change-Id: I1b8b103a6effd2aa678a304e2519a6f6c484aaad

13 years agoFix frameset expansion.
Patrick Scott [Thu, 17 Feb 2011 15:58:02 +0000 (10:58 -0500)]
Fix frameset expansion.

Do not expand frames that cannot scroll. Use contentsWidth and contentsHeight
instead of exposing docWidth. Trigger a layout of the parent if the FrameView's
layout reveals a larger content dimension. Remove iframe flattening code.

Bug: 3370518
Bug: 3323913
Change-Id: I60e89caf335bfaf271f90ffd538c65f3735572da

13 years agoMerge "Use an appropriate parameter for revealSelection."
Leon Scroggins [Fri, 25 Feb 2011 18:01:39 +0000 (10:01 -0800)]
Merge "Use an appropriate parameter for revealSelection."

13 years agoMerge "Fixed 3425519, misalignment with fixed width font"
Russell Brenner [Fri, 25 Feb 2011 17:33:53 +0000 (09:33 -0800)]
Merge "Fixed 3425519, misalignment with fixed width font"

13 years agoUse an appropriate parameter for revealSelection.
Leon Scroggins [Thu, 24 Feb 2011 19:33:16 +0000 (14:33 -0500)]
Use an appropriate parameter for revealSelection.

Bug:3367446

The default ScrollAlignment for revealSelection results
in attempting to scroll to a negative scroll position in
y.

Change-Id: I482d6dbe2e91e3eba24036b8acf4a0c13a6a2c7e

13 years agomerge in honeycomb-mr1-release history after reset to master
The Android Automerger [Fri, 25 Feb 2011 15:26:13 +0000 (07:26 -0800)]
merge in honeycomb-mr1-release history after reset to master

13 years agoMerge "Possible fix for bug 3410366 SEGV in when hitting "go back" on an ssl cert...
Kristian Monsen [Fri, 25 Feb 2011 14:21:35 +0000 (06:21 -0800)]
Merge "Possible fix for bug 3410366 SEGV in when hitting "go back" on an ssl cert warning"

13 years agoam 48a84519: (-s ours) am 31cf3287: Do not merge: Cherry-pick CL to help flash plugin...
Nicolas Roard [Fri, 25 Feb 2011 00:34:26 +0000 (16:34 -0800)]
am 48a84519: (-s ours) am 31cf3287: Do not merge: Cherry-pick CL to help flash plugin performance

* commit '48a84519fe5415339de288d11f43a71fb3ca6c28':
  Do not merge: Cherry-pick CL to help flash plugin performance

13 years agoam 31cf3287: Do not merge: Cherry-pick CL to help flash plugin performance
Nicolas Roard [Fri, 25 Feb 2011 00:32:11 +0000 (16:32 -0800)]
am 31cf3287: Do not merge: Cherry-pick CL to help flash plugin performance

* commit '31cf3287137bf5e5c4c120c731ba886e2be1eb24':
  Do not merge: Cherry-pick CL to help flash plugin performance

13 years agoDo not merge: Cherry-pick CL to help flash plugin performance
Nicolas Roard [Fri, 25 Feb 2011 00:14:33 +0000 (16:14 -0800)]
Do not merge: Cherry-pick CL to help flash plugin performance

Add a glFinish() at the end of drawGL(), to help
the GPU and the flash plugin...

bug:3471680
Change-Id: I309e0ba13f0b51b08b762de39b47b2b409faeacc

13 years agoMerge "Add a glFinish() at the end of drawGL(), to help the GPU and the flash plugin..."
Nicolas Roard [Fri, 25 Feb 2011 00:19:01 +0000 (16:19 -0800)]
Merge "Add a glFinish() at the end of drawGL(), to help the GPU and the flash plugin..."

13 years agoFixed 3425519, misalignment with fixed width font
Russell Brenner [Thu, 24 Feb 2011 23:45:59 +0000 (15:45 -0800)]
Fixed 3425519, misalignment with fixed width font

Uses new skia api to identify fixed width fonts. Without this fix, all
Android fonts were reported as variable width, causing layout
adjustment of whitespace. Now that fixed width fonts are properly
reported, space characters preserve the same width as non-space chars.

Change-Id: I7d83481f44e6c34fd8ae5c6638b1625d3a83a637

13 years agoAdd a glFinish() at the end of drawGL(), to help
Nicolas Roard [Fri, 25 Feb 2011 00:14:33 +0000 (16:14 -0800)]
Add a glFinish() at the end of drawGL(), to help
the GPU and the flash plugin...

bug:3471680
Change-Id: I436de6caea4dd5b1171f260d328dfe8170463832

13 years agoam 04cd60b1: (-s ours) am 13427c01: Do not merge: cherry-pick incorect clip CL from...
Derek Sollenberger [Thu, 24 Feb 2011 23:56:55 +0000 (15:56 -0800)]
am 04cd60b1: (-s ours) am 13427c01: Do not merge: cherry-pick incorect clip CL from master

* commit '04cd60b14091f375070bd41ec748ece31777b00b':
  Do not merge: cherry-pick incorect clip CL from master

13 years agoam 13427c01: Do not merge: cherry-pick incorect clip CL from master
Derek Sollenberger [Thu, 24 Feb 2011 23:54:46 +0000 (15:54 -0800)]
am 13427c01: Do not merge: cherry-pick incorect clip CL from master

* commit '13427c01ee4c0f85b8baabb2294fb527013acfc2':
  Do not merge: cherry-pick incorect clip CL from master

13 years agoDo not merge: cherry-pick incorect clip CL from master
Derek Sollenberger [Thu, 24 Feb 2011 21:17:51 +0000 (16:17 -0500)]
Do not merge: cherry-pick incorect clip CL from master

Fix problem where plugins were not drawn due to an incorrect clip.

bug: 3451982
Change-Id: I9eaaa218afa1a386dcb89d1d7845f80b0b180959

13 years agoMerge "Fix problem where plugins were not drawn due to an incorrect clip."
Bart Sears [Thu, 24 Feb 2011 23:15:01 +0000 (15:15 -0800)]
Merge "Fix problem where plugins were not drawn due to an incorrect clip."

13 years agoMerge "revert "Enable layers for fixed elements only for mobile websites""
Teng-Hui Zhu [Thu, 24 Feb 2011 22:40:41 +0000 (14:40 -0800)]
Merge "revert "Enable layers for fixed elements only for mobile websites""

13 years agoMerge "Update fixed layer at sync time."
Teng-Hui Zhu [Thu, 24 Feb 2011 22:31:27 +0000 (14:31 -0800)]
Merge "Update fixed layer at sync time."

13 years agorevert "Enable layers for fixed elements only for mobile websites"
Teng-Hui Zhu [Thu, 24 Feb 2011 01:10:23 +0000 (17:10 -0800)]
revert "Enable layers for fixed elements only for mobile websites"

revert #change,93656
Now we will use layer for fixed element in desktop site, too.

Change-Id: I0a86d46f86fa75b704286aa613e967108851b990

13 years agoUpdate fixed layer at sync time.
Teng-Hui Zhu [Thu, 24 Feb 2011 21:40:37 +0000 (13:40 -0800)]
Update fixed layer at sync time.

For the example of google news, one of the fixed position layer is under
another fixed layer, and it is not updated for scrolling.
The CSS value did change, but we don't have a updated fixed position call.
Moving the update to sync time fix this issue.

bug:3486524

Change-Id: Iecb65b37d06e65902511e569238546b49b1dcd47

13 years agoPossible fix for bug 3410366 SEGV in when hitting "go back" on an ssl cert warning
Kristian Monsen [Thu, 24 Feb 2011 17:10:40 +0000 (17:10 +0000)]
Possible fix for bug 3410366 SEGV in when hitting "go back" on an ssl cert warning

RefCounting the handle that is sent to webkit (and java). Note
that if java does not call back with either cancel or proceed it
will leak. The documentation for in WebViewClient.java says:

Notify the host application to handle a ssl certificate error request
(display the error to the user and ask whether to proceed or not). The
host application has to call either handler.cancel() or handler.proceed()
as the connection is suspended and waiting for the response. The default
behavior is to cancel the load.

This means it is clearly an error not to call any of them, and leaking
in that case is OK.

Change-Id: Idac713833395edfbec3ae9b5612a34c2cf25f4e7

13 years agoFix problem where plugins were not drawn due to an incorrect clip.
Derek Sollenberger [Thu, 24 Feb 2011 21:17:51 +0000 (16:17 -0500)]
Fix problem where plugins were not drawn due to an incorrect clip.

bug: 3451982
Change-Id: If1d7bff729f72c28fec4905c3525b2f2ac1c6475

13 years agoMerge "Only show video texture when frames are available."
Derek Sollenberger [Thu, 24 Feb 2011 21:12:02 +0000 (13:12 -0800)]
Merge "Only show video texture when frames are available."

13 years agoMerge "bias towards space in select text"
Cary Clark [Thu, 24 Feb 2011 19:42:44 +0000 (11:42 -0800)]
Merge "bias towards space in select text"

13 years agoOnly show video texture when frames are available.
Derek Sollenberger [Thu, 24 Feb 2011 18:47:46 +0000 (13:47 -0500)]
Only show video texture when frames are available.

bug: 3460361
Change-Id: Ifcf97b4360e0a86cfcc100e6287e1fbce8d2185a

13 years agoStop the blinking caret when moving to another field.
Leon Scroggins [Thu, 24 Feb 2011 17:34:42 +0000 (12:34 -0500)]
Stop the blinking caret when moving to another field.

Bug:2930013

Requires a change in frameworks/base.

Change-Id: I892fcdd9b9a0abdcf82e5bb26c930b68ae8b10fa

13 years agoFixed element in iframe support
Teng-Hui Zhu [Thu, 24 Feb 2011 01:17:20 +0000 (17:17 -0800)]
Fixed element in iframe support

We first identify the iframe for each LayerAndroid.
Then when traverse to update the fixed elements, we use the parent iframe
info to update the fixed position.

Change-Id: I13e0333fc6453414cea2343a787c41d525f6e3d2

13 years agobias towards space in select text
Cary Clark [Thu, 24 Feb 2011 17:20:18 +0000 (12:20 -0500)]
bias towards space in select text

When computing the presence or absence of a space,
it's usually the case that the absense of a space case
has no error. The presence of a space may have more
error, since the size of the space may be adjusted by
the page.

When the two computed errors are equal, bias towards
the space case. This fixes text selection on Google News.

bug:3470564
Change-Id: I1feadd945e9faaf970bca0702a7cf79429592784

13 years agomerge in honeycomb-mr1-release history after reset to master
The Android Automerger [Thu, 24 Feb 2011 15:21:28 +0000 (07:21 -0800)]
merge in honeycomb-mr1-release history after reset to master

13 years agoMerge "Skia Merge (revision 808)"
Derek Sollenberger [Thu, 24 Feb 2011 13:27:46 +0000 (05:27 -0800)]
Merge "Skia Merge (revision 808)"

13 years agoMerge "Copy constructor for AutoJObject must increase the ref count on the underlying...
Steve Block [Thu, 24 Feb 2011 12:54:25 +0000 (04:54 -0800)]
Merge "Copy constructor for AutoJObject must increase the ref count on the underlying object"

13 years agomerge in honeycomb-mr1-release history after reset to master
The Android Automerger [Wed, 23 Feb 2011 15:25:05 +0000 (07:25 -0800)]
merge in honeycomb-mr1-release history after reset to master

13 years agoCopy constructor for AutoJObject must increase the ref count on the underlying object
Steve Block [Wed, 23 Feb 2011 13:49:10 +0000 (13:49 +0000)]
Copy constructor for AutoJObject must increase the ref count on the underlying object

This is needed to balance the derefs in any temporary instance's d'tor.
See https://chromereview.prom.corp.google.com/2013001

Change-Id: I8329f475ecbd1bc8669d0e8d368f1a385d891fb3

13 years agoSkia Merge (revision 808)
Derek Sollenberger [Tue, 22 Feb 2011 19:00:57 +0000 (14:00 -0500)]
Skia Merge (revision 808)

This is a companion CL to the one found in /external/skia

Change-Id: I469b8845a88f24d972fd57ee5c9cab505a5b83aa

13 years agoMerge "Scroll the RenderLayer during touch events."
Patrick Scott [Tue, 22 Feb 2011 19:06:12 +0000 (11:06 -0800)]
Merge "Scroll the RenderLayer during touch events."

13 years agoMerge "fix select text space detection"
Cary Clark [Tue, 22 Feb 2011 18:01:47 +0000 (10:01 -0800)]
Merge "fix select text space detection"

13 years agofix select text space detection
Cary Clark [Tue, 22 Feb 2011 17:31:24 +0000 (12:31 -0500)]
fix select text space detection

Some helpers like isSpace() are used in two contexts: while the
picture is parsed, and after the best answer in the picture has
been found. The proper paint must be used in each case.

Associate paints with candidate and best glyphs, so that the
appropriate paint can be used as needed.

bug:3470564
Change-Id: I28bcc82dbe727ee3ef0716e7657e61a982467a40

13 years agoScroll the RenderLayer during touch events.
Patrick Scott [Tue, 22 Feb 2011 16:20:56 +0000 (11:20 -0500)]
Scroll the RenderLayer during touch events.

Keep track of the owning layer for each LayerAndroid. No longer need to unadjust
the node bounds since the node will be scrolled into view.

Bug: 3442108
Change-Id: I7c9604d347af326ccfb86e6d3f2b95b7ce1b97c1

13 years agomerge in honeycomb-mr1-release history after reset to master
The Android Automerger [Tue, 22 Feb 2011 15:22:08 +0000 (07:22 -0800)]
merge in honeycomb-mr1-release history after reset to master

13 years agomerge in honeycomb-mr1-release history after reset to master
The Android Automerger [Mon, 21 Feb 2011 15:24:44 +0000 (07:24 -0800)]
merge in honeycomb-mr1-release history after reset to master

13 years agoMerge "Fix for bug 3424689 Corrupt (truncated) downloads for apk from browser"
Kristian Monsen [Mon, 21 Feb 2011 15:22:52 +0000 (07:22 -0800)]
Merge "Fix for bug 3424689 Corrupt (truncated) downloads for apk from browser"

13 years agoMerge "Fix a leaked JNI LocaRef in WebViewCore::jsPrompt()"
Steve Block [Mon, 21 Feb 2011 13:10:33 +0000 (05:10 -0800)]
Merge "Fix a leaked JNI LocaRef in WebViewCore::jsPrompt()"

13 years agoFix a leaked JNI LocaRef in WebViewCore::jsPrompt()
Steve Block [Mon, 21 Feb 2011 11:12:10 +0000 (11:12 +0000)]
Fix a leaked JNI LocaRef in WebViewCore::jsPrompt()

Bug: 3470906
Change-Id: I8fb9ddcf4ff3dee35c2225a18a86b4015002da96

13 years agoam d3b2919d: (-s ours) am 634f229e: Do not merge: Cherry-pick Fix ANR in the browser...
Nicolas Roard [Sat, 19 Feb 2011 15:39:19 +0000 (07:39 -0800)]
am d3b2919d: (-s ours) am 634f229e: Do not merge: Cherry-pick Fix ANR in the browser from master

* commit 'd3b2919d307e4b0ea98b7b5c67991c853c99b562':
  Do not merge: Cherry-pick Fix ANR in the browser from master

13 years agoam 634f229e: Do not merge: Cherry-pick Fix ANR in the browser from master
Nicolas Roard [Sat, 19 Feb 2011 15:35:45 +0000 (07:35 -0800)]
am 634f229e: Do not merge: Cherry-pick Fix ANR in the browser from master

* commit '634f229e4f0075b052e110ba0a89554c46f6c510':
  Do not merge: Cherry-pick Fix ANR in the browser from master

13 years agoDo not merge: Cherry-pick Fix ANR in the browser from master
Nicolas Roard [Sat, 19 Feb 2011 09:22:16 +0000 (01:22 -0800)]
Do not merge: Cherry-pick Fix ANR in the browser from master

Sometimes we were not releasing textures as they were busy; they could
still be deleted when swapping the layers trees, and as they were
also still present in the LayerTexture Hashmap this was causing an ANR
(at best -- the texture was already deallocated, the LayerTexture dtor
was then trying to release() them...)

bug:3398660
Change-Id: I3b08af94a6a7041d45d373ebaec0ec4ba59dac82

13 years agoam d3f53495: (-s ours) am 928bc355: Merge "Do not merge: Cherry-pick 2nd part of...
Nicolas Roard [Sat, 19 Feb 2011 09:20:06 +0000 (01:20 -0800)]
am d3f53495: (-s ours) am 928bc355: Merge "Do not merge:  Cherry-pick 2nd part of GL_BLEND CL from master" into honeycomb

* commit 'd3f534955e1e80e5a9192c84db518f8f0eff5b00':
  Do not merge:  Cherry-pick 2nd part of GL_BLEND CL from master

13 years agoam 928bc355: Merge "Do not merge: Cherry-pick 2nd part of GL_BLEND CL from master...
Nicolas Roard [Sat, 19 Feb 2011 09:16:48 +0000 (01:16 -0800)]
am 928bc355: Merge "Do not merge:  Cherry-pick 2nd part of GL_BLEND CL from master" into honeycomb

* commit '928bc35505a3fa29f1598842d49124c06703f972':
  Do not merge:  Cherry-pick 2nd part of GL_BLEND CL from master

13 years agoMerge "Do not merge: Cherry-pick 2nd part of GL_BLEND CL from master" into honeycomb
Nicolas Roard [Sat, 19 Feb 2011 09:13:56 +0000 (01:13 -0800)]
Merge "Do not merge:  Cherry-pick 2nd part of GL_BLEND CL from master" into honeycomb

13 years agoam ffef3d3a: (-s ours) am 6f7a546a: Do not merge: Cherry-pick Flash performance CL...
Nicolas Roard [Sat, 19 Feb 2011 05:09:18 +0000 (21:09 -0800)]
am ffef3d3a: (-s ours) am 6f7a546a: Do not merge: Cherry-pick Flash performance CL from Master

* commit 'ffef3d3a1baae44ba44696024ddc12f92337d518':
  Do not merge: Cherry-pick Flash performance CL from Master

13 years agoam b1c4dba8: (-s ours) am b1f94474: Do Not Merge: Cherry-pick GL_BLEND CL from master
Derek Sollenberger [Sat, 19 Feb 2011 05:09:16 +0000 (21:09 -0800)]
am b1c4dba8: (-s ours) am b1f94474: Do Not Merge: Cherry-pick GL_BLEND CL from master

* commit 'b1c4dba88c350dca089fc918e923d77052df750c':
  Do Not Merge: Cherry-pick GL_BLEND CL from master

13 years agoam 6e36bd5d: (-s ours) am dc8ac1db: DO NOT MERGE Fix GL_BLEND problem. glBindAttribLo...
Nicolas Roard [Sat, 19 Feb 2011 05:09:14 +0000 (21:09 -0800)]
am 6e36bd5d: (-s ours) am dc8ac1db: DO NOT MERGE Fix GL_BLEND problem. glBindAttribLocation() will only work after a shader has been linked; This was working previously due to the way the nvidia driver work when using blending (it generates another shader).

* commit '6e36bd5dadbf7af2b01b92ebb38e23a22b9718d1':
  DO NOT MERGE Fix GL_BLEND problem. glBindAttribLocation() will only work after a shader has been linked; This was working previously due to the way the nvidia driver work when using blending (it generates another shader).

13 years agoam dd17d165: (-s ours) am bdbce22a: DO NOT MERGE Clip layers if the texture size...
Nicolas Roard [Sat, 19 Feb 2011 05:09:11 +0000 (21:09 -0800)]
am dd17d165: (-s ours) am bdbce22a: DO NOT MERGE Clip layers if the texture size is too large for the GPU

* commit 'dd17d165c8aefdc123104908cef4cb5f742f2296':
  DO NOT MERGE Clip layers if the texture size is too large for the GPU

13 years agoam 6c92fe34: am 227fffee: Fix potential bug in setMaxTextureCount and limit the numbe...
Nicolas Roard [Sat, 19 Feb 2011 05:09:07 +0000 (21:09 -0800)]
am 6c92fe34: am 227fffee: Fix potential bug in setMaxTextureCount and limit the number of textures to 154

* commit '6c92fe3486d362d49c3d2a0399611797d35173d1':
  Fix potential bug in setMaxTextureCount and limit the number of textures to 154

13 years agoam e69a5d5d: (-s ours) am 704eaca6: Set correct max texture allocations.
Shimeng (Simon) Wang [Sat, 19 Feb 2011 05:09:03 +0000 (21:09 -0800)]
am e69a5d5d: (-s ours) am 704eaca6: Set correct max texture allocations.

* commit 'e69a5d5da77aef92f09588057db3ec1f5be5c71b':
  Set correct max texture allocations.

13 years agoam 6f7a546a: Do not merge: Cherry-pick Flash performance CL from Master
Nicolas Roard [Sat, 19 Feb 2011 03:58:00 +0000 (19:58 -0800)]
am 6f7a546a: Do not merge: Cherry-pick Flash performance CL from Master

* commit '6f7a546a8676227fcd810149bce26090ab1e49eb':
  Do not merge: Cherry-pick Flash performance CL from Master

13 years agoDo not merge: Cherry-pick Flash performance CL from Master
Nicolas Roard [Fri, 18 Feb 2011 23:54:32 +0000 (15:54 -0800)]
Do not merge: Cherry-pick Flash performance CL from Master

Bug: 3471589

Fix some of the performance issues when using the flash plugin embedded.

What happened was that MediaLayer was always telling us to repaint the
screen; we could repaint the same frame a dozen of times unecessarily.
This in itself was wasteful but should have been ok, but the stream
of commands plus the compositing caused the GPU commands used by flash
to stall until they were executed...
The compounded impact drasticaly lowered the performances.

This is not a full fix as those conditions (us repainting the screen
a lot) happens anyway when zooming or scrolling; but this should improve
performances in the general case.

Change-Id: I79a75c759fd5968cb822616eba0caa8c77e75835

13 years agoam b1f94474: Do Not Merge: Cherry-pick GL_BLEND CL from master
Derek Sollenberger [Sat, 19 Feb 2011 03:48:34 +0000 (19:48 -0800)]
am b1f94474: Do Not Merge: Cherry-pick GL_BLEND CL from master

* commit 'b1f94474f57c247527261dbb10de63b7a4285d60':
  Do Not Merge: Cherry-pick GL_BLEND CL from master

13 years agoam dc8ac1db: DO NOT MERGE Fix GL_BLEND problem. glBindAttribLocation() will only...
Nicolas Roard [Sat, 19 Feb 2011 03:48:30 +0000 (19:48 -0800)]
am dc8ac1db: DO NOT MERGE Fix GL_BLEND problem. glBindAttribLocation() will only work after a shader has been linked; This was working previously due to the way the nvidia driver work when using blending (it generates another shader).

* commit 'dc8ac1db6f8a14dbac0eb104ecfc18292f6e9a03':
  DO NOT MERGE Fix GL_BLEND problem. glBindAttribLocation() will only work after a shader has been linked; This was working previously due to the way the nvidia driver work when using blending (it generates another shader).

13 years agoam bdbce22a: DO NOT MERGE Clip layers if the texture size is too large for the GPU
Nicolas Roard [Sat, 19 Feb 2011 03:48:25 +0000 (19:48 -0800)]
am bdbce22a: DO NOT MERGE Clip layers if the texture size is too large for the GPU

* commit 'bdbce22a3ad0e8abea6b824e7ec9fd5ae3ea9637':
  DO NOT MERGE Clip layers if the texture size is too large for the GPU

13 years agoam 227fffee: Fix potential bug in setMaxTextureCount and limit the number of textures...
Nicolas Roard [Sat, 19 Feb 2011 03:48:20 +0000 (19:48 -0800)]
am 227fffee: Fix potential bug in setMaxTextureCount and limit the number of textures to 154

* commit '227fffee9ee9b07919a140866fda1ee7445d3f5a':
  Fix potential bug in setMaxTextureCount and limit the number of textures to 154

13 years agoam 704eaca6: Set correct max texture allocations.
Shimeng (Simon) Wang [Sat, 19 Feb 2011 03:48:16 +0000 (19:48 -0800)]
am 704eaca6: Set correct max texture allocations.

* commit '704eaca6f77288587c438291bc15a967515eaa8e':
  Set correct max texture allocations.

13 years agoDo not merge: Cherry-pick 2nd part of GL_BLEND CL from master
Derek Sollenberger [Fri, 18 Feb 2011 19:04:07 +0000 (14:04 -0500)]
Do not merge:  Cherry-pick 2nd part of GL_BLEND CL from master

Ensure non-ready tiles are painted with the page background color.

bug: 3465059
bug: 3471680
Change-Id: Id0cc94f181882d1308471c9bd898fe005101d6f8

13 years agoDo Not Merge: Cherry-pick GL_BLEND CL from master
Derek Sollenberger [Mon, 14 Feb 2011 16:26:30 +0000 (11:26 -0500)]
Do Not Merge: Cherry-pick GL_BLEND CL from master

Selectively enable and disable GL_BLEND for better performance.

Bug: 3471680
Change-Id: I065b07f72a097418b81e5922574579574e7ca91a

13 years agoDO NOT MERGE Fix GL_BLEND problem.
Nicolas Roard [Fri, 11 Feb 2011 19:38:49 +0000 (11:38 -0800)]
DO NOT MERGE Fix GL_BLEND problem.
glBindAttribLocation() will only work after a shader has been linked;
This was working previously due to the way the nvidia driver work
when using blending (it generates another shader).

Change-Id: Ie5d28ba451e7b37fd9c6a76c14fc3e4e525d9bf0

13 years agoDO NOT MERGE Clip layers if the texture size is too large for the GPU
Nicolas Roard [Fri, 11 Feb 2011 18:00:52 +0000 (10:00 -0800)]
DO NOT MERGE Clip layers if the texture size is too large for the GPU

bug:3436987
Change-Id: Ibf42685ee07c6d0dd8a1a2b9c8b57da7f2a422db

13 years agoFix potential bug in setMaxTextureCount and limit
Nicolas Roard [Sat, 19 Feb 2011 00:35:20 +0000 (16:35 -0800)]
Fix potential bug in setMaxTextureCount and limit
the number of textures to 154

Change-Id: I39409e938b6b4bff23d6f1f0dc44648d63443f59

13 years agoFix potential bug in setMaxTextureCount and limit
Nicolas Roard [Sat, 19 Feb 2011 00:35:20 +0000 (16:35 -0800)]
Fix potential bug in setMaxTextureCount and limit
the number of textures to 154

Change-Id: Ie77935015d744fcfda9bfffd751df6c7f3cd10bb

13 years agoSet correct max texture allocations.
Shimeng (Simon) Wang [Tue, 15 Feb 2011 22:30:49 +0000 (14:30 -0800)]
Set correct max texture allocations.

This fixes core dump or dead lock in GL code when rotating screen.

Change-Id: Ia7bfa71125f1d24158084b6192d805b5b08b60f8

13 years agoMerge "Fix some of the performance issues when using the flash plugin embedded."
Nicolas Roard [Sat, 19 Feb 2011 00:02:07 +0000 (16:02 -0800)]
Merge "Fix some of the performance issues when using the flash plugin embedded."

13 years agoFix some of the performance issues when using the flash plugin embedded.
Nicolas Roard [Fri, 18 Feb 2011 23:54:32 +0000 (15:54 -0800)]
Fix some of the performance issues when using the flash plugin embedded.

What happened was that MediaLayer was always telling us to repaint the
screen; we could repaint the same frame a dozen of times unecessarily.
This in itself was wasteful but should have been ok, but the stream
of commands plus the compositing caused the GPU commands used by flash
to stall until they were executed...
The compounded impact drasticaly lowered the performances.

This is not a full fix as those conditions (us repainting the screen
a lot) happens anyway when zooming or scrolling; but this should improve
performances in the general case.

Change-Id: I3391c2c5a5198a73863ace53bc10f623cdc00921

13 years agoEnsure non-ready tiles are painted with the page background color.
Derek Sollenberger [Fri, 18 Feb 2011 19:04:07 +0000 (14:04 -0500)]
Ensure non-ready tiles are painted with the page background color.

bug: 3465059
Change-Id: Ia6e5ec7e9f68d641f5bf0df34c04c5c9958a4046

13 years agoMerge "Ensure non-ready tiles are painted with the page background color."
Derek Sollenberger [Fri, 18 Feb 2011 20:28:21 +0000 (12:28 -0800)]
Merge "Ensure non-ready tiles are painted with the page background color."

13 years agoEnsure non-ready tiles are painted with the page background color.
Derek Sollenberger [Fri, 18 Feb 2011 19:04:07 +0000 (14:04 -0500)]
Ensure non-ready tiles are painted with the page background color.

bug: 3465059
Change-Id: Ia6e5ec7e9f68d641f5bf0df34c04c5c9958a4046

13 years agoPart of fix for bug 3424424 Browser hanging
Kristian Monsen [Fri, 18 Feb 2011 15:58:41 +0000 (15:58 +0000)]
Part of fix for bug 3424424 Browser hanging

Always calling complete, and adding an assert if Wait finishes
without incrementing the count.

Change-Id: Iceec36c2b82f225ee88cd67eeb18d5c5064c6bfb

13 years agoMerge "use measure instead of bounder to find spaces"
Cary Clark [Fri, 18 Feb 2011 16:14:49 +0000 (08:14 -0800)]
Merge "use measure instead of bounder to find spaces"

13 years agouse measure instead of bounder to find spaces
Cary Clark [Fri, 18 Feb 2011 15:55:25 +0000 (10:55 -0500)]
use measure instead of bounder to find spaces

Pictures do not include white space characters in their
text spans, so they must be deduced. The old method
used drawing through the canvas, compared against
drawing the text directly.

The new method measure and rounds the text to match
how webkit adjusts characters' widths in WidthIterator.

bug:348629
Change-Id: I39fecd274fe0b195fbad13a6083656daa62ed852

13 years agoFix memory allocation bug in convertV8ObjectToNPVariant() for strings
Steve Block [Fri, 18 Feb 2011 11:18:37 +0000 (11:18 +0000)]
Fix memory allocation bug in convertV8ObjectToNPVariant() for strings

This is a cherry-pick of WebKit change 78994

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

Change-Id: I1994bbbe89490e68025f9bbaa0606cf9766f2ca3

13 years agoMerge "Fixed element in iframe should have a layer"
Teng-Hui Zhu [Fri, 18 Feb 2011 01:03:29 +0000 (17:03 -0800)]
Merge "Fixed element in iframe should have a layer"

13 years agoFixed element in iframe should have a layer
Teng-Hui Zhu [Thu, 17 Feb 2011 23:40:08 +0000 (15:40 -0800)]
Fixed element in iframe should have a layer

bug:3466931
Change-Id: I3ce5aaef47b6135b191749b40869913f6420ce7f

13 years agoMerge "Merge WebKit at Chromium 9.0.597.106: Update WebKit merge revision"
Steve Block [Thu, 17 Feb 2011 17:06:53 +0000 (09:06 -0800)]
Merge "Merge WebKit at Chromium 9.0.597.106: Update WebKit merge revision"

13 years agoMerge "Merge WebKit at Chromium 9.0.597.106: Initial merge by Git"
Steve Block [Thu, 17 Feb 2011 17:06:39 +0000 (09:06 -0800)]
Merge "Merge WebKit at Chromium 9.0.597.106: Initial merge by Git"

13 years agob/3452201 Set certificate only when it's from the main page.
Huahui Wu [Thu, 17 Feb 2011 04:58:42 +0000 (20:58 -0800)]
b/3452201 Set certificate only when it's from the main page.

Change-Id: Ia81109b5afe993bac2ee4a3b2da232c19f750439