OSDN Git Service

android-x86/external-webkit.git
12 years agoRevert "Add Harfbuzz support for system fallback fonts"
Russell Brenner [Thu, 18 Aug 2011 18:21:29 +0000 (11:21 -0700)]
Revert "Add Harfbuzz support for system fallback fonts"

On large pages, too many font file references are open for mmap
streaming. Rolling back this feature while I add caching.

This reverts commit cfcbe02678eabf19b6b904be61d9991d4515ecb6.

Bug: 5179817
Change-Id: I689db7794c945d548a90006b9484467b784d4b11

12 years agoMerge "Remove shouldOverrideUrlLoading restrictions"
John Reck [Wed, 17 Aug 2011 22:39:35 +0000 (15:39 -0700)]
Merge "Remove shouldOverrideUrlLoading restrictions"

12 years agoRemove shouldOverrideUrlLoading restrictions
John Reck [Wed, 17 Aug 2011 22:14:59 +0000 (15:14 -0700)]
Remove shouldOverrideUrlLoading restrictions

 Bug: 5171504

Change-Id: I5c2dfc8a0fbf07cb5df11bddfafd9f7251380402

12 years agoMerge "Fix Gmail blank page"
Teng-Hui Zhu [Wed, 17 Aug 2011 18:56:36 +0000 (11:56 -0700)]
Merge "Fix Gmail blank page"

12 years agoMerge "Implement partial repaint for layers (at the tile level) Fixes a scheduling...
Nicolas Roard [Wed, 17 Aug 2011 18:50:35 +0000 (11:50 -0700)]
Merge "Implement partial repaint for layers (at the tile level) Fixes a scheduling problem with layers"

12 years agoFix Gmail blank page
Teng-Hui Zhu [Wed, 17 Aug 2011 18:24:04 +0000 (11:24 -0700)]
Fix Gmail blank page

Gmail is updating the tilePages in different scale factor.
One of the beginning scale factor happens to be the same as the initial value 1.0,
then the code will consider the page is prepared which is not true, and we miss
the necessary page update.

Changing the initial value will make sure that we know the current page is not
really prepared yet. And we can update accordingly.

bug:5134126
Change-Id: Ieb4d01513fc4fbe9d996ab62ad5eb43bb5aace2e

12 years agoImplement partial repaint for layers (at the tile level)
Nicolas Roard [Fri, 12 Aug 2011 01:34:30 +0000 (18:34 -0700)]
Implement partial repaint for layers (at the tile level)
Fixes a scheduling problem with layers

bug:3392331 bug:5145259

Change-Id: I2ea2c91f2c6d6f5288375cb5ebdaa69819b740be

12 years agoMerge "Cherry pick WebKit r87114"
Ben Murdoch [Wed, 17 Aug 2011 18:35:19 +0000 (11:35 -0700)]
Merge "Cherry pick WebKit r87114"

12 years agoMerge "Add xhdpi constants for combo box."
Ben Murdoch [Wed, 17 Aug 2011 18:35:04 +0000 (11:35 -0700)]
Merge "Add xhdpi constants for combo box."

12 years agoCherry pick WebKit r87114
Ben Murdoch [Wed, 17 Aug 2011 12:51:54 +0000 (13:51 +0100)]
Cherry pick WebKit r87114

http://trac.webkit.org/changeset/87114

Bug: 5139032
Change-Id: Ia5a3607ad9163e19d2be5df522fddea3ccd6357e

12 years agoAdd xhdpi constants for combo box.
Ben Murdoch [Wed, 17 Aug 2011 09:33:58 +0000 (10:33 +0100)]
Add xhdpi constants for combo box.

Update the asset sizes and margins so that the new xhdpi assets
display correctly.

Bug: 5171535

Change-Id: Id2f1c378563fd60e6493f513c78ffaea443454e7

12 years agoMerge "Fix NinePatch issue when the destination is smaller than the asset"
Derek Sollenberger [Wed, 17 Aug 2011 16:27:48 +0000 (09:27 -0700)]
Merge "Fix NinePatch issue when the destination is smaller than the asset"

12 years agoMerge "Fix for bug 3429537 Google voice (web version) does not play messages on HC"
Kristian Monsen [Wed, 17 Aug 2011 09:41:34 +0000 (02:41 -0700)]
Merge "Fix for bug 3429537 Google voice (web version) does not play messages on HC"

