summaryrefslogtreecommitdiffstats
path: root/Source/WebKit/android/jni/WebCoreViewBridge.h
Commit message (Collapse)AuthorAgeFilesLines
* Rewrite PictureSet with TURBO!John Reck2012-05-021-1/+1
| | | | | | | | | | | | | | | | | | | | 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
* Set appropriate initial viewport bounds.Shimeng (Simon) Wang2011-06-151-1/+8
| | | | | | | | This fixes lots of cases where various legal/license dialog show empty content. issue: 4501857 Change-Id: I113b1b43ec1b2f17fad4bf9fbf6aa17f8b10240c
* Fix some include guards in Android filesSteve Block2011-06-081-3/+3
| | | | | | | | | This will become relevant after we merge beyond http://trac.webkit.org/changeset/81977 (and its follow-up build fixes r81982, r81988, r81990, r82018) which relies on all platforms' instances of FontPlatformData.h using the correct include guard. Change-Id: I58ec4c8ee23698c41d86794333d603b95f303764
* Merge WebKit at r75993: Move WebKit/android files to SourceBen Murdoch2011-05-161-0/+106
Change-Id: Ifa871f8320bdb3a09fe189fffecc23f702c394b9