summaryrefslogtreecommitdiffstats
path: root/Source/WebKit/android/jni/PicturePile.h
Commit message (Collapse)AuthorAgeFilesLines
* Determine maxZoomScale from bitmap/text drawingChris Craik2012-10-011-3/+3
| | | | | | bug:7247750 Change-Id: I8238acc2c20942ab2f42936d16a03226909aebcd
* Support partial invals on layersJohn Reck2012-08-171-1/+1
| | | | Change-Id: Iab18e8b5e2f0e37c380c8a15e51255121c3b1966
* Merge "Perform check for text/content on recording context PicturePiles"Chris Craik2012-07-191-0/+6
|\
| * Perform check for text/content on recording context PicturePilesChris Craik2012-07-191-0/+6
| | | | | | | | | | | | | | Only implemented for now when USE_RECORDING_CONTEXT is enabled. Standard SkPicture PicturePile implementation defaults to hasText = hasContent = true. Change-Id: I535b53151963bf8c415e420c1d5a789954e98cbf
* | Support beginTransparentLayerJohn Reck2012-07-191-1/+1
|/ | | | | | | | | | Handle it the same as a save/restore, but split up the SkMatrix handling as beginTransparentLayer does not save the matrix Also, enable RecordingContext by default, as all major known issues should be fixed now. Change-Id: I414556f65d5de704e2ce18e44a87d932b937993b
* Use an R-Tree for operation recordingJohn Reck2012-07-121-3/+3
| | | | Change-Id: I1380ae53139d5f50a25ea5edb61ec8b6818112ca
* Enable RecordingContext by defaultJohn Reck2012-06-251-1/+1
| | | | | | | Performance seems comparable to SkPicture already, and this makes it easier to iterate on fixing some of the problem areas Change-Id: I2e7b6b282e6b53ba2dc68d8a62b3b982f2b5838d
* Support recording context in PicturePileJohn Reck2012-06-191-15/+15
| | | | Change-Id: I920d4b967542354136b7f0102ec01c3386a3450a
* Rewrite PictureSet with TURBO!John Reck2012-05-021-0/+121
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