summaryrefslogtreecommitdiffstats
path: root/Source/WebCore/platform/graphics/android/TiledPage.h
Commit message (Collapse)AuthorAgeFilesLines
* reimplement BaseLayerAndroid as a LayerAndroid subclassChris Craik2012-03-221-133/+0
| | | | | | Breaks low res tiling, and expanded rendering bounds. Change-Id: Iec3ba2adceb6bd95399594d29fd8c0b18c1122ce
* Replace picture count with the SurfaceCollection countChris Craik2012-03-091-13/+5
| | | | | | Displays surface collection count on tiles when visual indicator is on. Change-Id: Ibe90792279849baff6f5bf0d71b80d9081471dc4
* Pass transform matrix in draw instead of through painterChris Craik2012-03-021-3/+3
| | | | | | | | | | bug:6105013 Since BaseTile's painter pointer may be stale, pass transform through draw rename transparency->opacity where needed added const for drawing path rects Change-Id: Ie08cef63c656e95887a3230af18b5b6a4513c10d
* Revert "simplify texture generation filters"Chris Craik2012-02-231-3/+2
| | | | | | | Seems to be a problem with the refcounting. bug:6050242 bug:6058365 This reverts commit 92a7e4bc6b67b150cbb30f78374173ecfeb43607
* simplify texture generation filtersChris Craik2012-02-161-2/+3
| | | | | | | | | | Filters can no longer block, which removes the need for transfer queue interruption. The filter no longer touches the currently painting tile. Tiles are now all ref-counted to accomodate the container being deleted while one of its tiles is still painting. Change-Id: Iaa4848665efdf90846defb0a53bf1ea013b8421b
* synchronous layer updates, and animation deferral during paintChris Craik2011-11-161-8/+11
| | | | | | | | bug:5522081 bug:5239801 bug:5297563 Change-Id: I600f66999e093f720a8ea97ef3e15d3d1d297a8f
* Merge "DO NOT MERGE Fix SW extras for layers" into ics-mr1John Reck2011-10-251-1/+0
|\
| * DO NOT MERGE Fix SW extras for layersJohn Reck2011-10-251-1/+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-1/+2
|/ | | | | | | | bug:5494086 Also only try to draw visible tiles. Change-Id: Ic850afab94309d9d4d031600a40dc889298fef24
* Double buffering for layersChris Craik2011-10-101-2/+0
| | | | | | | | | | | | | bug:5309934 Defer picture changes and invalidations when: 1) a tiled texture hasn't completed painting 2) the user is scrolling (done in PaintedSurface) Remaining issues: Should block updates on zooming Change-Id: I60ee722e651f96e95a4ac0e819999fc1589037c3
* Use state machine to track tile stateChris Craik2011-09-291-0/+2
| | | | | | | | | | | | | | | | | | | | 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
* Prefetch browser content with tiled pageChris Craik2011-09-211-0/+3
| | | | | | | | | | | | 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
* If unlock base layer marks tiles dirty, repaintChris Craik2011-09-081-1/+4
| | | | | bug:5278818 Change-Id: I03206bdc5e95743054c361f235e2d94b835a95d1
* Enable double buffering via base tilesChris Craik2011-09-021-6/+12
| | | | | | | | | | | | 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
* better locking while scrolling, but disables double bufferingChris Craik2011-08-251-1/+6
| | | | | | | | | | 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
* Fixes layers painting crashesNicolas Roard2011-08-041-0/+2
| | | | | | bug:5097230 bug:5045149 Change-Id: I20fcae13e7f617658447c02bd51dc83d2914922e
* Implements tiled layers. We remove all the existing code in LayerAndroidNicolas Roard2011-07-141-2/+7
| | | | | | | | | | | 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
* Merge WebKit at r75315: Move Android-specific WebCore files to SourceSteve Block2011-05-121-0/+114
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