summaryrefslogtreecommitdiffstats
path: root/Source/WebKit/android/jni/PicturePile.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Add src rect ptr null checkChris Craik2012-10-161-1/+1
| | | | | | | | | bug:7339156 Also fix compilation issue for USE_RECORDING_CONTEXT = false, a flag used in debugging. Change-Id: I63924c7551c82a10b0c67cbb44b9b8961551decd
* Determine maxZoomScale from bitmap/text drawingChris Craik2012-10-011-6/+6
| | | | | | bug:7247750 Change-Id: I8238acc2c20942ab2f42936d16a03226909aebcd
* Support partial invals on layersJohn Reck2012-08-171-25/+13
| | | | Change-Id: Iab18e8b5e2f0e37c380c8a15e51255121c3b1966
* Fix PicturePile size adjust pathJohn Reck2012-08-011-7/+23
| | | | Change-Id: I372248211ce83a6c4b2a9369df9804388b7a98ef
* DO NOT MERGE Push everything into an R-TreeJohn Reck2012-07-271-1/+0
| | | | | | Cherry pick from master Change-Id: I0ef32777f33104d440459d9d4d3c0d61f75a11a2
* Perform check for text/content on recording context PicturePilesChris Craik2012-07-191-2/+30
| | | | | | | Only implemented for now when USE_RECORDING_CONTEXT is enabled. Standard SkPicture PicturePile implementation defaults to hasText = hasContent = true. Change-Id: I535b53151963bf8c415e420c1d5a789954e98cbf
* Don't attempt to draw clipped-out picturesJohn Reck2012-07-121-3/+8
| | | | Change-Id: Iaf91d46b448ae49fe2359cfd19694995edec95e5
* Use an R-Tree for operation recordingJohn Reck2012-07-121-3/+3
| | | | Change-Id: I1380ae53139d5f50a25ea5edb61ec8b6818112ca
* Support recording context in PicturePileJohn Reck2012-06-191-48/+88
| | | | Change-Id: I920d4b967542354136b7f0102ec01c3386a3450a
* Add detailed tracing to tile paintingChris Craik2012-06-131-1/+0
| | | | | bug:6653638 Change-Id: I839917feb1803bc1f4ace5aa2367067024a18706
* flicker fixJohn Reck2012-05-151-3/+5
| | | | | | | Bug: 6479523 After a layout, sync the compositing tree *before* doing any drawing Change-Id: I2c314731620be58c044f100ef335087961cbd223
* Fix the matrixJohn Reck2012-05-031-12/+2
| | | | | | | Bug: 6442353 SkNWayCanvas needs to be translated as well or it screws up our clipping Change-Id: Ic8bb64aaa796f5cff58b0fab15062e6c8f5f0d23
* Rewrite PictureSet with TURBO!John Reck2012-05-021-0/+309
This changes how partial invals are done by adding a hybrid mode. What we used to do is generate a SkPicture for the new area. This SkPicture would possibly be larger than the actual inval, depending on various merge rules (more SkPictures == slower to draw a tile) The new code rewrites PictureSet entirely, preserving many of the old rules but cleans up the code and adds the concept of a "PrerenderedInval". This is a partial inval that WebKit has rasterized. By having WebKit produce both a SkPicture and a SkBitmap, we avoid needing to play back the picture and avoid overdrawing. We take this SkBitmap, and simply update the front textures with it. This gives us full partial invals through the entire system without hitting any driver bugs, and with minimal copies. And while the SkPicture may be larger than the inval, the SkBitmap that is rasterized is not - it matches the area webkit has said is dirty. Change-Id: Ieb7ecc9db0d4f679102fda004a43399f9b319ebc