summaryrefslogtreecommitdiffstats
path: root/Source/WebCore/platform/graphics/android/TiledPage.cpp
Commit message (Collapse)AuthorAgeFilesLines
* clip tile prepare bounds to content OR viewportChris Craik2011-12-021-15/+19
| | | | | bug:5699003 Change-Id: I4c35008f1324e0f9e83b7dd9e72e09a7e09ae7a9
* Fix offscreen tile optimization with small contentChris Craik2011-11-301-14/+14
| | | | | bug:5691644 Change-Id: Ida66f42c634099c4399bae0bbf4b5776913757b0
* Don't prepare offscreen tilesChris Craik2011-11-291-9/+12
| | | | | | | | | bug:5675837 Corrected max tile bounds logic Removed unused local variables Change-Id: I3a47fa69b720c59c9468dfca03638e66e3ac78dc
* synchronous layer updates, and animation deferral during paintChris Craik2011-11-161-27/+34
| | | | | | | | bug:5522081 bug:5239801 bug:5297563 Change-Id: I600f66999e093f720a8ea97ef3e15d3d1d297a8f
* Use anti-aliasing in prefetch tilesChris Craik2011-11-101-2/+2
| | | | | bug:5534278 Change-Id: I5929752a9edcf3cd1c51360e0dc4d8df6ae6bb1e
* Merge "DO NOT MERGE Fix SW extras for layers" into ics-mr1John Reck2011-10-251-4/+0
|\
| * DO NOT MERGE Fix SW extras for layersJohn Reck2011-10-251-4/+0
| | | | | | | | | | | | | | Bug: 5507239 Also remove all the old, unused layer setExtras stuff Change-Id: Id1670010536712b7a9f50e74821c9fb7f708e851
* | Don't draw prefetch page if not necessaryChris Craik2011-10-251-10/+14
|/ | | | | | | | bug:5494086 Also only try to draw visible tiles. Change-Id: Ic850afab94309d9d4d031600a40dc889298fef24
* Don't paint/allocate off screen tilesChris Craik2011-10-171-6/+8
| | | | | | | | bug:5320471 Also, reduce prefetch distance Change-Id: I9e677c16b5d0cdc16b87bd820591088ab10ab44b
* Use state machine to track tile stateChris Craik2011-09-291-16/+12
| | | | | | | | | | | | | | | | | | | | bug:5369978 Manage invalidations, painting, transferring, and swapping with a state machine. notes: * readyFor shouldn't be needed if all of the events that would cause a readyfor fail mark the tile dirty (such as stealing, scale change) * changing the scale of a page should discard all textures * m_dirty should be more gracefully worked into the state machine * a tile may drop dirtiness notifications if it's already painting, since upon completion m_dirty will be cleared - (issues for layers only) Change-Id: I5909fb5d208da2fb276e223c56bf143741a9a24c
* Avoid infinite prepare loop if bad scale providedChris Craik2011-09-231-1/+4
| | | | | | | | | | bug:5362098 Note: we shouldn't be getting bad scales, now that the scale corruption issue has been reverted. Added logging for these to wrap transfer queue as well to detect fp corruption regression. Change-Id: I5e6d2afc1d483452140fab5390395c9581db86ca
* Prefetch browser content with tiled pageChris Craik2011-09-211-0/+9
| | | | | | | | | | | | bug:5262519 Use the tiled page not used by content rendering to render much fewer tiles for the same content, at an inflated scale. These prefetched tiles are prioritized for painting above all others, so that content is (almost) always visible on the base layer. Change-Id: I598b7925cb68beef632f828df3ae522a0b21e2b4
* Improve tile painting prioritization to minimize stalled, blank tilesChris Craik2011-09-141-0/+1
| | | | | | | | | | | | | | | bug:5320450 * Greedily deallocate textures from stolen tiles * Force all prioritization values to be positive * Create simply described prioritization ordering: * Draw count * Has front texture? * position (if base tile) Change-Id: Icd5dab931f735c14c18feef5186c8245c5956cfd
* If unlock base layer marks tiles dirty, repaintChris Craik2011-09-081-5/+8
| | | | | bug:5278818 Change-Id: I03206bdc5e95743054c361f235e2d94b835a95d1
* Enable double buffering via base tilesChris Craik2011-09-021-50/+60
| | | | | | | | | | | | bug:2522049 allocate textures and tiles using the gldraw count when they were most recently prepared remaining issues: -layers still flicker (presumably from texture stealing) -layers aren't double buffered yet Change-Id: Iccdf68326d7d476269d4e3a13903aaab249ee92d
* Merge "better locking while scrolling, but disables double buffering"Chris Craik2011-08-251-9/+13
|\
| * better locking while scrolling, but disables double bufferingChris Craik2011-08-251-9/+13
| | | | | | | | | | | | | | | | | | | | don't detect scrolling, query from java removes double buffering depends on CL in frameworks/base: https://android-git.corp.google.com/g/#/c/130213/ bug:5106313 Change-Id: Ibfa7f305874f4209fed001c030bb94e752d479b9
* | Prevent preparing a page with an invalid size.Teng-Hui Zhu2011-08-241-3/+12
|/ | | | | bug:5185840 Change-Id: I9ac0ad0fcee76be8864494fd55398edf1e68506f
* Merge "tile prefetching now triggered automatically"Chris Craik2011-08-181-19/+15
|\
| * tile prefetching now triggered automaticallyChris Craik2011-08-171-19/+15
| | | | | | | | | | | | | | | | | | bug:5178457 bug:5168261 Tiles are now prefetched at a distance of 2 from the view if the content is at least 1.2x the size of the view (in each dimension independantly) Change-Id: I1c251ffbbae709f8924133b9b22df39b4fa88b4c
* | Reduce the tiles lookup complexityNicolas Roard2011-08-171-0/+1
|/ | | | | | bug:5032212 Change-Id: Id3c6ff55de995f1c6b3f9bf36e941f3f499f0bc8
* New tile logging JNI interfaceChris Craik2011-07-211-2/+1
| | | | | | | | | | bug:5062896 Added more functionality to tile logging and querying (explicit location and size), invalidation region logging, as well as string-based JNI query method which should stabilize the JNI interface in the future. Change-Id: I937d4227abf0d0f18124c484438fd13a62439fb6
* Implements tiled layers. We remove all the existing code in LayerAndroidNicolas Roard2011-07-141-6/+12
| | | | | | | | | | | related to the old texture management and introduce two new classes: - PaintedSurface, used as a placeholder ui-side for the regularly changing LayerAndroid - TiledTexture, implementing the tiling of PaintedSurface using a set of BaseTile bug:4580444 bug:3392331 Change-Id: I0daa079d2acce49f3baa8c312ea0b0dd457ccd5c
* Tile profiling backendChris Craik2011-07-131-1/+5
| | | | | | Added tile profiling member (TilesProfiler) to TilesManager to track rendering status of tiles. Change-Id: Ied828c6ad2a15588965e6641edecb162bd76bc62
* Modified tile reclamation heuristic for multi-webview displayChris Craik2011-07-011-0/+1
| | | | | | | | | | | When tiles are reclaimed, they are now taken first from webviews that haven't been drawn in a while. Previously they were taken from any other webview - which may have been one still being displayed if multiple are onscreen. bug:4049143 partially solved (still not enough graphics memory allocated for tiles on tablet devices) Change-Id: Id400ea28e92ba805120c8353881834157fefa483
* Merge WebKit at r78450: IntRect::bottom()/right() renamedSteve Block2011-05-251-3/+3
| | | | | | | See http://trac.webkit.org/changeset/77286 and http://trac.webkit.org/changeset/77398 Change-Id: I0ae670bff327fb981e037f5394c55bfb4aeb81eb
* Merge WebKit at r75315: Move Android-specific WebCore files to SourceSteve Block2011-05-121-0/+355
This moves files in the following WebCore subdirectories ... - bindings/js - bindings/v8/custom - plugins/android - platform/android - platform/graphics/android - page/ - css/ - dom/ - loader/archive/android