12 years agoMerge "Testing for bug 5122864 libwebcore related libraries increased by 3MB in ICS...
Kristian Monsen [Wed, 17 Aug 2011 09:41:16 +0000 (02:41 -0700)]
Merge "Testing for bug 5122864 libwebcore related libraries increased by 3MB in ICS vs HCMR2"

12 years agoMerge "Lazily decode assets for form controls."
Ben Murdoch [Wed, 17 Aug 2011 09:28:37 +0000 (02:28 -0700)]
Merge "Lazily decode assets for form controls."

12 years agoMerge "Add Harfbuzz support for system fallback fonts"
Russell Brenner [Tue, 16 Aug 2011 22:06:30 +0000 (15:06 -0700)]
Merge "Add Harfbuzz support for system fallback fonts"

12 years agoAdd Harfbuzz support for system fallback fonts
Russell Brenner [Wed, 10 Aug 2011 00:16:42 +0000 (17:16 -0700)]
Add Harfbuzz support for system fallback fonts

When Skia resorts to fallback fonts for non-latin characters, it
retains the font ID of originally requested font, concealing the
fact that a fallback was invoked. Harfbuzz needs to know the fallback
font ID to read the correct GSUB/GPOS tables from the fallback font
file so that these complex languages can be properly rendered.

This change uses the script recognized by Harfbuzz as a means to
surmise the fallback font that would be used by Skia and then injects
that font file as a replacement for the originally requested font.

Bug: 5087744
Change-Id: I3a3469bcd589ee796c9b5a828fb47d40ecb38738

12 years agoMerge "full screen delayed repaints no longer dropped in GLWebViewState"
Chris Craik [Tue, 16 Aug 2011 16:51:16 +0000 (09:51 -0700)]
Merge "full screen delayed repaints no longer dropped in GLWebViewState"

12 years agoTesting for bug 5122864 libwebcore related libraries increased by 3MB in ICS vs HCMR2
Kristian Monsen [Tue, 16 Aug 2011 15:56:03 +0000 (16:56 +0100)]
Testing for bug 5122864 libwebcore related libraries increased by 3MB in ICS vs HCMR2

Reenabling chromium as a shread lib

Change-Id: I746dad6c4ec8410fea3f525820362f1b54c07a6c

12 years agoLazily decode assets for form controls.
Ben Murdoch [Wed, 27 Jul 2011 12:53:42 +0000 (13:53 +0100)]
Lazily decode assets for form controls.

Rather than decoding the graphics when we create a WebView, wait until
we actually need them. This saves about 50ms on native WebView creation time.

Requires frameworks/base change:
I5a2e87d03d73fa74ebb00c33567783225ed97d3a

Bug: 5084146

Change-Id: Ia6c17634f535ed75b2a0757ac4d53f1a0befb78a

12 years agoFix for bug 3429537 Google voice (web version) does not play messages on HC
Kristian Monsen [Mon, 15 Aug 2011 10:25:07 +0000 (11:25 +0100)]
Fix for bug 3429537 Google voice (web version) does not play messages on HC

Sending the WebView to java so it can get the private status of
the window.

Depends on frameworks/base CL: https://android-git.corp.google.com/g/#/c/127813/

Change-Id: I014ca73557ba6a2b5fb4f1051465ec7d4bb3ebd5

12 years agoFix NinePatch issue when the destination is smaller than the asset
Derek Sollenberger [Tue, 16 Aug 2011 13:25:01 +0000 (09:25 -0400)]
Fix NinePatch issue when the destination is smaller than the asset

bug: 5041053
Change-Id: Ic06d6d161a04d2d501ad629ba24f827ac6f98331

12 years agoMerge "Parts of fix for bug 5152544 Reduce the number of warning, initializers"
Kristian Monsen [Tue, 16 Aug 2011 11:07:23 +0000 (04:07 -0700)]
Merge "Parts of fix for bug 5152544 Reduce the number of warning, initializers"

12 years agoMerge "Check the available memory when allocating an ImageBuffer."
Ben Murdoch [Tue, 16 Aug 2011 09:11:53 +0000 (02:11 -0700)]
Merge "Check the available memory when allocating an ImageBuffer."

12 years agofull screen delayed repaints no longer dropped in GLWebViewState
Chris Craik [Mon, 15 Aug 2011 23:23:32 +0000 (16:23 -0700)]
full screen delayed repaints no longer dropped in GLWebViewState

