OSDN Git Service

android-x86/external-webkit.git
13 years agoDo not merge: Cherry-pick fix to framerate cap
Derek Sollenberger [Tue, 1 Mar 2011 14:23:53 +0000 (09:23 -0500)]
Do not merge: Cherry-pick fix to framerate cap

Bug: 3471680

Fix framerate cap when multiple webviews exist.

Each view will now be capped at 60fps. The previous code would
either starve the drawing of additional webviews or would draw
them at a rate of 60fps/N where N is the number of webviews.

Change-Id: I359a79f5981bc29d57ce4b94eb00a5c9aee754d0

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 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 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 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 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 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 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 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 agoFix crash in RenderLayer due to null pointer
Ben Murdoch [Mon, 7 Feb 2011 20:33:23 +0000 (20:33 +0000)]
Fix crash in RenderLayer due to null pointer

It is possible that there is no node associated with the RenderLayer
after scroll as evidenced by the null check outside the
ANDROID_OVERFLOW_SCROLL block.

Bug: 3427863
Change-Id: Icbae7677df46eae923460d6f97a6a706f016e89d

13 years agoFix to post an inval when plugins request a native video surface.
Derek Sollenberger [Sat, 5 Feb 2011 13:38:03 +0000 (08:38 -0500)]
Fix to post an inval when plugins request a native video surface.

Change-Id: If9295a37ae19e7cb913e4cfa75b2a021bcda988f

13 years agomerge in honeycomb-release history after reset to honeycomb
The Android Automerger [Sat, 5 Feb 2011 06:26:01 +0000 (22:26 -0800)]
merge in honeycomb-release history after reset to honeycomb

13 years agomerge in honeycomb-release history after reset to honeycomb
The Android Automerger [Sat, 5 Feb 2011 05:55:53 +0000 (21:55 -0800)]
merge in honeycomb-release history after reset to honeycomb

13 years agomerge in honeycomb-release history after reset to honeycomb
The Android Automerger [Sat, 5 Feb 2011 01:36:00 +0000 (17:36 -0800)]
merge in honeycomb-release history after reset to honeycomb

13 years agomerge in honeycomb-release history after reset to honeycomb
The Android Automerger [Fri, 4 Feb 2011 19:49:12 +0000 (11:49 -0800)]
merge in honeycomb-release history after reset to honeycomb

13 years agoOnly invalidate the webview when the plugin has new content.
Derek Sollenberger [Fri, 4 Feb 2011 16:57:40 +0000 (11:57 -0500)]
Only invalidate the webview when the plugin has new content.

bug: 3424551
Change-Id: I07beef845bb41980144222c3c5d076db8120037c

13 years agomerge in honeycomb-release history after reset to honeycomb
The Android Automerger [Fri, 4 Feb 2011 18:26:12 +0000 (10:26 -0800)]
merge in honeycomb-release history after reset to honeycomb

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

13 years agomerge in honeycomb-release history after reset to honeycomb
The Android Automerger [Thu, 3 Feb 2011 23:26:51 +0000 (15:26 -0800)]
merge in honeycomb-release history after reset to honeycomb

13 years agomerge in honeycomb-release history after reset to honeycomb
The Android Automerger [Thu, 3 Feb 2011 19:23:40 +0000 (11:23 -0800)]
merge in honeycomb-release history after reset to honeycomb

13 years agoMerge "stop GL drawing thread before killing WebCore" into honeycomb
Cary Clark [Thu, 3 Feb 2011 16:48:11 +0000 (08:48 -0800)]
Merge "stop GL drawing thread before killing WebCore" into honeycomb

13 years agomerge in honeycomb-release history after reset to honeycomb
The Android Automerger [Thu, 3 Feb 2011 15:18:14 +0000 (07:18 -0800)]
merge in honeycomb-release history after reset to honeycomb

13 years agostop GL drawing thread before killing WebCore
Cary Clark [Thu, 3 Feb 2011 10:30:28 +0000 (05:30 -0500)]
stop GL drawing thread before killing WebCore

