summaryrefslogtreecommitdiffstats
path: root/Source/WebCore/platform/graphics
Commit message (Collapse)AuthorAgeFilesLines
* 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
* | | | am 5ed31e7b: Merge "Ensure the frame inversion flag is immediately ↵Derek Sollenberger2011-10-124-5/+20
|\ \ \ \ | | |/ / | |/| | | | | | | | | | | | | | | | | | effective." into ics-mr0 * commit '5ed31e7bc52e99103e4da5755d944f9ca98305b3': Ensure the frame inversion flag is immediately effective.
| * | | Ensure the frame inversion flag is immediately effective.Derek Sollenberger2011-10-124-5/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously the frame inversion state was passed to the UI thread when the layer tree was synced. This CL removes that restriction and updates it immediately by storing the state in a cross thread refcounted object. bug: 5283034 Change-Id: I58a7ea0f2ed261008b945241bc783cfee4f33466
| * | | Merge "Revert crash on bad scale - do not merge" into ics-mr0Chris Craik2011-10-111-3/+1
| |\ \ \ | | |_|/ | |/| |
| | * | Revert crash on bad scale - do not mergeChris Craik2011-10-111-3/+1
| | | | | | | | | | | | | | | | | | | | bug:5367327 Change-Id: I94589e007f9669fa1b43ab5cee42bfa44d9e503c
* | | | Merge "Fallback handle if vertical glyphs are missing."claireho2011-10-123-3/+215
|\ \ \ \
| * | | | Fallback handle if vertical glyphs are missing.claireho2011-10-113-3/+215
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug 5094208 : browser VerticalWritingMode support. Some punctuation has to change its glyph in vertical writing mode. For example, dash in vertical text is a vertical bar. In current Android system fonts and fallback fonts, none of them have the substitute tables for vertical writing mode. We call a conversion function that converts the punctuation to the Unicode Vertical Form (0xFE10 - 0xFE19) or to the closest glyphs as alternative when vertical substitute tables are absent in fonts. Otherwise, we use Harfbuzz to do the vertical glyph shapping. Change-Id: If1d31bb72aaaba45ed50bbb75d6246cfa30e3428
* | | | | am 14492673: Merge "Fixed infinite redraw loop from running out of layer ↵Chris Craik2011-10-114-7/+20
|\ \ \ \ \ | | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | tiles" into ics-mr0 * commit '144926737b2b4e6f76f5c6347db3093b8a483e21': Fixed infinite redraw loop from running out of layer tiles
| * | | | Merge "Fixed infinite redraw loop from running out of layer tiles" into ics-mr0Chris Craik2011-10-114-7/+20
| |\ \ \ \
| | * | | | Fixed infinite redraw loop from running out of layer tilesChris Craik2011-10-114-7/+20
| | | |/ / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bug:5349958 Clear a flag when a layer tile can't allocate a texture, and only try and redraw from tile dirtiness if that flag is set. Also, don't ask for redraw if offending tiles are offscreen. Change-Id: Iadb0cb267a9c1f308e5b42a6e0e3b4bc71d18ece
* | | | | am 46f244f2: Merge "Mark tiles discarded by TransferQueue as dirty" into ics-mr0Chris Craik2011-10-117-32/+63
|\ \ \ \ \ | |/ / / / | | | / / | |_|/ / |/| | | * commit '46f244f2351cbaa1a251d79605ed6d7e21d1d53f': Mark tiles discarded by TransferQueue as dirty
| * | | Mark tiles discarded by TransferQueue as dirtyChris Craik2011-10-117-32/+63
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bug:5409902 Tiles were being discarded from the queue (and simply unsuccessfully added). This caused them to get stuck in the 'ValidatedUntransferred' state. Now if a tile isn't added successfully, or if it's discarded, it removes its painting texture and will have to repaint from scratch. Change-Id: I551e00fb8a6be3b0f3cabeabaa91e8b8b30019d5
* | | Merge "Support "Vertical Writing Mode"."claireho2011-10-116-16/+61
|\ \ \ | |/ / |/| / | |/
| * Support "Vertical Writing Mode".claireho2011-09-206-16/+61
| | | | | | | | | | | | | | | | | | 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. Re-layout the text in drawGlyphs for vertical writing mode. Change-Id: Icac88a464b4b25b05c758a4e24c1827e0a7a0c91
* | Merge "Delay sending Plugin Draw event until the surface is ready."Derek Sollenberger2011-10-101-0/+18
|\ \