summaryrefslogtreecommitdiffstats
path: root/Source/WebCore/platform/graphics/android/TiledTexture.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Fixed infinite redraw loop from running out of layer tilesChris Craik2011-10-111-1/+1
| | | | | | | | | | | bug:5349958 Clear a flag when a layer tile can't allocate a texture, and only try and redraw from tile dirtiness if that flag is set. Also, don't ask for redraw if offending tiles are offscreen. Change-Id: Iadb0cb267a9c1f308e5b42a6e0e3b4bc71d18ece
* Double buffering for layersChris Craik2011-10-101-41/+68
| | | | | | | | | | | | | 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
* Enable double buffering via base tilesChris Craik2011-09-021-12/+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
* Implement partial repaint for layers (at the tile level)Nicolas Roard2011-08-171-6/+10
| | | | | | | | Fixes a scheduling problem with layers bug:3392331 bug:5145259 Change-Id: I2ea2c91f2c6d6f5288375cb5ebdaa69819b740be
* Fix missing tilesNicolas Roard2011-08-101-12/+12
| | | | | | bug:5123881 Change-Id: Ia3f5e76bc38f32c756cb4e108fe153dd8e103bf3
* Fix ANR in webkitNicolas Roard2011-08-081-2/+1
| | | | | bug:5128336 Change-Id: I591882eb9bd96a04fd34299a8bf76d35a9462d94
* Fixes layers painting crashesNicolas Roard2011-08-041-2/+18
| | | | | | bug:5097230 bug:5045149 Change-Id: I20fcae13e7f617658447c02bd51dc83d2914922e
* Shared surface textureTeng-Hui Zhu2011-08-021-4/+4
| | | | | | | | | | | Instead of assigning each tile a Surface Texture, now just a normal GL texture. The content from skia bitmap will first drawn into a queue of Surface Textures, at draw time, blit them into each tile's GL texture. Added extra lock to protect the queue operation and Surface Texture operation. bug:5044597 Change-Id: I25f46228b93a3e99526daf52d8bd0d8d8fcc2879
* Implements tiled layers. We remove all the existing code in LayerAndroidNicolas Roard2011-07-141-0/+231
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