The TexturesGenerator thread references pictures owned by the
WebCore thread, so must be stopped before the WebCore thread
is deleted.

Requires a companion change in frameworks/base

bug:3406185
Change-Id: I20e64631bbf4a1b88fb015f3de36ce292234537d

13 years agomerge in honeycomb-release history after reset to honeycomb
The Android Automerger [Thu, 3 Feb 2011 00:13:37 +0000 (16:13 -0800)]
merge in honeycomb-release history after reset to honeycomb

13 years agoDO NOT MERGE. Pass an extra boolean with scrollTo message.
Leon Scroggins [Tue, 1 Feb 2011 16:02:25 +0000 (11:02 -0500)]
DO NOT MERGE. Pass an extra boolean with scrollTo message.

Bug:3411564

When the size changes, add a boolean to the scroll
message to only honor the scroll in the case that
the IME is actually showing.

Requires a change to frameworks/base.

Already submitted to master.

Change-Id: I35612dcecfddaa0623dc8f414229703c6a97191b

13 years agoFix for bug 3414354 crash in navcache
Kristian Monsen [Wed, 2 Feb 2011 16:39:48 +0000 (16:39 +0000)]
Fix for bug 3414354 crash in navcache

This should work according to our new ARM expert. Updated bug
report with details.

I didn't think another indent layer was good, so did returns
instead.

Change-Id: I2baafe748f3249943ecc93ddf166b8ff559d7a6c

13 years agomerge in honeycomb-release history after reset to honeycomb
The Android Automerger [Wed, 2 Feb 2011 15:21:57 +0000 (07:21 -0800)]
merge in honeycomb-release history after reset to honeycomb

13 years agoFix for bug 3413829, crash when loading page
Kristian Monsen [Wed, 2 Feb 2011 15:05:01 +0000 (15:05 +0000)]
Fix for bug 3413829, crash when loading page

When a read failed we deleted it and scheduled a new read. The new
read would also fail (since the request was deleted), and crash.

Change-Id: Idcb3265e705d616657c2679389951d632c54cca5

13 years agoGet layers showing again
Ben Murdoch [Tue, 1 Feb 2011 20:54:50 +0000 (20:54 +0000)]
Get layers showing again

Lazily get the maximum texture size from GL when
we first need it. This avoids calling GL functions
before GL has been set up and ensures it is done on
the correct (ie. UI) thread.

Also move the tiles expansion setting from WC thread
to UI thread as TilesManager is not thread safe when
creating the singleton instance.

This makes change 4596782e unnecessary so we remove it.

Bug: 3412928

Change-Id: I740974d8cc0ef4f66956cd6a07b058bfa7ca767f

13 years agoMerge "Initialize correctly the maximum texture size in case it was not." into honeycomb
Nicolas Roard [Tue, 1 Feb 2011 21:06:54 +0000 (13:06 -0800)]
Merge "Initialize correctly the maximum texture size in case it was not." into honeycomb

13 years agoMerge "Fix updates on scrolling layers." into honeycomb
Patrick Scott [Tue, 1 Feb 2011 20:40:26 +0000 (12:40 -0800)]
Merge "Fix updates on scrolling layers." into honeycomb

13 years agoInitialize correctly the maximum texture size in
Nicolas Roard [Tue, 1 Feb 2011 20:38:10 +0000 (12:38 -0800)]
Initialize correctly the maximum texture size in
case it was not.

fix regression bug:3412928

Change-Id: Ie83dd50163ef4435cd88471127869114e41068cc

13 years agoFix updates on scrolling layers.
Patrick Scott [Tue, 1 Feb 2011 19:41:33 +0000 (14:41 -0500)]
Fix updates on scrolling layers.

Compare the drawing texture with the new reserved texture to ensure that
m_reservedTexture will be updated properly.

Bug: 3381482
Change-Id: I4877842438376c00b65bdb10fb4feb1e8c50b2dc

13 years agomerge in honeycomb-release history after reset to honeycomb
The Android Automerger [Tue, 1 Feb 2011 18:12:37 +0000 (10:12 -0800)]
merge in honeycomb-release history after reset to honeycomb

