summaryrefslogtreecommitdiffstats
path: root/Source/WebCore
Commit message (Collapse)AuthorAgeFilesLines
* Add support for HTML Media Capture "capture" attribute.Ben Murdoch2012-04-138-1/+46
| | | | | | | | | | | | | | | | | | | | Add support in WebKit for the newly specified "capture" attribute to be used on HTML file pickers. Maintains support for the legacy implementation of the API (a MIME type parameter on the 'accept' attribute) for backwards compatibility. Note the 'capture' attribute takes precedent over a MIME type parameter. See http://www.w3.org/TR/html-media-capture/#captureparam for details. Requires changes in the framework (I494adc1274ca21ce8fe52a6c7b6b758217927e66) and Browser (I38dfe2df043fdba1388384dbd3b5370737eb38e5). Bug: 5771207 Change-Id: I0a921be31fda79a43c05da4fe22d9c808d92709c
* Merge "Skip drawing the background (glClear) if the tiles cover it."Chris Craik2012-04-126-14/+43
|\
| * Skip drawing the background (glClear) if the tiles cover it.Chris Craik2012-04-126-14/+43
| | | | | | | | | | | | bug:5631590 Change-Id: Ic7dc0dac0d7f98fb94eb2b111b3e59a0a7010caf
* | Merge "Cleanup unused code"John Reck2012-04-122-12/+0
|\ \
| * | Cleanup unused codeJohn Reck2012-04-112-12/+0
| | | | | | | | | | | | | | | | | | Bug: 6317798 Change-Id: I377753d119d74bbd2569be586d980081f78d15e7
* | | Merge "Fix ImageTexture drawing in software path"Chris Craik2012-04-121-1/+2
|\ \ \
| * | | Fix ImageTexture drawing in software pathChris Craik2012-04-111-1/+2
| | |/ | |/| | | | | | | | | | bug:6317028 Change-Id: Ibec896f64371c29a25aaae2490a4e5cf97b5b54a
* | | Merge "Log tiles correctly for the base surface"Chris Craik2012-04-121-3/+4
|\ \ \
| * | | Log tiles correctly for the base surfaceChris Craik2012-04-111-3/+4
| |/ / | | | | | | | | | | | | bug:6324663 Change-Id: I8dae021b98a1f721d2282bdb7490668a12eb0cf3
* | | Merge "We shall restore the FBO id instead of setting it back to 0."Teng-Hui Zhu2012-04-123-12/+3
|\ \ \
| * | | We shall restore the FBO id instead of setting it back to 0.Teng-Hui Zhu2012-04-113-12/+3
| | | | | | | | | | | | | | | | | | | | | | | | bug:6283539 Change-Id: I84b8d5e0a984cb98cedc43d755b04be521d675ca
* | | | Merge "Vertical glyph doesn't work on typeface font."claireho2012-04-121-12/+33
|\ \ \ \
| * | | | Vertical glyph doesn't work on typeface font.claireho2012-04-111-12/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 6270583 - Vertical glyph doesn't work after switching from ARM gcc4.4 to gcc4.6. Fixed 3 problems: 1. substituteWithVerticalGlyphs() does not check the error code for HB_GSUB_Select_Script() call.    In gcc4.4, the scriptIndex is default to 0 but not in gcc4.6. 2. Removed the redundant checks for isCJKIdeograph() calls. 3. Convert text to vertical forms if substituteWithVerticalGlyphs() returns an error. Change-Id: I3b0778affa3e13b608e60190266880c1f47f905a
* | | | | 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
|\ \ \ \