summaryrefslogtreecommitdiffstats
path: root/Source/WebCore/platform
Commit message (Collapse)AuthorAgeFilesLines
* 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
* | | am d76089f2: Merge "Prevent race condition in tile texture discard" into ics-mr0Chris Craik2011-10-175-16/+24
|\ \ \ | |/ / | | | | | | | | | * commit 'd76089f28a901fd7694a3574f0c8036febdb1103': Prevent race condition in tile texture discard
| * | Merge "Prevent race condition in tile texture discard" into ics-mr0Chris Craik2011-10-175-16/+24
| |\ \
| | * | Prevent race condition in tile texture discardChris Craik2011-10-175-16/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bug:5461107 Tiles were being destroyed, and subsequently dereferenced in TransferQueue Change-Id: I4fea289e5fda03a69f07554f57120c4c5bf7b016
* | | | am e8798411: Don\'t paint/allocate off screen tilesChris Craik2011-10-172-8/+10
|\ \ \ \ | |/ / / | | | / | |_|/ |/| | * commit 'e87984118d573b7e6eea5547eaa43ea98bbf5447': Don't paint/allocate off screen tiles
| * | Don't paint/allocate off screen tilesChris Craik2011-10-172-8/+10
| |/ | | | | | | | | | | | | | | bug:5320471 Also, reduce prefetch distance Change-Id: I9e677c16b5d0cdc16b87bd820591088ab10ab44b
* | Merge "Reapply CL for "Vertical Writing Mode" support."claireho2011-10-176-18/+64
|\ \
| * | Reapply CL for "Vertical Writing Mode" support.claireho2011-10-176-18/+64
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug 5094208 - Browser does not handle Japanese text in vertical writing mode. This changeset syncs up with Chrome's implementation for vertical text rendering. It 1. Adds fontOrientation and textOrientation to FontPlatformData. 2. Rotates the text in drawGlyphs for vertical writing mode. Here are the changesets for Chrome's vertical writinig mode support: 1. http://trac.webkit.org/changeset/74232 2. http://trac.webkit.org/changeset/80610 3. http://trac.webkit.org/changeset/80654 This CL re-applies reverted CL136684(https://android-git.corp.google.com/g/#/c/136684/). CL136684 was rollbacked because 2 constructors in FontPlatformDataAndroid.cpp did not have the init for fontOrientation and textOrientation. That caused the inconsistent comparison while FontCache.cpp tries to get the cached font and falls into an infinite loop in HashTable.h:656 Change-Id: I45700dcc8c9266e1b5ae8e588205f24825ca4317
* | | Merge "Fix crash in ImageBufferAndroid."Ben Murdoch2011-10-171-4/+2
|\ \ \
| * | | Fix crash in ImageBufferAndroid.Ben Murdoch2011-10-171-4/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In the case that we do not have sufficient free memory to create a copy of a bitmap, we must return an Image wrapping an empty bitmap, rather than null itself. This handling is particular (but not exclusive) to Android, where we cannot pass a null NativeImagePtr like some other platforms do (as we need it to be valid in the BitmapImage constructor). Bug:5409973 Change-Id: I888cf1db73a9176db2a3ea2721ca0e258d9c7773
* | | | am 5dbcb79e: Merge "Fix clipping" into ics-mr0John Reck2011-10-171-9/+3
|\ \ \ \ | | |_|/ | |/| | | | | | | | | | * commit '5dbcb79ed2d4e7a3b7ebdf43b7e0048205d5da1a': Fix clipping
| * | | Merge "Fix clipping" into ics-mr0John Reck2011-10-141-9/+3
| |\ \ \
| | * | | Fix clippingJohn Reck2011-10-141-9/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 5282993 Change-Id: Ia47c420d867d3aaed8a8ea6f91285cb3b634d970
* | | | | am 92738f1e: Merge "Fix layer initialization" into ics-mr0Chris Craik2011-10-172-13/+17
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | * commit '92738f1e982e39a6098acf39fcb5927502ec6b4c': Fix layer initialization
| * | | | Merge "Fix layer initialization" into ics-mr0Chris Craik2011-10-142-13/+17
| |\ \ \ \
| | * | | | Fix layer initializationChris Craik2011-10-142-13/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bug:5452786 Fixed layer initialization to reference its current layer's SkPicture when it's created Change-Id: I4ac33ad6874a982d375859445e2a014ff35d7e12
* | | | | | resolved conflicts for merge of 7eb15a6b to masterNicolas Roard2011-10-176-1/+47
|\ \ \ \ \ \ | |/ / / / / | | | | / / | |_|_|/ / |/| | | | Change-Id: Ibb8a05afcdf79923d8ba105b391fa9dcd2e9deb9
| * | | | Improve performances / fixes some glitchesNicolas Roard2011-10-146-1/+47
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - no layout / bgd color check if no inval on the base layer - throttle the number of ImageTexture uploaded per draw call - disable fast layer position update for now bug:5297559 bug:5421309 bug:5218173 Change-Id: I9ff9867dd3cfc2e0805e378d75ea75667fef8673
| * | | Merge "Double number of tile textures allocated - do not merge" into ics-mr0Chris Craik2011-10-132-2/+4
| |\ \ \
| | * | | Double number of tile textures allocated - do not mergeChris Craik2011-10-132-2/+4
| | |/ / | | | | | | | | | | | | | | | | bug:5452814 Change-Id: Ib13a0f4e5189af0e4928bc376b29610e20eeb4dc
* | | | am 9f5d6eac: Merge "Fix navcache to work with layers for rings" into ics-mr0John Reck2011-10-131-3/+3
|\ \ \ \ | |/ / / | | | | | | | | | | | | * commit '9f5d6eac13414011f6c0e5aac6a921b0bd777a95': Fix navcache to work with layers for rings
| * | | Merge "Fix navcache to work with layers for rings" into ics-mr0John Reck2011-10-131-3/+3
| |\ \ \ | | |/ / | |/| |
| | * | Fix navcache to work with layers for ringsJohn Reck2011-10-131-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | Bug: 5453034 Change-Id: I426aa4ca1b1c253f99c32aaf8cad597c09144af0
* | | | am 530c83c6: Fix crash in BaseTileTextureChris Craik2011-10-135-33/+16
|\ \ \ \ | |/ / / | | | | | | | | | | | | * commit '530c83c6351e05a6939ad0b5bc291da073e77b5b': Fix crash in BaseTileTexture
| * | | Fix crash in BaseTileTextureChris Craik2011-10-135-33/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bug:5453156 simplified m_owner management - ONLY modified on UI thread Previously deferring clear of m_owner, now set immediately since texture thread doesn't use need stale owner info Change-Id: I9b6f7bfd27af44a818d378ff750c0170d8122cfd
* | | | am 834299ee: Merge "Fix crash if a plugin is destroyed before its first ↵Derek Sollenberger2011-10-131-1/+2
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | drawing pass." into ics-mr0 * commit '834299ee1971101446d6f2a422956215b6dd1c06': Fix crash if a plugin is destroyed before its first drawing pass.
| * | | Merge "Fix crash if a plugin is destroyed before its first drawing pass." ↵Derek Sollenberger2011-10-131-1/+2
| |\ \ \ | | |/ / | |/| | | | | | into ics-mr0
| | * | Fix crash if a plugin is destroyed before its first drawing pass.Derek Sollenberger2011-10-131-1/+2
| | | | | | | | | | | | | | | | | | | | bug: 5454889 Change-Id: I34e125d4b6aa5b9c0da7017a975e80761b6183df
* | | | am 9bd21466: Merge "Refactor the image sharing code" into ics-mr0Nicolas Roard2011-10-139-68/+206
|\ \ \ \ | |/ / / | | | / | |_|/ |/| | * commit '9bd214662e776fb18e43d1ad32ce274803ec309a': Refactor the image sharing code
| * | Merge "Refactor the image sharing code" into ics-mr0Nicolas Roard2011-10-139-68/+206
| |\ \ | | |/ | |/|
| | * Refactor the image sharing codeNicolas Roard2011-10-129-68/+206
| | | | | | | | | | | | | | | | | | | | | | | | | | | We add a separate Images Manager, working both in GL and software rendering. bug:5425148 Change-Id: Ib5bc88ad94d49c7f1eb969a716691ac98dc10b77
* | | Merge "Revert "Support "Vertical Writing Mode".""Nicolas Roard2011-10-126-61/+16
|\ \ \
| * | | Revert "Support "Vertical Writing Mode"."John Reck2011-10-126-61/+16
| | | | | | | | | | | | This reverts commit 5403113c5aa5d55a05ea001f562829e907632178