13 years agoMerge "Improving fix for bug 3317722 - DO NOT MERGE" into honeycomb
Kristian Monsen [Tue, 1 Feb 2011 15:21:53 +0000 (07:21 -0800)]
Merge "Improving fix for bug 3317722 - DO NOT MERGE" into honeycomb

13 years agoImproving fix for bug 3317722 - DO NOT MERGE
Kristian Monsen [Tue, 1 Feb 2011 15:17:13 +0000 (15:17 +0000)]
Improving fix for bug 3317722 - DO NOT MERGE

A simple null check to avoid crash

Change-Id: Ie3e4236687cf22205678abf286688dee45e1cdb5

13 years agoMerge "Ensure plugins receive an onScreen event even when the page reloads" into...
Derek Sollenberger [Tue, 1 Feb 2011 14:59:25 +0000 (06:59 -0800)]
Merge "Ensure plugins receive an onScreen event even when the page reloads" into honeycomb

13 years agoMerge "Implement automatic texture size allocation for layers This fix several issues...
Bart Sears [Tue, 1 Feb 2011 14:50:34 +0000 (06:50 -0800)]
Merge "Implement automatic texture size allocation for layers This fix several issues (3d transforms, etc.) and in general makes websites using layers snappier (gmail, etc.)" into honeycomb

13 years agoEnsure plugins receive an onScreen event even when the page reloads
Derek Sollenberger [Tue, 1 Feb 2011 14:23:25 +0000 (09:23 -0500)]
Ensure plugins receive an onScreen event even when the page reloads

bug: 3411351
Change-Id: I9127ec949ceb7c4e91e1e48daede8e9411208fa7

13 years agoSmoother scrolling by preparing offscreen tiles (credit: Ben Murdoch)
Dave Burke [Tue, 1 Feb 2011 12:55:51 +0000 (12:55 +0000)]
Smoother scrolling by preparing offscreen tiles (credit: Ben Murdoch)

Change-Id: I80c7757bfb85f0b45726f2fa2f18644d2493fced

13 years agoImplement automatic texture size allocation for layers
Nicolas Roard [Tue, 1 Feb 2011 11:58:44 +0000 (03:58 -0800)]
Implement automatic texture size allocation for layers
This fix several issues (3d transforms, etc.) and in general
makes websites using layers snappier (gmail, etc.)

bug:3367038 bug:3367048
Change-Id: Ib178416209c3636c7700296978a1f35a7a54ee22

13 years agoMerge "Implement dynamic allocation of base tiles. This way, a webview will only...
Nicolas Roard [Tue, 1 Feb 2011 08:57:59 +0000 (00:57 -0800)]
Merge "Implement dynamic allocation of base tiles. This way, a webview will only consume as much GPU memory as needed, depending on its size, to a maximum of 256 tiles per TiledPage." into honeycomb

13 years agoFix for bug:3410888
Nicolas Roard [Tue, 1 Feb 2011 08:19:23 +0000 (00:19 -0800)]
Fix for bug:3410888

Change-Id: Ic147e43f0a70bf7da70812e4383000d560b0dcbd

13 years agoImplement dynamic allocation of base tiles.
Nicolas Roard [Tue, 1 Feb 2011 00:02:42 +0000 (16:02 -0800)]
Implement dynamic allocation of base tiles.
This way, a webview will only consume as much GPU memory
as needed, depending on its size, to a maximum of 256
tiles per TiledPage.

bug:3376517

Change-Id: Icc1e47623297cf1c01d40aa9e123c1a05373e7e5

13 years agoA temp WAR for fixed element position update
Teng-Hui Zhu [Tue, 1 Feb 2011 02:23:13 +0000 (18:23 -0800)]
A temp WAR for fixed element position update

bug:3397602

Change-Id: I7c6c8ac8bd2c785b02cd9446730c1ca37fc71fce

