summaryrefslogtreecommitdiffstats
path: root/Source/WebCore/platform/graphics/android/rendering/BaseRenderer.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Fix background tiles drawingChris Craik2012-07-271-1/+3
| | | | | | | | | Bug:6875992 Initialize the InstrumentedPlatformCanvas with the correct background color so that if no painting is done, the background color is returned as the pure color. Change-Id: Ibe928a4e158f0a4302e0996eca88c3e8b1f1b666
* SurfaceBackings are always zoomable once zoomableChris Craik2012-07-191-1/+0
| | | | | | | | | | Previously toggling hasText for the content of the SurfaceBacking was enough to cause it to change scale entirely each time the value was changed. Now the allowZoom flag is sticky to avoid unnecessary full-SurfaceBacking repaints. Additionally, changes from allowZoom true->false will not trigger delay. Change-Id: Ie6a13850f86d21f5a12a184c08b940aa2156ef07
* Use canvas-based pure color checkChris Craik2012-07-191-5/+13
| | | | | | | | Fall back to standard brute-force method. InstrumentedPlatformCanvas from upstream webkit trunk/Source/WebCore/platform/graphics/blackberry/InstrumentedPlatformCanvas.h as of changeset 113390 ( http://trac.webkit.org/changeset/113390 ) Change-Id: I7b3884b8284d896c0948d23b6ec9fe0d2d98a6d5
* Rewrite PictureSet with TURBO!John Reck2012-05-021-20/+4
| | | | | | | | | | | | | | | | | | | | 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
* remove several unneeded variables/parametersChris Craik2012-04-131-1/+1
| | | | Change-Id: I862487e8700a408e9e2f7f4dc7d034674ac454d0
* Reorganize platform/graphics/androidNicolas Roard2012-04-061-0/+165
Change-Id: Idc67155cfa99784dcd931e705336bfa063ecae46