summaryrefslogtreecommitdiffstats
path: root/Source/WebCore
Commit message (Collapse)AuthorAgeFilesLines
* am f912aaa3: am 599c05f3: Merge "Revert "Put canvas on a layer"" into ics-mr1John Reck2011-12-132-7/+1
|\ | | | | | | | | * commit 'f912aaa3c8084eccb0f5fcb74606063d9ce5c74b': Revert "Put canvas on a layer"
| * Merge "Revert "Put canvas on a layer"" into ics-mr1John Reck2011-12-132-7/+1
| |\
| | * Revert "Put canvas on a layer"John Reck2011-12-132-7/+1
| | | | | | | | | | | | Bug: 5712065 This reverts commit 35e0b8dd7902e92f50ede4df2e4bad4ed581b770
* | | Merge "update callback mechanism, adds nativeDiscardAllTextures for ↵Chris Craik2011-12-134-16/+27
|\ \ \ | | | | | | | | | | | | TileBenchmark tool"
| * | | update callback mechanism, adds nativeDiscardAllTextures for TileBenchmark toolChris Craik2011-12-134-16/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bug:5062896 Depends on frameworks/base change: https://android-git.corp.google.com/g/#/c/154844/ Change-Id: I8e5101fa212568837fe002b14fb9171c2f6dfe22
* | | | am 5f0a489e: am c52e5656: Merge "Fix ANR when hitting very large layers" ↵Nicolas Roard2011-12-121-5/+8
|\ \ \ \ | | |/ / | |/| | | | | | | | | | | | | | | | | | into ics-mr1 * commit '5f0a489e7a7dbb42ae725b31e34a92901c65eb0a': Fix ANR when hitting very large layers
| * | | Merge "Fix ANR when hitting very large layers" into ics-mr1Nicolas Roard2011-12-081-5/+8
| |\ \ \
| | * | | Fix ANR when hitting very large layersNicolas Roard2011-12-081-5/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In some cases we have to deal with very large layers (e.g. 130k x 56k). We do clip them at draw time, but at prepare time we will generate *all* the needed BaseTile objects. Those are small, but when you have to allocated 100k of them and then iterate, it does not make things fast, and we can ANR (and sometimes recover later). bug:5466840 Change-Id: I01c64ed1014fa719b619609fd2bd24126dc9056e
* | | | | am 397afc9c: am 2ee79460: Merge "Reset framework inval when done zooming" ↵Chris Craik2011-12-121-0/+1
|\ \ \ \ \ | |/ / / / | | | / / | |_|/ / |/| | | | | | | | | | | into ics-mr1 * commit '397afc9c161292e163bf2381973fced88c7123bf': Reset framework inval when done zooming
| * | | Reset framework inval when done zoomingChris Craik2011-12-081-0/+1
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | bug:5726709 Framework invals are not valid when zooming completes because much content outside the rect will have changed from zooming. Change-Id: I72e4509e13bf97ea90f09716699e66c1c3f9acd8
* | | Merge "Swap tiles when viewport changes slightly, and properly cap prepare ↵Chris Craik2011-12-093-4/+11
|\ \ \ | | | | | | | | | | | | bounds"
| * | | Swap tiles when viewport changes slightly, and properly cap prepare boundsChris Craik2011-12-093-4/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bug:5738336 Viewport changes that overlap previous viewports will result in fast scrolling mode being activated. Change-Id: I356df0054caff19519fcf8543f96726e78918922
* | | | Fix the repaint inval mechanism for layers - cherry-pick from MR1Nicolas Roard2011-12-093-1/+16
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We only keep the scrollable layers invalidating their entire area instead of incurring this penalty for *all* layers. Also remove unnecessary repaint when scrolling (we have the entire content on the UI side already). While the entire scrollable area will be invalidated and marked as dirty, the existing code in PaintedSurface already only look at the visible tiles of scrollable layers to consider the layer's content as being ready to display, so the real world penalty (while far from optimal) is limited. Implementing the correct approach (only invalidating what really changed on scrollable layers) would sadly be a lot more complex, as currently webkit will *not* send us the repaint invals if they are on a currently clipped area, as webkit's default behaviour to implement scrolling of such element is to repaint them anyway... bug:5721618 Change-Id: I9af240d5f42f00f9ab07710e43ef8d72dfaf8155
* | | am e50c6da1: Merge "Revert change that caused text in floating divs to not ↵Mangesh Ghiware2011-12-071-1/+1
|\ \ \ | |/ / | | | | | | | | | | | | | | | reflow." into ics-mr1 * commit 'e50c6da15806ff91b5e9298cb303f2b8f9ae6b35': Revert change that caused text in floating divs to not reflow.
| * | Merge "Revert change that caused text in floating divs to not reflow." into ↵Mangesh Ghiware2011-12-071-1/+1
| |\ \ | | | | | | | | | | | | ics-mr1
| | * | Revert change that caused text in floating divs to not reflow.Mangesh Ghiware2011-12-071-1/+1
| | | | | | | | | | | | | | | | | | | | Bug: 5455817 (Text reflow not working in browser) Change-Id: I2a62a7fb4c7acde640cd87b8d0f03200b8f7fc2f
| * | | Merge "Fix the repaint inval mechanism for layers - DO NOT MERGE" into ics-mr1Nicolas Roard2011-12-073-4/+15
| |\ \ \
| | * | | Fix the repaint inval mechanism for layers - DO NOT MERGENicolas Roard2011-12-073-4/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We only keep the scrollable layers invalidating their entire area instead of incurring this penalty for *all* layers. Also remove unnecessary repaint when scrolling (we have the entire content on the UI side already). While the entire scrollable area will be invalidated and marked as dirty, the existing code in PaintedSurface already only look at the visible tiles of scrollable layers to consider the layer's content as being ready to display, so the real world penalty (while far from optimal) is limited. Implementing the correct approach (only invalidating what really changed on scrollable layers) would sadly be a lot more complex, as currently webkit will *not* send us the repaint invals if they are on a currently clipped area, as webkit's default behaviour to implement scrolling of such element is to repaint them anyway... bug:5721618 Change-Id: Ia470157c716fa1c557e4a196ba014296ad9e627a
* | | | | am 84117244: Merge "fix viewport lagging a drawGL call behind" into ics-mr1Chris Craik2011-12-071-1/+1
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | * commit '84117244fe33b7de6e83c691f4f4bc7f0db0f32b': fix viewport lagging a drawGL call behind
| * | | | Merge "fix viewport lagging a drawGL call behind" into ics-mr1Chris Craik2011-12-071-1/+1
| |\ \ \ \ | | |/ / / | |/| | |
| | * | | fix viewport lagging a drawGL call behindChris Craik2011-12-071-1/+1
| | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bug:5724482 bug:5660963 we were calling setViewport and setViewRect out of order, so we were clipping with the last frame's (or last webview's, if >1 were visible) projection matrix Change-Id: Ifcbfa0021cb33e3400ac9eaf64fc2235ee8afe50
* | | | am f288ebbc: Merge "Account for dirty tiles doubly in texture counting" into ↵Chris Craik2011-12-071-2/+13
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | ics-mr1 * commit 'f288ebbc0f8b160082a78668df554a4ae7192e11': Account for dirty tiles doubly in texture counting
| * | | Account for dirty tiles doubly in texture countingChris Craik2011-12-061-2/+13
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bug:5704511 Dirty tiles use two textures - one for display, and one for painting. This fixes an issue where the number of textures requested did not meet the needs of a double buffered tree with most content invalidated. The webview would give up drawing, and thus not paint the invalidated portions of the layers. Change-Id: Icd9b9e0b53cf82415074dac4338a8c48de880364
* | | am 1d71a5f4: Merge "Don\'t deep copy animations, prepare animations on both ↵Chris Craik2011-12-065-99/+29
|\ \ \ | |/ / | | | | | | | | | | | | | | | trees" into ics-mr1 * commit '1d71a5f4405639dece648eda291ab6a2aecbb968': Don't deep copy animations, prepare animations on both trees
| * | Merge "Don't deep copy animations, prepare animations on both trees" into ↵Chris Craik2011-12-065-99/+29
| |\ \ | | | | | | | | | | | | ics-mr1
| | * | Don't deep copy animations, prepare animations on both treesJohn Reck2011-12-055-99/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 5699085 Previously, animations were copied along with layer trees from the webkit to UI thread. This changes that to instead use a single object per animation with refcounting so that animations are kept consistent. Additionally, animations are now run on both the painting and drawing trees in the tree manager so that animated content clipped correctly during a tree swap. Change-Id: I79f0c0e47b717f9fdddf303eb7ec29efc4950aaf
* | | | Merge "compiler error fix when DEBUG is on"Teng-Hui Zhu2011-12-063-5/+4
|\ \ \ \
| * | | | compiler error fix when DEBUG is onTeng-Hui Zhu2011-12-063-5/+4
| | | | | | | | | | | | | | | | | | | | Change-Id: Ifaaefdbe0724a95e9c237c1fe3c5a7c25026839e
* | | | | am c34cfbd2: Delete TextureGenerator operations outside the lockChris Craik2011-12-061-4/+4
|\ \ \ \ \ | |/ / / / |/| / / / | |/ / / | | | | * commit 'c34cfbd2a0063c85afcf6751478987b8c6b6f7e1': Delete TextureGenerator operations outside the lock
| * | | Delete TextureGenerator operations outside the lockChris Craik2011-12-051-4/+4
| |/ / | | | | | | | | | | | | | | | | | | | | | bug:5713701 This fixes a potential deadlock between TextureGenerator and ImagesManager Change-Id: I57503d3b73aff571629826f2278491232b37cb67
* | | Add visual indicator for tree swap infoTeng-Hui Zhu2011-12-052-8/+36
| | | | | | | | | | | | Change-Id: Iab03d2086775f037ae2d4c2200f7b220380eb206
* | | Increase the buffer count from query resultTeng-Hui Zhu2011-12-051-1/+5
| | | | | | | | | | | | Change-Id: I15741749f9b9a3977bdbfd737ba639ddfaaff9d4
* | | Merge "Add support for Float64Array."Ben Murdoch2011-12-0516-0/+323
|\ \ \
| * | | Add support for Float64Array.Ben Murdoch2011-12-0216-0/+323
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Cherry pick from WebKit r87197 to add support for Float64Array. Note that this requires at least V8 3.3. In particular, this CL means that we will consume less memory executing Emscripten code. See http://trac.webkit.org/changeset/87197/ Bug: 5558474 Change-Id: I686d59acfdb56d03496f407d114826f35b4ff2c8
* | | | am 3fb3b3e0: Merge "Revert "Set the exact buffer size to Surf Tex"" into ics-mr1Teng-Hui Zhu2011-12-021-1/+1
|\ \ \ \ | | |/ / | |/| | | | | | | | | | * commit '3fb3b3e0e16ce89f589b71ba2cc5942f42f0ac27': Revert "Set the exact buffer size to Surf Tex"
| * | | Merge "Revert "Set the exact buffer size to Surf Tex"" into ics-mr1Teng-Hui Zhu2011-12-021-1/+1
| |\ \ \
| | * | | Revert "Set the exact buffer size to Surf Tex"Teng-Hui Zhu2011-12-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 2d19ea7c0d192c0c1eda1caed7e25143bbe22c20. bug:5689093
* | | | | am f4bc9879: Merge "Maintain UI-side start times for animations in SW ↵Chris Craik2011-12-022-0/+16
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | rendering mode" into ics-mr1 * commit 'f4bc9879b9e1ae40df3ef8165b7d6804184b8499': Maintain UI-side start times for animations in SW rendering mode
| * | | | Merge "Maintain UI-side start times for animations in SW rendering mode" ↵Chris Craik2011-12-022-0/+16
| |\ \ \ \ | | | | | | | | | | | | | | | | | | into ics-mr1
| | * | | | Maintain UI-side start times for animations in SW rendering modeChris Craik2011-12-022-0/+16
| | |/ / / | | | | | | | | | | | | | | | | | | | | bug:5704428 Change-Id: I1d1d1f214642b6ff868e8425778565686bfe8b69
* | | | | am d428cef6: clip tile prepare bounds to content OR viewportChris Craik2011-12-021-15/+19
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | * commit 'd428cef6d334156cb4178476d2c36d115d91d4a4': clip tile prepare bounds to content OR viewport
| * | | | clip tile prepare bounds to content OR viewportChris Craik2011-12-021-15/+19
| |/ / / | | | | | | | | | | | | | | | | bug:5699003 Change-Id: I4c35008f1324e0f9e83b7dd9e72e09a7e09ae7a9
| * | | Merge "Turn off partial layer inval in MR1 - DO NOT MERGE" into ics-mr1Chris Craik2011-12-021-0/+4
| |\ \ \
| | * | | Turn off partial layer inval in MR1 - DO NOT MERGEChris Craik2011-12-011-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bug:5699531 Partial layer inval isn't working yet, disabling for correctness. Change-Id: I4838db41ea24e07f7b30c44ddb8321f598087d2a
* | | | | Merge "Show the frame perf info for debug purpose"Teng-Hui Zhu2011-12-022-6/+39
|\ \ \ \ \ | |_|_|/ / |/| | | |
| * | | | Show the frame perf info for debug purposeTeng-Hui Zhu2011-12-022-6/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | At the same time, fix the compiler error when turning on MEASURES_PERF. Change-Id: Ie1c038cb611947d4baddabdf3b844eb52e1d15ee
* | | | | am f286c7d3: Merge "Scroll position now passed to all layers" into ics-mr1Chris Craik2011-12-015-5/+28
|\ \ \ \ \ | |/ / / / |/| / / / | |/ / / | | | | * commit 'f286c7d338f3c0f398ee27abe1d37d670c51dbbb': Scroll position now passed to all layers
| * | | Merge "Scroll position now passed to all layers" into ics-mr1Chris Craik2011-12-015-5/+28
| |\ \ \ | | |/ / | |/| |
| | * | Scroll position now passed to all layersChris Craik2011-12-015-5/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bug:5666027 Previously, only the most recent version of the scrollablelayerandroid would have its position updated. This caused issues with position inconsistency between the painting and drawing version of the layer, if both existed. Change-Id: Ife29ae4e2cb00fbaa2f6fc95d9914b3434862f10
* | | | am f1a22119: Merge "Fix image layer codepath" into ics-mr1Nicolas Roard2011-12-0119-203/+421
|\ \ \ \ | |/ / / | | | | | | | | | | | | * commit 'f1a221194f2b0d5fd82d2e98ced94f0553c45986': Fix image layer codepath