13 years agoMerge "Fix 3366514, browser emulator no longer crashes" into honeycomb
Russell Brenner [Tue, 1 Feb 2011 01:41:52 +0000 (17:41 -0800)]
Merge "Fix 3366514, browser emulator no longer crashes" into honeycomb

13 years agomerge in honeycomb-release history after reset to honeycomb
The Android Automerger [Tue, 1 Feb 2011 01:24:46 +0000 (17:24 -0800)]
merge in honeycomb-release history after reset to honeycomb

13 years agoFix 3366514, browser emulator no longer crashes
Russell Brenner [Tue, 1 Feb 2011 00:54:02 +0000 (16:54 -0800)]
Fix 3366514, browser emulator no longer crashes

Following recent update that added HARDWARE_ACCELERATION flag, it now
is disabled for emulator builds, removing incompatible calls to
TilesManager.

Change-Id: Iffbb57aebc3c2f22262ebf14ff7013d602c05c12

13 years agoRemove unnecessary scissor call (framework does that for us)
Nicolas Roard [Mon, 31 Jan 2011 23:59:24 +0000 (15:59 -0800)]
Remove unnecessary scissor call (framework does that for us)

Change-Id: Ic6e610df98b055dafb63dd0afddb13a8f9abbe44

13 years agoMerge "Do not propagate compositing for some iframes." into honeycomb
Patrick Scott [Mon, 31 Jan 2011 23:39:33 +0000 (15:39 -0800)]
Merge "Do not propagate compositing for some iframes." into honeycomb

13 years agoMerge "Simple fix for bug:3365709" into honeycomb
Nicolas Roard [Mon, 31 Jan 2011 23:39:01 +0000 (15:39 -0800)]
Merge "Simple fix for bug:3365709" into honeycomb

13 years agoSimple fix for bug:3365709
Nicolas Roard [Mon, 31 Jan 2011 23:28:55 +0000 (15:28 -0800)]
Simple fix for bug:3365709

Change-Id: Id4757935bda7b688bec9448c842072cd8316d76b

13 years agoDo not propagate compositing for some iframes.
Patrick Scott [Mon, 31 Jan 2011 23:12:29 +0000 (18:12 -0500)]
Do not propagate compositing for some iframes.

If a frame does not have a renderer, this method would attach an iframe's root
layer as the main root layer.  Check for independent iframes before checking for
the renderer.  Will report a bug to WebKit.org.

Bug: 3376746
Change-Id: I84bcc3e5016f6aa9d7c19a287367482df9c65c67

13 years agoPrevent plugin node from being deleted in the nav cache.
Derek Sollenberger [Mon, 31 Jan 2011 23:06:13 +0000 (18:06 -0500)]
Prevent plugin node from being deleted in the nav cache.

bug: 33313233393264
Change-Id: I1077a9d82d5e9c96a24e738cfede1dfaff70cc1c

13 years agoMerge "Use fixedClipRect when modifying clipRect for fixed elements." into honeycomb
Leon Scroggins [Mon, 31 Jan 2011 23:01:45 +0000 (15:01 -0800)]
Merge "Use fixedClipRect when modifying clipRect for fixed elements." into honeycomb

13 years agoUse fixedClipRect when modifying clipRect for fixed elements.
Leon Scroggins [Mon, 31 Jan 2011 22:32:54 +0000 (17:32 -0500)]
Use fixedClipRect when modifying clipRect for fixed elements.

Bug:3408368
Change-Id: I21a61bd409b635e5779408f43b6265d640476c03

13 years agoAdd new vertex shader to support video transforms.
Derek Sollenberger [Mon, 31 Jan 2011 21:27:02 +0000 (16:27 -0500)]
Add new vertex shader to support video transforms.

bug: 3072603
Change-Id: I59e52cc9672c653760351b835c63d0496e6ff6ff

13 years agoMerge "Reduce history item saving frequency when scrolling." into honeycomb
Shimeng (Simon) Wang [Mon, 31 Jan 2011 21:06:30 +0000 (13:06 -0800)]
Merge "Reduce history item saving frequency when scrolling." into honeycomb

