summaryrefslogtreecommitdiffstats
path: root/WebCore
Commit message (Collapse)AuthorAgeFilesLines
* Add some debugging functions and some cleanup speeding things in Layers.Nicolas Roard2011-01-275-27/+111
| | | | | | bug:3375416 Change-Id: I92f75d1ae0aca9d8178673d2152e11d2401fd59e
* Merge "Initial pass at a video API for plugins." into honeycombDerek Sollenberger2011-01-266-24/+269
|\
| * Initial pass at a video API for plugins.Derek Sollenberger2011-01-266-24/+269
| | | | | | | | | | bug: 3072603 Change-Id: Ie22d289a93682dfd68cf81f5220d658d45a69d81
* | Merge "Fix the flickering bug. We return any previous textures used by the ↵Nicolas Roard2011-01-264-18/+38
|\ \ | | | | | | | | | layer until we get the new one ready." into honeycomb
| * | Fix the flickering bug. We return any previous textures used by theNicolas Roard2011-01-264-18/+38
| |/ | | | | | | | | | | | | layer until we get the new one ready. bug:3391157 bug:3393571 Change-Id: I81dce23f79be788c3c0bfb0ccfd54d08156dfe3f
* | Merge "Fix hit testing inside layers." into honeycombPatrick Scott2011-01-263-17/+26
|\ \ | |/ |/|
| * Fix hit testing inside layers.Patrick Scott2011-01-263-17/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | Merge "Plugin API to allow for y-axis inversion during rendering." into ↵Derek Sollenberger2011-01-262-0/+12
|\ \ | |/ |/| | | honeycomb
| * Plugin API to allow for y-axis inversion during rendering.Derek Sollenberger2011-01-262-0/+12
| | | | | | | | | | bug: 3393314 Change-Id: I913a6c073fe9ba56c14cdbcaa523b6e5a5af5219
* | Merge "Implement a workaround for the texture corruption" into honeycombNicolas Roard2011-01-255-76/+23
|\ \
| * | Implement a workaround for the texture corruptionNicolas Roard2011-01-255-76/+23
| | | | | | | | | | | | | | | bug:3332441 Change-Id: Ifd5dfa8a5d7718ad754a8a7984b871bb84147f37
* | | Auto fixed element positioning fixTeng-Hui Zhu2011-01-254-35/+18
| | | | | | | | | | | | | | | | | | | | | | | | Webkit is using the transformation to compute the fixed element position. In order to simulate that, we need the Render Layer's position info. bug:3368857 Change-Id: If15c43f76bd528b2e67ac5035c8ba4a0c803e812
* | | Merge "Sync the parent layer's children." into honeycombPatrick Scott2011-01-251-4/+10
|\ \ \ | |_|/ |/| |
| * | Sync the parent layer's children.Patrick Scott2011-01-251-4/+10
| | | | | | | | | | | | | | | | | | | | | | | | Since we are being removed from our parent, our children do not matter. Sync the parent's children to show the right content. Bug: 3353525 Change-Id: Id8ab4d0373d950362caa14d8fc558f753d5a7365
* | | Merge "Fix crash in LayerAndroid::addAnimation" into honeycombBen Murdoch2011-01-251-1/+2
|\ \ \ | |_|/ |/| |
| * | Fix crash in LayerAndroid::addAnimationBen Murdoch2011-01-251-1/+2
| | | | | | | | | | | | | | | | | | | | | Transfer PassRefPtr to RefPtr. Credit to Jason Simmons for the fix. Bug:3385803 Change-Id: Id148923e95d5628a625c87fe093b85dd381e781e
* | | Merge "Merge WebKit at Chromium 9.0.597.83: Trivial merge by git." into ↵Ben Murdoch2011-01-252-17/+29
|\ \ \ | | | | | | | | | | | | honeycomb
| * | | Merge WebKit at Chromium 9.0.597.83: Trivial merge by git.Ben Murdoch2011-01-252-17/+29
| |/ / | | | | | | | | | Change-Id: I027931929980a55d4d5e883f659c116c77dbb2a9
* | | Merge "Use platform bridge to control high usage delta MB." into honeycombShimeng (Simon) Wang2011-01-252-2/+2
|\ \ \ | |/ / |/| |
| * | Use platform bridge to control high usage delta MB.Shimeng (Simon) Wang2011-01-242-2/+2
| |/ | | | | | | | | | | | | This change gives flexibility to change that value in Java side. issue: 3317722 Change-Id: I71a548871783cc604e0daec63e6bbfb26ecc1e1f
* | Fix "jumpy" mode and textfield inputNicolas Roard2011-01-254-15/+26
| | | | | | | | | | | | bug:3382562 bug:3384930 Change-Id: I55b97cacc9c50ae5a0b5dfc39658bb63c8aa9e87
* | Merge "Improve layers repaint mechanism" into honeycombNicolas Roard2011-01-243-13/+41
|\ \
| * | Improve layers repaint mechanismNicolas Roard2011-01-243-13/+41
| |/ | | | | | | | | | | bug:3375416 Change-Id: I9e86736c9f7910765bea739cdd0e04331b98f155
* | Work around for pure virtual layers crash.Ben Murdoch2011-01-244-2/+69
|/ | | | | | | | | | | | | 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
* Remove logsNicolas Roard2011-01-231-2/+0
| | | | | bug:3379585 Change-Id: Ica133d128f940a71afdd44130735eab11e4daf4e
* Implement tiles synchronizationNicolas Roard2011-01-237-10/+95
| | | | | | | | | | When a tiledPage is painted, we want to avoid updating the base layer. GLWebViewState and WebView.cpp are now refcounting the base layer, delaying updating the base layer we use to paint until we are done with a full tile paint. bug:3224744 Change-Id: Ica2b8f1db146a1e059fc0735dc53107fc40da07a
* Video doesn't use a layer as we hand it off to the fullscreen player.Ben Murdoch2011-01-211-3/+4
| | | | | | | Fix null pointer deref. Bug:3364538 Change-Id: Iafeecd81ec422de6e17ec8a0c36c29e4fcf7fc74
* relocate the glFinish to prevent it from needlessly executing.Derek Sollenberger2011-01-201-2/+2
| | | | | bug: 3374501 Change-Id: Idb6836cb8e3919066d77cbcca8b09a6f261dae31
* Merge "Fix deadlock in textures generator" into honeycombNicolas Roard2011-01-201-8/+9
|\
| * Fix deadlock in textures generatorNicolas Roard2011-01-201-8/+9
| | | | | | | | | | bug:3373656 Change-Id: If6428b88a135fe1184e92bf345ddbae349622c94
* | Scroll Dimension need re-computed when size changed.Teng-Hui Zhu2011-01-192-1/+26
| | | | | | | | | | | | | | | | The scroll size will be used for layout and should respect the layer's size change. Otherwise all the position info can be wrong. bug:3362888 Change-Id: I553ba01ca7e5960c7ec706d56710495fc5514db1
* | Merge "Fix "jump" bug" into honeycombNicolas Roard2011-01-191-2/+3
|\ \
| * | Fix "jump" bugNicolas Roard2011-01-191-2/+3
| |/ | | | | | | | | bug:3349970 Change-Id: I7e095c541bc8a106c94c14a70f121ea3b24f06f4
* | Merge "Fix (or partial fix) for 3355185, crash on ↵Russell Brenner2011-01-191-1/+0
|\ \ | | | | | | | | | broken-ideograph-small-caps.html" into honeycomb
| * | Fix (or partial fix) for 3355185, crash on broken-ideograph-small-caps.htmlRussell Brenner2011-01-191-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | Emptied platformDestroy(). It was deleting m_smallCapsFontData, but not setting it to 0. The caller, ~SimpleFontData(), then went on to use the deleted pointer and delete it again. This was changed for other platforms with http://trac.webkit.org/changeset/71975. Change-Id: Ie67f91559479a17519db7793c7349eb013235320
* | | don't draw buttons while they are createdCary Clark2011-01-192-3/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There are three threads all hammering at the same resource. The WebViewCore thread records the buttons on the page. The WebView thread rerecords the button pictures to show selection and focus. The GLWebViewState thread draws the picture containing the button pictures into the tile. Prevent drawing the picture while the buttons are recorded by sharing the button mutext with the GL tile creation. bug:3354678 Change-Id: I245ed47ad5a6d1fe28ea870bd7c557937eed1164
* | | Fix some sites not responding.Patrick Scott2011-01-183-32/+39
| |/ |/| | | | | | | | | | | | | | | | | | | | | Enter compositing for iframes after all layout tasks have completed. Remember the state of overflow scroll similar to RenderLayer so that it doesn't change while updating the compositing state. Return false in requiresAcceleratedCompositing if the iframe is hidden. I verified that this fails on Safari and have submitted a bug. Bug: 3325187 Change-Id: I20a9e1a595d14518f4c7a3e01fc1c4fa9035262c
* | Merge "Implement partial layer rendering (support for large layers) Also fix ↵Nicolas Roard2011-01-1812-45/+114
|\ \ | | | | | | | | | a couple of potential ANRs" into honeycomb
| * | Implement partial layer rendering (support for large layers)Nicolas Roard2011-01-1812-45/+114
| | | | | | | | | | | | | | | | | | | | | | | | Also fix a couple of potential ANRs bug:3333984 Change-Id: I28c02ef74f4c70507fcd7f5bbc893b0d0eae61c0
* | | Merge "Set the local flag when compositing a fixed element." into honeycombPatrick Scott2011-01-181-5/+4
|\ \ \ | |/ / |/| |
| * | Set the local flag when compositing a fixed element.Patrick Scott2011-01-181-5/+4
| |/ | | | | | | | | | | This fixes an assert and ensures that the compositor is in the correct state. Change-Id: I7556ed998821bf2e09d89b79935e876869a584c6
* | Implement re-scaling for layersNicolas Roard2011-01-1711-84/+272
|/ | | | | | Change-Id: I1f998387831207d00f27945ee4e456f81ff6f6e2 Change-Id: I7efcccfd9a4374061300058d4c48fa82a973829a
* Merge WebKit at Chromium 9.0.597.69: Trivial merge by Git.Ben Murdoch2011-01-1636-204/+366
| | | | | | http://svn.webkit.org/repository/webkit/branches/chromium/597/WebCore@75681 Change-Id: Ibe552cf7af31f74b81e337eadf3d3b73a53daf60
* Merge "b/3133123 Pass touch point ids to WebKit" into honeycombHuahui Wu2011-01-132-3/+6
|\
| * b/3133123 Pass touch point ids to WebKitHuahui Wu2011-01-132-3/+6
| | | | | | | | | | | | | | | | | | This is the CL in WebKit side and it needs the framwork CL: https://android-git.corp.google.com/g/#change,89630 Notice some changes touch open source WebKit's code, so b/3351313 is filed to keep track of that. Change-Id: I0ac5d75c4a90f14afeb2e3fc2dc5b1c437c631f8
* | Merge changes Ie254e13d,I47261f19,Ifc05a776 into honeycombTeng-Hui Zhu2011-01-136-20/+20
|\ \ | | | | | | | | | | | | | | | | | | * changes: More debug info for each layer Revert a WAR. Code clean up.
| * | More debug info for each layerTeng-Hui Zhu2011-01-131-1/+16
| | | | | | | | | | | | | | | | | | The matrix info can help to determine the layer positioning issue. Change-Id: Ie254e13d649c6a3aab820e8fe9553517ca42be72
| * | Revert a WAR.Teng-Hui Zhu2011-01-133-14/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Revert a WAR for issue 3215000. https://android-git.corp.google.com/g/#change,81012 With the current fix, this WAR is not necessary. b:3215000 Change-Id: I47261f19fbd87864d6b41edfbdb50be1fbbfccc7
| * | Code clean up.Teng-Hui Zhu2011-01-133-5/+4
| | | | | | | | | | | | | | | | | | There should be no functionality change. Change-Id: Ifc05a776ebb0a2a00b3aff194e138847ed1201cf
* | | Merge "Second try to send multi-touch events to Flash" into honeycombHuahui Wu2011-01-131-15/+31
|\ \ \ | | |/ | |/|