summaryrefslogtreecommitdiffstats
path: root/Source/WebCore/platform/graphics/android/LayerAndroid.h
Commit message (Collapse)AuthorAgeFilesLines
* Fix SW extras for layersJohn Reck2011-10-241-3/+0
| | | | | | | Bug: 5507239 Also remove all the old, unused layer setExtras stuff Change-Id: I6b319192fac4c8ce0995bc7883f64fc482beff05
* Fix scrolling offset of ScrollableLayer when we touch them.Nicolas Roard2011-10-071-1/+1
| | | | | | | | | | | With the new direct update, we are setting directly the layers position; but for ScrollableLayer, we already set their position in the UI, so for them their webkit counterpart is actually older/wrong. The fix consists simply in not updating the positioning of ScrollableLayer. bug:5421867 Change-Id: Ia14e41aff641173a45ed898cd3b3eceab3f7bd7a
* Merge "Streamline the layers update codepath. Directly update the layers ↵Nicolas Roard2011-10-051-0/+6
|\ | | | | | | transform and position. This makes updates faster and less dependent on other webkit work."
| * Streamline the layers update codepath.Nicolas Roard2011-10-041-0/+6
| | | | | | | | | | | | | | | | | | | | | | Directly update the layers transform and position. This makes updates faster and less dependent on other webkit work. counterpart java CL: https://android-git.corp.google.com/g/#/c/139853/ bug:5218173 Change-Id: I03a76ab853e81f0f12177fb785707ffb8dace330
* | Remove m_contentsImage usageJohn Reck2011-10-041-4/+5
|/ | | | | | Bug: 5410522 Change-Id: Id8457715665dbd51761900011beba57b7f634fff
* Add debug informations to keep better track of layers allocationNicolas Roard2011-09-291-1/+6
| | | | | | | | | Fix coherency issue in ClassTracker (it's accessed from two different threads and we were not locking the datastructure) bug:5366807 Change-Id: I7dbd4417a49f4b3af3e09d614cec6b4568b09f7a
* Fix a memory leak with LayerAndroidNicolas Roard2011-09-291-1/+4
| | | | | | | (we had a cycle between LayerAndroid and PaintedSurface) bug:5366807 Change-Id: I1b7341984b3cc6fd998b9ab54205bb963eb9223d
* Merge "Add shared images for layers"Nicolas Roard2011-09-261-4/+7
|\
| * Add shared images for layersNicolas Roard2011-09-261-4/+7
| | | | | | | | | | | | bug:5242595 bug:5218173 Change-Id: I37d395e85441671312aac3e236cc8276019aa990
* | Fix find-in-page to scroll scrollable layersSteve Block2011-09-221-1/+0
| | | | | | | | | | | | | | | | | | | | This requires the addition of the following methods ... - Layer::contentIsScrollable() - Layer::localToParent() - ScrollableLayerAndroid::scrollRectIntoView() Bug: 5262656 Change-Id: I2f1cf3342f73890f98a172f1b4e3f440c02dd9f4
* | Clean up style and add some comments in LayerSteve Block2011-09-211-1/+1
|/ | | | | | | | | This is preparation for https://android-git.corp.google.com/g/#/c/134488/4 Refactoring only, no functional change. Bug: 5262656 Change-Id: I44e362cf35fc5080f7d9fba34183188d3a2a6331
* Merge changes Ifb6cc64e,I4d819cc5Steve Block2011-09-191-3/+8
|\ | | | | | | | | | | * changes: Simplify logic in ScrollableLayerAndroid::scrollTo() Fixes style and adds some comments to layers code
| * Fixes style and adds some comments to layers codeSteve Block2011-09-191-3/+8
| | | | | | | | | | | | | | | | Also removes FrameCachePermission::AllowNewest. This should have been removed as part of https://android-git.corp.google.com/g/#/c/2712. Bug: 5262656 Change-Id: I4d819cc5087653e4a1180d04ca0b5b20db7e2305
* | Prepare tiles in reverse draw orderChris Craik2011-09-191-0/+6
|/ | | | | | | | | bug:5335634 By preparing tiles in the reverse of draw order, tiles on top are given textures first and less likely to be missing. Change-Id: Idafde3e0789e24459bba2db150081969810a0021
* Fudge layer translation to always line up with view pixelsChris Craik2011-09-111-3/+2
| | | | | | bug:3367478 Change-Id: I37632de8503b0f3eba0a183a156d71ea48bdba98
* Implement partial repaint for layers (at the tile level)Nicolas Roard2011-08-171-0/+9
| | | | | | | | Fixes a scheduling problem with layers bug:3392331 bug:5145259 Change-Id: I2ea2c91f2c6d6f5288375cb5ebdaa69819b740be
* Fix crash issue with drawingNicolas Roard2011-08-111-1/+2
| | | | | | | retain layers as needed bug:4177062 Change-Id: Ifd8d493c8ed3b13eedece260136be873f6701fed
* Add some debugging functions to LayerAndroidNicolas Roard2011-07-201-0/+5
| | | | Change-Id: I03922d9788d340ab208677b272470312c92a80ee
* Implements tiled layers. We remove all the existing code in LayerAndroidNicolas Roard2011-07-141-40/+18
| | | | | | | | | | | 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
* Modified tile reclamation heuristic for multi-webview displayChris Craik2011-07-011-0/+1
| | | | | | | | | | | When tiles are reclaimed, they are now taken first from webviews that haven't been drawn in a while. Previously they were taken from any other webview - which may have been one still being displayed if multiple are onscreen. bug:4049143 partially solved (still not enough graphics memory allocated for tiles on tablet devices) Change-Id: Id400ea28e92ba805120c8353881834157fefa483
* Refactoring: Moved 'SkLayer' to 'Layer' class in webkitChris Craik2011-06-301-3/+3
| | | | Change-Id: Ie1c24e5e402c539e0359810cfdf872178fa083c1
* Cleanup Skia related rendering code for raster rendering.Derek Sollenberger2011-06-281-2/+2
| | | | | | | | | | | | | | In the existing code we created a sharedBitmap for BaseTiles and never used it instead opting for createing bitmaps on the stack to enable partial invalidation. This CL removes the sharedBitmap concept and instead creates all bitmaps on the stack. This means that BackedDoubleBufferedTexture no longer needs to have a bitmap member, but instead simply takes the bitmap from the caller and uploads it to the appropriate texture. To make this upload clean we now pass the bitmap via const references instead of pointers. Change-Id: Ie218c4b4564e5574ca6e404d4857904ab41a3a5c
* Serialize LayerAndroidJohn Reck2011-06-071-6/+24
| | | | | | | For now skip other layer types Doesn't support animtations Change-Id: Id1ff75f3d4d213f56561fc5d9c01f7ffee05cc79
* Merge WebKit at r75315: Move Android-specific WebCore files to SourceSteve Block2011-05-121-0/+384
This moves files in the following WebCore subdirectories ... - bindings/js - bindings/v8/custom - plugins/android - platform/android - platform/graphics/android - page/ - css/ - dom/ - loader/archive/android