13 years agoMerge "Only set background tile color if it's valid. bug:3408110" into honeycomb
Dave Burke [Mon, 31 Jan 2011 20:35:45 +0000 (12:35 -0800)]
Merge "Only set background tile color if it's valid. bug:3408110" into honeycomb

13 years agoMerge "Fix video inversion and avoid extra matrix copies." into honeycomb
Derek Sollenberger [Mon, 31 Jan 2011 19:50:36 +0000 (11:50 -0800)]
Merge "Fix video inversion and avoid extra matrix copies." into honeycomb

13 years agoMerge "Fix to ensure that plugin layer's are synced to the UI thread." into honeycomb
Derek Sollenberger [Mon, 31 Jan 2011 19:47:47 +0000 (11:47 -0800)]
Merge "Fix to ensure that plugin layer's are synced to the UI thread." into honeycomb

13 years agoReduce history item saving frequency when scrolling.
Shimeng (Simon) Wang [Fri, 28 Jan 2011 21:12:42 +0000 (13:12 -0800)]
Reduce history item saving frequency when scrolling.

This is to improve performance when scrolling large websites.

issue: 3317722
Change-Id: Iffb5b3867af60be716fe9a2e395b8984d72b5284

13 years agoOnly set background tile color if it's valid.
Dave Burke [Mon, 31 Jan 2011 19:08:35 +0000 (19:08 +0000)]
Only set background tile color if it's valid.
bug:3408110

Change-Id: Ia5dc44623961786399e38bbf6e2afdb8a7206dce

13 years agoFix to ensure that plugin layer's are synced to the UI thread.
Derek Sollenberger [Mon, 31 Jan 2011 18:13:33 +0000 (13:13 -0500)]
Fix to ensure that plugin layer's are synced to the UI thread.

bug: 3394773
Change-Id: I1eb3e3c0239546493a7bff2e954581cf18a4606c

13 years agoMerge "Fix for bug 3405738, crash in nav cache" into honeycomb
Kristian Monsen [Mon, 31 Jan 2011 17:39:03 +0000 (09:39 -0800)]
Merge "Fix for bug 3405738, crash in nav cache" into honeycomb

13 years agoMerge "For textareas, do not use UI side layers." into honeycomb
Leon Scroggins [Mon, 31 Jan 2011 16:22:01 +0000 (08:22 -0800)]
Merge "For textareas, do not use UI side layers." into honeycomb

13 years agoFor textareas, do not use UI side layers.
Leon Scroggins [Mon, 31 Jan 2011 15:53:15 +0000 (10:53 -0500)]
For textareas, do not use UI side layers.

Bug:3402831
Bug:3401242

Requires a change in frameworks/base.

Change-Id: I4d7525cbf3a881fbe87f4bc624988fcb79cceab1

13 years agoFix for bug 3405738, crash in nav cache
Kristian Monsen [Mon, 31 Jan 2011 13:31:23 +0000 (13:31 +0000)]
Fix for bug 3405738, crash in nav cache

Change-Id: I43c87a3b8a772857fd2775b54a68d8df6c6441ef

13 years agoFix video inversion and avoid extra matrix copies.
Derek Sollenberger [Mon, 31 Jan 2011 13:35:36 +0000 (08:35 -0500)]
Fix video inversion and avoid extra matrix copies.

bug: 3072603
Change-Id: I46737fe52b1571834efaa6b8250645790205ff1a

13 years agoFix for bug 2864795, pausing plugin network traffic.
Kristian Monsen [Mon, 31 Jan 2011 11:54:24 +0000 (11:54 +0000)]
Fix for bug 2864795, pausing plugin network traffic.

Change-Id: I1f9239af23d6c88883b620ba0cfdc1c66dddf03d

13 years agoFix repaint bug when changing viewport
Nicolas Roard [Mon, 31 Jan 2011 04:07:34 +0000 (20:07 -0800)]
Fix repaint bug when changing viewport

bug:3405986
Change-Id: I5ef5d9bc1041fabe5319e93180f94b521b07e93b

