OSDN Git Service
John Reck [Wed, 23 Mar 2011 02:29:49 +0000 (19:29 -0700)]
Merge "Workaround for poor dashed line performance" into honeycomb-mr1
John Reck [Wed, 23 Mar 2011 02:14:16 +0000 (19:14 -0700)]
Workaround for poor dashed line performance
Bug:
4163023
Change-Id: Ie76a2f5855130ff174a80d1c7e9187bea89f3aa5
Nicolas Roard [Tue, 22 Mar 2011 18:30:52 +0000 (11:30 -0700)]
Fix a browser ANR
Layer release textures (setting their owner to zero). Texture with no
owners are routinely destroyed by the TilesManager.
When a texture is busy, the release is delayed until the end of the
painting; if the owner of the texture is still the same, we then
remove it.
The problem was that a layer could release a busy texture, thereby
delaying the release; and in a next cycle re-acquire that same texture.
The delayed release would then kicks in, and proceed, as the owner
was still the same one as the one that originally asked for the release.
We would then have a situation where the layer thought it acquired a
texture, while that texture's owner was ultimately set to zero.
The TilesManager would then proceed to destroy that texture.
The next time the layer tried to use the texture, it would either crash
or more often block on acquiring a lock on it, causing an ANR.
bug:
3472320
Change-Id: I84a064b1aa6636a18e0518e34c8572cbea3eb558
Nicolas Roard [Tue, 22 Mar 2011 01:02:28 +0000 (18:02 -0700)]
Merge "Fix invals for CSS3D" into honeycomb-mr1
Nicolas Roard [Tue, 22 Mar 2011 00:22:17 +0000 (17:22 -0700)]
Fix invals for CSS3D
bug:
4129388
Change-Id: I52963d38412d0fd69c4695a281ad6558c27999ed
Teng-Hui Zhu [Mon, 21 Mar 2011 21:01:06 +0000 (14:01 -0700)]
Merge "Support drawing paused and loading image as GL texture" into honeycomb-mr1
Bart Sears [Mon, 21 Mar 2011 18:23:32 +0000 (11:23 -0700)]
Merge "Turns out args should not be decoded twice." into honeycomb-mr1
Teng-Hui Zhu [Fri, 18 Mar 2011 22:41:20 +0000 (15:41 -0700)]
Support drawing paused and loading image as GL texture
bug:
4142131
Change-Id: I871924cb7587077f50fdf4f9a00056f795a8daea
Nicolas Roard [Sun, 20 Mar 2011 02:01:15 +0000 (19:01 -0700)]
Fix native crash
Don't save the extras in the picture when drawing.
bug:
4126884 bug:
4132721
Change-Id: I52c46a33f847e64c1f8245a0bb84445a948d72a4
Nicolas Roard [Sat, 19 Mar 2011 00:41:11 +0000 (17:41 -0700)]
Fix ANR introduced by recent CL...
before locking a texture, it needs to be ready.
bug:
4136077
Change-Id: Ib8235694e1a43524c52a02a5f288235d56088f46
Nicolas Roard [Fri, 18 Mar 2011 23:58:13 +0000 (16:58 -0700)]
Fix for layers textures selection
bug:
4136077
Change-Id: I2dabdf612e29c4e4c9a0b744ddecaeda7a537ba5
Nicolas Roard [Fri, 18 Mar 2011 23:46:56 +0000 (16:46 -0700)]
Merge "Do not recreate textures if not needed for layers..." into honeycomb-mr1
Nicolas Roard [Fri, 18 Mar 2011 23:32:34 +0000 (16:32 -0700)]
Do not recreate textures if not needed for layers...
bug:
4136077
Change-Id: Ia975ac78f724450be6f36a61316c872c4d88d7a0
Russell Brenner [Fri, 18 Mar 2011 20:57:51 +0000 (13:57 -0700)]
Fix for FBO offset when drawing with alpha
Use new DrawGlInfo struct to detect when drawing to an FBO and adjust
topLeft of destination to (0,0).
Bug:
3275491
Change-Id: Ia3ef85d6a21475dbd27743a15edd9d16d0d9cc9e
Nicolas Roard [Fri, 18 Mar 2011 22:50:54 +0000 (15:50 -0700)]
Merge "Fix for missing invals" into honeycomb-mr1
Nicolas Roard [Fri, 18 Mar 2011 22:42:12 +0000 (15:42 -0700)]
Fix for missing invals
bug:
4124433
Change-Id: I8cc7203dad408eff30da33f1c9a0a77dd7c97d66
Russell Brenner [Fri, 18 Mar 2011 22:28:44 +0000 (15:28 -0700)]
Merge "DO NOT MERGE Use libhwui's new private header. Bug #
3275491" into honeycomb-mr1
Romain Guy [Thu, 17 Mar 2011 18:08:18 +0000 (11:08 -0700)]
DO NOT MERGE Use libhwui's new private header.
Bug #
3275491
The DrawGlInfo struct is used by the OpenGL UI renderer and WebView to exchange
information. This new version of the struct adds information about the render
target and the current transform set on the Canvas.
Change-Id: Icc3bcc278898493ef4fe0f4574b231e6cfd6aca5
Nicolas Roard [Fri, 18 Mar 2011 01:20:38 +0000 (18:20 -0700)]
Limit the SkPicture size we use to paint.
This improves performances by a visible factor on some websites.
bug:
4124418
Change-Id: I9b24408b686e24cf323eb5bae977d74a0f2e2a34
Russell Brenner [Thu, 17 Mar 2011 21:43:06 +0000 (14:43 -0700)]
Merge "Enabled shadow drawing" into honeycomb-mr1
Russell Brenner [Thu, 17 Mar 2011 19:06:52 +0000 (12:06 -0700)]
Enabled shadow drawing
Reworked the logic of setupForText() and setupShadowPaint() to render
correctly, as exhibited by http://acid3.acidtests.org.
Bug:
4075135
Change-Id: I595456b658d0872183dedcbc726be44783440f89
Patrick Scott [Thu, 17 Mar 2011 17:43:29 +0000 (13:43 -0400)]
Turns out args should not be decoded twice.
This should help out in some cases with redirect/login loops.
Bug:
4110115
Change-Id: I42fff7e9227423b9b5ce94234ad6d606234fe252
Nicolas Roard [Thu, 17 Mar 2011 17:31:57 +0000 (10:31 -0700)]
Fix Browser ANR
The problem was that when attempting to forcefully destroy a texture
in TilesManager::cleanupLayersTextures(), the call to
LayerAndroid::removeTexture() may fail if the texture was busy being
painted -- the call to BackedDoubleBufferedTexture::release() would
return false, and the layer may thus still keep a pointer to the texture.
But the release() call, while indicating it failed, was only delaying
the release -- as soon as the texture was marked as not busy, it
could set its owner to nil.
We could thus have a situation where the layer did not reset its
texture pointers because the owner of the texture was not yet
changed, but the texture would then reset its owner to nil as soon
as it was not busy painting.
In TilesManager::cleanupLayersTexture() the next step before deleting
a texture is to check that the texture does not have an owner -- but
by then the texture could have been marked as not busy, and removed
its owner, letting TilesManager destroying it.
bug:
3472320
Change-Id: I3bcf169b30dfacba1773d3b79a3c0d205bf3cbdb
Nicolas Roard [Wed, 16 Mar 2011 01:20:42 +0000 (18:20 -0700)]
Implement partial screen invalidations
bug:
3461349
Change-Id: Id654d176c58027c67be7cb604b87c0ec68984525
Teng-Hui Zhu [Tue, 15 Mar 2011 01:16:58 +0000 (18:16 -0700)]
Pass the URL at the enterfullscreen time
bug:
2126902
Change-Id: I84a27fabccc32ef85c8d78d6702d22ffca497db7
Shimeng (Simon) Wang [Thu, 17 Mar 2011 00:24:44 +0000 (17:24 -0700)]
Merge "Fix page jump after clicking links in nytimes.com" into honeycomb-mr1
Romain Guy [Thu, 17 Mar 2011 00:24:35 +0000 (17:24 -0700)]
Merge "Pass the clip rect to WebView to optimize rendering" into honeycomb-mr1
Shimeng (Simon) Wang [Thu, 17 Mar 2011 00:13:12 +0000 (17:13 -0700)]
Fix page jump after clicking links in nytimes.com
This reverts parts of change in
https://android-git.corp.google.com/g/#change,96777
issue:
4024447
Change-Id: I29b5de1f97ed9d7cd70786cdcfeb91b53563e66e
Russell Brenner [Wed, 16 Mar 2011 23:00:54 +0000 (16:00 -0700)]
Merge "Fix crash in WebCore::GlyphPageTreeNode::getChild" into honeycomb-mr1
Russell Brenner [Fri, 4 Mar 2011 02:29:26 +0000 (18:29 -0800)]
Fix crash in WebCore::GlyphPageTreeNode::getChild
Using existing Skia APIs, FontCache::createFontPlatformData can detect
when the retrieved font is the Skia default and will reject that choice,
allowing WebCore to try the next font on the CSS fallback list. If the
requested family is a generic family, e.g. "serif" or "monotype", the
Skia default will be accepted.
A prior attempt at this fix was not properly handling bold and italic
stylings, which could eventually lead to dangling references to freed
font data used for layout while custom fonts were loading, causing
segfaults in getChild and elsewhere during page rendering.
Bug:
3469204
Bug:
2720133
Change-Id: I3a9e746e18fd27848d0c4b9e1232392df33254a6
Romain Guy [Wed, 16 Mar 2011 22:29:42 +0000 (15:29 -0700)]
Pass the clip rect to WebView to optimize rendering
Change-Id: Ic1f96b82a5da5cd08d282002a0ae5d4f53d0f92e
Shimeng (Simon) Wang [Wed, 16 Mar 2011 18:31:36 +0000 (11:31 -0700)]
For first layout, reset current textures and update base layer.
issue:
4094300
Change-Id: If8e58daa621e01ac372f2111ebde522a6f90b2e5
Derek Sollenberger [Wed, 16 Mar 2011 20:17:43 +0000 (13:17 -0700)]
Merge "Disable the use of EGL fences for synchronization." into honeycomb-mr1
Leon Scroggins [Wed, 16 Mar 2011 19:34:02 +0000 (15:34 -0400)]
More improvements to video player controls.
Bug:
4080127
Inset the track by half the width of the thumb so the thumb
travels along the entire length of it.
Make the track narrower vertically, and align it with the
center of the thumb drawing.
Draw the portion of the track that has already been covered
with a different asset.
Change-Id: I37acedc8e8b75bab59fcac7e075c59d70550795c
Derek Sollenberger [Wed, 16 Mar 2011 19:47:39 +0000 (15:47 -0400)]
Disable the use of EGL fences for synchronization.
bug:
4098273
Change-Id: Iaf7eaa13b9d4410dfb984af0e4a83dadedb09648
Leon Scroggins [Wed, 16 Mar 2011 15:29:21 +0000 (11:29 -0400)]
Turn on filtering so the buttons look better.
Bug:
4080127
Change-Id: Ie1f29ce09fcc0389c5d458238460ae846d449ccc
Derek Sollenberger [Tue, 15 Mar 2011 19:56:56 +0000 (12:56 -0700)]
Merge "Enable synchronization with fencing." into honeycomb-mr1
Derek Sollenberger [Tue, 15 Mar 2011 18:51:30 +0000 (14:51 -0400)]
Enable synchronization with fencing.
We currently rely on the fact that nvidia serializes glFlush calls
to ensure synchronization, but we should be using fences to handle
this synchronization step.
bug:
4098273
Change-Id: I13c4790434dea07d9da68b8ebebbba15b1e085a5
Nicolas Roard [Tue, 15 Mar 2011 17:44:42 +0000 (10:44 -0700)]
Merge "Fix layers repaint synchronisation issues" into honeycomb-mr1
Ben Murdoch [Tue, 15 Mar 2011 12:47:30 +0000 (12:47 +0000)]
Fix scrolling on sites hosting content inside a single <frame>
Force a layout of the frameview when we detect that a frames
content post flattening is wider than the original frame.
Also force a relayout of the frame as necessary to sync the
correct dimensions (i.e. when navigation occurs inside the frame)
Bug:
4051085
Change-Id: Ib2543601a71b6931bb3ec4bfda75a2cac26bb2a1
Nicolas Roard [Sat, 12 Mar 2011 03:03:28 +0000 (19:03 -0800)]
Fix layers repaint synchronisation issues
bug:
4079662 bug:
3469243
Change-Id: I2538e33c97e3cf8a937bc310847298b68669a24f
Nicolas Roard [Mon, 14 Mar 2011 20:23:18 +0000 (13:23 -0700)]
Improving HTML5 video controls
- correct support for the fullscreen button
- change the controls to be 48px high
- auto-hide the controls, touching the video makes them appear again
bug:
2126902
Change-Id: Idd2b720034de3d5d432c9ea62d9045934c46f6c1
Russell Brenner [Mon, 14 Mar 2011 23:05:47 +0000 (16:05 -0700)]
Merge "Custom font was appearing all white in Books" into honeycomb-mr1
Russell Brenner [Mon, 14 Mar 2011 20:57:47 +0000 (13:57 -0700)]
Custom font was appearing all white in Books
This is a strategic rollback of a previous change:
https://android-git.corp.google.com/g/#change,99977
Although that change fixes a browser crash, it introduces a problematic
UI situation in Books.
The browser crash is rare, but keeps some web pages from being usable.
Nonetheless, upon failure, the browser will shutdown and can be
relaunched for other sites. Another potential point of failure for this
crash has been identified, with a solution to follow in a separate CL.
From discussion with Bart it was decided that the rare browser crash is
less problematic than the usability problem incurred with a book
containing blank pages, and so, regardless of whether or not the
resulting browser crash is fixed, this change needs to be rolled back.
With any luck, however, both issues will be fixed.
(See also http://b/
3469204.)
Bug:
4064041
Change-Id: I3416f9e9ae728a99dd84d3df8b0f8d0c0876dbad
Huahui Wu [Mon, 14 Mar 2011 21:42:05 +0000 (14:42 -0700)]
Merge "b/
3392594 keep the remaining touch points when one is ended." into honeycomb-mr1
Huahui Wu [Mon, 14 Mar 2011 01:10:25 +0000 (18:10 -0700)]
b/
3392594 keep the remaining touch points when one is ended.
This is native side code for b/
3392594, which takes the action
index from java side, and set the touch point state accordingly.
Change-Id: I894bcfc25f761725a5f37317a8fadffbba68b6df
Bart Sears [Mon, 14 Mar 2011 00:32:54 +0000 (17:32 -0700)]
am
bcc07753: Cherry-pick change Ibaa52a6b (webkit security patch)
* commit '
bcc077531734eca7eb8663a76ab8d4c15721672c':
Cherry-pick change Ibaa52a6b (webkit security patch)
Bart Sears [Sat, 12 Mar 2011 00:17:22 +0000 (16:17 -0800)]
Cherry-pick change Ibaa52a6b (webkit security patch)
Apply webit security patch
bug:
4089100
Change-Id: I80069fe6ec12a03fce88128be0ce90fee410911c
Nicolas Roard [Sat, 12 Mar 2011 00:31:22 +0000 (16:31 -0800)]
Merge "Improve HTML5 audio/video controls" into honeycomb-mr1
Nicolas Roard [Sat, 12 Mar 2011 00:00:46 +0000 (16:00 -0800)]
Improve HTML5 audio/video controls
Only allow translucent controls for video...
bug:
2126902
Change-Id: I95fbf1fc736391a3adec3930119531684a1a9082
Teng-Hui Zhu [Fri, 11 Mar 2011 22:58:38 +0000 (14:58 -0800)]
Fix a crash caused by the wrong destruction handling
The VideoLayer is ref counted, so unref at the destrutor is the right way.
Don't do a deletion.
bug:
4072630
Change-Id: I1da4ec138ef119b1d8dd7700fef36bab4df55064
Nicolas Roard [Fri, 11 Mar 2011 22:25:43 +0000 (14:25 -0800)]
HTML5 Video improvements
- remove the seek buttons on the control bar
- make the control bar translucent
- add a fullscreen button passing the layer id to the java side
bug:
2126902
Change-Id: Id9638f6b01f968839eaf4b0bd8cf1603957753af
Cary Clark [Fri, 11 Mar 2011 16:56:56 +0000 (08:56 -0800)]
Merge "allow multiple invals to return first difference" into honeycomb-mr1
Cary Clark [Fri, 11 Mar 2011 16:05:21 +0000 (11:05 -0500)]
allow multiple invals to return first difference
The shape of the text selection changed recently, so the
inval computation for the shape area was slightly incorrect.
But most of the problem is caused by multiple calls to
draw the selection area. The old assumption was that
successive calls to compute the inval could each work
from the prior state, since only the difference between
the last inval and the current inval needs to be redrawn.
Now, there are multiple calls to compute the area, and any
of them need to return the last difference computed, only
computing a new difference if the selection changed.
Keep track of the last changed selection, so that the last
position, the current position, and the last drawn position
can be tracked correctly.
bug:
4073219
Change-Id: Ic9b9d037329e8f792b5ec09c112e665dbdfd0b81
Cary Clark [Fri, 11 Mar 2011 16:34:35 +0000 (11:34 -0500)]
increase the memory cap for bitmaps
Increasing this size from 8 megs to 32 megs
allows more RAM to be used before
the image is sampled down.
bug:
3421165
Change-Id: I73047009522d6e80d1adc95cd12d763307ab1980
Nicolas Roard [Fri, 11 Mar 2011 02:13:59 +0000 (18:13 -0800)]
Fix for display glitches.
We were trying to update the texture with a bitmap larger than it.
GL did not like this, so the texture was not updated at all...
bug:
4078436
Change-Id: I180f4da6991a3db988169d7abd06cc08d5b69a32
Teng-Hui Zhu [Fri, 25 Feb 2011 23:18:51 +0000 (15:18 -0800)]
webkit support for inline video
Basically we provide a Video Layer for the inline video.
The java side change is at 101311.
bug:
3506407,
2126902
Change-Id: I9cc1b910f502595d6be7ac81e448343ca6ca9100
Nicolas Roard [Thu, 10 Mar 2011 23:23:23 +0000 (15:23 -0800)]
Merge "Fix CSS animations" into honeycomb-mr1
Nicolas Roard [Wed, 9 Mar 2011 21:52:11 +0000 (13:52 -0800)]
Fix CSS animations
- we were overriding existing animations.
- implement correctly the removeAnimations functions
- refactor AndroidAnimation (share common code)
- fix how we use the timing functions for the animations
- implements timing functions per keyframes
bug:
2453890
Change-Id: I367d708338c270171eeaacc7e2fb3729eb78c444
Patrick Scott [Thu, 10 Mar 2011 17:27:01 +0000 (12:27 -0500)]
Fix a crash with column layout.
If a layer is paginated and has a positioned grandparent,
paintPaginatedChildLayer might have an empty columnLayers vector. The logic in
updatePagination has a similar check.
Bug filed against webkit.org.
Bug:
4026385
Change-Id: I9c7de5ccab171148d26cdd187efb97d13c033ae5
Kristian Monsen [Thu, 10 Mar 2011 10:45:51 +0000 (02:45 -0800)]
Merge "Android part of fix for bug
3491968 Browser frozen on dunkindonuts.com" into honeycomb-mr1
Nicolas Roard [Thu, 10 Mar 2011 00:12:54 +0000 (16:12 -0800)]
Merge "Fix for gmail messages not showing after the first one. We were not resetting the unusable state (set by the clearView() function) when receiving new content..." into honeycomb-mr1
Nicolas Roard [Thu, 10 Mar 2011 00:08:15 +0000 (16:08 -0800)]
Fix for gmail messages not showing after the first one.
We were not resetting the unusable state (set by the clearView()
function) when receiving new content...
bug:
4080072
Change-Id: Ie1110b511392b0a7fd21bbc23aa1b824eb8a78ad
Leon Scroggins [Wed, 9 Mar 2011 22:21:09 +0000 (14:21 -0800)]
Merge "Do not attempt to put textfield onscreen when size changes." into honeycomb-mr1
Ben Murdoch [Wed, 9 Mar 2011 21:22:16 +0000 (13:22 -0800)]
Merge "Clear DOM storage when clearing other cached data." into honeycomb-mr1
Leon Scroggins [Wed, 9 Mar 2011 21:16:50 +0000 (16:16 -0500)]
Do not attempt to put textfield onscreen when size changes.
Bug:
4079218
A frameworks/base change will make it so the textfield scrolls
on screen when the IME is shown.
Change-Id: I654079288fdad657f476948476d689359cf48804
Cary Clark [Wed, 9 Mar 2011 21:05:53 +0000 (13:05 -0800)]
Merge "remove restriction on CSS Mimetype" into honeycomb-mr1
Kristian Monsen [Mon, 7 Mar 2011 16:00:00 +0000 (16:00 +0000)]
Android part of fix for bug
3491968 Browser frozen on dunkindonuts.com
Setting the new ignore limits flag when doing a sync load.
Depends on a chromium change:
https://android-git.corp.google.com/g/#change,100399
Change-Id: I5634c5ac6a158e39a31b04e51ccb74bd21430a0b
Cary Clark [Wed, 9 Mar 2011 20:48:29 +0000 (15:48 -0500)]
remove restriction on CSS Mimetype
This code is two years old and no longer relevant with the
Chromium http stack.
bug:
4075135
Change-Id: I4f0616d1992167aacdc6f8f0ef1ed1a6fc52bff8
Ben Murdoch [Fri, 4 Mar 2011 10:24:10 +0000 (10:24 +0000)]
Clear DOM storage when clearing other cached data.
Empty out DOM local and session storage in addition to HTML5
database and app cache when we get a request from java to
delete cached data.
Bug:
2117649
Change-Id: I5b6ee075d2a8fb44ee373ad4462a33623c9c2460
Derek Sollenberger [Wed, 9 Mar 2011 17:26:57 +0000 (09:26 -0800)]
Merge "Prevent double deletion when timer callback causes plugin to be deleted." into honeycomb-mr1
Derek Sollenberger [Wed, 9 Mar 2011 16:21:07 +0000 (11:21 -0500)]
Prevent double deletion when timer callback causes plugin to be deleted.
bug:
4040002
Change-Id: I9e85db08805561109fdb1d270c018d7308bef5cf
Patrick Scott [Wed, 9 Mar 2011 13:05:26 +0000 (05:05 -0800)]
Merge "Parse x-auto-login and send it up to Java." into honeycomb-mr1
Cary Clark [Wed, 9 Mar 2011 12:48:12 +0000 (04:48 -0800)]
Merge "make the text selection handles match framework" into honeycomb-mr1
Ed Heyl [Wed, 9 Mar 2011 07:03:03 +0000 (23:03 -0800)]
cherry-pick this change from master (should be in honeycomb-mr1) (please don't merge)
Avoid Android modifications to JavaNPObjectV8.cpp/h
https://android-git.corp.google.com/g/40387 fixed a long-standing bug to
avoid leaking references to injected Java objects. However, it did so by
making changes to JavaNPObjectV8.cpp/h which were never upstreamed. This
change avoids the need for these changes.
This change also avoids the use of a local PassRefPtr, which was
incorrectly introduced in https://android-git.corp.google.com/g/36204.
Change-Id: Ia1e3245a953826bbfd8e085f7ed1b1341228255d
Nicolas Roard [Wed, 9 Mar 2011 01:06:17 +0000 (17:06 -0800)]
Fix CSS animation bugs
- we were replacing animations by new ones regardless of their types, so
when two anims (i.e. transform and opacity) where set on the same
layer, we'd only run the last one
- the selection of the keys for keyframes animations was buggy
bug:
2453890
Change-Id: I03da3f6c2ba1f5bf778e099e52d71d2f5e67d27e
Nicolas Roard [Wed, 9 Mar 2011 03:03:34 +0000 (19:03 -0800)]
Merge "Fix
2453890: animation via css -webkit-transform" into honeycomb-mr1
Nicolas Roard [Mon, 7 Mar 2011 19:14:44 +0000 (11:14 -0800)]
Partial invalidation of the browser textures
bug:
3461349 bug:
3464483
Change-Id: I627f06d0fe48aaa0adca65cd13dc738af87eeefc
Russell Brenner [Tue, 8 Mar 2011 22:20:31 +0000 (14:20 -0800)]
Fix
2453890: animation via css -webkit-transform
Followed model used for transform animations. Tested with
http://www.webkit.org/blog-files/leaves/.
Fixes http://b/
2453890.
Change-Id: Ie71217743b6e1ee9ab0e023fdff44e8c65c8d477
Cary Clark [Tue, 8 Mar 2011 21:02:44 +0000 (16:02 -0500)]
make the text selection handles match framework
bug:[TBD]
Change-Id: I1b1c912ba210c1f9126723ed8819a05f1617b3e6
Patrick Scott [Mon, 24 Jan 2011 17:17:56 +0000 (12:17 -0500)]
Parse x-auto-login and send it up to Java.
Bug:
3367381
Change-Id: Ia50dcf39c9045642037e684ecd1e2bee90a69f72
Kristian Monsen [Thu, 17 Feb 2011 16:43:20 +0000 (16:43 +0000)]
Fix for bug
3324285 jsc::bindings::convertValueToNPVariant fails to findroot() and passes objects as npvariant_void
Also trying lexicalGlobalObject as root object, the comment for
lexicalGlobalObject says:
// Global object in which the currently executing code was defined.
// Differs from dynamicGlobalObject() during function calls across web browser frames.
I'm guessing that is the case here.
Webkit bug:
https://bugs.webkit.org/show_bug.cgi?id=55216
Change-Id: I61b3df93261e3688f022cde058845b1e3dfedb38
Romain Guy [Tue, 8 Mar 2011 06:40:35 +0000 (22:40 -0800)]
Merge "Add support for partial invalidations Bug #
3461349" into honeycomb-mr1
Romain Guy [Tue, 8 Mar 2011 01:47:17 +0000 (17:47 -0800)]
Add support for partial invalidations
Bug #
3461349
Change-Id: Ie7905d44bc732b375a9468f9086e3e32ffe37388
Leon Scroggins [Mon, 7 Mar 2011 20:43:08 +0000 (15:43 -0500)]
DO NOT MERGE. Render media button and buttons properly.
Bug:
3009375
Requires a change to frameworks/base.
Change-Id: I39758fd9d21ed447c48ae050a9c3b0ed1b757b5a
Russell Brenner [Mon, 7 Mar 2011 18:53:57 +0000 (10:53 -0800)]
Merge "Fixed
3469204: Crash using downloaded fonts" into honeycomb-mr1
Patrick Scott [Wed, 2 Mar 2011 15:45:24 +0000 (10:45 -0500)]
Do not merge.
Remove the notion of root layers.
We were computing the root layer status incorrectly for some child layers. If an
iframe has a layer but it hasn't been attached, we might assume it is the root
layer of the tree and not produce a recording content.
Bug:
3492471
Change-Id: Ib81fb26d76742d74ebe244c34c1fab353fb9b78d
Russell Brenner [Thu, 3 Mar 2011 23:57:01 +0000 (15:57 -0800)]
Fixed
3469204: Crash using downloaded fonts
This change is still pending upstream, but is being applied here now to
make it into M1 before lockdown. Track the WebKit change at:
https://bugs.webkit.org/show_bug.cgi?id=54758
When font downloading completes, CSSFontFaceSource::fontLoaded() and
CSSSegmentedFontFace::fontLoaded() called pruneTable() to reclaim
GlyphPageTreeNode memory. On Android, downloading and rendering are on
different threads and these GlyphPageTreeNodes may still be in use on
the UI thread.
This change defers freeing those GlyphPageTreeNodes until
CSSFontFaceSource and CSSSegmentedFontFace are destroyed, which occurs
on the UI thread in response to Document::scheduleForcedStyleRecalc(),
which was called by CSSFontSelector::fontLoaded().
Change-Id: Ica74e5be92c00b8c761f5d29a2310c46e62fd9eb
Nicolas Roard [Fri, 4 Mar 2011 09:21:43 +0000 (01:21 -0800)]
am
8519dcd5: (-s ours) DO NOT MERGE : Cherry-pick of change I9942e8e4 from master
* commit '
8519dcd53eb4325b8d2d76c030d0af4503472df7':
DO NOT MERGE : Cherry-pick of change I9942e8e4 from master
Derek Sollenberger [Thu, 3 Mar 2011 22:00:11 +0000 (14:00 -0800)]
Merge "ensure plugins draw correctly even when they have been given focus." into honeycomb-mr1
Derek Sollenberger [Thu, 3 Mar 2011 20:13:18 +0000 (15:13 -0500)]
ensure plugins draw correctly even when they have been given focus.
The initial attempt at fixing this bug was to modify the clip, but
this was not correct and only fixed cases where the plugin was on
the left edge of the screen. This CL properly adjusts the plugin's
boundaries to make sure the content is drawn in the appropriate
position.
bug:
3477581
Change-Id: I5958228a93fa5600cd7e24ed9e7e1e26f6b241bc
Nicolas Roard [Thu, 3 Mar 2011 18:16:31 +0000 (10:16 -0800)]
Do not merge: Cherry-pick change I9942e8e4 from master
Wait the remaining of the 60FPS cap delay rather than not paint.
Returning true if called faster than 60FPS means
we are not drawing and ask for the framework to call
us again; this works in general because the framework recopy
the previous framebuffer. But in some cases, it didn't, causing
the webview to flicker. A correct fix would be to introduce
the capping in framework rather than try to doing it in the
webview; in the meantime we will sleep the remaining of the delay
as a workaround, so that we still provide the GPU
benefits we wanted (at >60FPS the GPU was being saturated in
some cases).
bug:
3500655
Change-Id: Ibaa1d93e0a13433a2c842b19b58538894fdaa7e4
Nicolas Roard [Thu, 3 Mar 2011 18:16:31 +0000 (10:16 -0800)]
DO NOT MERGE : Cherry-pick of change I9942e8e4 from master
Wait the remaining of the 60FPS cap delay rather than not paint.
Returning true if called faster than 60FPS means
we are not drawing and ask for the framework to call
us again; this works in general because the framework recopy
the previous framebuffer. But in some cases, it didn't, causing
the webview to flicker. A correct fix would be to introduce
the capping in framework rather than try to doing it in the
webview; in the meantime we will sleep the remaining of the delay
as a workaround, so that we still provide the GPU
benefits we wanted (at >60FPS the GPU was being saturated in
some cases).
bug:
3500655
Change-Id: Iae50737b6d3202a8a0d3ec6d4a5261fe1b6d1b3f
Derek Sollenberger [Thu, 3 Mar 2011 06:27:27 +0000 (22:27 -0800)]
am
1a2d40c0: (-s ours) am
b715a7c4: Do not merge: Cherry-pick change I21555e92 from master
* commit '
1a2d40c0fc6710c8ccefb3779b3f9c04c6e43ef5':
Do not merge: Cherry-pick change I21555e92 from master
Derek Sollenberger [Thu, 3 Mar 2011 02:26:16 +0000 (18:26 -0800)]
am
b715a7c4: Do not merge: Cherry-pick change I21555e92 from master
* commit '
b715a7c48aa637ebc2832775ea04567c915f6296':
Do not merge: Cherry-pick change I21555e92 from master
Derek Sollenberger [Wed, 2 Mar 2011 21:33:19 +0000 (16:33 -0500)]
Do not merge: Cherry-pick change I21555e92 from master
Bug:
3471680
Enable the plugin to specify the BGRA internal format for textures.
Change-Id: Ied336c0a2309d14033a065b74e675d6d4405551b
Bart Sears [Wed, 2 Mar 2011 23:35:34 +0000 (15:35 -0800)]
Merge "Enable the plugin to specify the BGRA internal format for textures."
Derek Sollenberger [Wed, 2 Mar 2011 21:33:19 +0000 (16:33 -0500)]
Enable the plugin to specify the BGRA internal format for textures.
Change-Id: I21555e923ba6ac6c2bcd291ffa73a1aa087bdb3b
Derek Sollenberger [Wed, 2 Mar 2011 21:03:09 +0000 (13:03 -0800)]
Merge "Ensure plugin content does not shift when gaining focus."
Derek Sollenberger [Wed, 2 Mar 2011 20:53:43 +0000 (12:53 -0800)]
am
959e9dbc: (-s ours) am
2764765b: Do not merge: Cherry-pick fix to framerate cap
* commit '
959e9dbc6321a6dafa3f419e67459e50ea29bc14':
Do not merge: Cherry-pick fix to framerate cap