summaryrefslogtreecommitdiffstats
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-148-10/+58
| |/ |/| | | | | | | | | | | | | | | | | - 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 "Fixup JNI" into ics-mr0John Reck2011-10-141-15/+16
|\ \
| * | Fixup JNIJohn Reck2011-10-131-15/+16
| | | | | | | | | | | | | | | | | | Bug: 5459736 Change-Id: I2125e8c0162b218f417e777d5ba62bfd314c7f60
* | | 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-132-21/+3
|\ \ | |/ |/|
| * Fix navcache to work with layers for ringsJohn Reck2011-10-132-21/+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 "Fix uses of GetByteArrayElements() in WebCoreFrameBridge" into ics-mr0Steve Block2011-10-131-18/+12
|\ \ \ | |_|/ |/| |
| * | Fix uses of GetByteArrayElements() in WebCoreFrameBridgeSteve Block2011-10-121-18/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently, we call GetByteArrayElements() to get a pointer to the data, then modify it, then fail to call ReleaseByteArrayElements. This means that if GetByteArrayElements() happens to take a copy of the data, we'll never sync the modified data back to the JNI object. This change updates the code to use SetByteArrayRegion() which handles releasing any copies that are made by JNI. Also use ScopedLocalRef where possible. Bug: 5442710 Change-Id: Ic8691eb18cac746ee2a2086017ffb9b5558755bd
* | | Merge "Fix disappearing content" into ics-mr0Nicolas Roard2011-10-131-0/+9
|\ \ \
| * | | Fix disappearing contentNicolas Roard2011-10-121-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When we fixed the superfluous contentInvalidateAll() that was called every time we were scrolling/zooming, this uncover some issues. This particular one was clearing the entire pictureset when an iframe was loaded -- this is wrong since we added support for composited iframes, but we didn't experience this problem before because of the contentInvalidateAll() masking it... bug:5449492 Change-Id: I57e4ea68daf6de901118725f5b7d70087084f23b
* | | | Merge "Refactor the image sharing code" into ics-mr0Nicolas Roard2011-10-1311-69/+209
|\ \ \ \ | |_|_|/ |/| | |
| * | | Refactor the image sharing codeNicolas Roard2011-10-1211-69/+209
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | We add a separate Images Manager, working both in GL and software rendering. bug:5425148 Change-Id: Ib5bc88ad94d49c7f1eb969a716691ac98dc10b77
* | | Merge "Ensure the frame inversion flag is immediately effective." into ics-mr0Derek Sollenberger2011-10-125-16/+23
|\ \ \
| * | | Ensure the frame inversion flag is immediately effective.Derek Sollenberger2011-10-125-16/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 "Correctly guard WebFrame methods needed only with the Chromium HTTP ↵Steve Block2011-10-122-12/+4
|\ \ \ \ | | | | | | | | | | | | | | | stack" into ics-mr0
| * | | | Correctly guard WebFrame methods needed only with the Chromium HTTP stackSteve Block2011-10-122-12/+4
| | |_|/ | |/| | | | | | | | | | | | | | | | | | This fixes the break in builds which use the Android HTTP stack. Change-Id: I0feb885754c34e96216c8e0c28390808f424534e
* | | | Merge "Modify BrowserFrame.requestClientCert() to take the host and port as ↵Steve Block2011-10-122-9/+6
|\ \ \ \ | |/ / / | | / / | |/ / |/| | a String" into ics-mr0
| * | Modify BrowserFrame.requestClientCert() to take the host and port as a StringSteve Block2011-10-122-9/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently we get the host and port from Chromium as a std::string, convert to a jbyte array to pass over JNI, then convert to String. It's simpler to convert directly to jstring and to pass that over JNI. This also fixes the fact that WebFrame::requestClientCert() fails to call ReleaseByteArrayElements(). Requires https://android-git.corp.google.com/g/141238 in frameworks/base. Bug: 5442710 Change-Id: If81fdef338ecdf2debeece0ebb9926bd261ae219
* | | 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
* | Merge "Mark tiles discarded by TransferQueue as dirty" into ics-mr0Chris Craik2011-10-117-32/+63
|\ \
| * | 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 "Fix repaint bug. In some cases when the content size changes, the ↵Nicolas Roard2011-10-111-0/+24
|\ \ | | | | | | | | | inval rects we receive from webkit do not fully cover the area that changed. For now, fix this by forcing the invalidation of the entire content (note: we only invalidate the tiles -- we do not force an actual regeneration of the pictureset for the entire content)" into ics-mr0
| * | Fix repaint bug. In some cases when the content size changes, theNicolas Roard2011-10-111-0/+24
| |/ | | | | | | | | | | | | | | | | | | inval rects we receive from webkit do not fully cover the area that changed. For now, fix this by forcing the invalidation of the entire content (note: we only invalidate the tiles -- we do not force an actual regeneration of the pictureset for the entire content) bug:5361852 Change-Id: I682766d0101d4c8b8a38357dc7846c0030c1f9dc
* | Support spellcheck attribute in input fieldsMichael Kolb2011-10-113-0/+12
|/ | | | | | | | | Bug: 5267547 When spellcheck is set to false, disable the IME suggestions and the spelling error highlighting Change-Id: Ib62bc760334159aa086214cc6f1388d1abe89cb4
* Merge "Delay sending Plugin Draw event until the surface is ready."Derek Sollenberger2011-10-105-1/+58
|\
| * Delay sending Plugin Draw event until the surface is ready.Derek Sollenberger2011-10-105-1/+58
| | | | | | | | | | 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
* | | The new FAST_PICTURESET code path seems to trigger repaintNicolas Roard2011-10-071-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bugs in some cases. The current performance improvement of this code path is reasonably small compared to the default PICTURESET. This CL turns off FAST_PICTURESET for now (we will revisit the issue in the future) bug:5406701 Change-Id: I7ab7addf14d46b28ebf6bd4ff7f2b3b4ee044cc4
* | | Merge "Switch find on page to GL"John Reck2011-10-078-188/+318
|\ \ \ | |/ / |/| |