summaryrefslogtreecommitdiffstats
path: root/WebCore/platform
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | Merge "Race condition fix" into honeycomb-mr1John Reck2011-04-053-4/+16
| |\ \ \
| | * | | Race condition fixJohn Reck2011-04-053-4/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 4232693 Change-Id: I273671aea3dc379858f11546e6459fd9e1443d4f
* | | | | am 9e7ef048: am bd064363: Merge "Fix the precision loss issue" into ↵Teng-Hui Zhu2011-04-051-12/+19
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | honeycomb-mr1 * commit '9e7ef0488677e1ce474fdb32d23fa1cf8910f412': Fix the precision loss issue
| * | | | Merge "Fix the precision loss issue" into honeycomb-mr1Teng-Hui Zhu2011-04-051-12/+19
| |\ \ \ \ | | |/ / / | |/| | |
| | * | | Fix the precision loss issueTeng-Hui Zhu2011-04-051-12/+19
| | | |/ | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Instead of scaling the final rect to compare, scaling the dirtyrect. Because the dirtyrect will be discarded anyway. This can better preserve the precision the final rect. bug:4186567 Change-Id: Icade7a0b1ff13cd36791c7a3c0e2d624870fb44a
* | | | am f5b8d538: am a33d4903: Fix tile vanishing actJohn Reck2011-04-051-1/+2
|\ \ \ \ | |/ / / | | | | | | | | | | | | * commit 'f5b8d538f8fb1cf9a6fe7eac2bd58e3b550f5505': Fix tile vanishing act
| * | | Fix tile vanishing actJohn Reck2011-04-041-1/+2
| |/ / | | | | | | | | | | | | | | | | | | | | | Bug: 4184047 This is caused by textures being marked as unused by swapPages(). Limiting when swapPages() releases textures slightly fixes the issue. Change-Id: I8ac94f1370b023355f4b6f5877c3929b5d6d3ef6
* | | debug message improvementTeng-Hui Zhu2011-04-041-2/+2
| |/ |/| | | | | Change-Id: I1fe64246778fb7b51f8ea1aa23942639199cc38e
* | am e7c63dba: am ca84feeb: Merge "Fix animations bug" into honeycomb-mr1Nicolas Roard2011-04-011-0/+10
|\ \ | |/ | | | | | | * commit 'e7c63dbaf937c9e5d6496718538831e481fd4c7e': Fix animations bug
| * Merge "Fix animations bug" into honeycomb-mr1Nicolas Roard2011-04-011-0/+10
| |\
| | * Fix animations bugNicolas Roard2011-03-311-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | This solves the problem on the nytimes.com/skimmer website. We were applying the last animation step twice. bug:4181605 Change-Id: Id2c003b5a2b6a8c56aa3d6be76d4a6cccfb86ad8
* | | am 23bd3683: am 39ff342c: Fix regression impacting Flash performancesNicolas Roard2011-03-311-1/+1
|\ \ \ | |/ / | | | | | | | | | * commit '23bd36833db1bee032bbf7c058fa390f453097cc': Fix regression impacting Flash performances
| * | Fix regression impacting Flash performancesNicolas Roard2011-03-311-1/+1
| |/ | | | | | | | | | | | | | | | | We marked layers dirty when they did not have a texture -- even the layers that did not *need* a texture... bug:4195690 Change-Id: Ic2a0fdf9462277d060f07ef7d281f5d27e7e8ed5
* | Merge "My attempt at a smarter tile manager"John Reck2011-03-3013-276/+240
|\ \
| * | My attempt at a smarter tile managerJohn Reck2011-03-2513-276/+240
| | | | | | | | | | | | | | | | | | | | | | | | | | | Removes TileSets and queues tiles individually Uses a priority queue to determine which tiles to render first Stops rendering the front tile page if we are prepping the back one Limits queue spam by tracking which tiles are already in the queue Change-Id: I2f2c9539e0d8a421ac7f1f4cb80ee831b9894293
* | | Fix the CSS style for Stroke+FillTeng-Hui Zhu2011-03-281-2/+3
| | | | | | | | | | | | | | | bug:4183328 Change-Id: I5eb8443f8069d866892c3f2beb69805ada43714f
* | | am 507fe41e: am bd14a6fc: Merge "try faster dashing" into honeycomb-mr1Bart Sears2011-03-251-7/+45
|\ \ \ | |/ / |/| / | |/ | | * commit '507fe41e8dc930e615659737a60fe242171a2d21': try faster dashing
| * Merge "try faster dashing" into honeycomb-mr1Bart Sears2011-03-251-7/+45
| |\
| | * try faster dashingMike Reed2011-03-251-7/+45
| | | | | | | | | | | | | | | | | | | | | | | | if we're drawing a horizontal line, try using a bitmap-shader to simulate the dash, as this can be much faster than the general SkDashPathEffect. bug:4163023 Change-Id: I362543d6efb83ebf395cbe92c2d889c590a7c2df
* | | am 8527f14d: am 92c3acf6: Fix error where mediaLayer is derefed on UI thread ↵Derek Sollenberger2011-03-255-9/+30
|\ \ \ | |/ / | | | | | | | | | | | | | | | prior to being derefed in Webkit. * commit '8527f14d378e1fb4ba315d791f3c8c7b776bff4c': Fix error where mediaLayer is derefed on UI thread prior to being derefed in Webkit.
| * | Fix error where mediaLayer is derefed on UI thread prior to being derefed in ↵Derek Sollenberger2011-03-255-9/+30
| | | | | | | | | | | | | | | | | | | | | Webkit. bug: 4171470 Change-Id: I6afe957b2eccae249afa46baede822c34f8f1a7f
* | | am 70e1ff0b: am 557855a0: Fix regression blocking the page cycler The bug ↵Nicolas Roard2011-03-241-1/+1
|\ \ \ | |/ / | | | | | | | | | | | | | | | caused a continuous redraw if you had a webview without content; the Activity containing the webview would thus not be marked as idle. The pagecycler is launching such an activity and wait until * commit '70e1ff0b3913af6a122390bbe4768c2c0fea045d': Fix regression blocking the page cycler The bug caused a continuous redraw if you had a webview without content; the Activity containing the webview would thus not be marked as idle. The pagecycler is launching such an activity and wait until it's idle to determinate that it's usable to loade urls...
| * | Fix regression blocking the page cyclerNicolas Roard2011-03-241-1/+1
| |/ | | | | | | | | | | | | | | | | | | The bug caused a continuous redraw if you had a webview without content; the Activity containing the webview would thus not be marked as idle. The pagecycler is launching such an activity and wait until it's idle to determinate that it's usable to loade urls... bug:4172381 Change-Id: I6c838c5f6757186d01e8e476a8fc5101ea00ed15
* | Merge "Add defensive code for crash in FontPlatformData"Russell Brenner2011-03-241-3/+13
|\ \
| * | Add defensive code for crash in FontPlatformDataRussell Brenner2011-03-231-3/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bug: 4163318 In FontPlatformData, both 0 and -1 are used as special values for mTypeface. Skia has checks to handle null typefaces, but -1 is a special value (hashTableDeletedFontValue) unique to FontPlatformData. The constructors and operators appear to have the necessary guards, but setupPaint(), uniqueID(), and isFixedPitch() needed some touchup to better handle 0 or -1. There's still the question of whether or not it's appropriate to be calling any of those functions with the typeface set to 0 or -1, so these changes may simply be deflecting the underlying problem, but these changes should guard against the immediate failure. Change-Id: Ib68a64ba6d4eeffbd502f29b68074e38c511a746
* | | am 284cf17e: am 909e9c7e: Improve performances for the base surface renderingNicolas Roard2011-03-233-26/+30
|\ \ \ | | |/ | |/| | | | | | | * commit '284cf17e2bcea995294e7ecdca145593523c3edc': Improve performances for the base surface rendering
| * | Improve performances for the base surface renderingNicolas Roard2011-03-233-26/+30
| | | | | | | | | | | | | | | | | | | | | | | | - don't queue large number of tiles when scrolling/zooming - while scrolling/zooming, schedule the tiles generation at the front of the queue bug:4136077 Change-Id: I652464d01f3000e88e42fad1e98402436a85dce4
* | | am 3c1bcdb4: am 0cdc1296: Fix the repainting problems with overflow-scroll ↵Nicolas Roard2011-03-231-0/+1
|\ \ \ | |/ / | | | | | | | | | | | | | | | div elements * commit '3c1bcdb44e7bd2272e7ba02da9e1b7422da7fb17': Fix the repainting problems with overflow-scroll div elements
| * | Fix the repainting problems with overflow-scroll div elementsNicolas Roard2011-03-231-0/+1
| | | | | | | | | | | | | | | bug:4163243 bug:4163233 bug:4159272 bug:4159270 bug:3442104 bug:4163237 Change-Id: Iab71d1da3f0ca6c52b23ddfb8b86c58b118b60e0
* | | am 6fd1c352: am 5bdfd148: Merge "Regression fix from bug:4136077 Plus ↵Nicolas Roard2011-03-238-16/+40
|\ \ \ | |/ / | | | | | | | | | | | | | | | animations improvement bug:3389597" into honeycomb-mr1 * commit '6fd1c35298bb73147bb585e01b86d5b7c1c8f640': Regression fix from bug:4136077 Plus animations improvement bug:3389597
| * | Merge "Regression fix from bug:4136077 Plus animations improvement ↵Nicolas Roard2011-03-238-16/+40
| |\ \ | | | | | | | | | | | | bug:3389597" into honeycomb-mr1
| | * | Regression fix from bug:4136077Nicolas Roard2011-03-238-16/+40
| | | | | | | | | | | | | | | | | | | | | | | | Plus animations improvement bug:3389597 Change-Id: I07319910ae366d3e237bf3a1042cf28217434437
* | | | am 16c80237: am f32b2ce6: Fix GPU leak where plugin textures in the WebKit ↵Derek Sollenberger2011-03-238-8/+143
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | thread were not being deleted. * commit '16c80237214715ba15e45748164ecd02a558a138': Fix GPU leak where plugin textures in the WebKit thread were not being deleted.
| * | | Fix GPU leak where plugin textures in the WebKit thread were not being deleted.Derek Sollenberger2011-03-238-8/+143
| |/ / | | | | | | | | | | | | bug: 4165067 Change-Id: I2f50f600133300cec712b0177ead1a7afbbee2c3
* | | am 7fea06dd: am 77274212: Fix performance problems with layersNicolas Roard2011-03-235-22/+62
|\ \ \ | |/ / | | | | | | | | | * commit '7fea06dd1f7251b6f078821c5859bdf435fee9ca': Fix performance problems with layers
| * | Fix performance problems with layersNicolas Roard2011-03-225-22/+62
| | | | | | | | | | | | | | | | | | | | | | | | | | | We were preventing the layers' positions to be updated while waiting for the base surface to render. This also fix some repainting issues. bug:4136077 Change-Id: I6870faf8296e205c6ee58e80b1cf95833a67814b
* | | am efe35076: am 55c8e9b1: Merge "Workaround for poor dashed line ↵John Reck2011-03-221-3/+4
|\ \ \ | |/ / | | | | | | | | | | | | | | | performance" into honeycomb-mr1 * commit 'efe35076f0066a6ed0e326ea15c6d5b42a7bbf60': Workaround for poor dashed line performance
| * | Merge "Workaround for poor dashed line performance" into honeycomb-mr1John Reck2011-03-221-3/+4
| |\ \
| | * | Workaround for poor dashed line performanceJohn Reck2011-03-221-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | Bug: 4163023 Change-Id: Ie76a2f5855130ff174a80d1c7e9187bea89f3aa5
* | | | am 176fb0a1: am 50e0a1d1: Fix a browser ANRNicolas Roard2011-03-221-1/+6
|\ \ \ \ | |/ / / | | | | | | | | | | | | * commit '176fb0a1767db036303ab2df17d9e889b5e88db0': Fix a browser ANR
| * | | Fix a browser ANRNicolas Roard2011-03-221-1/+6
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Layer release textures (setting their owner to zero). Texture with no owners are routinely destroyed by the TilesManager. When a texture is busy, the release is delayed until the end of the painting; if the owner of the texture is still the same, we then remove it. The problem was that a layer could release a busy texture, thereby delaying the release; and in a next cycle re-acquire that same texture. The delayed release would then kicks in, and proceed, as the owner was still the same one as the one that originally asked for the release. We would then have a situation where the layer thought it acquired a texture, while that texture's owner was ultimately set to zero. The TilesManager would then proceed to destroy that texture. The next time the layer tried to use the texture, it would either crash or more often block on acquiring a lock on it, causing an ANR. bug:3472320 Change-Id: I84a064b1aa6636a18e0518e34c8572cbea3eb558
* | | am 71b73b3d: am 983c9f05: Merge "Fix invals for CSS3D" into honeycomb-mr1Nicolas Roard2011-03-223-3/+36
|\ \ \ | |/ / | | / | |/ |/| * commit '71b73b3d1c71449e21f04d52f2a708816c03bfca': Fix invals for CSS3D
| * Merge "Fix invals for CSS3D" into honeycomb-mr1Nicolas Roard2011-03-213-3/+36
| |\
| | * Fix invals for CSS3DNicolas Roard2011-03-213-3/+36
| | | | | | | | | | | | | | | bug:4129388 Change-Id: I52963d38412d0fd69c4695a281ad6558c27999ed
* | | Merge "Fix graphics shadow w/o blur"Russell Brenner2011-03-221-4/+9
|\ \ \
| * | | Fix graphics shadow w/o blurRussell Brenner2011-03-221-4/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bug: 4129238 Changed implementation logic so alpha==0 indicates no shadowing, rather than blur==0. Added ShadowRec constructor to cleanly init entire struct. Change-Id: Ide6ee5da0f6cb174d0ef77e7d9a99b981998d7f1
* | | | resolved conflicts for merge of 4691a532 to masterTeng-Hui Zhu2011-03-212-23/+131
|\ \ \ \ | |/ / / |/| / / | |/ / Change-Id: I7a525d5179545e4faec46e58e9606d9598c241ca
| * | Support drawing paused and loading image as GL textureTeng-Hui Zhu2011-03-212-23/+131
| | | | | | | | | | | | | | | | | | bug:4142131 Change-Id: I871924cb7587077f50fdf4f9a00056f795a8daea
* | | am 9f6d6cba: am e1c3e599: Fix native crash Don\'t save the extras in the ↵Nicolas Roard2011-03-212-5/+10
|\ \ \ | |/ / | | | | | | | | | | | | | | | picture when drawing. * commit '9f6d6cba4bd687bc65baa3db29ac4f6593df65c1': Fix native crash Don't save the extras in the picture when drawing.
| * | Fix native crashNicolas Roard2011-03-192-5/+10
| |/ | | | | | | | | | | | | Don't save the extras in the picture when drawing. bug:4126884 bug:4132721 Change-Id: I52c46a33f847e64c1f8245a0bb84445a948d72a4