summaryrefslogtreecommitdiffstats
path: root/Source/WebCore/platform/graphics
Commit message (Collapse)AuthorAgeFilesLines
* 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
* 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
* | Don't paint/allocate off screen tilesChris Craik2011-10-172-8/+10
|/ | | | | | | | bug:5320471 Also, reduce prefetch distance Change-Id: I9e677c16b5d0cdc16b87bd820591088ab10ab44b
* Merge "Fix clipping" into ics-mr0John Reck2011-10-141-9/+3
|\
| * Fix clippingJohn Reck2011-10-141-9/+3
| | | | | | | | | | | | Bug: 5282993 Change-Id: Ia47c420d867d3aaed8a8ea6f91285cb3b634d970
* | 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
* | | 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
* | 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-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
* | 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-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
|\ \ \ | |/ / | | / | |/ |/|