summaryrefslogtreecommitdiffstats
path: root/Source/WebCore/platform
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | 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
|\ \
| * | Delay sending Plugin Draw event until the surface is ready.Derek Sollenberger2011-10-101-0/+18
| | | | | | | | | | | | | | | bug: 5436630 Change-Id: I058a0d750f185c56c0fe70ac0bff7c9781c35dc8
* | | Merge "Fixed URL lookup for data URLs."George Mount2011-10-101-5/+1
|\ \ \
| * | | Fixed URL lookup for data URLs.George Mount2011-10-071-5/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug 5383517 Data URLs were being stripped, preventing long click from doing anything. Change-Id: I5eba97725375a155d39f2489f97714a2b8bc8189
* | | | Merge "Double buffering for layers"Chris Craik2011-10-1011-102/+327
|\ \ \ \ | |_|/ / |/| | |
| * | | Double buffering for layersChris Craik2011-10-1011-102/+327
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bug:5309934 Defer picture changes and invalidations when: 1) a tiled texture hasn't completed painting 2) the user is scrolling (done in PaintedSurface) Remaining issues: Should block updates on zooming Change-Id: I60ee722e651f96e95a4ac0e819999fc1589037c3
* | | | Adding support for multiple video surfaces per plugin.Derek Sollenberger2011-10-106-132/+198
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This CL refactors our implementation to support multiple non-overlapping video surfaces per plugin instance. This will allow plugins to hardware decode simulatenous video streams using hardware. Additionally, this CL improves plugin startup latency by constructing the primary plugin surface as soon as possible in the UI thread. bug: 5318290 Change-Id: I53ceb8b6696159ecc4765c922704727a9a75a17d
* | | | Merge "Switch find on page to GL"John Reck2011-10-075-155/+297
|\ \ \ \ | |/ / / |/| | |
| * | | Switch find on page to GLJohn Reck2011-10-075-155/+297
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 5354191 Refactor how extras are drawn in GL Change-Id: Ifb61c73abecd2d074903a7fb44fe4b82aacc64ac
* | | | Fix scrolling offset of ScrollableLayer when we touch them.Nicolas Roard2011-10-072-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | With the new direct update, we are setting directly the layers position; but for ScrollableLayer, we already set their position in the UI, so for them their webkit counterpart is actually older/wrong. The fix consists simply in not updating the positioning of ScrollableLayer. bug:5421867 Change-Id: Ia14e41aff641173a45ed898cd3b3eceab3f7bd7a
* | | | Fix inverted mode renderingNicolas Roard2011-10-063-19/+64
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The GPU texture upload workaround broke it, as we are not using the Shaders when doing the copy. Adding some code to instead use a final shader that can be either normal or inverted, on demand. bug:5424589 Change-Id: If845233e12c65738925fbc81b21f1dc0fd38546e
* | | | Fix repaint request logic for the image layer code pathNicolas Roard2011-10-063-25/+22
|/ / / | | | | | | | | | | | | | | | bug:5425608 bug:5218173 Change-Id: Ib14a5e53466b05781a842e24443e89a4779dba68
* | | Fix repaint issues with overflow layersNicolas Roard2011-10-051-0/+2
| | | | | | | | | | | | | | | bug:5297412 Change-Id: I6b483e174339bc854e5d301c5c1f2e5851e57772
* | | Merge "Streamline the layers update codepath. Directly update the layers ↵Nicolas Roard2011-10-053-1/+41
|\ \ \ | | | | | | | | | | | | transform and position. This makes updates faster and less dependent on other webkit work."
| * | | Streamline the layers update codepath.Nicolas Roard2011-10-043-1/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Directly update the layers transform and position. This makes updates faster and less dependent on other webkit work. counterpart java CL: https://android-git.corp.google.com/g/#/c/139853/ bug:5218173 Change-Id: I03a76ab853e81f0f12177fb785707ffb8dace330
* | | | Merge "Remove m_contentsImage usage"John Reck2011-10-044-7/+9
|\ \ \ \ | |_|/ / |/| | |
| * | | Remove m_contentsImage usageJohn Reck2011-10-044-7/+9
| | | | | | | | | | | | | | | | | | | | | | | | Bug: 5410522 Change-Id: Id8457715665dbd51761900011beba57b7f634fff
* | | | Fix ring clipJohn Reck2011-10-041-3/+14
|/ / / | | | | | | | | | | | | | | | Bug: 5406350 Change-Id: I95507ee163a2cb41cc605efaabf32b7cad814533
* | | HW accelate button focus ringsJohn Reck2011-10-032-2/+6
|/ / | | | | | | | | | | Bug: 5353510 Change-Id: I1bb306381864357dab4c38fd5c182fda2dd08d8c
* | Merge "Turn on the new Gpu Upload code path"Teng-Hui Zhu2011-09-301-1/+1
|\ \
| * | Turn on the new Gpu Upload code pathTeng-Hui Zhu2011-09-301-1/+1
| | | | | | | | | | | | | | | bug:5395019 Change-Id: Ifc16eb59fec62e5f4b95ad4e35f140969226506d
* | | Merge "Fix low-res tiles rendering too early"Chris Craik2011-09-301-7/+7
|\ \ \
| * | | Fix low-res tiles rendering too earlyChris Craik2011-09-301-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bug:5369978 Low-res tiles were being prepared before high res, so despite being lower priority, they had a chance to start rendering when a new page was loaded before any other tiles existed in the priority queue. Change-Id: I479f01a00c2507bcabf13929eb099571d8886c4c
* | | | Merge "The new Gpu upload code path."Teng-Hui Zhu2011-09-301-1/+22
|\ \ \ \ | | |/ / | |/| |
| * | | The new Gpu upload code path.Teng-Hui Zhu2011-09-301-1/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This relied on the hacky Surface Texture change: https://android-git.corp.google.com/g/#/c/138516/ bug:5347539 Change-Id: I78e0f677a9c201ba49e11ddb24fa095471cbf3c9
* | | | Merge "Make the Gpu Upload path faster"Teng-Hui Zhu2011-09-301-8/+18
|\ \ \ \ | |/ / / | | / / | |/ / |/| |
| * | Make the Gpu Upload path fasterTeng-Hui Zhu2011-09-291-8/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | Basically, move unnecessary function calls out from the loop. And move the clear related code into DEBUG only. This is saving us some CPU overhead. bug:5347539 Change-Id: I237162fd6a502e93ea32c9856f907c5a9ddb2e78
* | | Merge "Use state machine to track tile state"Chris Craik2011-09-297-66/+187
|\ \ \
| * | | Use state machine to track tile stateChris Craik2011-09-297-66/+187
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bug:5369978 Manage invalidations, painting, transferring, and swapping with a state machine. notes: * readyFor shouldn't be needed if all of the events that would cause a readyfor fail mark the tile dirty (such as stealing, scale change) * changing the scale of a page should discard all textures * m_dirty should be more gracefully worked into the state machine * a tile may drop dirtiness notifications if it's already painting, since upon completion m_dirty will be cleared - (issues for layers only) Change-Id: I5909fb5d208da2fb276e223c56bf143741a9a24c
* | | Add debug informations to keep better track of layers allocationNicolas Roard2011-09-295-7/+61
| | | | | | | | | | | | | | | | | | | | | | | | | | | Fix coherency issue in ClassTracker (it's accessed from two different threads and we were not locking the datastructure) bug:5366807 Change-Id: I7dbd4417a49f4b3af3e09d614cec6b4568b09f7a
* | | Fix a memory leak with LayerAndroidNicolas Roard2011-09-297-24/+78
|/ / | | | | | | | | | | | | (we had a cycle between LayerAndroid and PaintedSurface) bug:5366807 Change-Id: I1b7341984b3cc6fd998b9ab54205bb963eb9223d
* | Dynamically set the upper limit of layer tiles' texture numberTeng-Hui Zhu2011-09-272-21/+9
| | | | | | | | | | | | | | | | | | | | Instead of using a static number, now the upper limit of the layer tiles is also dependent on the viewport size. At the same time, get rid of the old code only useful without tiled layer. bug:5347539 Change-Id: Ie720449ea15043d42a56f4c8af57820fa7f6e93c
* | Increase the texture number for layersTeng-Hui Zhu2011-09-271-1/+1
| | | | | | | | | | | | | | | | This will break the Gpu upload code path on phones which is turned off by default, but it will work on the tablet. bug:5347539 Change-Id: Idc9889a8681035addd85843191322039a69110e5
* | Merge "Egl sync code path should be only activated when we are in GpuUpload ↵Teng-Hui Zhu2011-09-261-1/+2
|\ \ | | | | | | | | | mode"
| * | Egl sync code path should be only activated when we are in GpuUpload modeTeng-Hui Zhu2011-09-261-1/+2
| | | | | | | | | | | | | | | bug:5347539 Change-Id: I12b8b45792d5aa684295b897be308181a7d44631
* | | Merge "Add shared images for layers"Nicolas Roard2011-09-267-43/+322
|\ \ \ | |/ / |/| |
| * | Add shared images for layersNicolas Roard2011-09-267-43/+322
| | | | | | | | | | | | | | | | | | bug:5242595 bug:5218173 Change-Id: I37d395e85441671312aac3e236cc8276019aa990