bug:5049965
Full screen repaints were passing incorrect inval regions. Added special case
for delayed full repaints to pass full screen back as inval region from drawGL()
method. Since no valid inval region was passed to framework to redraw, the
view's drawGL() wasn't called again, so the tiledPages couldn't be swapped.

Change-Id: Ibbcec77b304c01ba1e3072376480e04613aad56e

12 years agoMerge "Fixing issues needed to get Ganesh working with SurfaceTextures."
Derek Sollenberger [Mon, 15 Aug 2011 19:44:17 +0000 (12:44 -0700)]
Merge "Fixing issues needed to get Ganesh working with SurfaceTextures."

12 years agoFixing issues needed to get Ganesh working with SurfaceTextures.
Derek Sollenberger [Fri, 12 Aug 2011 20:16:59 +0000 (16:16 -0400)]
Fixing issues needed to get Ganesh working with SurfaceTextures.

bug: 5013645
Change-Id: I255a19c68d8a98231b1500d93d21649d15d70820

12 years agoMerge "Remove old code handling SurfTex RGBA in 2D mode"
Teng-Hui Zhu [Fri, 12 Aug 2011 17:46:50 +0000 (10:46 -0700)]
Merge "Remove old code handling SurfTex RGBA in 2D mode"

12 years agoCheck the available memory when allocating an ImageBuffer.
Ben Murdoch [Wed, 10 Aug 2011 12:17:08 +0000 (13:17 +0100)]
Check the available memory when allocating an ImageBuffer.

The ImageBuffers used by canvas can eat a ton of memory quickly, so
be mindful of the available memory on the device before allocating
them.

See also frameworks/base change
I3d0f85075497c2a374cd866b0223eecaaa4b5f46

Bug: 5142892

Change-Id: I74d243ef9d0d63aac168c16653e9aae0430dfa21

12 years agoMerge changes I08b329cd,I06a7975d
Kristian Monsen [Fri, 12 Aug 2011 10:11:07 +0000 (03:11 -0700)]
Merge changes I08b329cd,I06a7975d

* changes:
  Part of fix for bug 5152544 Reduce the number of warning, int and size_t
  Part of fix for bug 5152544 Reduce the number of warning

12 years agoMerge "Force canvas scale factor to 1."
Ben Murdoch [Fri, 12 Aug 2011 09:36:29 +0000 (02:36 -0700)]
Merge "Force canvas scale factor to 1."

12 years agoRemove old code handling SurfTex RGBA in 2D mode
Teng-Hui Zhu [Thu, 11 Aug 2011 22:33:38 +0000 (15:33 -0700)]
Remove old code handling SurfTex RGBA in 2D mode

bug:4982054

Change-Id: Ic8c559df84af0cd1ad27c281eadbc6adf74bea68

12 years agoMerge "Remove ANativeWindow call to avoid blocking call"
Chris Craik [Thu, 11 Aug 2011 22:23:37 +0000 (15:23 -0700)]
Merge "Remove ANativeWindow call to avoid blocking call"

12 years agoRemove ANativeWindow call to avoid blocking call
Chris Craik [Thu, 11 Aug 2011 21:06:51 +0000 (14:06 -0700)]
Remove ANativeWindow call to avoid blocking call

bug:5114637

Determine alpha blending through surface texture instead of ANativeWindow call.
Should no longer break the gpl build...

Change-Id: Iacc733c29413f0302304b78f378a003d690199f0

12 years agoMerge "Fix crash issue with drawing retain layers as needed"
Nicolas Roard [Thu, 11 Aug 2011 20:54:45 +0000 (13:54 -0700)]
Merge "Fix crash issue with drawing retain layers as needed"

12 years agoFix crash issue with drawing
Nicolas Roard [Thu, 11 Aug 2011 18:51:35 +0000 (11:51 -0700)]
Fix crash issue with drawing
retain layers as needed

bug:4177062
Change-Id: Ifd8d493c8ed3b13eedece260136be873f6701fed

12 years agoParts of fix for bug 5152544 Reduce the number of warning, initializers
Kristian Monsen [Thu, 11 Aug 2011 15:41:13 +0000 (16:41 +0100)]
Parts of fix for bug 5152544 Reduce the number of warning, initializers

