summaryrefslogtreecommitdiffstats
path: root/Source/WebCore/platform
Commit message (Collapse)AuthorAgeFilesLines
* compiler error fix when DEBUG is onTeng-Hui Zhu2011-11-024-7/+6
| | | | Change-Id: I6fbaa9dfe50752fa5ec95cd43ed50306b63270f3
* am c5d840ba: Merge "Fix plugin rendering bug when video surface is not ↵Derek Sollenberger2011-10-281-1/+1
|\ | | | | | | | | | | | | ready." into ics-mr1 * commit 'c5d840baeea0b171c64e9746942d95e95a7f7769': Fix plugin rendering bug when video surface is not ready.
| * Merge "Fix plugin rendering bug when video surface is not ready." into ics-mr1Derek Sollenberger2011-10-281-1/+1
| |\
| | * Fix plugin rendering bug when video surface is not ready.Derek Sollenberger2011-10-281-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The browser incorrectly jumps out of the compositing step for a plugin early if it detects a video surface is not ready. The correct behavior is to skip rendering the video and proceed to rendering the other plugin contents. bug: 5525272 Change-Id: Id838f6cef4913e817f58bf2b7e17d871f9f0250e
* | | am 3b9a114e: Merge "Don\'t discardQueue if the upload type didn\'t change" ↵John Reck2011-10-281-0/+3
|\ \ \ | |/ / | | | | | | | | | | | | | | | into ics-mr1 * commit '3b9a114e4f6b7f2510ca2df9a2ee569bc1dee857': Don't discardQueue if the upload type didn't change
| * | Merge "Don't discardQueue if the upload type didn't change" into ics-mr1John Reck2011-10-281-0/+3
| |\ \ | | |/ | |/|
| | * Don't discardQueue if the upload type didn't changeJohn Reck2011-10-271-0/+3
| | | | | | | | | | | | | | | | | | Bug: 5529012 Change-Id: I0b57c4cf9d295524f675f2cb7504d5a9c0363871
* | | Fix debug buildSteve Block2011-10-281-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - FrameLoaderClientAndroid::dispatchDidClearWindowObjectInWorld() FrameLoader::url() was removed in http://trac.webkit.org/changeset/76872. We should use Document::url() instead. - ImageBufferAndroid See http://trac.webkit.org/changeset/77286 and http://trac.webkit.org/changeset/77398 - Add PluginDebug.cpp to build - ChromiumIncludes.h Don't build Chromium code without NDEBUG set - Frame.cpp We should not include WebKit files from WebCore. WebViewCore.h introduces problems due to the change to ChromiumIncludes.h and is not required here. Bug: 5448972 Change-Id: I82c5c95591bf01fb65179282d03f865df4255c89
* | | am 0b8560de: Add missing save/restore calls to GraphicsContext::fillRectBen Murdoch2011-10-271-0/+4
|\ \ \ | |/ / | | | | | | | | | * commit '0b8560dee52ce9d55cda03caa5f2a3e733b55ba3': Add missing save/restore calls to GraphicsContext::fillRect
| * | Add missing save/restore calls to GraphicsContext::fillRectBen Murdoch2011-10-271-0/+4
| |/ | | | | | | | | | | | | | | | | Android is missing some calls to GraphicsContext::save/restore inside our GraphicsContext::fillRect implementations. The calls were added to the Skia GraphicsContext in http://trac.webkit.org/changeset/63102 Bug: 5361502 Change-Id: Ifcbc116d997473e3a184561102dc5cb74f5aa5ec
| * Merge "DO NOT MERGE Fix SW extras for layers" into ics-mr1John Reck2011-10-2513-85/+0
| |\
| | * DO NOT MERGE Fix SW extras for layersJohn Reck2011-10-2513-85/+0
| | | | | | | | | | | | | | | | | | | | | Bug: 5507239 Also remove all the old, unused layer setExtras stuff Change-Id: Id1670010536712b7a9f50e74821c9fb7f708e851
* | | Merge "Added Y positions for complex script rendering."claireho2011-10-261-22/+24
|\ \ \
| * | | Added Y positions for complex script rendering.claireho2011-10-211-22/+24
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | Bug 5445861: Some Thai accents are misplaced in browser TextRunWalker only gets the x positions from Hrafbuzz but no Y positions. This CL applied the changes http://trac.webkit.org/changeset/85013/ to pass both x and y positions from harfbuzz to skia. Change-Id: Ibb23d61eb58c2e687c7ea7773d2266d68ce9ab97
* | | am c43f9396: Merge "Don\'t draw prefetch page if not necessary" into ics-mr1Chris Craik2011-10-264-23/+33
|\ \ \ | | |/ | |/| | | | | | | * commit 'c43f9396708d95ecbce1f4ef65530999fab96c0d': Don't draw prefetch page if not necessary
| * | Merge "Don't draw prefetch page if not necessary" into ics-mr1Chris Craik2011-10-254-23/+33
| |\ \
| | * | Don't draw prefetch page if not necessaryChris Craik2011-10-254-23/+33
| | |/ | | | | | | | | | | | | | | | | | | | | | bug:5494086 Also only try to draw visible tiles. Change-Id: Ic850afab94309d9d4d031600a40dc889298fef24
| * | Take scale into account when greedily prefetching an entire layerChris Craik2011-10-251-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bug:5509149 Scale wasn't being taken into account when estimating layer tile consumption, so zooming in on layer content could attempt to fetch and draw hundreds of layers per tile, causing lots of missing content. Change-Id: Ib26e203827ad93be12d29561b9d8094cb712f014
| * | SwapLayersTextures on all layer changesChris Craik2011-10-251-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | bug:5507262 This restores behavior, and allows a single setBaseLayer to set content (such as is used in browser saved pages). Change-Id: Ifeda068ce5c22275553d0e1ec99ee74647806a6c
| * | Mark layers as ready to swap if invisibleChris Craik2011-10-251-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | bug:5505364 This avoids the problem of waiting infinitely during initialization (when a layer doesn't have content) for the layer to be ready. Change-Id: I364eff66616ea304a68976d5ad06ce5fdb1a6d4b
| * | Remove unnecessary logNicolas Roard2011-10-251-1/+1
| |/ | | | | | | | | | | | | CL https://android-git.corp.google.com/g/#/c/144158/ introduced a debug log that we don't need, spamming logcat Change-Id: Iea8a1784153dd9f6f53e67f7cb62504440344c7c
* | Rename LOGV(_IF) to ALOGV(_IF) DO NOT MERGESteve Block2011-10-254-19/+19
| | | | | | | | | | | | | | See https://android-git.corp.google.com/g/#/c/143865 Bug: 5449033 Change-Id: I821098330652380686aca9e83222936bd5678970
* | am 0d4258e7: Merge "Take scale into account when greedily prefetching an ↵Chris Craik2011-10-241-2/+2
|\ \ | | | | | | | | | | | | | | | | | | entire layer" into ics-mr0 * commit '0d4258e78caa860491a4c9e6965e574dabc3ec63': Take scale into account when greedily prefetching an entire layer
| * \ Merge "Take scale into account when greedily prefetching an entire layer" ↵Chris Craik2011-10-241-2/+2
| |\ \ | | | | | | | | | | | | into ics-mr0
| | * | Take scale into account when greedily prefetching an entire layerChris Craik2011-10-241-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bug:5509149 Scale wasn't being taken into account when estimating layer tile consumption, so zooming in on layer content could attempt to fetch and draw hundreds of layers per tile, causing lots of missing content. Change-Id: Ib26e203827ad93be12d29561b9d8094cb712f014
* | | | am bee2599e: SwapLayersTextures on all layer changesChris Craik2011-10-241-2/+1
|\ \ \ \ | |/ / / | | | | | | | | | | | | * commit 'bee2599ec82af8aaf47491b6aea4ee07a377c81a': SwapLayersTextures on all layer changes
| * | | SwapLayersTextures on all layer changesChris Craik2011-10-241-2/+1
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | bug:5507262 This restores behavior, and allows a single setBaseLayer to set content (such as is used in browser saved pages). Change-Id: Ifeda068ce5c22275553d0e1ec99ee74647806a6c
* | | am a4adfec4: Merge "Mark layers as ready to swap if invisible" into ics-mr0Chris Craik2011-10-241-1/+1
|\ \ \ | |/ / | | | | | | | | | * commit 'a4adfec4837fe35c27bbee2963cbc105dbce38ff': Mark layers as ready to swap if invisible
| * | Merge "Mark layers as ready to swap if invisible" into ics-mr0Chris Craik2011-10-241-1/+1
| |\ \
| | * | Mark layers as ready to swap if invisibleChris Craik2011-10-241-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bug:5505364 This avoids the problem of waiting infinitely during initialization (when a layer doesn't have content) for the layer to be ready. Change-Id: I364eff66616ea304a68976d5ad06ce5fdb1a6d4b
* | | | Merge "Fix SW extras for layers"John Reck2011-10-2413-85/+0
|\ \ \ \
| * | | | Fix SW extras for layersJohn Reck2011-10-2413-85/+0
| | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | Bug: 5507239 Also remove all the old, unused layer setExtras stuff Change-Id: I6b319192fac4c8ce0995bc7883f64fc482beff05
* | | | am d436d4c3: Merge "Remove unnecessary log" into ics-mr0Bart Sears2011-10-241-1/+1
|\ \ \ \ | |/ / / |/| / / | |/ / | | | * commit 'd436d4c3e6b088f1fcae26dc4835e28065f017a8': Remove unnecessary log
| * | Remove unnecessary logNicolas Roard2011-10-231-1/+1
| |/ | | | | | | | | | | | | CL https://android-git.corp.google.com/g/#/c/144158/ introduced a debug log that we don't need, spamming logcat Change-Id: Iea8a1784153dd9f6f53e67f7cb62504440344c7c
* | am 6032fa42: Merge "Implement dual textures for layers to handle zooming ↵Nicolas Roard2011-10-208-41/+175
|\ \ | |/ | | | | | | | | | | correctly." into ics-mr0 * commit '6032fa428d725097ea29fc85fc1b2c965094772b': Implement dual textures for layers to handle zooming correctly.
| * Merge "Implement dual textures for layers to handle zooming correctly." into ↵Nicolas Roard2011-10-208-41/+175
| |\ | | | | | | | | | ics-mr0
| | * Implement dual textures for layers to handle zooming correctly.Nicolas Roard2011-10-208-41/+175
| | | | | | | | | | | | | | | | | | | | | | | | | | | We add a new class, DualTiledTexture, that encapsulate two TiledTextures and manage them according to the current scale factor. bug:5492874 Change-Id: I4ba3ff539f9242ae5102189e9623e1535e9cc28f
* | | am 458b4b11: Mark tiles dirty, even if repaintingChris Craik2011-10-201-3/+4
|\ \ \ | |/ / | | | | | | | | | * commit '458b4b11924c3bcc70dcdd3d69f64a855870e72d': Mark tiles dirty, even if repainting
| * | Mark tiles dirty, even if repaintingChris Craik2011-10-201-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | bug:5484131 The current repainting tile could avoid being painted with the newest picture if it was repainting, since markAsDirty wouldn't change its state Change-Id: I4f3de909984d1ceb872bf294a1da211ad87c9bcc
* | | am 81fab713: Merge "Mark tiles dirty when discarded from transfer queue" ↵Chris Craik2011-10-191-1/+6
|\ \ \ | |/ / | | | | | | | | | | | | | | | into ics-mr0 * commit '81fab713750af480b451fbd9926b7d76b7017551': Mark tiles dirty when discarded from transfer queue
| * | Merge "Mark tiles dirty when discarded from transfer queue" into ics-mr0Chris Craik2011-10-191-1/+6
| |\ \
| | * | Mark tiles dirty when discarded from transfer queueChris Craik2011-10-191-1/+6
| | |/ | | | | | | | | | | | | | | | | | | | | | | | | bug:5409902 Tiles weren't always marked dirty, and could get out of the transfer queue without being marked dirty. Change-Id: Ia0fe71f00f61d7aede8ca7bc4a389ac417906d36
* | | am 1fa411c7: fix layer updates dropping invalsChris Craik2011-10-192-52/+53
|\ \ \ | |/ / | | | | | | | | | * commit '1fa411c75dc305a99ec524101550a7f297402362': fix layer updates dropping invals
| * | fix layer updates dropping invalsChris Craik2011-10-192-52/+53
| |/ | | | | | | | | | | | | | | | | | | bug:5473272 Layer inval regions were being dropped, since calling setBaseLayer multiple times in between drawGL() calls wouldn't call swapLayersTextures() on a layer tree, and the invals in it were lost. Change-Id: I36ebd419151613161a9a4fee858b9e97e83e61fd
* | am 8cc0fa17: Re-enable animations on the UI threadNicolas Roard2011-10-184-76/+56
|\ \ | |/ | | | | | | * commit '8cc0fa17a42ae1dec75fe8ab00d5baa75e46499e': Re-enable animations on the UI thread
| * Re-enable animations on the UI threadNicolas Roard2011-10-184-76/+56
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Using webkit to compute animations is still slow in some cases. When animating large elements, we seems to sometimes bogs the GPU, which then makes the UI takes longer to render a frame. This in turn slow the rate at which we can call into webkit (to update the position of the animated layers), which results in perceived stuttering. We previously had an implementation of CSS animations that could run fully on the UI thread, without having to call back into webkit. We turned it off because there was still some glitches, and calling into webkit seemed to work well enough -- but as we can see, even if that's the case in general, edge cases still benefit from running the animations outside of webkit. The CL fixes the remaining glitches we had (mostly, it was the non support of fillMode) and re-enable our CSS animations implementation. bug:5297559 Change-Id: I1f00bc060a76c9dfd55bd6d8ae85d5d6da68ddb5
* | Merge "Changed VerticalTextMap class to meet webkit coding style."claireho2011-10-183-21/+16
|\ \
| * | Changed VerticalTextMap class to meet webkit coding style.claireho2011-10-183-21/+16
| | | | | | | | | | | | | | | | | | | | | | | | Bug 5094208 : VerticalWring mode support for Books Japan. Changed VerticalTextMap class to meet webkit coding style for https://android-git.corp.google.com/g/#/c/141357/. Change-Id: Ifce9968702b7ebe6d7a7da563645ec7d5e639438
* | | am a6d06cef: Be less aggressive with clippings layers tilesNicolas Roard2011-10-181-0/+12
|\ \ \ | | |/ | |/| | | | | | | * commit 'a6d06cef38891b6e39dcbc455f7692f000309ba5': Be less aggressive with clippings layers tiles
| * | Be less aggressive with clippings layers tilesNicolas Roard2011-10-181-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | This also improves performances a bit when animating small layers. bug:5472082 bug:5297559 Change-Id: I0b9fa0a9abf98ab53928f97f53c3134056b15889