13 years agoFix GL error when initializing the browser
Nicolas Roard [Mon, 31 Jan 2011 03:04:54 +0000 (19:04 -0800)]
Fix GL error when initializing the browser

bug:3355704

may also fix bug:3383599

Change-Id: I77892c2e90c4edf054513de92b0c6bfba3152819

13 years agoFix temporary memory leak
Nicolas Roard [Mon, 31 Jan 2011 01:24:13 +0000 (17:24 -0800)]
Fix temporary memory leak

bug:3376517
Change-Id: If64b9385bc8e4d915597bd3f27b22c3d23f74a73

13 years agoAdd a ClassTracker class to more easily track leaks
Nicolas Roard [Sun, 30 Jan 2011 23:34:46 +0000 (15:34 -0800)]
Add a ClassTracker class to more easily track leaks

bug:3376517
Change-Id: Ieb419bc3140963ccbda3e2f130778ec53b2920aa

13 years agoMerge "Allocate bitmaps on the fly for layers" into honeycomb
Nicolas Roard [Sun, 30 Jan 2011 22:37:33 +0000 (14:37 -0800)]
Merge "Allocate bitmaps on the fly for layers" into honeycomb

13 years agomerge in honeycomb-release history after reset to honeycomb
The Android Automerger [Sun, 30 Jan 2011 21:37:54 +0000 (13:37 -0800)]
merge in honeycomb-release history after reset to honeycomb

13 years agoAllocate bitmaps on the fly for layers
Nicolas Roard [Sun, 30 Jan 2011 02:41:18 +0000 (18:41 -0800)]
Allocate bitmaps on the fly for layers

bug:3376517
Change-Id: I68cab08949302dd938b9c4753f9dfebd6c08e298

13 years agoMass merge from gingerbread - do not merge
The Android Open Source Project [Sun, 30 Jan 2011 20:40:26 +0000 (12:40 -0800)]
Mass merge from gingerbread - do not merge

Change-Id: I6859d8a69ffa177322b967af6f111c9937c74128

13 years agofix build break
Teng-Hui Zhu [Sun, 30 Jan 2011 19:21:31 +0000 (11:21 -0800)]
fix build break

Change-Id: I8aeef50c7b73665ec67ffeeb2194309a58de1e26

13 years agoMerge "Fixed element positioning fix" into honeycomb
Teng-Hui Zhu [Sun, 30 Jan 2011 18:37:31 +0000 (10:37 -0800)]
Merge "Fixed element positioning fix" into honeycomb

13 years agomerge in honeycomb-release history after reset to honeycomb
The Android Automerger [Sun, 30 Jan 2011 17:59:14 +0000 (09:59 -0800)]
merge in honeycomb-release history after reset to honeycomb

13 years agoFixed element positioning fix
Teng-Hui Zhu [Fri, 28 Jan 2011 22:00:43 +0000 (14:00 -0800)]
Fixed element positioning fix

This is for fixed bottom/ right, in the zooming case.
The width and height in webkit should be calculated as the visibleRect
we use for drawing. And that is document coordinate for visible size.

Basically it is send the Rect info from webView to webViewCore.
Then at RenderBox, it will go through the PlatformBridge to pick the
info up.

Notice that the touch is not 100% working yet, the layout call in webkit
can have a early return such that fixed element layer didn't get update.
And a touch/click is not really causing the whole layout update yet.
That will be addressed in seperate change though.

bug:3404129
Change-Id: I225d41815143a05d540ed32bfc76f823603ca89c

13 years agoShare a single bitmap for all the base tiles.
Nicolas Roard [Sun, 30 Jan 2011 01:32:43 +0000 (17:32 -0800)]
Share a single bitmap for all the base tiles.
Reduce the memory usage from 64Mb to 48Mb on google.com

bug:3376517
Change-Id: Ia5c16c55edb0bbf6164c8cec8588f53543964ccd

13 years agoDraw extras on layers.
Nicolas Roard [Sun, 30 Jan 2011 00:30:56 +0000 (16:30 -0800)]
Draw extras on layers.

Fix a potential crash, and draw the extras.

