summaryrefslogtreecommitdiffstats
path: root/Source/WebCore
Commit message (Collapse)AuthorAgeFilesLines
* Cherry-pick WebKit change r94215 to fix a LayoutTest crashSteve Block2012-04-121-0/+2
| | | | | | | | | fast/gradients/css3-radial-gradient-crash.html See http://trac.webkit.org/changeset/94215 Bug: 6328935 Change-Id: I4414885e54a60aa05346c002c40835334685b1cb
* Cherry-pick WebKit change r92139 to fix a LayoutTest crashSteve Block2012-04-122-10/+14
| | | | | | | | | | | | editing/input/search-field-crash-in-designmode.html Manually resolved a merge conflict in CSSStyleSelector::isAtShadowBoundary() due to http://trac.webkit.org/changeset/88476. See http://trac.webkit.org/changeset/92139 Bug: 6329073 Change-Id: If869bd58a689bb918ef47048c4f5d2e84e4b6f89
* Cherry-pick WebKit change r87227 as a prerequisite for r92139Steve Block2012-04-123-10/+9
| | | | | | | See http://trac.webkit.org/changeset/87227 Bug: 6329073 Change-Id: I18c371c96547d5a2011847647c8fc398b0adb18d
* Cherry-pick WebKit change r85267 as a prerequisite for r92139Steve Block2012-04-125-9/+9
| | | | | | | See http://trac.webkit.org/changeset/85267 Bug: 6329073 Change-Id: I7c46eab459647059890732214a9b953adef0a647
* Cherry-pick WebKit change r90568 to fix LayoutTest crashesSteve Block2012-04-121-2/+2
| | | | | | | | | | | | | fast/flexbox/crash-button-input-autofocus.html fast/flexbox/crash-button-keygen.html fast/flexbox/crash-button-relayout.html Patch manually applied due to file rename. See http://trac.webkit.org/changeset/90568 Bug: 6328974 Change-Id: I0cee4daaea2e6fa2b9fae7d7dd81b4541561e969
* Cherry-pick WebKit change r86098 as a prerequisite for r90568Steve Block2012-04-121-249/+182
| | | | | | | See http://trac.webkit.org/changeset/86098 Bug: 6328974 Change-Id: If526b33142144f1ed466325898f9177adf27e6ee
* Cherry-pick WebKit change r89762 to fix a LayoutTest crashSteve Block2012-04-122-6/+15
| | | | | | | | | fast/dom/shadow/frameless-media-element-crash.html See http://trac.webkit.org/changeset/89762 Bug: 6329068 Change-Id: I73db520557e2ab4c04a4a2198276439e6c7932ec
* Cherry-pick WebKit change r88474 to fix a LayoutTest crashSteve Block2012-04-121-1/+2
| | | | | | | | | fast/css/webkit-keyframes-crash.html See http://trac.webkit.org/changeset/88474 Bug: 6328781 Change-Id: I9ae7d323b48ff6e55c720595fd27249176e87b8f
* Merge "Cherry-pick WebKit change r96779 to fix window.location"Steve Block2012-04-1210-34/+16
|\
| * Cherry-pick WebKit change r96779 to fix window.locationSteve Block2012-03-2810-34/+16
| | | | | | | | | | | | | | | | | | | | See http://trac.webkit.org/changeset/96779 Note that a conflict occurred in Source/WebCore/platform/qt/KURLQt.cpp but the change is not required. Bug: 2159848 Change-Id: I56e645b2f187302c6f1858c8c6c291209f130cad
* | Merge "Cherry-pick WebKit change r94132 to fix default port in URLs"Steve Block2012-04-123-13/+12
|\ \ | |/
| * Cherry-pick WebKit change r94132 to fix default port in URLsSteve Block2012-03-283-13/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | This is to make sure URL parsing behaviour is up-to-date prior to fixing window.location. See bug for details. Note that a manual edit to HTMLAnchorElement::port() was required to avoid the use of emptyString(). See http://trac.webkit.org/changeset/94132 Bug: 2159848 Change-Id: I13ef58e18df46c1d4592c102d4eb80f54ae53020
* | Merge "Cherry-pick WebKit change r87623 to fix use of KURL::prettyURL()"Steve Block2012-04-127-10/+15
|\ \ | |/
| * Cherry-pick WebKit change r87623 to fix use of KURL::prettyURL()Steve Block2012-03-287-10/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a prerequisite for http://trac.webkit.org/changeset/96779 to fix window.location. Note that a conflict occurred in Source/WebKit2/WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp but the change is not required. See http://trac.webkit.org/changeset/87623 Bug: 2159848 Change-Id: I5614b3588f30508f81b562aa7fb2f9027c2bda72
* | Merge "Cherry-pick WebKit change r84762 to fix URL canonicalization"Steve Block2012-04-121-5/+26
|\ \ | |/
| * Cherry-pick WebKit change r84762 to fix URL canonicalizationSteve Block2012-03-281-5/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This is to make sure URL parsing behaviour is up-to-date prior to fixing window.location. See bug for details. Note that the 'http:example.com/' test case in fast/url/standard-url.html fails with DRT2 because of an assumption in the test that it is served as a file scheme URL. See http://trac.webkit.org/changeset/84762 Bug: 2159848 Change-Id: Ie680debcad3d285efd40134932b72d429c0d2222
* | Merge "Cherry-pick WebKit change r91386 to fix a rendering crash"Steve Block2012-04-122-1/+3
|\ \
| * | Cherry-pick WebKit change r91386 to fix a rendering crashSteve Block2012-04-102-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Note that the use of RenderObject::isDeprecatedFlexibleBox() in the patch had to be changed to RenderObject::isFlexibleBox(). This method was renamed in http://trac.webkit.org/changeset/90773, which is not in Android's version of WebKit. The LayoutTest added in r91386 no longer crashes. See http://trac.webkit.org/changeset/91386 Bug: 5492762 Change-Id: Id43e55e89b4f107285b33c1a2c37a634cf10aad7
* | | Merge "Cherry-pick WebKit change r90068 to fix a rendering crash"Steve Block2012-04-124-1/+15
|\ \ \
| * | | Cherry-pick WebKit change r90068 to fix a rendering crashSteve Block2012-04-104-1/+15
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Note that this change does not apply cleanly in RenderBlock::destroy() without r85869. r85869 was intended to be an optimization only, with no functional change. However, it introduced two crashes, one of which is fixed in r90068 and the other in r86060. To avoid the need to cherry-pick both r85869 and r86060 as prerequisites, the patch for r90068 was applied manually to give the correct end result in RenderBlock::destroy(). We now pass the LayoutTests added in r90068 and the LayoutTest added in r86060 does not crash. See http://trac.webkit.org/changeset/90068 Bug: 5496903 Change-Id: Ica6dc2c70a4cd5c781ae77df95a8a4033c097708
* | | Merge "Unify composited layer/base layer draw path"Chris Craik2012-04-114-59/+5
|\ \ \
| * | | Unify composited layer/base layer draw pathChris Craik2012-04-104-59/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Multiple paths were redundant, as they both synchronized the layers, and drew the base if needed. depends on frameworks/base change: https://android-git.corp.google.com/g/#/c/179964/ largely reverts 3adbe453816c9282bfe1d212e813661ce2590955 Change-Id: Ic60f79521dc62e7c2281302bc51a3dfde16d396f
* | | | Merge "Sort surface drawing order by Z value"Chris Craik2012-04-112-2/+19
|\ \ \ \
| * | | | Sort surface drawing order by Z valueChris Craik2012-04-112-2/+19
| |/ / / | | | | | | | | | | | | | | | | bug:6275189 Change-Id: Ib9cabadb77777244c6ef707c32ce53db3ebf3181
* | | | Merge "Treat image texture TileGrids as non-base surfaces"Chris Craik2012-04-112-11/+9
|\ \ \ \
| * | | | Treat image texture TileGrids as non-base surfacesChris Craik2012-04-102-11/+9
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | Was ignoring transform calculation bug:6317028 Change-Id: I9d5d491ef9eb853535e18a8ad10ab387d77e2d80
* | | | Merge "Removed unused bool"Chris Craik2012-04-112-8/+0
|\ \ \ \
| * | | | Removed unused boolChris Craik2012-04-102-8/+0
| |/ / / | | | | | | | | | | | | | | | | bug:5636249 Change-Id: Ic99ab5a386009fcfb52ceaffc4881fe2f1d8d627
* | | | Merge "Expand base layer bounds to fill viewport"Chris Craik2012-04-102-0/+15
|\ \ \ \
| * | | | Expand base layer bounds to fill viewportChris Craik2012-04-102-0/+15
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Additionally, paint area outside the content bounds with content bg color in software rendering path. bug:6304213 Change-Id: I6fe5246e82d30fe000e570c8dccb605d46fc428d
* | | | Merge "Turn on Fence sync for transfer queue."Teng-Hui Zhu2012-04-101-1/+1
|\ \ \ \
| * | | | Turn on Fence sync for transfer queue.Teng-Hui Zhu2012-04-101-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Given driver bug b/6222131 is fixed, we can turn on this sync to protect us from potential corruption and help the emulation. Change-Id: Icc6c2d8fc3d123cde972507c3261729cd912676d
* | | | | Merge "Don't render expanded bounds if useMinimalMemory set"Chris Craik2012-04-092-8/+9
|\ \ \ \ \
| * | | | | Don't render expanded bounds if useMinimalMemory setChris Craik2012-04-092-8/+9
| | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | Extracted TilesManager instance locally, and standardized the extraction naming. Change-Id: Ia6ba1013bc6502f7c3a49d5dbf5d74739d997d2e
* | | | | Force kModeProcess functor invocation to returnChris Craik2012-04-091-1/+9
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously drawing would cease if no painting collection existed, regardless of whether the drawing collection was ready. This change forces drawing to occur once the functor enters kModeProcess, since it should only arrive there by content missing. Change-Id: I6c14ad4180499dda0461c6c45d46f22c5690f61b
* | | | Merge "disable expanded bounds when highEndGfx=false"Chris Craik2012-04-091-2/+5
|\ \ \ \ | |/ / / |/| | |
| * | | disable expanded bounds when highEndGfx=falseChris Craik2012-04-061-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | also make prefetch bounds only additionally expand in the Y direction bug:6273774 bug:6299994 Change-Id: I65d981a9e01adb605deff403c338deebcbf5e8ec
* | | | Temporary workaround to fix a bug on google.comNicolas Roard2012-04-061-1/+3
|/ / / | | | | | | | | | Change-Id: Ie03798396ed7df6fea6cb2ae7e1f7ae327409139
* | | Reorganize platform/graphics/androidNicolas Roard2012-04-06105-52/+56
| | | | | | | | | | | | Change-Id: Idc67155cfa99784dcd931e705336bfa063ecae46
* | | Merge "Implements a recording GraphicsContext"Nicolas Roard2012-04-0619-1211/+2878
|\ \ \
| * | | Implements a recording GraphicsContextNicolas Roard2012-04-0619-1211/+2878
| | | | | | | | | | | | | | | | Change-Id: I41feadb23dce25af321331c459eb159c6141831b
* | | | TransferQueue: use BufferQueue::setBufferCountJamie Gennis2012-04-061-3/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change switches the TransferQueue to use the BufferQueue::setBufferCount method rather than the SurfaceTexture method. The SurfaceTexture method has been removed as part of the SurfaceTexture refactoring. Change-Id: I906b710b426d91181d73be18fc0aeefd514d3c91
* | | | Merge "Merging drawLayerQuad and drawQuad"Teng-Hui Zhu2012-04-0515-151/+324
|\ \ \ \
| * | | | Merging drawLayerQuad and drawQuadTeng-Hui Zhu2012-04-0515-151/+324
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | Simplify the draw interface, organize the data for draw in a better way. Add a forceBlending from Tile to make sure translucent background can force blending too. Change-Id: I3baa16cbdd8fda6fb4ab4087b74a1e0c9aa1e81b
* | | | Merge "minor cleanup"Chris Craik2012-04-056-25/+7
|\ \ \ \
| * | | | minor cleanupChris Craik2012-04-056-25/+7
| |/ / / | | | | | | | | | | | | Change-Id: Ib873df1bb3e7a76a5a34acc89e4deff217e698e0
* | | | Cleanup unnecessary codeTeng-Hui Zhu2012-04-041-5/+0
|/ / / | | | | | | | | | Change-Id: I420b9fc5793c0df923229443dd2863e2d36612b6
* | | Rename several classesChris Craik2012-04-0449-600/+720
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | BaseTile,BaseTileTexture -> Tile,TileTexture Used in layers other than the base LayerGroup -> Surface Renamed to convey that it is a member of the SurfaceCollection, and that the layers grouped inside are painted together (if at all) DualTiledTexture -> SurfaceBacking Better conveys that this is the raster backing for a surface that can paint. It may be implemented with two tiled textures for now, but that isn't as important as its relationship to the surface. TiledTexture -> TileGrid Renamed to make it more clear that it was a container of tiles, and to be less similar to TileTexture Change-Id: I843f8603a2080cfe5a7313ba1c2eff10620f8aa2
* | Use new draw-less functor execution mode to do work without redrawingTeng-Hui Zhu2012-04-027-56/+68
| | | | | | | | | | | | Depends on frameworks/base change https://android-git.corp.google.com/g/#/c/177934/ Change-Id: I9154017ef2990b3bebd038cabcaf3d93c9df14d8
* | Translucent background color support for webviewTeng-Hui Zhu2012-04-0214-40/+138
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We need to respect the background color set for webview and combine that with the CSS background. Since we are tiled based and need to avoid double drawing, we need to determine the areas not covered by available tiles and draw the background. This involves a bit computation overhead. Therefore, we only compute those areas when alpha is between 1 to 254. When alpha is 255, we just need a glClear. When alpha is 0, nothing need to be drawn. Due to the fact that the tile can be partially drawn, texture generator need to know the background color to clear the tiles for the base layer. bug:5684832 Change-Id: I51f9d219f2722cc088eeea603623f9660f7a136a