summaryrefslogtreecommitdiffstats
path: root/Source/WebCore
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Merge "Add back low res base layer rendering, and expanded bounds prefetching"Chris Craik2012-03-3013-118/+146
|\
| * Add back low res base layer rendering, and expanded bounds prefetchingChris Craik2012-03-3013-118/+146
| | | | | | | | Change-Id: Ib6a38d8dd8223bdca9cb652771f0b19dbec892dc
* | Merge "Line spacing for vertical writing mode."claireho2012-03-301-2/+6
|\ \
| * | Line spacing for vertical writing mode.claireho2012-03-301-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 6081283 - Line spacing for Japanese (vertical writing) isn't aligned well. 1. The initial value for line-spacing should be ascent + decent + line gap. 2. If the line-gap is zero, we use the avgCharWidth for line gap to avoid the no spaces between vertical lines. Change-Id: I3d21d6d9a222e73d972f8c0ffb77eb420ac175e8
* | | add enable/disable switch for link prefetch to WebSettingsVictoria Lease2012-03-303-0/+20
| |/ |/| | | | | | | Bug: 5218987 Change-Id: Ie88a117e52d1835114415ee6721108d8a882594a
* | Merge "Add missing paintingDisabled() checks"John Reck2012-03-291-0/+28
|\ \
| * | Add missing paintingDisabled() checksJohn Reck2012-03-291-0/+28
| | | | | | | | | | | | | | | | | | Bug: 6236131 Change-Id: I9fc4e166413ff70692f4414912c2613834387e33
* | | Merge "Clip canvas to layer content on a draw."Mangesh Ghiware2012-03-293-4/+9
|\ \ \ | |/ / |/| |
| * | Clip canvas to layer content on a draw.Mangesh Ghiware2012-03-293-4/+9
| |/ | | | | | | | | | | | | | | | | Bug: 6150903 Also, fix the visual indicator box coordinates to display right and bottom edges. Change-Id: I269f4dd3ae55eed77d9cbe67950c28ce1c789a51
* | Merge "Fix m.youtube.com thumbnails"John Reck2012-03-284-38/+75
|\ \ | |/ |/|
| * Fix m.youtube.com thumbnailsJohn Reck2012-03-284-38/+75
| | | | | | | | | | | | | | | | | | Bug: 6231946 Optimize the use of a non-changing canvas Tighten up error handling Enforce minimum size to use SurfaceTexture Change-Id: I8ad553ff5727d68e56bc1343213b4a41472390f1
* | Pause webkit painting betterJohn Reck2012-03-271-1/+1
|/ | | | Change-Id: Id548766ccd56781228e5795588ac783f3313f960
* Merge "Further clean up for baselayer merge"Teng-Hui Zhu2012-03-266-67/+46
|\
| * Further clean up for baselayer mergeTeng-Hui Zhu2012-03-226-67/+46
| | | | | | | | | | | | | | | | | | 1. Require a layer for every SurfaceCollection Now we don't need the null check any more. 2. drawBackground only in SurfaceCollectionManager. Change-Id: I3bbebac86e41a2367a05f71cffdc6cd72fda7506
* | Merge "Platform graphics refactor"John Reck2012-03-238-943/+1272
|\ \
| * | Platform graphics refactorJohn Reck2012-03-238-943/+1272
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Push the bulk of the work to PlatformGraphicsContext PlatformGraphicsContext does not depend on having a GraphicsContext Get ImageAndroid::drawPattern off of mCanvas Get BitmapImage::draw off of mCanvas Get WebFrameView off of mCanvas Cleanup GradientAndroid and remove mCanvas usage Change-Id: I3c8ad10c030cbc384436463e197ca1c0a69d34eb
* | | Merge "Use the right opacity"Chris Craik2012-03-231-1/+1
|\ \ \
| * | | Use the right opacityJohn Reck2012-03-231-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Bug: 6220093 Change-Id: Ie617a29ea8f0b28d69dfc29d1435f1fedade1ef9
* | | | Merge "add missing include"Mathias Agopian2012-03-231-0/+1
|\ \ \ \ | |/ / / |/| | |
| * | | add missing includeMathias Agopian2012-03-231-0/+1
| |/ / | | | | | | | | | Change-Id: Iec9f7f7ee481f105fd15d521393faf26f76b9adc
* | | Fix TilesManager race conditionJohn Reck2012-03-234-29/+13
|/ / | | | | | | Change-Id: Ibbb8d6fa7565cf7d2205b28c8a9e870eb338ea14
* | Merge "reimplement BaseLayerAndroid as a LayerAndroid subclass"Chris Craik2012-03-2342-1665/+262
|\ \ | |/
| * reimplement BaseLayerAndroid as a LayerAndroid subclassChris Craik2012-03-2242-1665/+262
| | | | | | | | | | | | Breaks low res tiling, and expanded rendering bounds. Change-Id: Iec3ba2adceb6bd95399594d29fd8c0b18c1122ce
* | Merge "Null out m_canvas if HTMLCanvasElement is destroyed"John Reck2012-03-223-16/+25
|\ \
| * | Null out m_canvas if HTMLCanvasElement is destroyedJohn Reck2012-03-223-16/+25
| |/ | | | | | | | | | | Bug: 6209508 Change-Id: I99be936cde28047d516ecdfcc20cd099241569ca
* | Add missing null checkJohn Reck2012-03-221-1/+1
|/ | | | | | | | | Bug: 6207830 HTMLCanvasElement will not create an imageBuffer if the size is empty or if the size is too large. Before attempting to use the copiedImage, make sure we have a buffer. Change-Id: I962c6f8d05e366631ceec911792ffb33f8cd7ca4
* Fix pure color check to be performed pre-visual indicatorJohn Reck2012-03-218-9/+25
| | | | Change-Id: Id15574e4b1988d73eaefed32718cd4698222d8f1
* Merge "Visual Indicator tweaks"John Reck2012-03-2110-287/+33
|\
| * Visual Indicator tweaksJohn Reck2012-03-2110-287/+33
| | | | | | | | Change-Id: I2652ca8d6d3008bb97c2d9ad795240880fd83006
* | Plumb WebView and WebViewCore thru to MediaLayerJonathan Dixon2012-03-214-21/+18
| | | | | | | | | | | | | | | | | | | | | | | | Depends on https://android-git.corp.google.com/g/171224 Changes the plugin code to provide the WebView (not WebViewClassic) jobject instance into the plugin, as this provides the full public API expected. As a knock-on, I had to plumb WebViewCore jobject through to MediaTexture so it can retain the sendPluginDrawMsg() call. This isn't pretty, but in terms of layering it's no worse than before. Change-Id: Iaaa6e0c6b65963fedaff078a20477d8595c82a5d
* | Merge "Attempt to fix the GPL build"John Reck2012-03-201-2/+1
|\ \
| * | Attempt to fix the GPL buildJohn Reck2012-03-201-2/+1
| |/ | | | | | | Change-Id: Ibb0ae6b1c1ca429da122faa5e32a980399a41c13
* | Remove unnecessary invertedTileSwitchJohn Reck2012-03-204-23/+0
|/ | | | Change-Id: Ifd27772aba0435ea55008400e4b42181bf45b944
* Merge "Canvas on a texture"John Reck2012-03-2013-33/+653
|\
| * Canvas on a textureJohn Reck2012-03-2013-33/+653
| | | | | | | | Change-Id: I841b3e021298738c91701068992798a55290a520
* | Fix scrolling on sites that use <frame>sMangesh Ghiware2012-03-192-4/+17
| | | | | | | | | | | | | | | | | | | | | | Update the dimensions of a frame before expanding it to fit the content width and height. Also, force a relayout of the frame as necessary to sync the correct dimensions (i.e. when navigation occurs inside the frame) Bug: 5978268 Change-Id: Ia282d6e5753fd38b32854e01ca58fa41b3814b21
* | Merge "Draw vertical text using by setting verticalText flag in SkPaint."Derek Sollenberger2012-03-191-19/+20
|\ \