summaryrefslogtreecommitdiffstats
path: root/Source/WebCore
Commit message (Collapse)AuthorAgeFilesLines
* Fix clippingJohn Reck2011-10-141-9/+3
| | | | | | Bug: 5282993 Change-Id: Ia47c420d867d3aaed8a8ea6f91285cb3b634d970
* Cherry-pick WebKit change 89836 to fix a crash due to floats not being removedSteve Block2011-10-141-0/+3
| | | | | | | | | This is part 2 of 2 of the fix. See http://trac.webkit.org/changeset/89836 Bug: 5249309 Change-Id: If23a41a8e75e5fb6ba9e84e481ca44a319f678ef
* Cherry-pick WebKit change 89165 to fix a crash due to floats not being removedSteve Block2011-10-142-4/+39
| | | | | | | | | This is part 1 of 2 of the fix. See http://trac.webkit.org/changeset/89165 Bug: 5249309 Change-Id: I1159aab70e1fa6d3025761423c4164682dc97b64
* 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
* | 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
* | 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
* | 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
* | Merge "Refactor the image sharing code" into ics-mr0Nicolas Roard2011-10-1310-68/+207
|\ \ | |/ |/|
| * Refactor the image sharing codeNicolas Roard2011-10-1210-68/+207
| | | | | | | | | | | | | | | | | | We add a separate Images Manager, working both in GL and software rendering. bug:5425148 Change-Id: Ib5bc88ad94d49c7f1eb969a716691ac98dc10b77
* | 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 "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
* | 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 "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-1012-102/+328
|\ \ \ | |_|/ |/| |
| * | Double buffering for layersChris Craik2011-10-1012-102/+328
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-076-155/+298
|\ \ \ | |/ / |/| |
| * | Switch find on page to GLJohn Reck2011-10-076-155/+298
| | | | | | | | | | | | | | | | | | | | | 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
* | allow for compositing of 1x1 pluginsChris Craik2011-10-031-0/+6
| | | | | | | | | | | | bug:5382635 Change-Id: I0da21245ec7808da452941a45ae5008e278f3007
* | 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