summaryrefslogtreecommitdiffstats
path: root/Source/WebCore/platform/graphics/android/PaintTileOperation.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Reorganize platform/graphics/androidNicolas Roard2012-04-061-117/+0
| | | | Change-Id: Idc67155cfa99784dcd931e705336bfa063ecae46
* Rename several classesChris Craik2012-04-041-1/+2
| | | | | | | | | | | | | | | | | | | | BaseTile,BaseTileTexture -> Tile,TileTexture Used in layers other than the base LayerGroup -> Surface Renamed to convey that it is a member of the SurfaceCollection, and that the layers grouped inside are painted together (if at all) DualTiledTexture -> SurfaceBacking Better conveys that this is the raster backing for a surface that can paint. It may be implemented with two tiled textures for now, but that isn't as important as its relationship to the surface. TiledTexture -> TileGrid Renamed to make it more clear that it was a container of tiles, and to be less similar to TileTexture Change-Id: I843f8603a2080cfe5a7313ba1c2eff10620f8aa2
* Add back low res base layer rendering, and expanded bounds prefetchingChris Craik2012-03-301-1/+7
| | | | Change-Id: Ib6a38d8dd8223bdca9cb652771f0b19dbec892dc
* reimplement BaseLayerAndroid as a LayerAndroid subclassChris Craik2012-03-221-14/+9
| | | | | | Breaks low res tiling, and expanded rendering bounds. Change-Id: Iec3ba2adceb6bd95399594d29fd8c0b18c1122ce
* Paint tiles with the PaintTileOperation's painterChris Craik2012-03-161-1/+1
| | | | | | | The refcounting there prevents the painter from being deallocated while painting bug:6064973 Change-Id: Ief4e615876aab74afb74e135acc1dd92c92af570
* operation and filter cleanupChris Craik2012-03-051-3/+1
| | | | Change-Id: I0074d10bc969f139e66c9c8014811309a1e85f5b
* layer rendering cleanup/rewriteChris Craik2012-02-281-7/+8
| | | | | | | | | | | | | | | | | | | | | * added 'LayerGroup' class separate the painting/tiled features of a layer (eventually multiple layers) tiled drawing/preparing/counting details are abstracted out of LayerAndroid * added 'SurfaceCollection' class incorporates both the BaseLayerAndroid/LayerAndroid tree, as well as the vector of tiled LayerGroup * renamed 'TreeManager' to 'SurfaceManager' * Removes PaintedSurface was mostly a thin wrapper around DualTiledTexture * Combines TilePainter/SurfacePainter * Simplified ref counting Change-Id: I92c5c75f48d92e0e28812c56de00102399fc02ee
* Fix image layer codepathNicolas Roard2011-11-301-2/+10
| | | | | | | | | | | | | | - asynchronous loading - support for tiled content using TiledTexture - fix repaint/duplication bugs - share same textures as layers - disambiguate between images by computing a CRC code - added better debugging in TilesManager/ClassTracker to track memory usage bug:5661120 bug:5572134 bug:5521718 Change-Id: Id422fb991d6233bbe4dc6e5c3c7409468b7dca98
* synchronous layer updates, and animation deferral during paintChris Craik2011-11-161-6/+0
| | | | | | | | bug:5522081 bug:5239801 bug:5297563 Change-Id: I600f66999e093f720a8ea97ef3e15d3d1d297a8f
* Prioritize ugly tiles only when scrollingChris Craik2011-09-231-6/+13
| | | | | bug:5365139 Change-Id: Iad181cd1a6f1c9b30f3ac64527c84036bd57ac2c
* Prefetch browser content with tiled pageChris Craik2011-09-211-0/+4
| | | | | | | | | | | | 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-17/+15
| | | | | | | | | | | | | | | 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
* Enable double buffering via base tilesChris Craik2011-09-021-15/+21
| | | | | | | | | | | | 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
* Reduce the tiles lookup complexityNicolas Roard2011-08-171-1/+5
| | | | | | bug:5032212 Change-Id: Id3c6ff55de995f1c6b3f9bf36e941f3f499f0bc8
* Fix ANR in webkitNicolas Roard2011-08-081-2/+8
| | | | | bug:5128336 Change-Id: I591882eb9bd96a04fd34299a8bf76d35a9462d94
* Fixes layers painting crashesNicolas Roard2011-08-041-1/+5
| | | | | | bug:5097230 bug:5045149 Change-Id: I20fcae13e7f617658447c02bd51dc83d2914922e
* Implements tiled layers. We remove all the existing code in LayerAndroidNicolas Roard2011-07-141-0/+4
| | | | | | | | | | | 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/+81
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