bug:3372985 bug:3367026
Change-Id: I84be0733217c68b75a679de2212c10b891406d05

13 years agoFix for the draw extras -- we don't repaint enough in some cases.
Nicolas Roard [Sat, 29 Jan 2011 23:01:37 +0000 (15:01 -0800)]
Fix for the draw extras -- we don't repaint enough in some cases.

bug:3387206 bug:3396281
Change-Id: I059ae2ce1f95e9d8e1662abf11337c6b58031e66

13 years agoPrevent the browser's GL rendering loop when plugins are full-screen.
Derek Sollenberger [Sat, 29 Jan 2011 19:26:20 +0000 (14:26 -0500)]
Prevent the browser's GL rendering loop when plugins are full-screen.

bug: 3400065
Change-Id: I7b69ed836f2dd20160e5f89842be5ed856826e8c

13 years agoMerge "Add YUV shader for plugin video playback." into honeycomb
Derek Sollenberger [Sat, 29 Jan 2011 19:54:52 +0000 (11:54 -0800)]
Merge "Add YUV shader for plugin video playback." into honeycomb

13 years agoAdd YUV shader for plugin video playback.
Derek Sollenberger [Sat, 29 Jan 2011 17:45:19 +0000 (12:45 -0500)]
Add YUV shader for plugin video playback.

bug: 3072603
Change-Id: I8a7d9f04be2c40dbe5bc74e16cf4778ee3e712e4

13 years agoam 591ab58d: (-s ours) DO NOT MERGE - Move localstorage into private folder
John Reck [Sat, 29 Jan 2011 17:32:13 +0000 (09:32 -0800)]
am 591ab58d: (-s ours) DO NOT MERGE - Move localstorage into private folder

* commit '591ab58df1b16eb937b3438f3af26c1b97c658fd':
  DO NOT MERGE - Move localstorage into private folder

13 years agoFix flickering when drawing extras, as well as continuous repaint
Nicolas Roard [Sat, 29 Jan 2011 00:56:27 +0000 (16:56 -0800)]
Fix flickering when drawing extras, as well as continuous repaint
when extras are drawn.

bug:3396281 bug:3387206 bug:3345802
Change-Id: I445c3bbd27a4c11b7f1b2cf6702b00835172754b

13 years agomerge in honeycomb-release history after reset to honeycomb
The Android Automerger [Fri, 28 Jan 2011 23:49:26 +0000 (15:49 -0800)]
merge in honeycomb-release history after reset to honeycomb

13 years agoBe sure to only enable compositing for sibling
Nicolas Roard [Fri, 28 Jan 2011 22:56:23 +0000 (14:56 -0800)]
Be sure to only enable compositing for sibling
layers of a fixed element is actually composited...

Fixes the behaviour of the fixed toolbar on news.google.com

bug:3375416
Change-Id: I4f959ccf834dad43821f8eb6238bbd5d3b047d7f

13 years agoMerge "Fix for bug 3398340" into honeycomb
Kristian Monsen [Fri, 28 Jan 2011 18:47:06 +0000 (10:47 -0800)]
Merge "Fix for bug 3398340" into honeycomb

13 years agoMerge "Fix artifacts from clipped viewport." into honeycomb
Chet Haase [Fri, 28 Jan 2011 18:17:41 +0000 (10:17 -0800)]
Merge "Fix artifacts from clipped viewport." into honeycomb

13 years agoPart of fix for bug 3394040
Kristian Monsen [Thu, 27 Jan 2011 19:00:14 +0000 (19:00 +0000)]
Part of fix for bug 3394040

Sending messages through a ScopedRunnableMethodFactory,
and cancel them before deleting the request object.

Change-Id: I5c9f94d78790f7098af3c418b582aacbf3b4b712

13 years agoFix for bug 3398340
Kristian Monsen [Fri, 28 Jan 2011 16:28:21 +0000 (16:28 +0000)]
Fix for bug 3398340

Removed a variable that was never set, but still used

Change-Id: I180f631472a02ed512f6071a0760913c8ddf6e84

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