Cherry pick parts of this upstream CL:
http://trac.webkit.org/changeset/86949

Change-Id: I019907814804bacd1c98b1480f9b7949274b1a23

12 years agoPart of fix for bug 5152544 Reduce the number of warning, int and size_t
Kristian Monsen [Thu, 11 Aug 2011 15:19:08 +0000 (16:19 +0100)]
Part of fix for bug 5152544 Reduce the number of warning, int and size_t

Don't compare and use size_t with int

Change-Id: I08b329cdb192fa031acae5a90cd6ad6d8ec39aea

12 years agoPart of fix for bug 5152544 Reduce the number of warning
Kristian Monsen [Thu, 11 Aug 2011 14:50:36 +0000 (15:50 +0100)]
Part of fix for bug 5152544 Reduce the number of warning

Change-Id: I06a7975d6b08f01731b8bd1761141e3aba942393

12 years agoForce canvas scale factor to 1.
Ben Murdoch [Thu, 11 Aug 2011 15:10:18 +0000 (16:10 +0100)]
Force canvas scale factor to 1.

This Android modification was lost over the course of two WebKit
merges and means that we are allocating the backing images for
canvas significantly larger than they need to be.

For the original change, see Change-Id:
I9652d6b88e01f27d69c804ac6bc56b527b33c219

Bug: 5142892
Change-Id: I01549c017cc3b8d683b273948826433c6451de72

12 years agoMerge "Testing for bug 5122864 libwebcore related libraries increased by 3MB in ICS...
Kristian Monsen [Thu, 11 Aug 2011 10:02:20 +0000 (03:02 -0700)]
Merge "Testing for bug 5122864 libwebcore related libraries increased by 3MB in ICS vs HCMR2"

12 years agoMerge "Fix missing tiles"
Nicolas Roard [Wed, 10 Aug 2011 23:18:29 +0000 (16:18 -0700)]
Merge "Fix missing tiles"

12 years agoFix missing tiles
Nicolas Roard [Wed, 10 Aug 2011 23:06:52 +0000 (16:06 -0700)]
Fix missing tiles

bug:5123881

Change-Id: Ia3f5e76bc38f32c756cb4e108fe153dd8e103bf3

12 years agoMerge "Fix property access in the Java bridge"
Steve Block [Wed, 10 Aug 2011 17:04:48 +0000 (10:04 -0700)]
Merge "Fix property access in the Java bridge"

12 years agoMerge "Add missing calls to JavaInstance::end() in JavaNPObjectInvoke() and JavaNPObj...
Steve Block [Wed, 10 Aug 2011 16:27:16 +0000 (09:27 -0700)]
Merge "Add missing calls to JavaInstance::end() in JavaNPObjectInvoke() and JavaNPObjectGetProperty()"

12 years agoTesting for bug 5122864 libwebcore related libraries increased by 3MB in ICS vs HCMR2
Kristian Monsen [Wed, 10 Aug 2011 14:09:22 +0000 (15:09 +0100)]
Testing for bug 5122864 libwebcore related libraries increased by 3MB in ICS vs HCMR2

Trying to build with static libchromium on the build server.

Change-Id: I6ee74f769e51ea7506c7bf1a835f84b351be1774

12 years agoFix property access in the Java bridge
Steve Block [Wed, 10 Aug 2011 12:42:55 +0000 (13:42 +0100)]
Fix property access in the Java bridge

This patch fixes JavaInstanceJobject::getField() to use getJNIField()
correctly.

Bug: 5140493

Change-Id: Ib29fe0a010535f3a8dc2b9084c4e4440169971b2

12 years agoMerge "Revert "Remove ANativeWindow call to avoid blocking call""
Chris Craik [Wed, 10 Aug 2011 00:48:07 +0000 (17:48 -0700)]
Merge "Revert "Remove ANativeWindow call to avoid blocking call""

12 years agoRevert "Remove ANativeWindow call to avoid blocking call"
Chris Craik [Wed, 10 Aug 2011 00:41:14 +0000 (17:41 -0700)]
Revert "Remove ANativeWindow call to avoid blocking call"

This reverts commit aa809ca82529a9d546f50918830d075daea08a91

12 years agoMerge "Remove ANativeWindow call to avoid blocking call"
Chris Craik [Wed, 10 Aug 2011 00:22:20 +0000 (17:22 -0700)]
Merge "Remove ANativeWindow call to avoid blocking call"

