summaryrefslogtreecommitdiffstats
path: root/Source/WebCore
Commit message (Collapse)AuthorAgeFilesLines
* Implements tiled layers. We remove all the existing code in LayerAndroidNicolas Roard2011-07-1440-919/+1020
| | | | | | | | | | | related to the old texture management and introduce two new classes: - PaintedSurface, used as a placeholder ui-side for the regularly changing LayerAndroid - TiledTexture, implementing the tiling of PaintedSurface using a set of BaseTile bug:4580444 bug:3392331 Change-Id: I0daa079d2acce49f3baa8c312ea0b0dd457ccd5c
* Tile profiling backendChris Craik2011-07-136-1/+216
| | | | | | Added tile profiling member (TilesProfiler) to TilesManager to track rendering status of tiles. Change-Id: Ied828c6ad2a15588965e6641edecb162bd76bc62
* Merge WebKit at branches/chromium/742 r89068: Initial merge by Git.Ben Murdoch2011-07-1324-66/+161
| | | | | | Take us to top of Chrome 12 release branch (12.0.742.130) Change-Id: I4408a97e343a118cf4a1bb9d71367bcc2c16ae48
* notImplemented() should always log to logcatSteve Block2011-07-121-12/+13
| | | | | | | | | | | | | | - Update Android's version of notImplemented() to match that on other platforms and only log once for each method. - Remove lowPriority_notImplemented(), as this was added way back in https://mondrian.corp.google.com/changelist/16159-p9 and I'm pretty sure the distinction between that and notImplemented() has long since been lost. - Move verifiedOk() to FrameLoaderClientAndroid.cpp as this is the only place it is used. Bug: 5008643 Change-Id: I6552a2a736873b4dfb0933e55af3ab862b60f87c
* Merge "Clear up the bitmap with white color at initial time"Teng-Hui Zhu2011-07-111-0/+4
|\
| * Clear up the bitmap with white color at initial timeTeng-Hui Zhu2011-07-111-0/+4
| | | | | | | | | | | | bug:4995281 Change-Id: Iee2d508c234d3e1cecb367b0108fd7215730173c
* | Merge "Revert "Factor the scale into the actual screen space calculation.""Shimeng (Simon) Wang2011-07-081-8/+4
|\ \
| * | Revert "Factor the scale into the actual screen space calculation."Shimeng (Simon) Wang2011-07-081-8/+4
| | | | | | | | | | | | This reverts commit 706c2b4c3089f2832c8172c0581e3df110bf534c.
* | | Add the matrix handle to the shaders.Teng-Hui Zhu2011-07-082-5/+10
| |/ |/| | | | | | | | | We are just getting lucky that the handle is the same for now. Change-Id: I8d897148dfaa29acbb2e23fd8894fcfea7f00215
* | Merge "Refactor partial invalidation code"Teng-Hui Zhu2011-07-064-36/+47
|\ \
| * | Refactor partial invalidation codeTeng-Hui Zhu2011-07-064-36/+47
| |/ | | | | | | Change-Id: Id8612946d845daad86f02f626c3247ff8dc1d2f8
* | Merge "Remove old scalar conversions"Russell Brenner2011-07-061-4/+4
|\ \ | |/ |/|
| * Remove old scalar conversionsRussell Brenner2011-07-011-4/+4
| | | | | | | | | | | | | | | | | | | | The webkit merge from CL 112610 introduced an api change in setrectForUnderline, changing two params from int to float. The body of the function, however, was still performing int to float conversions, resulting in a debug assert within skia and conversion results forced to zero. This CL removes the outdated conversion. Change-Id: I0d5fae39552c3e6801b83e6c4363dc063a01b165
* | Merge "Factor the scale into the actual screen space calculation."Shimeng (Simon) Wang2011-07-011-4/+8
|\ \
| * | Factor the scale into the actual screen space calculation.Shimeng (Simon) Wang2011-07-011-4/+8
| | | | | | | | | | | | | | | issue: 4982074 Change-Id: I5d86539a17393f3060cd67bd4c6888734037c7e4
* | | Merge "meta format-detection is not a viewport meta tag."Shimeng (Simon) Wang2011-07-013-2/+18
|\ \ \ | |/ /
| * | meta format-detection is not a viewport meta tag.Shimeng (Simon) Wang2011-07-013-2/+18
| | | | | | | | | | | | | | | | | | | | | | | | This reverts some of my previous change which wrongly treats format-detection as a viewport change. issue: 4975315 Change-Id: Icb3ab9b813010b253a59fca6992deb1aa4d186e7
* | | Merge "Update viewport using webkit's way."Shimeng (Simon) Wang2011-07-014-46/+8
|\ \ \ | |/ /
| * | Update viewport using webkit's way.Shimeng (Simon) Wang2011-07-014-46/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | The Android's customized way of parsing viewport meta tags is kept intact; while the viewport update notification mechanism is changed to use webkit's way. This gives much better notification of viewport switching. issue: 4975315 Change-Id: I7896b67d684efec015245ee804a9243e72ff0b50
* | | Merge "Modified tile reclamation heuristic for multi-webview display"Chris Craik2011-07-0111-30/+64
|\ \ \
| * | | Modified tile reclamation heuristic for multi-webview displayChris Craik2011-07-0111-30/+64
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | When tiles are reclaimed, they are now taken first from webviews that haven't been drawn in a while. Previously they were taken from any other webview - which may have been one still being displayed if multiple are onscreen. bug:4049143 partially solved (still not enough graphics memory allocated for tiles on tablet devices) Change-Id: Id400ea28e92ba805120c8353881834157fefa483
* | | Update to match the Java side changeTeng-Hui Zhu2011-06-301-1/+1
|/ / | | | | | | | | | | Java side change: #change,118782 Change-Id: I9f94f2541a2dd197a77210566fb3a8d28102010c
* | Merge "Refactoring: Moved 'SkLayer' to 'Layer' class in webkit"Chris Craik2011-06-3010-15/+375
|\ \
| * | Refactoring: Moved 'SkLayer' to 'Layer' class in webkitChris Craik2011-06-3010-15/+375
| | | | | | | | | | | | Change-Id: Ie1c24e5e402c539e0359810cfdf872178fa083c1
* | | Merge "Add initial support for Ganesh renderer."Derek Sollenberger2011-06-3011-65/+476
|\ \ \
| * | | Add initial support for Ganesh renderer.Derek Sollenberger2011-06-3011-65/+476
| | |/ | |/| | | | | | | | | | | | | | | | The GaneshRenderer can now be swapped in for the RasterRenderer in BaseTile. A following CL will enable this swap at runtime. Change-Id: Id42040fce2895ab00cccb8f11dfd0489df861655
* | | Don't create newer LayerTexture when hitting upper bound.Teng-Hui Zhu2011-06-301-0/+4
| |/ |/| | | | | | | bug:4976882 Change-Id: If1c913da8bdc3a310a3a665dc895711093fb8788
* | Added fix for AndroidAnimation copy (m_name was forgotten)Chris Craik2011-06-291-0/+1
|/ | | | | bug:4595809 Change-Id: Ieaacb3cf7c6ea51f2ae7d92e5acf5c9fcafcf1d8
* Add BaseRenderer to handle generic rendering tasks.Derek Sollenberger2011-06-296-124/+295
| | | | Change-Id: I5cf0e2da4d4f48be5daf176b5aac8222b9919ba9
* Merge "Cleanup Skia related rendering code for raster rendering."Derek Sollenberger2011-06-2815-161/+108
|\
| * Cleanup Skia related rendering code for raster rendering.Derek Sollenberger2011-06-2815-161/+108
| | | | | | | | | | | | | | | | | | | | | | | | | | | | In the existing code we created a sharedBitmap for BaseTiles and never used it instead opting for createing bitmaps on the stack to enable partial invalidation. This CL removes the sharedBitmap concept and instead creates all bitmaps on the stack. This means that BackedDoubleBufferedTexture no longer needs to have a bitmap member, but instead simply takes the bitmap from the caller and uploads it to the appropriate texture. To make this upload clean we now pass the bitmap via const references instead of pointers. Change-Id: Ie218c4b4564e5574ca6e404d4857904ab41a3a5c
* | Merge "Delete the GL texture when deleting the Surface Texture"Teng-Hui Zhu2011-06-281-0/+1
|\ \ | |/ |/|
| * Delete the GL texture when deleting the Surface TextureTeng-Hui Zhu2011-06-271-0/+1
| | | | | | | | | | | | | | Otherwise, there will be GPU memory leak. bug:4947376 Change-Id: Ib76a47c197d7c1a01471c4b38e210e0d5dd9fa02
* | Refactor and improve the raster rendering for base tiles.Derek Sollenberger2011-06-275-198/+326
|/ | | | Change-Id: I1dc4622e0ce1602f6dc314f0b510c41adb95a443
* Merge "Browser ST: Support both OES and 2D texture target"Teng-Hui Zhu2011-06-248-37/+193
|\
| * Browser ST: Support both OES and 2D texture targetTeng-Hui Zhu2011-06-248-37/+193
| | | | | | | | | | | | | | | | | | | | | | | | | | B/c of driver limitation, we are using 2D texture target for our Surface Texture, this will be switched to EXTERNAL_OES soon. In order to have smooth transition, I added the code which can handle both types and it depends on what Surface Texture itself reports. Tested with both modes on Crespo since its driver support both. bug:4905428 Change-Id: Ic91702e7b8f75329f7d948e9217f7fc689a95bbb
* | Better way to determine not to reflow.Shimeng (Simon) Wang2011-06-231-2/+2
|/ | | | | | | | | Instead of using border which may be too broad, using whether an object is floating to fix flickr's reflow issue. Checked sites like slashdot.org and nytimes.com, this works better. issue: 4596265 Change-Id: Ic263b1e6fddedb47e410687ed04cd2ac7ccb7bed
* Merge "Do not reflow text if a div has border."Shimeng (Simon) Wang2011-06-231-1/+1
|\
| * Do not reflow text if a div has border.Shimeng (Simon) Wang2011-06-231-1/+1
| | | | | | | | | | | | | | | | This also fixes the case where flickr header's position is not good since it's reflowed for issue 4596265. issue: 4596265 Change-Id: I8445ec408a813935871c5d011b23b70e569105d3
* | Merge "Remove legacy fps cap"John Reck2011-06-232-12/+0
|\ \
| * | Remove legacy fps capJohn Reck2011-06-222-12/+0
| | | | | | | | | | | | | | | | | | Bug: 4743033 Change-Id: Ic0603ecf3af9290bd6d374aa8ddf4342948064ac
* | | Tiles: increase the minimal number to cover the whole screenTeng-Hui Zhu2011-06-221-5/+4
| |/ |/| | | | | Change-Id: Iad5ef9dc1f9944a326e45dd2721cb0005e69f425
* | Browser ST: Lower the upper limit for texture allocationTeng-Hui Zhu2011-06-221-2/+6
|/ | | | Change-Id: Ie88de19e89e298b69b106fbb42d2b9d26bb98014
* Merge "Fix compiler error when DEBUG is turned on"Teng-Hui Zhu2011-06-221-1/+1
|\
| * Fix compiler error when DEBUG is turned onTeng-Hui Zhu2011-06-211-1/+1
| | | | | | | | Change-Id: I1a9d8eab3e5259eade94fc9e825ec4d162a1e392
* | Merge "Remove old customized code."Shimeng (Simon) Wang2011-06-211-7/+0
|\ \ | |/ |/|
| * Remove old customized code.Shimeng (Simon) Wang2011-06-211-7/+0
| | | | | | | | | | | | | | | | | | | | | | | | This fixes slashdot.org after recent webkit merge, since the removed code will sometimes require extra layout. This code is two years old, and related to iframe flattening, which is not used any more in Android. Android still does frameset flattening. Verified sites such as developer.android.com are still working. issue: 4753055 Change-Id: I69f78bec53671eb488b629bde7cc2c3158f1a510
* | Fix the Surface Texture Issue on the phonesTeng-Hui Zhu2011-06-212-0/+3
| | | | | | | | Change-Id: Ibee33c53d65a6c1b98f5e88ed79862cd30418347
* | The background image should be opaqueTeng-Hui Zhu2011-06-201-2/+2
| | | | | | | | | | bug:4406718 Change-Id: Iea532c639bf41aad2488819d42c315a0e3d747fd
* | Copied into Surface Texture line by line instead of pixel by pixel.Teng-Hui Zhu2011-06-201-7/+4
|/ | | | Change-Id: Ide38fce4ba0be0eb506cb4c5497915e11812b6bd