summaryrefslogtreecommitdiffstats
path: root/Source
Commit message (Collapse)AuthorAgeFilesLines
* Use anti-aliasing in prefetch tilesChris Craik2011-11-101-2/+2
| | | | | bug:5534278 Change-Id: I5929752a9edcf3cd1c51360e0dc4d8df6ae6bb1e
* Merge "Fix font size handling for harfbuzz hack" into ics-mr1Russell Brenner2011-11-091-10/+15
|\
| * Fix font size handling for harfbuzz hackRussell Brenner2011-11-081-10/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | Complex languages (Arabic, Thai, etc.) currently need to override the base font (e.g. Roboto) with an explicitly loaded copy of the right fallback font (e.g. DroidNaskh). To keep from running out of file descriptors, a caching mechanism was put in place, but the cached data contained the font size, so the first size seen on the page was applied to all subsequent renderings of that font, regardless of the size requested. Size is now also considered in the cache. Bug: 5509443 Change-Id: I616954980122e89da14ce86efe99d5e4343a40c2
* | Merge "Add support for Bengali and Tamil gpos/gsub tables" into ics-mr1Russell Brenner2011-11-091-13/+23
|\ \
| * | Add support for Bengali and Tamil gpos/gsub tablesRussell Brenner2011-11-091-13/+23
| |/ | | | | | | | | | | | | | | | | | | HB_Script_Bengali and HB_Script_Tamil are now recognized in FontAndroid.cpp and map to Lohit-Bengali.ttf and Lohit-Tamil.ttf, allowing Harfbuzz to properly load the gpos/gsub tables for those languages. Bug: 5578901 Change-Id: I20ed542dd5a616535222dcb5c808f3716a062e80
* | Merge "Revert crash on bad scale - do not merge" into ics-mr1Bart Sears2011-11-081-3/+1
|\ \
| * | Revert crash on bad scale - do not mergeBart Sears2011-11-081-3/+1
| | | | | | | | | | | | | | | | | | | | | | | | bug:5367327 Cherry pick of: dc193f393a845e88f55ecf0055386fc4e4204537 Change-Id: Iea6e4a564fc003d8e2ad8e1d6d9d9b64d016e43d
* | | Merge "Add necessary null pointer check to avoid crash on youtube video" ↵Teng-Hui Zhu2011-11-081-0/+4
|\ \ \ | |/ / |/| | | | | into ics-mr1
| * | Add necessary null pointer check to avoid crash on youtube videoTeng-Hui Zhu2011-11-081-0/+4
| | | | | | | | | | | | | | | bug:5562347 Change-Id: I9b53a58137d70955bde5334c7c8b581343a8c2ce
* | | Merge "Fix extras clipping" into ics-mr1John Reck2011-11-072-3/+2
|\ \ \
| * | | Fix extras clippingJohn Reck2011-11-072-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | Bug: 5556494 Change-Id: I82e8282271dfc623afa9b1ef0d0061ca9c3df5f4
* | | | Merge "Change the default webView behavior to minimize the memory ↵Teng-Hui Zhu2011-11-074-6/+26
|\ \ \ \ | |/ / / |/| / / | |/ / consumption" into ics-mr1
| * | Change the default webView behavior to minimize the memory consumptionTeng-Hui Zhu2011-11-074-6/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For now, we just limit the expansion on x and y direction. In the future, we need to dynamically allocate and deallocate the memory. browser change is : c/148242 bug:5522175 Change-Id: I8562c39c55913ab89848afe8a36e8a2784c12727
* | | Remove the global button lockJohn Reck2011-11-0711-296/+20
| |/ |/| | | | | | | | | | | Bug: 5558699 Bug: 5572238 Change-Id: Ic199ffda5bc4aa09d39ee54221c6fcce6a91ca05
* | Doesn't lock the entire drawing...Chris Craik2011-11-043-5/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This caused us to potentially waiting on the completion of a tile painting. On sites where skia struggle with, this had a large impact on scrolling performances. This is only part one of the solution -- we need to also get rid of the global button lock. We also lower the priority of the texture gneeration thread. bug:5558699 Change-Id: I251354d6cabb2fd7ebfd665c30eff7fe90c3d316
* | Fix crash in Autofill.Ben Murdoch2011-11-031-7/+9
|/ | | | | | | | Fix a crash in autofill that can be caused by toggling the setting on and off. Bug: 5452927 Change-Id: I80ba0b823fd16cb4e2df3359be95f3d063a9b091
* Report a load error when network loads blocked. Do not mergeBen Murdoch2011-10-314-19/+26
| | | | | | | | | | | | | | | | | Cherry pick from master. When network loads are blocked, we should fail those loads rather than leaving them dangling. In particular, this fixes an issue where WebCore will wait to do the first layout while CSS loads are pending. If network loads are blocked, we need to tell WebCore they are never going to complete. To implement this, we make use of the Chromium stack's load flags and move the code to a more suitable location. Bug: 5416543 Change-Id: I4bd9987611364b29d3ccaa50437d418a5eb9a5cd
* Merge "Fix plugin rendering bug when video surface is not ready." into ics-mr1Derek Sollenberger2011-10-281-1/+1
|\
| * Fix plugin rendering bug when video surface is not ready.Derek Sollenberger2011-10-281-1/+1
| | | | | | | | | | | | | | | | | | | | The browser incorrectly jumps out of the compositing step for a plugin early if it detects a video surface is not ready. The correct behavior is to skip rendering the video and proceed to rendering the other plugin contents. bug: 5525272 Change-Id: Id838f6cef4913e817f58bf2b7e17d871f9f0250e
* | Merge "Don't discardQueue if the upload type didn't change" into ics-mr1John Reck2011-10-281-0/+3
|\ \ | |/ |/|
| * Don't discardQueue if the upload type didn't changeJohn Reck2011-10-271-0/+3
| | | | | | | | | | | | Bug: 5529012 Change-Id: I0b57c4cf9d295524f675f2cb7504d5a9c0363871
* | Merge "Keep text handles in sync with native touch targets" into ics-mr1John Reck2011-10-273-4/+46
|\ \
| * | Keep text handles in sync with native touch targetsJohn Reck2011-10-273-4/+46
| |/ | | | | | | | | | | | | | | Bug: 5522153 Also add some slop to the handle targets, cleaned up the JNI and improved debugging. Change-Id: I3b2c3c8b1543d4a1aa599ae2938fa78fe95e01bf
* | Add missing save/restore calls to GraphicsContext::fillRectBen Murdoch2011-10-271-0/+4
|/ | | | | | | | | Android is missing some calls to GraphicsContext::save/restore inside our GraphicsContext::fillRect implementations. The calls were added to the Skia GraphicsContext in http://trac.webkit.org/changeset/63102 Bug: 5361502 Change-Id: Ifcbc116d997473e3a184561102dc5cb74f5aa5ec
* Merge "DO NOT MERGE Adjust text selection position" into ics-mr1John Reck2011-10-253-3/+12
|\
| * DO NOT MERGE Adjust text selection positionJohn Reck2011-10-253-3/+12
| | | | | | | | | | | | Bug: 5507800 Change-Id: Icfcfdb9ff019fac7e3e40df679723594fab15dc6
* | Merge "DO NOT MERGE Fix SW extras for layers" into ics-mr1John Reck2011-10-2514-107/+17
|\ \
| * | DO NOT MERGE Fix SW extras for layersJohn Reck2011-10-2514-107/+17
| | | | | | | | | | | | | | | | | | | | | Bug: 5507239 Also remove all the old, unused layer setExtras stuff Change-Id: Id1670010536712b7a9f50e74821c9fb7f708e851
* | | Merge "Don't draw prefetch page if not necessary" into ics-mr1Chris Craik2011-10-254-23/+33
|\ \ \
| * | | Don't draw prefetch page if not necessaryChris Craik2011-10-254-23/+33
| |/ / | | | | | | | | | | | | | | | | | | | | | bug:5494086 Also only try to draw visible tiles. Change-Id: Ic850afab94309d9d4d031600a40dc889298fef24
* | | Take scale into account when greedily prefetching an entire layerChris Craik2011-10-251-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bug:5509149 Scale wasn't being taken into account when estimating layer tile consumption, so zooming in on layer content could attempt to fetch and draw hundreds of layers per tile, causing lots of missing content. Change-Id: Ib26e203827ad93be12d29561b9d8094cb712f014
* | | SwapLayersTextures on all layer changesChris Craik2011-10-251-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | bug:5507262 This restores behavior, and allows a single setBaseLayer to set content (such as is used in browser saved pages). Change-Id: Ifeda068ce5c22275553d0e1ec99ee74647806a6c
* | | Mark layers as ready to swap if invisibleChris Craik2011-10-251-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | bug:5505364 This avoids the problem of waiting infinitely during initialization (when a layer doesn't have content) for the layer to be ready. Change-Id: I364eff66616ea304a68976d5ad06ce5fdb1a6d4b
* | | Remove unnecessary logNicolas Roard2011-10-251-1/+1
| |/ |/| | | | | | | | | | | CL https://android-git.corp.google.com/g/#/c/144158/ introduced a debug log that we don't need, spamming logcat Change-Id: Iea8a1784153dd9f6f53e67f7cb62504440344c7c
* | Don't force composited layers to be stacking contexts - DO NOT MERGEChris Craik2011-10-251-1/+1
|/ | | | | | | | | | bug:5264240 Was causing crashes, and layer ordering problems. Cherry-pick of b8c237486bcf299d8a04bdae8d8e35fd37866172 Change-Id: I1f76516d4e313101ea9c90759ee63d4cef2d6ced
* am 5dee9ed2: Merge "Cherry pick 97075" into ics-mr0John Reck2011-10-214-27/+15
|\ | | | | | | | | * commit '5dee9ed228c914254062b62ae459884e3060a2ae': Cherry pick 97075
| * Merge "Cherry pick 97075" into ics-mr0John Reck2011-10-214-27/+15
| |\
| | * Cherry pick 97075John Reck2011-10-204-27/+15
| | | | | | | | | | | | | | | | | | Bug: 5491444 Change-Id: If97d58a3d590e8e972bceec61e3ae16860a30088
* | | am 5236e6a2: Merge "Cherry pick 94857" into ics-mr0John Reck2011-10-211-2/+7
|\ \ \ | |/ / | | | | | | | | | * commit '5236e6a2f70997cf9dec9e93261867dd79b21738': Cherry pick 94857
| * | Merge "Cherry pick 94857" into ics-mr0John Reck2011-10-211-2/+7
| |\ \ | | |/
| | * Cherry pick 94857John Reck2011-10-201-2/+7
| | | | | | | | | | | | | | | | | | Bug: 5491573 Change-Id: I32666ca6abdc2e224e6b9727f65e62fd3bd10859
* | | Merge "WebKit part of fix for bug 5307956"Kristian Monsen2011-10-211-21/+18
|\ \ \
| * | | WebKit part of fix for bug 5307956Kristian Monsen2011-10-191-21/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If the cache directory is an empty string, create an in-memory cache instead. Also cleared up the storage directory logic. It should only be called once for each app now, so removed the caching and merged the two functions. Change-Id: Id9f179b5722425d1808f7d784d1071dee7aec6bc
* | | | am 6032fa42: Merge "Implement dual textures for layers to handle zooming ↵Nicolas Roard2011-10-208-41/+175
|\ \ \ \ | | |/ / | |/| | | | | | | | | | | | | | | | | | correctly." into ics-mr0 * commit '6032fa428d725097ea29fc85fc1b2c965094772b': Implement dual textures for layers to handle zooming correctly.
| * | | Merge "Implement dual textures for layers to handle zooming correctly." into ↵Nicolas Roard2011-10-208-41/+175
| |\ \ \ | | | | | | | | | | | | | | | ics-mr0
| | * | | Implement dual textures for layers to handle zooming correctly.Nicolas Roard2011-10-208-41/+175
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We add a new class, DualTiledTexture, that encapsulate two TiledTextures and manage them according to the current scale factor. bug:5492874 Change-Id: I4ba3ff539f9242ae5102189e9623e1535e9cc28f
* | | | | am 458b4b11: Mark tiles dirty, even if repaintingChris Craik2011-10-201-3/+4
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | * commit '458b4b11924c3bcc70dcdd3d69f64a855870e72d': Mark tiles dirty, even if repainting
| * | | | Mark tiles dirty, even if repaintingChris Craik2011-10-201-3/+4
| | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bug:5484131 The current repainting tile could avoid being painted with the newest picture if it was repainting, since markAsDirty wouldn't change its state Change-Id: I4f3de909984d1ceb872bf294a1da211ad87c9bcc
* | | | Merge "Cherry-pick WebKit change 89982 to allow secure pages to be loaded ↵Steve Block2011-10-201-1/+1
|\ \ \ \ | | | | | | | | | | | | | | | from the cache on back navigation"
| * | | | Cherry-pick WebKit change 89982 to allow secure pages to be loaded from the ↵Steve Block2011-10-191-1/+1
| | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | cache on back navigation See http://trac.webkit.org/changeset/89982 Bug: 5480361 Change-Id: Ibaee251115eaa5c65e378d7ee9fe595fbf891c37