12 years agoRemove ANativeWindow call to avoid blocking call
Chris Craik [Tue, 9 Aug 2011 22:40:21 +0000 (15:40 -0700)]
Remove ANativeWindow call to avoid blocking call

bug:5114637

Determine alpha blending through surface texture instead of ANativeWindow call.

Change-Id: I5a56178047b7f7782bbd3b736e98f0d5965c1c2b

12 years agoMerge "Plumb a bool through to Java to supress auth dialog."
Ben Murdoch [Tue, 9 Aug 2011 18:55:32 +0000 (11:55 -0700)]
Merge "Plumb a bool through to Java to supress auth dialog."

12 years agoMerge "Revert "Disable Crankshaft at runtime for performace testing.""
Ben Murdoch [Tue, 9 Aug 2011 18:37:27 +0000 (11:37 -0700)]
Merge "Revert "Disable Crankshaft at runtime for performace testing.""

12 years agoRevert "Disable Crankshaft at runtime for performace testing."
Ben Murdoch [Tue, 9 Aug 2011 17:26:14 +0000 (18:26 +0100)]
Revert "Disable Crankshaft at runtime for performace testing."

This reverts commit 7178bcff68f2abc8fefe50fa62b7043663034c05.

Bug: 5052287

12 years agoMerge "Fix for bug 5104510 Log chromium values of unknown browser errors"
Kristian Monsen [Tue, 9 Aug 2011 14:44:25 +0000 (07:44 -0700)]
Merge "Fix for bug 5104510 Log chromium values of unknown browser errors"

12 years agoFix ANR in webkit
Nicolas Roard [Mon, 8 Aug 2011 22:57:28 +0000 (15:57 -0700)]
Fix ANR in webkit

bug:5128336
Change-Id: I591882eb9bd96a04fd34299a8bf76d35a9462d94

12 years agoPrevious commit was missing a chunk of code...
Nicolas Roard [Mon, 8 Aug 2011 21:25:15 +0000 (14:25 -0700)]
Previous commit was missing a chunk of code...

bug:5121768
Change-Id: Ie0065bca023b9a8470970ba15f5837f600fe4afb

12 years agoMerge "Return NativeWindow on subsequent requests for the plugin's surface."
Derek Sollenberger [Mon, 8 Aug 2011 19:45:36 +0000 (12:45 -0700)]
Merge "Return NativeWindow on subsequent requests for the plugin's surface."

12 years agoMerge "Fix memory leak in WebKit's NinePatch code."
Derek Sollenberger [Mon, 8 Aug 2011 19:44:47 +0000 (12:44 -0700)]
Merge "Fix memory leak in WebKit's NinePatch code."

12 years agoMerge "Fix crashes on plus.google.com and reduce the number of necessary layers"
Nicolas Roard [Mon, 8 Aug 2011 19:05:00 +0000 (12:05 -0700)]
Merge "Fix crashes on plus.google.com and reduce the number of necessary layers"

12 years agoMerge "Fix a potential sync problem for TransferQueue"
Teng-Hui Zhu [Mon, 8 Aug 2011 18:20:46 +0000 (11:20 -0700)]
Merge "Fix a potential sync problem for TransferQueue"

12 years agoFix a potential sync problem for TransferQueue
Teng-Hui Zhu [Fri, 5 Aug 2011 00:10:50 +0000 (17:10 -0700)]
Fix a potential sync problem for TransferQueue

bug:5044597

Change-Id: Id8cd326774a174a537f2b104d934539269395151

12 years agoAdd missing calls to JavaInstance::end() in JavaNPObjectInvoke() and JavaNPObjectGetP...
Steve Block [Mon, 8 Aug 2011 16:48:18 +0000 (17:48 +0100)]
Add missing calls to JavaInstance::end() in JavaNPObjectInvoke() and JavaNPObjectGetProperty()

Bug: 5006441
Change-Id: I2da7a6f626560416cf5cac0cde3193a9074fab0f

12 years agoFix crashes on plus.google.com and reduce the number of necessary layers
Nicolas Roard [Sat, 6 Aug 2011 01:04:35 +0000 (18:04 -0700)]
Fix crashes on plus.google.com and reduce the number of necessary layers

bug:5121768
Change-Id: I616af5cdc3f8b0a790fd50434c919b2c95b0e486

