summaryrefslogtreecommitdiffstats
path: root/WebCore/platform/graphics/android/TextureOwner.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Revert "Work around for pure virtual layers crash."Ben Murdoch2011-02-181-57/+0
| | | | | | | | | This reverts commit 2879037f2d6c595b8c16e992462ce5ca60d8fdba. Revert the original work around as the underlying problem is fixed with I2747dd4630a2a7dc18eae4c5fde36fd14c461747 Change-Id: Ibc1e997bca2aadc27527b6980de38603e6971770
* Fix hit testing inside layers.Patrick Scott2011-01-261-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | A new webkit merge added a couple methods to ClipRects that were not copying the hit test rect. This make the clip rect empty during hit testing which was clipping out all nodes in scrollable layers. When tracking a layer, use the foreground layer if present as it will contain the right nodes. When looking for a scrollable layer, traverse the children in reverse drawing order to find the top-most visible layer. This allows orkut.com to scroll. Remove a couple of casts and headers. Use relaxAdoptionRequirement() to avoid a RefCounted assert. Swap the texture owner hash set during deletion as release can modify the iterator concurrently. Update the scrollbars (even though we don't have any) when scrolling a layer to keep the scroll position of the scrollbar in sync with the layer. Rewrite a little bit of PluginPackageAndroid. m_module may be non-null during load. If it is null, load the library and store it in m_module. Follow the regular path assuming m_module is not null. Bug: 3373179 Change-Id: If07ec9735b30c1e98e363667378a8d253a841a45
* Work around for pure virtual layers crash.Ben Murdoch2011-01-241-0/+54
TextureOwner can be left still owning a texture when we come to delete that TextureOwner. Then later the texture it still owns tries to access it's owner and we crash. Work around by explicity releasing any owned textures when we delete the texture owner. Bug:3367855 Change-Id: I38877b7088d27f51d98cfd182d937fe5cb3b9f8d