| Commit message (Collapse) | Author | Age | Files | Lines |
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
|\ \
| |/
|/|
| | |
into honeycomb-mr1
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|\ |
|
| |
| |
| |
| | |
Change-Id: I21555e923ba6ac6c2bcd291ffa73a1aa087bdb3b
|
|\ \
| |/ |
|
| |
| |
| |
| |
| | |
bug: 3477581
Change-Id: Ia7bbaaca405db33dbefaa8f6f00e9250580e5f7b
|
|\ \
| |/
|/| |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The dtor of GLWebViewState is calling the dtor of its TiledPage
variables; the dtor of TiledPage wait until any pending painting
operations running in the TextureGenerator thread are done. The painting
operations ultimately paint using the current GLWebViewState's base
layer. We were doing unref() on the baselayer before destroying the
TiledPage...
bug:3429924
Change-Id: I685e7fca5e5bae796f808debbf7e4ce668b83e6b
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
If we detect an OOM from GL, crash the process to stop the
framework falling back to software rendering. The framework will
not enable HW rendering again until the process is killed and
Flash does not work with software rendering.
Bug: 3477085
Change-Id: I8defebbe3ea281c342fc99ace8638c347a3eb246
|
|\ \ \
| |_|/
|/| | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This reverts commit 2879037f2d6c595b8c16e992462ce5ca60d8fdba.
Revert the original work around as the underlying problem is fixed
with I2747dd4630a2a7dc18eae4c5fde36fd14c461747
Change-Id: Ibc1e997bca2aadc27527b6980de38603e6971770
|
| | |
| | |
| | |
| | | |
Change-Id: Id6e0b8199f82c44de0e7b1b7e7eb42bdb96bf908
|
|\ \ \ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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: I5698d610b17d4c8cfe137c51c2b978dae04ae1cf
|
|\ \ \ \
| |/ / /
|/| | | |
|
| | | |
| | | |
| | | |
| | | | |
Change-Id: Ifb290ab8e027b1828c1c10ca3ee70eadedf23f66
|
|\ \ \ \
| |/ / /
|/| | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
bug: 2968415
Change-Id: Ie67c9f6b28a81d4a65f39bde2896078d7b49b8ee
|
|\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
* 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.
|
| | |_|/
| |/| |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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
|
|/ / /
| | |
| | |
| | | |
Change-Id: I1b6be15a38d2afc55659872b82e13ebcd8fd2ada
|
|\ \ \ |
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Bug:3300760
Change-Id: I44641bb4ba385ece2ace9f8dba2205b76e755289
|
|\ \ \ \
| |/ / /
|/| | | |
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
|\ \ \ |
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
|\ \ \
| |/ /
|/| | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
|\ \ \
| | | |
| | | |
| | | | |
flash plugin..."
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
the GPU and the flash plugin...
bug:3471680
Change-Id: I436de6caea4dd5b1171f260d328dfe8170463832
|
|\ \ \ \
| |_|/ /
|/| | | |
|
| | | |
| | | |
| | | |
| | | |
| | | | |
bug: 3451982
Change-Id: If1d7bff729f72c28fec4905c3525b2f2ac1c6475
|
|\ \ \ \ |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
revert #change,93656
Now we will use layer for fixed element in desktop site, too.
Change-Id: I0a86d46f86fa75b704286aa613e967108851b990
|
|\ \ \ \ \
| |_|/ / /
|/| | | | |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
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
|
|\ \ \ \ \ |
|
| | |/ / /
| |/| | |
| | | | |
| | | | |
| | | | | |
bug: 3460361
Change-Id: Ifcf97b4360e0a86cfcc100e6287e1fbce8d2185a
|
| |/ / /
|/| | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Bug:2930013
Requires a change in frameworks/base.
Change-Id: I892fcdd9b9a0abdcf82e5bb26c930b68ae8b10fa
|
|/ / /
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
|\ \ \ |
|
| |/ /
| | |
| | |
| | |
| | |
| | | |
This is a companion CL to the one found in /external/skia
Change-Id: I469b8845a88f24d972fd57ee5c9cab505a5b83aa
|
|/ /
| |
| |
| |
| |
| |
| |
| | |
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
|
| |
| |
| |
| |
| |
| | |
the number of textures to 154
Change-Id: Ie77935015d744fcfda9bfffd751df6c7f3cd10bb
|