12 years agoMerge "Force NativeWindow rendering to use EXTERNAL_OES textures"
Chris Craik [Fri, 5 Aug 2011 21:46:56 +0000 (14:46 -0700)]
Merge "Force NativeWindow rendering to use EXTERNAL_OES textures"

12 years agoForce NativeWindow rendering to use EXTERNAL_OES textures
Chris Craik [Fri, 5 Aug 2011 21:05:23 +0000 (14:05 -0700)]
Force NativeWindow rendering to use EXTERNAL_OES textures

bug:5114637
Allows browser plugin to draw texture correctly

Change-Id: Ibd61b11598d0ca5bcff28ed0c92e6f20073f5ad6

12 years agoReturn NativeWindow on subsequent requests for the plugin's surface.
Derek Sollenberger [Fri, 5 Aug 2011 20:47:55 +0000 (16:47 -0400)]
Return NativeWindow on subsequent requests for the plugin's surface.

bug: 5114637
Change-Id: I08213be77036d6e8918bfec3915fcf09210c4f8c

12 years agoFix memory leak in WebKit's NinePatch code.
Derek Sollenberger [Fri, 5 Aug 2011 20:45:50 +0000 (16:45 -0400)]
Fix memory leak in WebKit's NinePatch code.

bug: 5128453
Change-Id: I08704ae3cbc6bae9c189a6e16f2e7aebebd5544c

12 years agoPlumb a bool through to Java to supress auth dialog.
Ben Murdoch [Fri, 5 Aug 2011 14:42:17 +0000 (15:42 +0100)]
Plumb a bool through to Java to supress auth dialog.

In the case of a prefetch or favicon load, we want to silently fail
auth loads but allow the use of cached credentials. To acheive this,
pass an extra flag through to Java to decide whether to show the
prompt or not.

Requires:
frameworks/base change: Ida5708aad7cbe5633106e9ae2997c9231aaf95b8
packages/apps/Browser change: Id901855830bbe17ede8a18293cff2bbc0aad4ba8

Bug: 5094761
Change-Id: If8c6f22e8307e1e13b8f7ad29f79305ce24b3255

12 years agoMerge "Fixes layers painting crashes"
Nicolas Roard [Fri, 5 Aug 2011 00:02:40 +0000 (17:02 -0700)]
Merge "Fixes layers painting crashes"

12 years agoFixes layers painting crashes
Nicolas Roard [Thu, 4 Aug 2011 23:11:02 +0000 (16:11 -0700)]
Fixes layers painting crashes

bug:5097230 bug:5045149

Change-Id: I20fcae13e7f617658447c02bd51dc83d2914922e

12 years agoBetter driver bug workaround
Teng-Hui Zhu [Thu, 4 Aug 2011 20:26:06 +0000 (13:26 -0700)]
Better driver bug workaround

It seems like the FBO operation is out of sync in some GL driver.
Instead of doing a readPixel, we can also force a read after write by calling
an extra draw.

bug:5118763

Change-Id: Idaf259f84b0dcc0f3bc94bcf1bd1a4adf5250350

12 years agoFix memory increase
Nicolas Roard [Thu, 4 Aug 2011 17:11:47 +0000 (10:11 -0700)]
Fix memory increase

bug:5118763
Change-Id: Ice0f3792cd9e288459713411d755f1717896087e

12 years agoFix for bug 5104510 Log chromium values of unknown browser errors
Kristian Monsen [Thu, 4 Aug 2011 15:12:21 +0000 (16:12 +0100)]
Fix for bug 5104510 Log chromium values of unknown browser errors

There are many errors that are not used at the moment, will look
at the output and add the ones that are used.

Change-Id: I16da444b9e1aa0ca12a17cfd77aa8f220e642914

12 years agoMerge "Finalize the sync part."
Teng-Hui Zhu [Thu, 4 Aug 2011 00:40:49 +0000 (17:40 -0700)]
Merge "Finalize the sync part."

12 years agoFinalize the sync part.
Teng-Hui Zhu [Wed, 3 Aug 2011 22:31:41 +0000 (15:31 -0700)]
Finalize the sync part.

Improve the sync part for the Shared Surface Texture.
Clean up the interface as much as possible.

bug:5044597
Change-Id: I123cc520fb447aeb6e72e90149d1658a657740f7

12 years agoChange the constants used for the inverted preferences
Nicolas Roard [Wed, 3 Aug 2011 23:54:50 +0000 (16:54 -0700)]
Change the constants used for the inverted preferences
to match the ones sent by the Browser

bug:5111259

Change-Id: I3d7c0d94d61e173915ab6ec01f42778182462064

12 years agoReplace plugin's OpenGL API with a NativeWindow API.
Derek Sollenberger [Wed, 3 Aug 2011 15:06:56 +0000 (11:06 -0400)]
Replace plugin's OpenGL API with a NativeWindow API.

bug: 5114637
Change-Id: Idfadf95b9b65bf87ad2edf76fd2c5fc0513a75c3

12 years agoincrease layer tiles limit
Teng-Hui Zhu [Wed, 3 Aug 2011 17:02:57 +0000 (10:02 -0700)]
increase layer tiles limit

bug:5069164

Change-Id: Ifbba6d912e20868d0618441b7f497270e1d9f737

12 years agoMerge "Support registering page swap callback, content inval"
Chris Craik [Wed, 3 Aug 2011 16:46:14 +0000 (09:46 -0700)]
Merge "Support registering page swap callback, content inval"

12 years agoMerge "Shared surface texture"
Teng-Hui Zhu [Wed, 3 Aug 2011 16:17:48 +0000 (09:17 -0700)]
Merge "Shared surface texture"

12 years agoAdd setters for the contrast
Nicolas Roard [Wed, 3 Aug 2011 00:48:15 +0000 (17:48 -0700)]
Add setters for the contrast

bug:5111259

Change-Id: I08701fd7f4d4fe6a506d05f847b4e1a07ed458b3

12 years agoShared surface texture
Teng-Hui Zhu [Mon, 1 Aug 2011 18:32:58 +0000 (11:32 -0700)]
Shared surface texture

Instead of assigning each tile a Surface Texture, now just a normal GL texture.
The content from skia bitmap will first drawn into a queue of Surface Textures,
at draw time, blit them into each tile's GL texture.
Added extra lock to protect the queue operation and Surface Texture operation.

bug:5044597

Change-Id: I25f46228b93a3e99526daf52d8bd0d8d8fcc2879

12 years agoSupport registering page swap callback, content inval
Chris Craik [Mon, 1 Aug 2011 20:44:44 +0000 (13:44 -0700)]
Support registering page swap callback, content inval

bug:5062896

Depends on the following frameworks/base change:
https://android-git.corp.google.com/g/#change,124879

a WebView may now register a page swap callback and content invalidate to
benchmark tile rendering performance

Change-Id: I97f6ed05cff12b11266a472163aab1f3b3ddc87e

12 years agoMerge "Fix transparency bug, and add support for contrast"
Nicolas Roard [Tue, 2 Aug 2011 21:33:34 +0000 (14:33 -0700)]
Merge "Fix transparency bug, and add support for contrast"

12 years agoFix transparency bug, and add support for contrast
Nicolas Roard [Tue, 2 Aug 2011 18:48:26 +0000 (11:48 -0700)]
Fix transparency bug, and add support for contrast

bug:5111072 bug:5111259

Change-Id: Icc5d7c9f3fc9390f89b8c76eefe8a9d704116c57

12 years agoMerge "Unify the the tile size for base tiles and layers"
Teng-Hui Zhu [Mon, 1 Aug 2011 17:05:13 +0000 (10:05 -0700)]
Merge "Unify the the tile size for base tiles and layers"

12 years agoUnify the the tile size for base tiles and layers
Teng-Hui Zhu [Fri, 29 Jul 2011 20:52:06 +0000 (13:52 -0700)]
Unify the the tile size for base tiles and layers

In order to use the shared Surface Texture to support both base tiles and
layers, the tile size has to be the same.
Separate this change out to catch any potential perf regression or boost.

bug:5044597
Change-Id: Ib296def7595ea605fa96745f333ec8ef6d199293

12 years agoMerge "fixed race condition in tile profiling"
Chris Craik [Fri, 29 Jul 2011 20:20:09 +0000 (13:20 -0700)]
Merge "fixed race condition in tile profiling"

12 years agoMerge "Add features to support Ganesh in the Android browser"
Derek Sollenberger [Fri, 29 Jul 2011 19:34:24 +0000 (12:34 -0700)]
Merge "Add features to support Ganesh in the Android browser"

12 years agofixed race condition in tile profiling
Chris Craik [Fri, 29 Jul 2011 19:33:09 +0000 (12:33 -0700)]
fixed race condition in tile profiling

bug:5062896

If tile profiling was started, and experienced an inval/tile update it wouldn't
have a place to log it. Added check to make sure it didn't try to store it in
the log vector anyway.

Change-Id: I18f199740a60a86439da141502ea355340bfa8cf

12 years agoMerge "Reduce the number of layers - overflow elements triggered all layers before...
Nicolas Roard [Fri, 29 Jul 2011 18:30:01 +0000 (11:30 -0700)]
Merge "Reduce the number of layers - overflow elements triggered all layers before them to be composited;   this is not needed at all... - fixed elements will trigger layers after them to be composited, but   we don't need to composite all of them -- the one fully contained   into previous composited layers don't need to..."

12 years agoReduce the number of layers
Nicolas Roard [Wed, 20 Jul 2011 19:58:10 +0000 (12:58 -0700)]
Reduce the number of layers
- overflow elements triggered all layers before them to be composited;
  this is not needed at all...
- fixed elements will trigger layers after them to be composited, but
  we don't need to composite all of them -- the one fully contained
  into previous composited layers don't need to...

bug:5069090

Change-Id: I65f789f490b837a16096b4cb186c45ade1605b41

12 years agoMerge changes I48e19e8a,I1ee0fbf6,I1c81bc8c
Kristian Monsen [Fri, 29 Jul 2011 10:37:42 +0000 (03:37 -0700)]
Merge changes I48e19e8a,I1ee0fbf6,I1c81bc8c

* changes:
  Part of fix for 5065047: build libchromium as a shared lib
  Preparation for fixing bug 5065047: build libchromium as a shared lib
  Preparation for fixing bug 5065047: build libchromium as a shared lib

12 years agoMerge "added pageswap callback from drawGL to WebView"
Chris Craik [Fri, 29 Jul 2011 00:23:56 +0000 (17:23 -0700)]
Merge "added pageswap callback from drawGL to WebView"

12 years agoadded pageswap callback from drawGL to WebView
Chris Craik [Thu, 28 Jul 2011 18:32:08 +0000 (11:32 -0700)]
added pageswap callback from drawGL to WebView

bug:5008210

When setting a new base layer, WebView can signal that it wants to have it's
pageSwapCallback triggered. This is only done upon request, currently whenever
the WebTextView is being displayed so that it can be repositioned upon pageswap.

Depends on the following frameworks/base change:
https://android-git.corp.google.com/g/#change,124607

Change-Id: Id99c2d5a15cdb4317802a92cedae16a9e0aebc8d

12 years agoAdd features to support Ganesh in the Android browser
Derek Sollenberger [Fri, 1 Jul 2011 13:30:26 +0000 (09:30 -0400)]
Add features to support Ganesh in the Android browser

1) Added a runtime switch between Raster and Ganesh
2) Added support for using SurfaceTextures with Ganesh

bug: 5013645
Change-Id: I2efebf1bc9befb0c7f6f66109d80818f9d0775b3

12 years agoDisable Crankshaft at runtime for performace testing.
Ben Murdoch [Thu, 28 Jul 2011 19:21:09 +0000 (20:21 +0100)]
Disable Crankshaft at runtime for performace testing.

Bug: 5052287
Change-Id: Ic2b192a5f22c7bc91b7bc587904452e440cbe505

12 years agoPart of fix for 5065047: build libchromium as a shared lib
Kristian Monsen [Mon, 25 Jul 2011 09:34:05 +0000 (10:34 +0100)]
Part of fix for 5065047: build libchromium as a shared lib

Webkit patch needed, simply declaring that chromium_net is a
shared library

Change-Id: I48e19e8aca929258ddde70f1772073fa9e0097a1

12 years agoPreparation for fixing bug 5065047: build libchromium as a shared lib
Kristian Monsen [Thu, 28 Jul 2011 10:33:37 +0000 (11:33 +0100)]
Preparation for fixing bug 5065047: build libchromium as a shared lib

Use FormField from chromium, it is already populated it FormManagerAndroid,
so there is no need for the Android implementation anymore.

Change-Id: I1ee0fbf6895bd64b2fd1d9a6fbd2f0a93e578831